
/* WARNING: Type propagation algorithm not settling */

void __gmpz_rootrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr u,ulong nth)

{
  bool bVar1;
  int iVar2;
  mp_limb_t *pmVar3;
  mpz_srcptr p_Var4;
  mpz_ptr p_Var5;
  mpz_ptr p_Var6;
  mpz_ptr p_Var7;
  mpz_srcptr p_Var8;
  mpz_ptr p_Var9;
  int iVar10;
  mp_limb_t *pmVar11;
  undefined1 *unaff_s0;
  uint uVar12;
  mpz_srcptr p_Var13;
  mpz_ptr p_Var14;
  uint uVar15;
  uint uVar16;
  mp_limb_t *pmVar17;
  mpz_srcptr unaff_s6;
  undefined1 *unaff_s7;
  mpz_ptr p_Var18;
  int in_t9;
  code *pcVar19;
  mp_limb_t mVar20;
  code *pcVar21;
  undefined1 *puVar22;
  undefined1 *puVar23;
  undefined4 uVar24;
  undefined1 auStack_68 [24];
  mp_limb_t local_50 [2];
  mpz_srcptr local_48;
  mpz_ptr local_44;
  undefined1 *local_40;
  mpz_srcptr local_3c;
  mp_limb_t *local_38;
  mpz_ptr local_34;
  tmp_reentrant_t *__tmp_marker;
  int local_2c;
  
  mVar20 = in_t9 + 0x700e0;
  puVar23 = auStack_68;
  puVar22 = auStack_68;
  local_2c = **(int **)(in_t9 + 0x685e0);
  p_Var14 = (mpz_ptr)u->_mp_size;
  p_Var6 = root;
  p_Var7 = rem;
  p_Var13 = u;
  local_50[0] = mVar20;
  if ((int)p_Var14 < 0) {
    if ((nth & 1) == 0) {
      (**(code **)(in_t9 + 0x6826c))();
      goto LAB_0003332c;
    }
    pcVar19 = *(code **)(in_t9 + 0x6867c);
    if (nth != 0) goto LAB_00032fd8;
LAB_00033040:
    (*pcVar19)();
LAB_00033048:
    if (root != (mpz_ptr)0x0) {
      root->_mp_size = 0;
    }
    rem->_mp_size = 0;
  }
  else {
    pcVar19 = *(code **)(in_t9 + 0x6867c);
    if (nth == 0) goto LAB_00033040;
    if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;
LAB_00032fd8:
    local_34 = p_Var14;
    if ((int)p_Var14 < 0) {
      local_34 = (mpz_ptr)-(int)p_Var14;
    }
    unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);
    if (nth == 0) {
      trap(7);
    }
    unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);
    unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);
    __tmp_marker = (tmp_reentrant_t *)0x0;
    local_48 = unaff_s6;
    local_40 = unaff_s7;
    if ((root == (mpz_ptr)0x0) || (u == root)) {
      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {
        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);
        local_38 = (mp_limb_t *)((int)local_50 + iVar2);
        puVar22 = auStack_68 + iVar2;
      }
      else {
        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);
        puVar22 = auStack_68;
      }
    }
    else if (root->_mp_alloc < (int)unaff_s7) {
      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);
      puVar22 = auStack_68;
    }
    else {
      local_38 = root->_mp_d;
      puVar22 = auStack_68;
    }
    if (u == rem) {
      p_Var7 = (mpz_ptr)((int)local_34 * 4);
      if (p_Var7 < (mpz_ptr)0x7f01) {
        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);
        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);
        puVar22 = puVar22 + -(int)p_Var7;
      }
      else {
        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);
      }
    }
    else {
      p_Var7 = local_34;
      if (rem->_mp_alloc < (int)local_34) {
        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);
      }
      else {
        local_44 = (mpz_ptr)rem->_mp_d;
      }
    }
    mVar20 = local_50[0];
    p_Var4 = (mpz_srcptr)u->_mp_d;
    local_3c = p_Var4;
    if (nth == 1) {
      mVar20 = p_Var4->_mp_alloc;
      pmVar17 = local_38;
      if (unaff_s0 != (undefined1 *)0x0) {
        do {
          *pmVar17 = mVar20;
          unaff_s0 = unaff_s0 + -1;
          mVar20 = p_Var4->_mp_size;
          pmVar17 = pmVar17 + 1;
          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;
        } while (unaff_s0 != (undefined1 *)0x0);
        unaff_s0 = (undefined1 *)0x0;
        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);
      }
      *pmVar17 = mVar20;
      iVar2 = 0;
    }
    else {
      *(ulong *)(puVar22 + 0x10) = nth;
      p_Var7 = local_44;
      p_Var13 = local_3c;
      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);
    }
    if (root != (mpz_ptr)0x0) {
      if ((int)p_Var14 < 0) {
        local_40 = (undefined1 *)-(int)unaff_s7;
      }
      root->_mp_size = (int)local_40;
      if (u == root) {
        p_Var13 = (mpz_srcptr)*local_38;
        p_Var4 = unaff_s6;
        p_Var8 = local_3c;
        pmVar17 = local_38;
        if (local_48 == (mpz_srcptr)0x0) {
          p_Var7 = (mpz_ptr)0x0;
          unaff_s6 = local_3c;
        }
        else {
          do {
            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;
            p_Var8->_mp_alloc = (int)p_Var13;
            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);
            p_Var13 = (mpz_srcptr)pmVar17[1];
            p_Var8 = p_Var7;
            pmVar17 = pmVar17 + 1;
          } while (p_Var4 != (mpz_srcptr)0x0);
          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);
        }
        unaff_s6->_mp_alloc = (int)p_Var13;
      }
    }
    if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {
      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;
      p_Var4 = local_3c;
      p_Var6 = local_44;
      if (iVar10 != 0) {
        do {
          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;
          p_Var4->_mp_alloc = (int)p_Var13;
          iVar10 = iVar10 + -1;
          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;
          p_Var4 = p_Var7;
          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;
        } while (iVar10 != 0);
        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);
      }
      local_3c->_mp_alloc = (int)p_Var13;
    }
    if ((int)p_Var14 < 0) {
      iVar2 = -iVar2;
    }
    rem->_mp_size = iVar2;
    p_Var6 = (mpz_ptr)__tmp_marker;
    mVar20 = local_50[0];
    if (__tmp_marker != (tmp_reentrant_t *)0x0) {
      (**(code **)(local_50[0] - 0x7a2c))();
      mVar20 = local_50[0];
    }
  }
  puVar23 = puVar22;
  if (local_2c == **(int **)(mVar20 - 0x7b00)) {
    return;
  }
LAB_0003332c:
  pcVar19 = *(code **)(mVar20 - 0x7b70);
  uVar24 = 0x33338;
  (*pcVar19)();
  pcVar21 = pcVar19 + 0x6fd00;
  *(undefined4 *)(puVar23 + -4) = uVar24;
  *(undefined1 **)(puVar23 + -8) = auStack_68;
  *(undefined1 **)(puVar23 + -0xc) = unaff_s7;
  *(mpz_srcptr *)(puVar23 + -0x10) = unaff_s6;
  *(mpz_ptr *)(puVar23 + -0x14) = rem;
  *(ulong *)(puVar23 + -0x18) = nth;
  *(mpz_ptr *)(puVar23 + -0x1c) = root;
  *(mpz_srcptr *)(puVar23 + -0x20) = u;
  *(mpz_ptr *)(puVar23 + -0x24) = p_Var14;
  *(undefined1 **)(puVar23 + -0x28) = unaff_s0;
  *(code **)(puVar23 + -0x38) = pcVar21;
  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(pcVar19 + 0x68200);
  uVar16 = (uint)((int)&p_Var13[2]._mp_size + 3) >> 5;
  p_Var14 = p_Var6;
  p_Var9 = p_Var7;
  if (p_Var13 != (mpz_srcptr)0x0) {
    if (p_Var6->_mp_alloc < (int)uVar16) {
      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();
    }
    else {
      pmVar17 = p_Var6->_mp_d;
    }
    pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU);
    iVar2 = uVar16 - 2;
    if (-1 < iVar2) {
      pmVar3 = pmVar17 + uVar16;
      do {
        pmVar3[-2] = 0xffffffff;
        iVar2 = iVar2 + -1;
        pmVar3 = pmVar3 + -1;
      } while (-1 < iVar2);
    }
    (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20);
    p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1);
    if (p_Var4 == (mpz_srcptr)0x0) {
      trap(7);
    }
    uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4;
    p_Var18 = (mpz_ptr)(puVar23 + -0x30);
    do {
      p_Var14 = p_Var7;
      p_Var9 = p_Var18;
      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);
      pcVar21 = *(code **)(puVar23 + -0x38);
      if (uVar15 == 0) {
        trap(7);
      }
      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);
      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;
      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);
      p_Var9 = p_Var18;
      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);
      pcVar21 = *(code **)(puVar23 + -0x38);
      if (uVar15 == 0) {
        trap(7);
      }
      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));
      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {
        p_Var13 = (mpz_srcptr)0x0;
        uVar12 = 0;
      }
      else {
        uVar12 = (uint)p_Var13 >> 5;
      }
      pmVar3 = pmVar17 + uVar12;
      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));
      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);
      *pmVar3 = (mp_limb_t)p_Var14;
      if (p_Var14 < p_Var5) {
        do {
          pmVar3 = pmVar3 + 1;
          mVar20 = *pmVar3;
          *pmVar3 = mVar20 + 1;
        } while (mVar20 + 1 == 0);
      }
    } while (p_Var13 != (mpz_srcptr)0x0);
  }
  p_Var6->_mp_size = uVar16;
  if (*(int *)(puVar23 + -0x2c) == **(int **)(pcVar21 + -0x7b00)) {
    return;
  }
  (**(code **)(pcVar21 + -0x7b70))();
  iVar10 = p_Var14->_mp_size;
  iVar2 = iVar10;
  if (iVar10 < 0) {
    iVar2 = -iVar10;
  }
  if (iVar2 <= (int)((uint)p_Var9 >> 5)) {
    return;
  }
  pmVar3 = p_Var14->_mp_d;
  pmVar17 = pmVar3 + ((uint)p_Var9 >> 5);
  uVar16 = *pmVar17;
  if (iVar10 < 0) {
    if (pmVar3 == pmVar17) {
LAB_000336ac:
      uVar16 = uVar16 - 1;
    }
    else {
      pmVar11 = pmVar17 + -1;
      mVar20 = pmVar17[-1];
      while (mVar20 == 0) {
        bVar1 = pmVar3 == pmVar11;
        pmVar11 = pmVar11 + -1;
        if (bVar1) goto LAB_000336ac;
        mVar20 = *pmVar11;
      }
    }
    if ((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0) {
      pmVar11 = pmVar17 + 1;
      if (pmVar3 + iVar2 == pmVar11) {
        return;
      }
      mVar20 = pmVar17[1];
      while (mVar20 == 0) {
        pmVar11 = pmVar11 + 1;
        mVar20 = *pmVar11;
      }
    }
  }
  else {
    mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;
    while (mVar20 == 0xffffffff) {
      pmVar17 = pmVar17 + 1;
      if (pmVar17 == pmVar3 + iVar2) {
        return;
      }
      mVar20 = *pmVar17;
    }
  }
  return;
}



int * __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)

{
  bool bVar1;
  int *piVar2;
  int iVar3;
  int *piVar4;
  uint *puVar5;
  uint *puVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  int *piVar10;
  int *piVar11;
  uint *puVar12;
  uint unaff_s0;
  uint uVar13;
  int *piVar14;
  int *piVar15;
  uint uVar16;
  uint uVar17;
  int *unaff_s6;
  int unaff_s7;
  int *piVar18;
  undefined *puVar19;
  code *pcVar20;
  undefined *puVar21;
  undefined1 *puVar22;
  undefined1 *puVar23;
  undefined4 uVar24;
  undefined1 auStack_68 [24];
  int *local_44;
  int local_40;
  int *local_3c;
  int *local_38;
  int *local_30;
  int *local_2c;
  
  puVar23 = auStack_68;
  puVar22 = auStack_68;
  local_2c = *(int **)PTR___stack_chk_guard_0009b540;
  piVar15 = (int *)param_3[1];
  piVar10 = param_1;
  piVar11 = param_2;
  piVar14 = param_3;
  if ((int)piVar15 < 0) {
    if ((param_4 & 1) != 0) {
      if (param_4 != 0) goto LAB_00032fd8;
      goto LAB_00033040;
    }
    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();
  }
  else {
    if (param_4 == 0) {
LAB_00033040:
      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();
LAB_00033048:
      if (param_1 != (int *)0x0) {
        param_1[1] = 0;
      }
      param_2[1] = 0;
    }
    else {
      if (piVar15 == (int *)0x0) goto LAB_00033048;
LAB_00032fd8:
      piVar10 = piVar15;
      if ((int)piVar15 < 0) {
        piVar10 = (int *)-(int)piVar15;
      }
      unaff_s0 = (int)piVar10 - 1;
      if (param_4 == 0) {
        trap(7);
      }
      unaff_s6 = (int *)(unaff_s0 / param_4);
      unaff_s7 = (int)unaff_s6 + 1;
      local_30 = (int *)0x0;
      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {
        if ((uint)(unaff_s7 * 4) < 0x7f01) {
          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);
          local_38 = (int *)(&stack0xffffffb0 + iVar9);
          puVar22 = auStack_68 + iVar9;
        }
        else {
          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);
          puVar22 = auStack_68;
        }
      }
      else if (*param_1 < unaff_s7) {
        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);
        puVar22 = auStack_68;
      }
      else {
        local_38 = (int *)param_1[2];
        puVar22 = auStack_68;
      }
      if (param_3 == param_2) {
        piVar11 = (int *)((int)piVar10 * 4);
        if (piVar11 < (int *)0x7f01) {
          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);
          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);
          puVar22 = puVar22 + -(int)piVar11;
        }
        else {
          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);
        }
      }
      else {
        piVar11 = piVar10;
        if (*param_2 < (int)piVar10) {
          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);
        }
        else {
          local_44 = (int *)param_2[2];
        }
      }
      local_3c = (int *)param_3[2];
      if (param_4 == 1) {
        iVar9 = *local_3c;
        piVar2 = local_38;
        piVar18 = local_3c;
        if (unaff_s0 != 0) {
          do {
            *piVar2 = iVar9;
            unaff_s0 = unaff_s0 - 1;
            iVar9 = piVar18[1];
            piVar2 = piVar2 + 1;
            piVar18 = piVar18 + 1;
          } while (unaff_s0 != 0);
          unaff_s0 = 0;
          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;
        }
        *piVar2 = iVar9;
        iVar9 = 0;
      }
      else {
        *(uint *)(puVar22 + 0x10) = param_4;
        piVar11 = local_44;
        piVar14 = local_3c;
        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);
      }
      if (param_1 != (int *)0x0) {
        local_40 = unaff_s7;
        if ((int)piVar15 < 0) {
          local_40 = -unaff_s7;
        }
        param_1[1] = local_40;
        if (param_3 == param_1) {
          piVar14 = (int *)*local_38;
          piVar10 = unaff_s6;
          piVar2 = local_3c;
          if (unaff_s6 == (int *)0x0) {
            piVar11 = (int *)0x0;
            unaff_s6 = local_3c;
          }
          else {
            do {
              local_38 = local_38 + 1;
              piVar11 = piVar2 + 1;
              *piVar2 = (int)piVar14;
              piVar10 = (int *)((int)piVar10 + -1);
              piVar14 = (int *)*local_38;
              piVar2 = piVar11;
            } while (piVar10 != (int *)0x0);
            unaff_s6 = local_3c + (int)unaff_s6;
          }
          *unaff_s6 = (int)piVar14;
        }
      }
      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {
        piVar14 = (int *)*local_44;
        piVar10 = local_3c;
        if (iVar7 != 0) {
          do {
            local_44 = local_44 + 1;
            piVar11 = piVar10 + 1;
            *piVar10 = (int)piVar14;
            iVar7 = iVar7 + -1;
            piVar14 = (int *)*local_44;
            piVar10 = piVar11;
          } while (iVar7 != 0);
          local_3c = local_3c + iVar9 + 0x3fffffff;
        }
        *local_3c = (int)piVar14;
      }
      if ((int)piVar15 < 0) {
        iVar9 = -iVar9;
      }
      param_2[1] = iVar9;
      piVar10 = local_30;
      if (local_30 != (int *)0x0) {
        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();
      }
    }
    puVar23 = puVar22;
    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {
      return *(int **)PTR___stack_chk_guard_0009b540;
    }
  }
  uVar24 = 0x33338;
  puVar19 = PTR___stack_chk_fail_0009b4d0;
  (*(code *)PTR___stack_chk_fail_0009b4d0)();
  puVar21 = puVar19 + 0x6fd00;
  *(undefined4 *)(puVar23 + -4) = uVar24;
  *(undefined1 **)(puVar23 + -8) = auStack_68;
  *(int *)(puVar23 + -0xc) = unaff_s7;
  *(int **)(puVar23 + -0x10) = unaff_s6;
  *(int **)(puVar23 + -0x14) = param_2;
  *(uint *)(puVar23 + -0x18) = param_4;
  *(int **)(puVar23 + -0x1c) = param_1;
  *(int **)(puVar23 + -0x20) = param_3;
  *(int **)(puVar23 + -0x24) = piVar15;
  *(uint *)(puVar23 + -0x28) = unaff_s0;
  *(undefined **)(puVar23 + -0x38) = puVar21;
  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);
  uVar17 = (int)piVar14 + 0x1fU >> 5;
  piVar15 = piVar10;
  piVar2 = piVar11;
  if (piVar14 != (int *)0x0) {
    if (*piVar10 < (int)uVar17) {
      iVar9 = (**(code **)(puVar19 + 0x6827c))();
    }
    else {
      iVar9 = piVar10[2];
    }
    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);
    iVar7 = uVar17 - 2;
    if (-1 < iVar7) {
      iVar3 = iVar9 + uVar17 * 4;
      do {
        *(undefined4 *)(iVar3 + -8) = 0xffffffff;
        iVar7 = iVar7 + -1;
        iVar3 = iVar3 + -4;
      } while (-1 < iVar7);
    }
    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);
    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);
    if (piVar15 == (int *)0x0) {
      trap(7);
    }
    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;
    piVar18 = (int *)(puVar23 + -0x30);
    do {
      piVar15 = piVar11;
      piVar2 = piVar18;
      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);
      puVar21 = *(undefined **)(puVar23 + -0x38);
      if (uVar16 == 0) {
        trap(7);
      }
      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);
      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;
      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);
      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);
      piVar2 = piVar18;
      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);
      puVar21 = *(undefined **)(puVar23 + -0x38);
      if (uVar16 == 0) {
        trap(7);
      }
      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));
      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {
        piVar14 = (int *)0x0;
        uVar13 = 0;
      }
      else {
        uVar13 = (uint)piVar14 >> 5;
      }
      piVar4 = (int *)(iVar9 + uVar13 * 4);
      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));
      piVar15 = (int *)((int)piVar8 + *piVar4);
      *piVar4 = (int)piVar15;
      if (piVar15 < piVar8) {
        do {
          piVar4 = piVar4 + 1;
          iVar7 = *piVar4;
          *piVar4 = iVar7 + 1;
        } while (iVar7 + 1 == 0);
      }
    } while (piVar14 != (int *)0x0);
  }
  piVar10[1] = uVar17;
  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {
    return (int *)**(int **)(puVar21 + -0x7b00);
  }
  pcVar20 = *(code **)(puVar21 + -0x7b70);
  (*pcVar20)();
  iVar7 = piVar15[1];
  iVar9 = iVar7;
  if (iVar7 < 0) {
    iVar9 = -iVar7;
  }
  if (iVar9 <= (int)((uint)piVar2 >> 5)) {
    piVar11 = (int *)0xffffffff;
    if (-1 < iVar7) {
      piVar11 = piVar2;
    }
    return piVar11;
  }
  puVar6 = (uint *)piVar15[2];
  puVar5 = puVar6 + ((uint)piVar2 >> 5);
  uVar17 = *puVar5;
  if (iVar7 < 0) {
    if (puVar6 == puVar5) {
LAB_000336ac:
      uVar17 = uVar17 - 1;
    }
    else {
      puVar12 = puVar5 + -1;
      uVar16 = puVar5[-1];
      while (uVar16 == 0) {
        bVar1 = puVar6 == puVar12;
        puVar12 = puVar12 + -1;
        if (bVar1) goto LAB_000336ac;
        uVar16 = *puVar12;
      }
    }
    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;
    uVar16 = uVar17 & 0xff;
    if (uVar17 != 0) goto LAB_0003367c;
    puVar12 = puVar5 + 1;
    if (puVar6 + iVar9 == puVar12) {
      return (int *)0xffffffff;
    }
    uVar17 = puVar5[1];
    puVar5 = puVar12;
    if (uVar17 == 0) {
      do {
        puVar5 = puVar5 + 1;
        uVar17 = *puVar5;
      } while (uVar17 == 0);
      uVar16 = uVar17 & 0xff;
      goto LAB_0003367c;
    }
  }
  else {
    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;
    while (uVar17 == 0xffffffff) {
      puVar5 = puVar5 + 1;
      if (puVar5 == puVar6 + iVar9) {
        return (int *)(iVar9 << 5);
      }
      uVar17 = *puVar5;
    }
    uVar17 = ~uVar17;
  }
  uVar16 = uVar17 & 0xff;
LAB_0003367c:
  if (uVar16 == 0) {
    uVar16 = uVar17 >> 8;
    iVar9 = 6;
    if ((uVar16 & 0xff) == 0) {
      uVar16 = uVar17 >> 0x10;
      iVar9 = 0xe;
      if ((uVar16 & 0xff) == 0) {
        uVar16 = uVar17 >> 0x18;
        iVar9 = 0x1e;
        if (uVar16 != 0) {
          iVar9 = 0x16;
        }
      }
    }
    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;
  }
  else {
    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;
  }
  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);
}


lui gp,0x7
addiu gp,gp,0xe0
addu gp,gp,t9
addiu sp,sp,-0x68
sw ra,0x64(sp)
sw s8,0x60(sp)
sw s7,0x5c(sp)
sw s6,0x58(sp)
sw s5,0x54(sp)
sw s4,0x50(sp)
sw s3,0x4c(sp)
sw s2,0x48(sp)
sw s1,0x44(sp)
sw s0,0x40(sp)
or s8,sp,zero
sw gp,0x18(sp)
or s3,a0,zero
or s5,a1,zero
or s2,a2,zero
or s4,a3,zero
lw v0,-0x7b00(gp)
lw v0,0x0(v0)
sw v0,0x3c(s8)
lw s1,0x4(a2)
bltz s1,0x0003302c
_nop
beq a3,zero,0x00033040
_lw t9,-0x7a64(gp)
beq s1,zero,0x00033048
_nop
bltz s1,0x0003305c
_or s0,s1,zero
sw s0,0x34(s8)
addiu s0,s0,-0x1
teq s4,zero
divu s0,s4
mflo s6
sw s6,0x20(s8)
addiu s7,s6,0x1
sw s7,0x28(s8)
beq s3,zero,0x00033080
_sw zero,0x38(s8)
beq s2,s3,0x00033084
_sll a1,s7,0x2
lw v0,0x0(s3)
slt v0,v0,s7
bne v0,zero,0x00033064
_or a1,s7,zero
lw v0,0x8(s3)
b 0x000330a8
_sw v0,0x30(s8)
andi v0,a3,0x1
beq v0,zero,0x00033324
_lw t9,-0x7e74(gp)
bne a3,zero,0x00032fd8
_lw t9,-0x7a64(gp)
jalr t9
_nop
beq s3,zero,0x00033054
_nop
sw zero,0x4(s3)
b 0x000331e4
_sw zero,0x4(s5)
b 0x00032fe0
_subu s0,zero,s1
or a0,s3,zero
lw t9,-0x7a84(gp)
jalr t9
_nop
lw gp,0x18(s8)
b 0x000330a8
_sw v0,0x30(s8)
sll a1,s7,0x2
sltiu v0,a1,0x7f01
beq v0,zero,0x00033120
_addiu a0,s8,0x38
addiu a1,a1,0x7
srl a1,a1,0x3
sll a1,a1,0x3
subu sp,sp,a1
addiu v0,sp,0x18
sw v0,0x30(s8)
beq s2,s5,0x00033154
_lw v1,0x34(s8)
lw v0,0x0(s5)
slt v0,v0,v1
bne v0,zero,0x00033138
_or a1,v1,zero
lw v0,0x8(s5)
sw v0,0x24(s8)
lw v1,0x8(s2)
li v0,0x1
bne s4,v0,0x00033228
_sw v1,0x2c(s8)
beq s0,zero,0x0003319c
_lw a0,0x0(v1)
addiu v1,v1,0x4
lw v0,0x30(s8)
addiu v0,v0,0x4
sw a0,-0x4(v0)
addiu v1,v1,0x4
addiu s0,s0,-0x1
bne s0,zero,0x000330e8
_lw a0,-0x4(v1)
lui v0,0x3fff
ori v0,v0,0xffff
lw v1,0x34(s8)
addu v0,v1,v0
sll v0,v0,0x2
lw v1,0x30(s8)
b 0x000331a0
_addu v0,v1,v0
lw t9,-0x7d50(gp)
jalr t9
_nop
lw gp,0x18(s8)
b 0x000330a8
_sw v0,0x30(s8)
or a0,s5,zero
lw t9,-0x7a84(gp)
jalr t9
_nop
lw gp,0x18(s8)
b 0x000330c8
_sw v0,0x24(s8)
lw v0,0x34(s8)
sll a1,v0,0x2
sltiu v0,a1,0x7f01
beq v0,zero,0x00033184
_addiu a0,s8,0x38
addiu a1,a1,0x7
srl a1,a1,0x3
sll a1,a1,0x3
subu sp,sp,a1
addiu v0,sp,0x18
b 0x000330c8
_sw v0,0x24(s8)
lw t9,-0x7d50(gp)
jalr t9
_nop
lw gp,0x18(s8)
b 0x000330c8
_sw v0,0x24(s8)
lw v0,0x30(s8)
sw a0,0x0(v0)
or v0,zero,zero
beq s3,zero,0x000331c4
_nop
bltz s1,0x00033254
_subu v1,zero,s7
lw v1,0x28(s8)
beq s2,s3,0x0003325c
_sw v1,0x4(s3)
beq s2,s5,0x000332ac
_nop
bltz s1,0x00033308
_nop
sw v0,0x4(s5)
lw a0,0x38(s8)
bne a0,zero,0x00033310
_lw t9,-0x7a2c(gp)
lw v1,0x3c(s8)
lw v0,-0x7b00(gp)
lw v0,0x0(v0)
bne v1,v0,0x0003332c
_lw ra,0x64(s8)
or sp,s8,zero
lw s8,0x60(sp)
lw s7,0x5c(sp)
lw s6,0x58(sp)
lw s5,0x54(sp)
lw s4,0x50(sp)
lw s3,0x4c(sp)
lw s2,0x48(sp)
lw s1,0x44(sp)
lw s0,0x40(sp)
jr ra
_addiu sp,sp,0x68
sw s4,0x10(sp)
lw a3,0x34(s8)
lw a2,0x2c(s8)
lw a1,0x24(s8)
lw a0,0x30(s8)
lw t9,-0x7b20(gp)
jalr t9
_nop
lw gp,0x18(s8)
b 0x000331a8
_nop
b 0x000331b8
_sw v1,0x28(s8)
or a0,s6,zero
lw v1,0x30(s8)
lw a1,0x20(s8)
beq a1,zero,0x000332a4
_lw a2,0x0(v1)
addiu v1,v1,0x4
lw a1,0x2c(s8)
addiu a1,a1,0x4
sw a2,-0x4(a1)
addiu v1,v1,0x4
addiu a0,a0,-0x1
bne a0,zero,0x00033278
_lw a2,-0x4(v1)
sll s6,s6,0x2
lw v1,0x2c(s8)
addu s6,v1,s6
b 0x000331c4
_sw a2,0x0(s6)
b 0x0003329c
_lw s6,0x2c(s8)
beq v0,zero,0x000331cc
_addiu a0,v0,-0x1
lw v1,0x24(s8)
beq a0,zero,0x000332fc
_lw a2,0x0(v1)
addiu v1,v1,0x4
lw a1,0x2c(s8)
addiu a1,a1,0x4
sw a2,-0x4(a1)
addiu v1,v1,0x4
addiu a0,a0,-0x1
bne a0,zero,0x000332c8
_lw a2,-0x4(v1)
lui v1,0x3fff
ori v1,v1,0xffff
addu v1,v0,v1
sll v1,v1,0x2
lw a0,0x2c(s8)
addu v1,a0,v1
sw v1,0x2c(s8)
lw v1,0x2c(s8)
b 0x000331cc
_sw a2,0x0(v1)
b 0x000331d4
_subu v0,zero,v0
jalr t9
_nop
lw gp,0x18(s8)
b 0x000331e4
_nop
jalr t9
_nop
lw t9,-0x7b70(gp)
jalr t9
_nop
nop
nop
(translation_unit "int * __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}\n\n" (function_definition "int * __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}" primitive_type (pointer_declarator "* __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)" * (function_declarator "__gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,uint param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "uint param_4" type_identifier identifier) )))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint unaff_s0;" type_identifier identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int *unaff_s6;" primitive_type (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "undefined *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "code *pcVar20;" type_identifier (pointer_declarator "*pcVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined1 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "undefined1 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "undefined4 uVar24;" type_identifier identifier ;) (declaration "undefined1 auStack_68 [24];" type_identifier (array_declarator "auStack_68 [24]" identifier [ number_literal ]) ;) (declaration "int *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "int *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar23 = auStack_68;" (assignment_expression "puVar23 = auStack_68" identifier = identifier) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0009b540;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0009b540" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" * (cast_expression "(int **)PTR___stack_chk_guard_0009b540" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar15 = (int *)param_3[1];" (assignment_expression "piVar15 = (int *)param_3[1]" identifier = (cast_expression "(int *)param_3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = param_1;" (assignment_expression "piVar10 = param_1" identifier = identifier) ;) (expression_statement "piVar11 = param_2;" (assignment_expression "piVar11 = param_2" identifier = identifier) ;) (expression_statement "piVar14 = param_3;" (assignment_expression "piVar14 = param_3" identifier = identifier) ;) (if_statement "if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }" { (if_statement "if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }" if (parenthesized_expression "((param_4 & 1) != 0)" ( (binary_expression "(param_4 & 1) != 0" (parenthesized_expression "(param_4 & 1)" ( (binary_expression "param_4 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }" { (if_statement "if (param_4 != 0) goto LAB_00032fd8;" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032fd8;" goto statement_identifier ;)) (goto_statement "goto LAB_00033040;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();" (call_expression "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)()" (parenthesized_expression "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)" ( (pointer_expression "*(code *)PTR___gmp_sqrt_of_negative_0009b1cc" * (cast_expression "(code *)PTR___gmp_sqrt_of_negative_0009b1cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" else (compound_statement "{\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" { (if_statement "if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }" { (labeled_statement "LAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();" statement_identifier : (expression_statement "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)();" (call_expression "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)()" (parenthesized_expression "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)" ( (pointer_expression "*(code *)PTR___gmp_divide_by_zero_0009b5dc" * (cast_expression "(code *)PTR___gmp_divide_by_zero_0009b5dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (labeled_statement "LAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }" statement_identifier : (if_statement "if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        param_1[1] = 0;\n      }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" else (compound_statement "{\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" { (if_statement "if (piVar15 == (int *)0x0) goto LAB_00033048;" if (parenthesized_expression "(piVar15 == (int *)0x0)" ( (binary_expression "piVar15 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00033048;" goto statement_identifier ;)) (labeled_statement "LAB_00032fd8:\n      piVar10 = piVar15;" statement_identifier : (expression_statement "piVar10 = piVar15;" (assignment_expression "piVar10 = piVar15" identifier = identifier) ;)) (if_statement "if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        piVar10 = (int *)-(int)piVar15;\n      }" { (expression_statement "piVar10 = (int *)-(int)piVar15;" (assignment_expression "piVar10 = (int *)-(int)piVar15" identifier = (cast_expression "(int *)-(int)piVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)piVar15" - (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) })) (expression_statement "unaff_s0 = (int)piVar10 - 1;" (assignment_expression "unaff_s0 = (int)piVar10 - 1" identifier = (binary_expression "(int)piVar10 - 1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) ;) (if_statement "if (param_4 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 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 "unaff_s6 = (int *)(unaff_s0 / param_4);" (assignment_expression "unaff_s6 = (int *)(unaff_s0 / param_4)" identifier = (cast_expression "(int *)(unaff_s0 / param_4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 / param_4)" ( (binary_expression "unaff_s0 / param_4" identifier / identifier) )))) ;) (expression_statement "unaff_s7 = (int)unaff_s6 + 1;" (assignment_expression "unaff_s7 = (int)unaff_s6 + 1" identifier = (binary_expression "(int)unaff_s6 + 1" (cast_expression "(int)unaff_s6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" if (parenthesized_expression "((param_1 == (int *)0x0) || (param_3 == param_1))" ( (binary_expression "(param_1 == (int *)0x0) || (param_3 == param_1)" (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_3 == param_1)" ( (binary_expression "param_3 == param_1" identifier == identifier) ))) )) (compound_statement "{\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }" { (if_statement "if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" if (parenthesized_expression "((uint)(unaff_s7 * 4) < 0x7f01)" ( (binary_expression "(uint)(unaff_s7 * 4) < 0x7f01" (call_expression "(uint)(unaff_s7 * 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(unaff_s7 * 4)" ( (binary_expression "unaff_s7 * 4" identifier * number_literal) ))) < number_literal) )) (compound_statement "{\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }" { (expression_statement "iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8)" identifier = (unary_expression "-(unaff_s7 * 4 + 7U & 0xfffffff8)" - (parenthesized_expression "(unaff_s7 * 4 + 7U & 0xfffffff8)" ( (binary_expression "unaff_s7 * 4 + 7U & 0xfffffff8" (binary_expression "unaff_s7 * 4 + 7U" (binary_expression "unaff_s7 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "local_38 = (int *)(&stack0xffffffb0 + iVar9);" (assignment_expression "local_38 = (int *)(&stack0xffffffb0 + iVar9)" identifier = (cast_expression "(int *)(&stack0xffffffb0 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffffb0 + iVar9)" ( (binary_expression "&stack0xffffffb0 + iVar9" (pointer_expression "&stack0xffffffb0" & identifier) + identifier) )))) ;) (expression_statement "puVar22 = auStack_68 + iVar9;" (assignment_expression "puVar22 = auStack_68 + iVar9" identifier = (binary_expression "auStack_68 + iVar9" identifier + identifier)) ;) }) (else_clause "else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" else (compound_statement "{\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" { (expression_statement "local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);" (assignment_expression "local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" identifier = (cast_expression "(int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }))) }) (else_clause "else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" else (if_statement "if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" if (parenthesized_expression "(*param_1 < unaff_s7)" ( (binary_expression "*param_1 < unaff_s7" (pointer_expression "*param_1" * identifier) < identifier) )) (compound_statement "{\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }" { (expression_statement "local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);" (assignment_expression "local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" identifier = (cast_expression "(int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_0009b5bc" * (cast_expression "(code *)PTR___gmpz_realloc_0009b5bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,unaff_s7)" ( identifier , identifier ))))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }) (else_clause "else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" else (compound_statement "{\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" { (expression_statement "local_38 = (int *)param_1[2];" (assignment_expression "local_38 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }))))) (if_statement "if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" if (parenthesized_expression "(param_3 == param_2)" ( (binary_expression "param_3 == param_2" identifier == identifier) )) (compound_statement "{\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }" { (expression_statement "piVar11 = (int *)((int)piVar10 * 4);" (assignment_expression "piVar11 = (int *)((int)piVar10 * 4)" identifier = (cast_expression "(int *)((int)piVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 * 4)" ( (binary_expression "(int)piVar10 * 4" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (if_statement "if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" if (parenthesized_expression "(piVar11 < (int *)0x7f01)" ( (binary_expression "piVar11 < (int *)0x7f01" identifier < (cast_expression "(int *)0x7f01" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }" { (expression_statement "piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);" (assignment_expression "piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8)" identifier = (cast_expression "(int *)((int)piVar11 + 7U & 0xfffffff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar11 + 7U & 0xfffffff8)" ( (binary_expression "(int)piVar11 + 7U & 0xfffffff8" (binary_expression "(int)piVar11 + 7U" (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);" (assignment_expression "local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18)" identifier = (cast_expression "(int *)(puVar22 + -(int)piVar11 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + -(int)piVar11 + 0x18)" ( (binary_expression "puVar22 + -(int)piVar11 + 0x18" (binary_expression "puVar22 + -(int)piVar11" identifier + (unary_expression "-(int)piVar11" - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))) ;) (expression_statement "puVar22 = puVar22 + -(int)piVar11;" (assignment_expression "puVar22 = puVar22 + -(int)piVar11" identifier = (binary_expression "puVar22 + -(int)piVar11" identifier + (unary_expression "-(int)piVar11" - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) }) (else_clause "else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" else (compound_statement "{\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" { (expression_statement "local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);" (assignment_expression "local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" identifier = (cast_expression "(int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) }))) }) (else_clause "else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" else (compound_statement "{\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" { (expression_statement "piVar11 = piVar10;" (assignment_expression "piVar11 = piVar10" identifier = identifier) ;) (if_statement "if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }" if (parenthesized_expression "(*param_2 < (int)piVar10)" ( (binary_expression "*param_2 < (int)piVar10" (pointer_expression "*param_2" * identifier) < (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }" { (expression_statement "local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);" (assignment_expression "local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" identifier = (cast_expression "(int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_0009b5bc" * (cast_expression "(code *)PTR___gmpz_realloc_0009b5bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))))) ;) }) (else_clause "else {\n          local_44 = (int *)param_2[2];\n        }" else (compound_statement "{\n          local_44 = (int *)param_2[2];\n        }" { (expression_statement "local_44 = (int *)param_2[2];" (assignment_expression "local_44 = (int *)param_2[2]" identifier = (cast_expression "(int *)param_2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) }))) }))) (expression_statement "local_3c = (int *)param_3[2];" (assignment_expression "local_3c = (int *)param_3[2]" identifier = (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ]))) ;) (if_statement "if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" if (parenthesized_expression "(param_4 == 1)" ( (binary_expression "param_4 == 1" identifier == number_literal) )) (compound_statement "{\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }" { (expression_statement "iVar9 = *local_3c;" (assignment_expression "iVar9 = *local_3c" identifier = (pointer_expression "*local_3c" * identifier)) ;) (expression_statement "piVar2 = local_38;" (assignment_expression "piVar2 = local_38" identifier = identifier) ;) (expression_statement "piVar18 = local_3c;" (assignment_expression "piVar18 = local_3c" identifier = identifier) ;) (if_statement "if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }" if (parenthesized_expression "(unaff_s0 != 0)" ( (binary_expression "unaff_s0 != 0" identifier != number_literal) )) (compound_statement "{\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }" { (do_statement "do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);" do (compound_statement "{\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          }" { (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "unaff_s0 = unaff_s0 - 1;" (assignment_expression "unaff_s0 = unaff_s0 - 1" identifier = (binary_expression "unaff_s0 - 1" identifier - number_literal)) ;) (expression_statement "iVar9 = piVar18[1];" (assignment_expression "iVar9 = piVar18[1]" identifier = (subscript_expression "piVar18[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar18 = piVar18 + 1;" (assignment_expression "piVar18 = piVar18 + 1" identifier = (binary_expression "piVar18 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s0 != 0)" ( (binary_expression "unaff_s0 != 0" identifier != number_literal) )) ;) (expression_statement "unaff_s0 = 0;" (assignment_expression "unaff_s0 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = local_38 + (int)piVar10 + 0x3fffffff;" (assignment_expression "piVar2 = local_38 + (int)piVar10 + 0x3fffffff" identifier = (binary_expression "local_38 + (int)piVar10 + 0x3fffffff" (binary_expression "local_38 + (int)piVar10" identifier + (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal)) ;) })) (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" else (compound_statement "{\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" { (expression_statement "*(uint *)(puVar22 + 0x10) = param_4;" (assignment_expression "*(uint *)(puVar22 + 0x10) = param_4" (pointer_expression "*(uint *)(puVar22 + 0x10)" * (cast_expression "(uint *)(puVar22 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + 0x10)" ( (binary_expression "puVar22 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar11 = local_44;" (assignment_expression "piVar11 = local_44" identifier = identifier) ;) (expression_statement "piVar14 = local_3c;" (assignment_expression "piVar14 = local_3c" identifier = identifier) ;) (expression_statement "iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);" (assignment_expression "iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10)" identifier = (call_expression "(*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10)" (parenthesized_expression "(*(code *)PTR___gmpn_rootrem_0009b520)" ( (pointer_expression "*(code *)PTR___gmpn_rootrem_0009b520" * (cast_expression "(code *)PTR___gmpn_rootrem_0009b520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_38,local_44,local_3c,piVar10)" ( identifier , identifier , identifier , identifier )))) ;) }))) (if_statement "if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }" { (expression_statement "local_40 = unaff_s7;" (assignment_expression "local_40 = unaff_s7" identifier = identifier) ;) (if_statement "if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          local_40 = -unaff_s7;\n        }" { (expression_statement "local_40 = -unaff_s7;" (assignment_expression "local_40 = -unaff_s7" identifier = (unary_expression "-unaff_s7" - identifier)) ;) })) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }" if (parenthesized_expression "(param_3 == param_1)" ( (binary_expression "param_3 == param_1" identifier == identifier) )) (compound_statement "{\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }" { (expression_statement "piVar14 = (int *)*local_38;" (assignment_expression "piVar14 = (int *)*local_38" identifier = (cast_expression "(int *)*local_38" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_38" * identifier))) ;) (expression_statement "piVar10 = unaff_s6;" (assignment_expression "piVar10 = unaff_s6" identifier = identifier) ;) (expression_statement "piVar2 = local_3c;" (assignment_expression "piVar2 = local_3c" identifier = identifier) ;) (if_statement "if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" if (parenthesized_expression "(unaff_s6 == (int *)0x0)" ( (binary_expression "unaff_s6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }" { (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s6 = local_3c;" (assignment_expression "unaff_s6 = local_3c" identifier = identifier) ;) }) (else_clause "else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" else (compound_statement "{\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" { (do_statement "do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);" do (compound_statement "{\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            }" { (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "piVar11 = piVar2 + 1;" (assignment_expression "piVar11 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "*piVar2 = (int)piVar14;" (assignment_expression "*piVar2 = (int)piVar14" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar10 = (int *)((int)piVar10 + -1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + -1)" identifier = (cast_expression "(int *)((int)piVar10 + -1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 + -1)" ( (binary_expression "(int)piVar10 + -1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "piVar14 = (int *)*local_38;" (assignment_expression "piVar14 = (int *)*local_38" identifier = (cast_expression "(int *)*local_38" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_38" * identifier))) ;) (expression_statement "piVar2 = piVar11;" (assignment_expression "piVar2 = piVar11" identifier = identifier) ;) }) while (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "unaff_s6 = local_3c + (int)unaff_s6;" (assignment_expression "unaff_s6 = local_3c + (int)unaff_s6" identifier = (binary_expression "local_3c + (int)unaff_s6" identifier + (cast_expression "(int)unaff_s6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "*unaff_s6 = (int)piVar14;" (assignment_expression "*unaff_s6 = (int)piVar14" (pointer_expression "*unaff_s6" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (if_statement "if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }" if (parenthesized_expression "((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0))" ( (binary_expression "(param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)" (parenthesized_expression "(param_3 == param_2)" ( (binary_expression "param_3 == param_2" identifier == identifier) )) && (parenthesized_expression "(iVar7 = iVar9 + -1, iVar9 != 0)" ( (comma_expression "iVar7 = iVar9 + -1, iVar9 != 0" (assignment_expression "iVar7 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }" { (expression_statement "piVar14 = (int *)*local_44;" (assignment_expression "piVar14 = (int *)*local_44" identifier = (cast_expression "(int *)*local_44" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_44" * identifier))) ;) (expression_statement "piVar10 = local_3c;" (assignment_expression "piVar10 = local_3c" identifier = identifier) ;) (if_statement "if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }" { (do_statement "do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);" do (compound_statement "{\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          }" { (expression_statement "local_44 = local_44 + 1;" (assignment_expression "local_44 = local_44 + 1" identifier = (binary_expression "local_44 + 1" identifier + number_literal)) ;) (expression_statement "piVar11 = piVar10 + 1;" (assignment_expression "piVar11 = piVar10 + 1" identifier = (binary_expression "piVar10 + 1" identifier + number_literal)) ;) (expression_statement "*piVar10 = (int)piVar14;" (assignment_expression "*piVar10 = (int)piVar14" (pointer_expression "*piVar10" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar14 = (int *)*local_44;" (assignment_expression "piVar14 = (int *)*local_44" identifier = (cast_expression "(int *)*local_44" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_44" * identifier))) ;) (expression_statement "piVar10 = piVar11;" (assignment_expression "piVar10 = piVar11" identifier = identifier) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) (expression_statement "local_3c = local_3c + iVar9 + 0x3fffffff;" (assignment_expression "local_3c = local_3c + iVar9 + 0x3fffffff" identifier = (binary_expression "local_3c + iVar9 + 0x3fffffff" (binary_expression "local_3c + iVar9" identifier + identifier) + number_literal)) ;) })) (expression_statement "*local_3c = (int)piVar14;" (assignment_expression "*local_3c = (int)piVar14" (pointer_expression "*local_3c" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (if_statement "if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        iVar9 = -iVar9;\n      }" { (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" identifier = (unary_expression "-iVar9" - identifier)) ;) })) (expression_statement "param_2[1] = iVar9;" (assignment_expression "param_2[1] = iVar9" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10 = local_30;" (assignment_expression "piVar10 = local_30" identifier = identifier) ;) (if_statement "if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }" if (parenthesized_expression "(local_30 != (int *)0x0)" ( (binary_expression "local_30 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_0009b614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_0009b614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) }))) (expression_statement "puVar23 = puVar22;" (assignment_expression "puVar23 = puVar22" identifier = identifier) ;) (if_statement "if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }" if (parenthesized_expression "(local_2c == *(int **)PTR___stack_chk_guard_0009b540)" ( (binary_expression "local_2c == *(int **)PTR___stack_chk_guard_0009b540" identifier == (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" * (cast_expression "(int **)PTR___stack_chk_guard_0009b540" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }" { (return_statement "return *(int **)PTR___stack_chk_guard_0009b540;" return (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" * (cast_expression "(int **)PTR___stack_chk_guard_0009b540" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) })) }))) (expression_statement "uVar24 = 0x33338;" (assignment_expression "uVar24 = 0x33338" identifier = number_literal) ;) (expression_statement "puVar19 = PTR___stack_chk_fail_0009b4d0;" (assignment_expression "puVar19 = PTR___stack_chk_fail_0009b4d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0009b4d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0009b4d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0009b4d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0009b4d0" * (cast_expression "(code *)PTR___stack_chk_fail_0009b4d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar21 = puVar19 + 0x6fd00;" (assignment_expression "puVar21 = puVar19 + 0x6fd00" identifier = (binary_expression "puVar19 + 0x6fd00" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar23 + -4) = uVar24;" (assignment_expression "*(undefined4 *)(puVar23 + -4) = uVar24" (pointer_expression "*(undefined4 *)(puVar23 + -4)" * (cast_expression "(undefined4 *)(puVar23 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -4)" ( (binary_expression "puVar23 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar23 + -8) = auStack_68;" (assignment_expression "*(undefined1 **)(puVar23 + -8) = auStack_68" (pointer_expression "*(undefined1 **)(puVar23 + -8)" * (cast_expression "(undefined1 **)(puVar23 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -8)" ( (binary_expression "puVar23 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar23 + -0xc) = unaff_s7;" (assignment_expression "*(int *)(puVar23 + -0xc) = unaff_s7" (pointer_expression "*(int *)(puVar23 + -0xc)" * (cast_expression "(int *)(puVar23 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0xc)" ( (binary_expression "puVar23 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x10) = unaff_s6;" (assignment_expression "*(int **)(puVar23 + -0x10) = unaff_s6" (pointer_expression "*(int **)(puVar23 + -0x10)" * (cast_expression "(int **)(puVar23 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x10)" ( (binary_expression "puVar23 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x14) = param_2;" (assignment_expression "*(int **)(puVar23 + -0x14) = param_2" (pointer_expression "*(int **)(puVar23 + -0x14)" * (cast_expression "(int **)(puVar23 + -0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x14)" ( (binary_expression "puVar23 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar23 + -0x18) = param_4;" (assignment_expression "*(uint *)(puVar23 + -0x18) = param_4" (pointer_expression "*(uint *)(puVar23 + -0x18)" * (cast_expression "(uint *)(puVar23 + -0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x18)" ( (binary_expression "puVar23 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x1c) = param_1;" (assignment_expression "*(int **)(puVar23 + -0x1c) = param_1" (pointer_expression "*(int **)(puVar23 + -0x1c)" * (cast_expression "(int **)(puVar23 + -0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x1c)" ( (binary_expression "puVar23 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x20) = param_3;" (assignment_expression "*(int **)(puVar23 + -0x20) = param_3" (pointer_expression "*(int **)(puVar23 + -0x20)" * (cast_expression "(int **)(puVar23 + -0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x20)" ( (binary_expression "puVar23 + -0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x24) = piVar15;" (assignment_expression "*(int **)(puVar23 + -0x24) = piVar15" (pointer_expression "*(int **)(puVar23 + -0x24)" * (cast_expression "(int **)(puVar23 + -0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x24)" ( (binary_expression "puVar23 + -0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar23 + -0x28) = unaff_s0;" (assignment_expression "*(uint *)(puVar23 + -0x28) = unaff_s0" (pointer_expression "*(uint *)(puVar23 + -0x28)" * (cast_expression "(uint *)(puVar23 + -0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x28)" ( (binary_expression "puVar23 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)(puVar23 + -0x38) = puVar21;" (assignment_expression "*(undefined **)(puVar23 + -0x38) = puVar21" (pointer_expression "*(undefined **)(puVar23 + -0x38)" * (cast_expression "(undefined **)(puVar23 + -0x38)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);" (assignment_expression "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200)" (pointer_expression "*(undefined4 *)(puVar23 + -0x2c)" * (cast_expression "(undefined4 *)(puVar23 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x2c)" ( (binary_expression "puVar23 + -0x2c" identifier + number_literal) )))) = (pointer_expression "**(undefined4 **)(puVar19 + 0x68200)" * (pointer_expression "*(undefined4 **)(puVar19 + 0x68200)" * (cast_expression "(undefined4 **)(puVar19 + 0x68200)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + 0x68200)" ( (binary_expression "puVar19 + 0x68200" identifier + number_literal) )))))) ;) (expression_statement "uVar17 = (int)piVar14 + 0x1fU >> 5;" (assignment_expression "uVar17 = (int)piVar14 + 0x1fU >> 5" identifier = (binary_expression "(int)piVar14 + 0x1fU >> 5" (binary_expression "(int)piVar14 + 0x1fU" (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) >> number_literal)) ;) (expression_statement "piVar15 = piVar10;" (assignment_expression "piVar15 = piVar10" identifier = identifier) ;) (expression_statement "piVar2 = piVar11;" (assignment_expression "piVar2 = piVar11" identifier = identifier) ;) (if_statement "if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }" if (parenthesized_expression "(piVar14 != (int *)0x0)" ( (binary_expression "piVar14 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }" { (if_statement "if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }" if (parenthesized_expression "(*piVar10 < (int)uVar17)" ( (binary_expression "*piVar10 < (int)uVar17" (pointer_expression "*piVar10" * identifier) < (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }" { (expression_statement "iVar9 = (**(code **)(puVar19 + 0x6827c))();" (assignment_expression "iVar9 = (**(code **)(puVar19 + 0x6827c))()" identifier = (call_expression "(**(code **)(puVar19 + 0x6827c))()" (parenthesized_expression "(**(code **)(puVar19 + 0x6827c))" ( (pointer_expression "**(code **)(puVar19 + 0x6827c)" * (pointer_expression "*(code **)(puVar19 + 0x6827c)" * (cast_expression "(code **)(puVar19 + 0x6827c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + 0x6827c)" ( (binary_expression "puVar19 + 0x6827c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n      iVar9 = piVar10[2];\n    }" else (compound_statement "{\n      iVar9 = piVar10[2];\n    }" { (expression_statement "iVar9 = piVar10[2];" (assignment_expression "iVar9 = piVar10[2]" identifier = (subscript_expression "piVar10[2]" identifier [ number_literal ])) ;) }))) (expression_statement "*(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);" (assignment_expression "*(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU)" (pointer_expression "*(uint *)(iVar9 + (uVar17 - 1) * 4)" * (cast_expression "(uint *)(iVar9 + (uVar17 - 1) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (uVar17 - 1) * 4)" ( (binary_expression "iVar9 + (uVar17 - 1) * 4" identifier + (binary_expression "(uVar17 - 1) * 4" (parenthesized_expression "(uVar17 - 1)" ( (binary_expression "uVar17 - 1" identifier - number_literal) )) * number_literal)) )))) = (binary_expression "0xffffffff >> (-(int)piVar14 & 0x1fU)" number_literal >> (parenthesized_expression "(-(int)piVar14 & 0x1fU)" ( (binary_expression "-(int)piVar14 & 0x1fU" (unary_expression "-(int)piVar14" - (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) )))) ;) (expression_statement "iVar7 = uVar17 - 2;" (assignment_expression "iVar7 = uVar17 - 2" identifier = (binary_expression "uVar17 - 2" identifier - number_literal)) ;) (if_statement "if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }" { (expression_statement "iVar3 = iVar9 + uVar17 * 4;" (assignment_expression "iVar3 = iVar9 + uVar17 * 4" identifier = (binary_expression "iVar9 + uVar17 * 4" identifier + (binary_expression "uVar17 * 4" identifier * number_literal))) ;) (do_statement "do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);" do (compound_statement "{\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      }" { (expression_statement "*(undefined4 *)(iVar3 + -8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar3 + -8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar3 + -8)" * (cast_expression "(undefined4 *)(iVar3 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -8)" ( (binary_expression "iVar3 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar3 = iVar3 + -4;" (assignment_expression "iVar3 = iVar3 + -4" identifier = (binary_expression "iVar3 + -4" identifier + number_literal)) ;) }) while (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) ;) })) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" ( (pointer_expression "**(code **)(piVar11[4] + 4)" * (pointer_expression "*(code **)(piVar11[4] + 4)" * (cast_expression "(code **)(piVar11[4] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11[4] + 4)" ( (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(piVar11,puVar23 + -0x30,0x20)" ( identifier , (binary_expression "puVar23 + -0x30" identifier + number_literal) , number_literal ))) ;) (expression_statement "piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);" (assignment_expression "piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1)" identifier = (cast_expression "(int *)((*(uint *)(puVar23 + -0x30) & 3) + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((*(uint *)(puVar23 + -0x30) & 3) + 1)" ( (binary_expression "(*(uint *)(puVar23 + -0x30) & 3) + 1" (parenthesized_expression "(*(uint *)(puVar23 + -0x30) & 3)" ( (binary_expression "*(uint *)(puVar23 + -0x30) & 3" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) & number_literal) )) + number_literal) )))) ;) (if_statement "if (piVar15 == (int *)0x0) {\n      trap(7);\n    }" if (parenthesized_expression "(piVar15 == (int *)0x0)" ( (binary_expression "piVar15 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;" (assignment_expression "uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15" identifier = (binary_expression "(uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15" (call_expression "(uint)(piVar14 < piVar15)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar14 < piVar15)" ( (binary_expression "piVar14 < piVar15" identifier < identifier) ))) + (binary_expression "(uint)piVar14 / (uint)piVar15" (cast_expression "(uint)piVar14" ( (type_descriptor "uint" type_identifier) ) identifier) / (cast_expression "(uint)piVar15" ( (type_descriptor "uint" type_identifier) ) identifier)))) ;) (expression_statement "piVar18 = (int *)(puVar23 + -0x30);" (assignment_expression "piVar18 = (int *)(puVar23 + -0x30)" identifier = (cast_expression "(int *)(puVar23 + -0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) ;) (do_statement "do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);" do (compound_statement "{\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    }" { (expression_statement "piVar15 = piVar11;" (assignment_expression "piVar15 = piVar11" identifier = identifier) ;) (expression_statement "piVar2 = piVar18;" (assignment_expression "piVar2 = piVar18" identifier = identifier) ;) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" ( (pointer_expression "**(code **)(piVar11[4] + 4)" * (pointer_expression "*(code **)(piVar11[4] + 4)" * (cast_expression "(code **)(piVar11[4] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11[4] + 4)" ( (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(piVar11,piVar18,0x20)" ( identifier , identifier , number_literal ))) ;) (expression_statement "puVar21 = *(undefined **)(puVar23 + -0x38);" (assignment_expression "puVar21 = *(undefined **)(puVar23 + -0x38)" identifier = (pointer_expression "*(undefined **)(puVar23 + -0x38)" * (cast_expression "(undefined **)(puVar23 + -0x38)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) ))))) ;) (if_statement "if (uVar16 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 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 "uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);" (assignment_expression "uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" identifier = (binary_expression "(int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) ))))) ;) (if_statement "if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;" if (parenthesized_expression "((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0))" ( (binary_expression "(piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)" (parenthesized_expression "(piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1))" ( (binary_expression "piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" identifier < (cast_expression "(int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) )))) )) || (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);" (assignment_expression "puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4)" identifier = (cast_expression "(uint *)(iVar9 + (uVar13 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (uVar13 >> 5) * 4)" ( (binary_expression "iVar9 + (uVar13 >> 5) * 4" identifier + (binary_expression "(uVar13 >> 5) * 4" (parenthesized_expression "(uVar13 >> 5)" ( (binary_expression "uVar13 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "*puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);" (assignment_expression "*puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f)" (pointer_expression "*puVar5" * identifier) = (binary_expression "*puVar5 ^ 1 << (uVar13 & 0x1f)" (pointer_expression "*puVar5" * identifier) ^ (binary_expression "1 << (uVar13 & 0x1f)" number_literal << (parenthesized_expression "(uVar13 & 0x1f)" ( (binary_expression "uVar13 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "piVar2 = piVar18;" (assignment_expression "piVar2 = piVar18" identifier = identifier) ;) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" ( (pointer_expression "**(code **)(piVar11[4] + 4)" * (pointer_expression "*(code **)(piVar11[4] + 4)" * (cast_expression "(code **)(piVar11[4] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11[4] + 4)" ( (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(piVar11,piVar18,0x20)" ( identifier , identifier , number_literal ))) ;) (expression_statement "puVar21 = *(undefined **)(puVar23 + -0x38);" (assignment_expression "puVar21 = *(undefined **)(puVar23 + -0x38)" identifier = (pointer_expression "*(undefined **)(puVar23 + -0x38)" * (cast_expression "(undefined **)(puVar23 + -0x38)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) ))))) ;) (if_statement "if (uVar16 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 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 "piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));" (assignment_expression "piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" identifier = (cast_expression "(int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" ( (binary_expression "uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1)" identifier - (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) ))) )))) ;) (if_statement "if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }" if (parenthesized_expression "(uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1" identifier < (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal)) )) (compound_statement "{\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }" { (expression_statement "piVar14 = (int *)0x0;" (assignment_expression "piVar14 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar13 = (uint)piVar14 >> 5;\n      }" else (compound_statement "{\n        uVar13 = (uint)piVar14 >> 5;\n      }" { (expression_statement "uVar13 = (uint)piVar14 >> 5;" (assignment_expression "uVar13 = (uint)piVar14 >> 5" identifier = (binary_expression "(uint)piVar14 >> 5" (cast_expression "(uint)piVar14" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal)) ;) }))) (expression_statement "piVar4 = (int *)(iVar9 + uVar13 * 4);" (assignment_expression "piVar4 = (int *)(iVar9 + uVar13 * 4)" identifier = (cast_expression "(int *)(iVar9 + uVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar13 * 4)" ( (binary_expression "iVar9 + uVar13 * 4" identifier + (binary_expression "uVar13 * 4" identifier * number_literal)) )))) ;) (expression_statement "piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));" (assignment_expression "piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f))" identifier = (cast_expression "(int *)(1 << ((uint)piVar14 & 0x1f))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(1 << ((uint)piVar14 & 0x1f))" ( (binary_expression "1 << ((uint)piVar14 & 0x1f)" number_literal << (parenthesized_expression "((uint)piVar14 & 0x1f)" ( (binary_expression "(uint)piVar14 & 0x1f" (cast_expression "(uint)piVar14" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "piVar15 = (int *)((int)piVar8 + *piVar4);" (assignment_expression "piVar15 = (int *)((int)piVar8 + *piVar4)" identifier = (cast_expression "(int *)((int)piVar8 + *piVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + *piVar4)" ( (binary_expression "(int)piVar8 + *piVar4" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*piVar4" * identifier)) )))) ;) (expression_statement "*piVar4 = (int)piVar15;" (assignment_expression "*piVar4 = (int)piVar15" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }" if (parenthesized_expression "(piVar15 < piVar8)" ( (binary_expression "piVar15 < piVar8" identifier < identifier) )) (compound_statement "{\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }" { (do_statement "do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);" do (compound_statement "{\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        }" { (expression_statement "piVar4 = piVar4 + 1;" (assignment_expression "piVar4 = piVar4 + 1" identifier = (binary_expression "piVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = *piVar4;" (assignment_expression "iVar7 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "*piVar4 = iVar7 + 1;" (assignment_expression "*piVar4 = iVar7 + 1" (pointer_expression "*piVar4" * identifier) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 + 1 == 0)" ( (binary_expression "iVar7 + 1 == 0" (binary_expression "iVar7 + 1" identifier + number_literal) == number_literal) )) ;) })) }) while (parenthesized_expression "(piVar14 != (int *)0x0)" ( (binary_expression "piVar14 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "piVar10[1] = uVar17;" (assignment_expression "piVar10[1] = uVar17" (subscript_expression "piVar10[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }" if (parenthesized_expression "(*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00))" ( (binary_expression "*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)" (pointer_expression "*(int **)(puVar23 + -0x2c)" * (cast_expression "(int **)(puVar23 + -0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x2c)" ( (binary_expression "puVar23 + -0x2c" identifier + number_literal) )))) == (cast_expression "(int *)**(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(puVar21 + -0x7b00)" * (pointer_expression "*(int **)(puVar21 + -0x7b00)" * (cast_expression "(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + -0x7b00)" ( (binary_expression "puVar21 + -0x7b00" identifier + number_literal) ))))))) )) (compound_statement "{\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }" { (return_statement "return (int *)**(int **)(puVar21 + -0x7b00);" return (cast_expression "(int *)**(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(puVar21 + -0x7b00)" * (pointer_expression "*(int **)(puVar21 + -0x7b00)" * (cast_expression "(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + -0x7b00)" ( (binary_expression "puVar21 + -0x7b00" identifier + number_literal) )))))) ;) })) (expression_statement "pcVar20 = *(code **)(puVar21 + -0x7b70);" (assignment_expression "pcVar20 = *(code **)(puVar21 + -0x7b70)" identifier = (pointer_expression "*(code **)(puVar21 + -0x7b70)" * (cast_expression "(code **)(puVar21 + -0x7b70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + -0x7b70)" ( (binary_expression "puVar21 + -0x7b70" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar20)();" (call_expression "(*pcVar20)()" (parenthesized_expression "(*pcVar20)" ( (pointer_expression "*pcVar20" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar7 = piVar15[1];" (assignment_expression "iVar7 = piVar15[1]" identifier = (subscript_expression "piVar15[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar9 = -iVar7;\n  }" { (expression_statement "iVar9 = -iVar7;" (assignment_expression "iVar9 = -iVar7" identifier = (unary_expression "-iVar7" - identifier)) ;) })) (if_statement "if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }" if (parenthesized_expression "(iVar9 <= (int)((uint)piVar2 >> 5))" ( (binary_expression "iVar9 <= (int)((uint)piVar2 >> 5)" identifier <= (cast_expression "(int)((uint)piVar2 >> 5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)piVar2 >> 5)" ( (binary_expression "(uint)piVar2 >> 5" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) )) (compound_statement "{\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }" { (expression_statement "piVar11 = (int *)0xffffffff;" (assignment_expression "piVar11 = (int *)0xffffffff" identifier = (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n      piVar11 = piVar2;\n    }" { (expression_statement "piVar11 = piVar2;" (assignment_expression "piVar11 = piVar2" identifier = identifier) ;) })) (return_statement "return piVar11;" return identifier ;) })) (expression_statement "puVar6 = (uint *)piVar15[2];" (assignment_expression "puVar6 = (uint *)piVar15[2]" identifier = (cast_expression "(uint *)piVar15[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar15[2]" identifier [ number_literal ]))) ;) (expression_statement "puVar5 = puVar6 + ((uint)piVar2 >> 5);" (assignment_expression "puVar5 = puVar6 + ((uint)piVar2 >> 5)" identifier = (binary_expression "puVar6 + ((uint)piVar2 >> 5)" identifier + (parenthesized_expression "((uint)piVar2 >> 5)" ( (binary_expression "(uint)piVar2 >> 5" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (if_statement "if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }" { (if_statement "if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" if (parenthesized_expression "(puVar6 == puVar5)" ( (binary_expression "puVar6 == puVar5" identifier == identifier) )) (compound_statement "{\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }" { (labeled_statement "LAB_000336ac:\n      uVar17 = uVar17 - 1;" statement_identifier : (expression_statement "uVar17 = uVar17 - 1;" (assignment_expression "uVar17 = uVar17 - 1" identifier = (binary_expression "uVar17 - 1" identifier - number_literal)) ;)) }) (else_clause "else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" else (compound_statement "{\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" { (expression_statement "puVar12 = puVar5 + -1;" (assignment_expression "puVar12 = puVar5 + -1" identifier = (binary_expression "puVar5 + -1" identifier + number_literal)) ;) (expression_statement "uVar16 = puVar5[-1];" (assignment_expression "uVar16 = puVar5[-1]" identifier = (subscript_expression "puVar5[-1]" identifier [ number_literal ])) ;) (while_statement "while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }" while (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }" { (expression_statement "bVar1 = puVar6 == puVar12;" (assignment_expression "bVar1 = puVar6 == puVar12" identifier = (binary_expression "puVar6 == puVar12" identifier == identifier)) ;) (expression_statement "puVar12 = puVar12 + -1;" (assignment_expression "puVar12 = puVar12 + -1" identifier = (binary_expression "puVar12 + -1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_000336ac;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_000336ac;" goto statement_identifier ;)) (expression_statement "uVar16 = *puVar12;" (assignment_expression "uVar16 = *puVar12" identifier = (pointer_expression "*puVar12" * identifier)) ;) })) }))) (expression_statement "uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;" (assignment_expression "uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17" identifier = (binary_expression "-1 << ((uint)piVar2 & 0x1f) & uVar17" (binary_expression "-1 << ((uint)piVar2 & 0x1f)" number_literal << (parenthesized_expression "((uint)piVar2 & 0x1f)" ( (binary_expression "(uint)piVar2 & 0x1f" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) & identifier)) ;) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" identifier = (binary_expression "uVar17 & 0xff" identifier & number_literal)) ;) (if_statement "if (uVar17 != 0) goto LAB_0003367c;" if (parenthesized_expression "(uVar17 != 0)" ( (binary_expression "uVar17 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003367c;" goto statement_identifier ;)) (expression_statement "puVar12 = puVar5 + 1;" (assignment_expression "puVar12 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }" if (parenthesized_expression "(puVar6 + iVar9 == puVar12)" ( (binary_expression "puVar6 + iVar9 == puVar12" (binary_expression "puVar6 + iVar9" identifier + identifier) == identifier) )) (compound_statement "{\n      return (int *)0xffffffff;\n    }" { (return_statement "return (int *)0xffffffff;" return (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "uVar17 = puVar5[1];" (assignment_expression "uVar17 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = puVar12;" (assignment_expression "puVar5 = puVar12" identifier = identifier) ;) (if_statement "if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }" if (parenthesized_expression "(uVar17 == 0)" ( (binary_expression "uVar17 == 0" identifier == number_literal) )) (compound_statement "{\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }" { (do_statement "do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);" do (compound_statement "{\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }) while (parenthesized_expression "(uVar17 == 0)" ( (binary_expression "uVar17 == 0" identifier == number_literal) )) ;) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" identifier = (binary_expression "uVar17 & 0xff" identifier & number_literal)) ;) (goto_statement "goto LAB_0003367c;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" else (compound_statement "{\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" { (expression_statement "uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;" (assignment_expression "uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17" identifier = (binary_expression "(1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17" (binary_expression "(1 << ((uint)piVar2 & 0x1f)) - 1U" (parenthesized_expression "(1 << ((uint)piVar2 & 0x1f))" ( (binary_expression "1 << ((uint)piVar2 & 0x1f)" number_literal << (parenthesized_expression "((uint)piVar2 & 0x1f)" ( (binary_expression "(uint)piVar2 & 0x1f" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) )) - number_literal) | identifier)) ;) (while_statement "while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }" while (parenthesized_expression "(uVar17 == 0xffffffff)" ( (binary_expression "uVar17 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }" if (parenthesized_expression "(puVar5 == puVar6 + iVar9)" ( (binary_expression "puVar5 == puVar6 + iVar9" identifier == (binary_expression "puVar6 + iVar9" identifier + identifier)) )) (compound_statement "{\n        return (int *)(iVar9 << 5);\n      }" { (return_statement "return (int *)(iVar9 << 5);" return (cast_expression "(int *)(iVar9 << 5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 << 5)" ( (binary_expression "iVar9 << 5" identifier << number_literal) ))) ;) })) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) })) (expression_statement "uVar17 = ~uVar17;" (assignment_expression "uVar17 = ~uVar17" identifier = (unary_expression "~uVar17" ~ identifier)) ;) }))) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" identifier = (binary_expression "uVar17 & 0xff" identifier & number_literal)) ;) (labeled_statement "LAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" statement_identifier : (if_statement "if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }" { (expression_statement "uVar16 = uVar17 >> 8;" (assignment_expression "uVar16 = uVar17 >> 8" identifier = (binary_expression "uVar17 >> 8" identifier >> number_literal)) ;) (expression_statement "iVar9 = 6;" (assignment_expression "iVar9 = 6" identifier = number_literal) ;) (if_statement "if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }" if (parenthesized_expression "((uVar16 & 0xff) == 0)" ( (binary_expression "(uVar16 & 0xff) == 0" (parenthesized_expression "(uVar16 & 0xff)" ( (binary_expression "uVar16 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }" { (expression_statement "uVar16 = uVar17 >> 0x10;" (assignment_expression "uVar16 = uVar17 >> 0x10" identifier = (binary_expression "uVar17 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar9 = 0xe;" (assignment_expression "iVar9 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }" if (parenthesized_expression "((uVar16 & 0xff) == 0)" ( (binary_expression "(uVar16 & 0xff) == 0" (parenthesized_expression "(uVar16 & 0xff)" ( (binary_expression "uVar16 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }" { (expression_statement "uVar16 = uVar17 >> 0x18;" (assignment_expression "uVar16 = uVar17 >> 0x18" identifier = (binary_expression "uVar17 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar9 = 0x1e;" (assignment_expression "iVar9 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }" if (parenthesized_expression "(uVar16 != 0)" ( (binary_expression "uVar16 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar9 = 0x16;\n        }" { (expression_statement "iVar9 = 0x16;" (assignment_expression "iVar9 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;" (assignment_expression "iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9" identifier = (binary_expression "(uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9" (binary_expression "(uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" ( (binary_expression "*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)" (pointer_expression "*(int *)(pcVar20 + 0x67bec)" * (cast_expression "(int *)(pcVar20 + 0x67bec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar20 + 0x67bec)" ( (binary_expression "pcVar20 + 0x67bec" identifier + number_literal) )))) + (parenthesized_expression "(-uVar16 & uVar16)" ( (binary_expression "-uVar16 & uVar16" (unary_expression "-uVar16" - identifier) & identifier) ))) )))) + identifier)) ;) }) (else_clause "else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" else (compound_statement "{\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" { (expression_statement "iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;" (assignment_expression "iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2" identifier = (binary_expression "*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2" (pointer_expression "*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" * (cast_expression "(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" ( (binary_expression "*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)" (pointer_expression "*(int *)(pcVar20 + 0x67bec)" * (cast_expression "(int *)(pcVar20 + 0x67bec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar20 + 0x67bec)" ( (binary_expression "pcVar20 + 0x67bec" identifier + number_literal) )))) + (parenthesized_expression "(-uVar17 & uVar17)" ( (binary_expression "-uVar17 & uVar17" (unary_expression "-uVar17" - identifier) & identifier) ))) )))) - number_literal)) ;) })))) (return_statement "return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);" return (cast_expression "(int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9)" ( (binary_expression "((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9" (binary_expression "((int)puVar5 - (int)puVar6 >> 2) * 0x20" (parenthesized_expression "((int)puVar5 - (int)puVar6 >> 2)" ( (binary_expression "(int)puVar5 - (int)puVar6 >> 2" (binary_expression "(int)puVar5 - (int)puVar6" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) * number_literal) + identifier) ))) ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n\nvoid __gmpz_rootrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr u,ulong nth)\n\n{\n  bool bVar1;\n  int iVar2;\n  mp_limb_t *pmVar3;\n  mpz_srcptr p_Var4;\n  mpz_ptr p_Var5;\n  mpz_ptr p_Var6;\n  mpz_ptr p_Var7;\n  mpz_srcptr p_Var8;\n  mpz_ptr p_Var9;\n  int iVar10;\n  mp_limb_t *pmVar11;\n  undefined1 *unaff_s0;\n  uint uVar12;\n  mpz_srcptr p_Var13;\n  mpz_ptr p_Var14;\n  uint uVar15;\n  uint uVar16;\n  mp_limb_t *pmVar17;\n  mpz_srcptr unaff_s6;\n  undefined1 *unaff_s7;\n  mpz_ptr p_Var18;\n  int in_t9;\n  code *pcVar19;\n  mp_limb_t mVar20;\n  code *pcVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  mp_limb_t local_50 [2];\n  mpz_srcptr local_48;\n  mpz_ptr local_44;\n  undefined1 *local_40;\n  mpz_srcptr local_3c;\n  mp_limb_t *local_38;\n  mpz_ptr local_34;\n  tmp_reentrant_t *__tmp_marker;\n  int local_2c;\n  \n  mVar20 = in_t9 + 0x700e0;\n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = **(int **)(in_t9 + 0x685e0);\n  p_Var14 = (mpz_ptr)u->_mp_size;\n  p_Var6 = root;\n  p_Var7 = rem;\n  p_Var13 = u;\n  local_50[0] = mVar20;\n  if ((int)p_Var14 < 0) {\n    if ((nth & 1) == 0) {\n      (**(code **)(in_t9 + 0x6826c))();\n      goto LAB_0003332c;\n    }\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth != 0) goto LAB_00032fd8;\nLAB_00033040:\n    (*pcVar19)();\nLAB_00033048:\n    if (root != (mpz_ptr)0x0) {\n      root->_mp_size = 0;\n    }\n    rem->_mp_size = 0;\n  }\n  else {\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth == 0) goto LAB_00033040;\n    if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;\nLAB_00032fd8:\n    local_34 = p_Var14;\n    if ((int)p_Var14 < 0) {\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }\n    unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);\n    if (nth == 0) {\n      trap(7);\n    }\n    unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);\n    unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    local_48 = unaff_s6;\n    local_40 = unaff_s7;\n    if ((root == (mpz_ptr)0x0) || (u == root)) {\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }\n    else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }\n    if (u == rem) {\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }\n    else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }\n    mVar20 = local_50[0];\n    p_Var4 = (mpz_srcptr)u->_mp_d;\n    local_3c = p_Var4;\n    if (nth == 1) {\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }\n    else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }\n    if (root != (mpz_ptr)0x0) {\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }\n    if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }\n    if ((int)p_Var14 < 0) {\n      iVar2 = -iVar2;\n    }\n    rem->_mp_size = iVar2;\n    p_Var6 = (mpz_ptr)__tmp_marker;\n    mVar20 = local_50[0];\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (**(code **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\n    }\n  }\n  puVar23 = puVar22;\n  if (local_2c == **(int **)(mVar20 - 0x7b00)) {\n    return;\n  }\nLAB_0003332c:\n  pcVar19 = *(code **)(mVar20 - 0x7b70);\n  uVar24 = 0x33338;\n  (*pcVar19)();\n  pcVar21 = pcVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(undefined1 **)(puVar23 + -0xc) = unaff_s7;\n  *(mpz_srcptr *)(puVar23 + -0x10) = unaff_s6;\n  *(mpz_ptr *)(puVar23 + -0x14) = rem;\n  *(ulong *)(puVar23 + -0x18) = nth;\n  *(mpz_ptr *)(puVar23 + -0x1c) = root;\n  *(mpz_srcptr *)(puVar23 + -0x20) = u;\n  *(mpz_ptr *)(puVar23 + -0x24) = p_Var14;\n  *(undefined1 **)(puVar23 + -0x28) = unaff_s0;\n  *(code **)(puVar23 + -0x38) = pcVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(pcVar19 + 0x68200);\n  uVar16 = (uint)((int)&p_Var13[2]._mp_size + 3) >> 5;\n  p_Var14 = p_Var6;\n  p_Var9 = p_Var7;\n  if (p_Var13 != (mpz_srcptr)0x0) {\n    if (p_Var6->_mp_alloc < (int)uVar16) {\n      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();\n    }\n    else {\n      pmVar17 = p_Var6->_mp_d;\n    }\n    pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU);\n    iVar2 = uVar16 - 2;\n    if (-1 < iVar2) {\n      pmVar3 = pmVar17 + uVar16;\n      do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);\n    }\n    (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20);\n    p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (p_Var4 == (mpz_srcptr)0x0) {\n      trap(7);\n    }\n    uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4;\n    p_Var18 = (mpz_ptr)(puVar23 + -0x30);\n    do {\n      p_Var14 = p_Var7;\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);\n      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;\n      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));\n      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }\n      pmVar3 = pmVar17 + uVar12;\n      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));\n      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);\n      *pmVar3 = (mp_limb_t)p_Var14;\n      if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }\n    } while (p_Var13 != (mpz_srcptr)0x0);\n  }\n  p_Var6->_mp_size = uVar16;\n  if (*(int *)(puVar23 + -0x2c) == **(int **)(pcVar21 + -0x7b00)) {\n    return;\n  }\n  (**(code **)(pcVar21 + -0x7b70))();\n  iVar10 = p_Var14->_mp_size;\n  iVar2 = iVar10;\n  if (iVar10 < 0) {\n    iVar2 = -iVar10;\n  }\n  if (iVar2 <= (int)((uint)p_Var9 >> 5)) {\n    return;\n  }\n  pmVar3 = p_Var14->_mp_d;\n  pmVar17 = pmVar3 + ((uint)p_Var9 >> 5);\n  uVar16 = *pmVar17;\n  if (iVar10 < 0) {\n    if (pmVar3 == pmVar17) {\nLAB_000336ac:\n      uVar16 = uVar16 - 1;\n    }\n    else {\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }\n    if ((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0) {\n      pmVar11 = pmVar17 + 1;\n      if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }\n      mVar20 = pmVar17[1];\n      while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }\n    }\n  }\n  else {\n    mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;\n    while (mVar20 == 0xffffffff) {\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __gmpz_rootrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr u,ulong nth)\n\n{\n  bool bVar1;\n  int iVar2;\n  mp_limb_t *pmVar3;\n  mpz_srcptr p_Var4;\n  mpz_ptr p_Var5;\n  mpz_ptr p_Var6;\n  mpz_ptr p_Var7;\n  mpz_srcptr p_Var8;\n  mpz_ptr p_Var9;\n  int iVar10;\n  mp_limb_t *pmVar11;\n  undefined1 *unaff_s0;\n  uint uVar12;\n  mpz_srcptr p_Var13;\n  mpz_ptr p_Var14;\n  uint uVar15;\n  uint uVar16;\n  mp_limb_t *pmVar17;\n  mpz_srcptr unaff_s6;\n  undefined1 *unaff_s7;\n  mpz_ptr p_Var18;\n  int in_t9;\n  code *pcVar19;\n  mp_limb_t mVar20;\n  code *pcVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  mp_limb_t local_50 [2];\n  mpz_srcptr local_48;\n  mpz_ptr local_44;\n  undefined1 *local_40;\n  mpz_srcptr local_3c;\n  mp_limb_t *local_38;\n  mpz_ptr local_34;\n  tmp_reentrant_t *__tmp_marker;\n  int local_2c;\n  \n  mVar20 = in_t9 + 0x700e0;\n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = **(int **)(in_t9 + 0x685e0);\n  p_Var14 = (mpz_ptr)u->_mp_size;\n  p_Var6 = root;\n  p_Var7 = rem;\n  p_Var13 = u;\n  local_50[0] = mVar20;\n  if ((int)p_Var14 < 0) {\n    if ((nth & 1) == 0) {\n      (**(code **)(in_t9 + 0x6826c))();\n      goto LAB_0003332c;\n    }\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth != 0) goto LAB_00032fd8;\nLAB_00033040:\n    (*pcVar19)();\nLAB_00033048:\n    if (root != (mpz_ptr)0x0) {\n      root->_mp_size = 0;\n    }\n    rem->_mp_size = 0;\n  }\n  else {\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth == 0) goto LAB_00033040;\n    if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;\nLAB_00032fd8:\n    local_34 = p_Var14;\n    if ((int)p_Var14 < 0) {\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }\n    unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);\n    if (nth == 0) {\n      trap(7);\n    }\n    unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);\n    unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    local_48 = unaff_s6;\n    local_40 = unaff_s7;\n    if ((root == (mpz_ptr)0x0) || (u == root)) {\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }\n    else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }\n    if (u == rem) {\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }\n    else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }\n    mVar20 = local_50[0];\n    p_Var4 = (mpz_srcptr)u->_mp_d;\n    local_3c = p_Var4;\n    if (nth == 1) {\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }\n    else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }\n    if (root != (mpz_ptr)0x0) {\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }\n    if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }\n    if ((int)p_Var14 < 0) {\n      iVar2 = -iVar2;\n    }\n    rem->_mp_size = iVar2;\n    p_Var6 = (mpz_ptr)__tmp_marker;\n    mVar20 = local_50[0];\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (**(code **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\n    }\n  }\n  puVar23 = puVar22;\n  if (local_2c == **(int **)(mVar20 - 0x7b00)) {\n    return;\n  }\nLAB_0003332c:\n  pcVar19 = *(code **)(mVar20 - 0x7b70);\n  uVar24 = 0x33338;\n  (*pcVar19)();\n  pcVar21 = pcVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(undefined1 **)(puVar23 + -0xc) = unaff_s7;\n  *(mpz_srcptr *)(puVar23 + -0x10) = unaff_s6;\n  *(mpz_ptr *)(puVar23 + -0x14) = rem;\n  *(ulong *)(puVar23 + -0x18) = nth;\n  *(mpz_ptr *)(puVar23 + -0x1c) = root;\n  *(mpz_srcptr *)(puVar23 + -0x20) = u;\n  *(mpz_ptr *)(puVar23 + -0x24) = p_Var14;\n  *(undefined1 **)(puVar23 + -0x28) = unaff_s0;\n  *(code **)(puVar23 + -0x38) = pcVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(pcVar19 + 0x68200);\n  uVar16 = (uint)((int)&p_Var13[2]._mp_size + 3) >> 5;\n  p_Var14 = p_Var6;\n  p_Var9 = p_Var7;\n  if (p_Var13 != (mpz_srcptr)0x0) {\n    if (p_Var6->_mp_alloc < (int)uVar16) {\n      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();\n    }\n    else {\n      pmVar17 = p_Var6->_mp_d;\n    }\n    pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU);\n    iVar2 = uVar16 - 2;\n    if (-1 < iVar2) {\n      pmVar3 = pmVar17 + uVar16;\n      do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);\n    }\n    (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20);\n    p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (p_Var4 == (mpz_srcptr)0x0) {\n      trap(7);\n    }\n    uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4;\n    p_Var18 = (mpz_ptr)(puVar23 + -0x30);\n    do {\n      p_Var14 = p_Var7;\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);\n      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;\n      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));\n      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }\n      pmVar3 = pmVar17 + uVar12;\n      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));\n      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);\n      *pmVar3 = (mp_limb_t)p_Var14;\n      if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }\n    } while (p_Var13 != (mpz_srcptr)0x0);\n  }\n  p_Var6->_mp_size = uVar16;\n  if (*(int *)(puVar23 + -0x2c) == **(int **)(pcVar21 + -0x7b00)) {\n    return;\n  }\n  (**(code **)(pcVar21 + -0x7b70))();\n  iVar10 = p_Var14->_mp_size;\n  iVar2 = iVar10;\n  if (iVar10 < 0) {\n    iVar2 = -iVar10;\n  }\n  if (iVar2 <= (int)((uint)p_Var9 >> 5)) {\n    return;\n  }\n  pmVar3 = p_Var14->_mp_d;\n  pmVar17 = pmVar3 + ((uint)p_Var9 >> 5);\n  uVar16 = *pmVar17;\n  if (iVar10 < 0) {\n    if (pmVar3 == pmVar17) {\nLAB_000336ac:\n      uVar16 = uVar16 - 1;\n    }\n    else {\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }\n    if ((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0) {\n      pmVar11 = pmVar17 + 1;\n      if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }\n      mVar20 = pmVar17[1];\n      while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }\n    }\n  }\n  else {\n    mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;\n    while (mVar20 == 0xffffffff) {\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "__gmpz_rootrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr u,ulong nth)" identifier (parameter_list "(mpz_ptr root,mpz_ptr rem,mpz_srcptr u,ulong nth)" ( (parameter_declaration "mpz_ptr root" type_identifier identifier) , (parameter_declaration "mpz_ptr rem" type_identifier identifier) , (parameter_declaration "mpz_srcptr u" type_identifier identifier) , (parameter_declaration "ulong nth" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  mp_limb_t *pmVar3;\n  mpz_srcptr p_Var4;\n  mpz_ptr p_Var5;\n  mpz_ptr p_Var6;\n  mpz_ptr p_Var7;\n  mpz_srcptr p_Var8;\n  mpz_ptr p_Var9;\n  int iVar10;\n  mp_limb_t *pmVar11;\n  undefined1 *unaff_s0;\n  uint uVar12;\n  mpz_srcptr p_Var13;\n  mpz_ptr p_Var14;\n  uint uVar15;\n  uint uVar16;\n  mp_limb_t *pmVar17;\n  mpz_srcptr unaff_s6;\n  undefined1 *unaff_s7;\n  mpz_ptr p_Var18;\n  int in_t9;\n  code *pcVar19;\n  mp_limb_t mVar20;\n  code *pcVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  mp_limb_t local_50 [2];\n  mpz_srcptr local_48;\n  mpz_ptr local_44;\n  undefined1 *local_40;\n  mpz_srcptr local_3c;\n  mp_limb_t *local_38;\n  mpz_ptr local_34;\n  tmp_reentrant_t *__tmp_marker;\n  int local_2c;\n  \n  mVar20 = in_t9 + 0x700e0;\n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = **(int **)(in_t9 + 0x685e0);\n  p_Var14 = (mpz_ptr)u->_mp_size;\n  p_Var6 = root;\n  p_Var7 = rem;\n  p_Var13 = u;\n  local_50[0] = mVar20;\n  if ((int)p_Var14 < 0) {\n    if ((nth & 1) == 0) {\n      (**(code **)(in_t9 + 0x6826c))();\n      goto LAB_0003332c;\n    }\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth != 0) goto LAB_00032fd8;\nLAB_00033040:\n    (*pcVar19)();\nLAB_00033048:\n    if (root != (mpz_ptr)0x0) {\n      root->_mp_size = 0;\n    }\n    rem->_mp_size = 0;\n  }\n  else {\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth == 0) goto LAB_00033040;\n    if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;\nLAB_00032fd8:\n    local_34 = p_Var14;\n    if ((int)p_Var14 < 0) {\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }\n    unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);\n    if (nth == 0) {\n      trap(7);\n    }\n    unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);\n    unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    local_48 = unaff_s6;\n    local_40 = unaff_s7;\n    if ((root == (mpz_ptr)0x0) || (u == root)) {\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }\n    else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }\n    if (u == rem) {\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }\n    else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }\n    mVar20 = local_50[0];\n    p_Var4 = (mpz_srcptr)u->_mp_d;\n    local_3c = p_Var4;\n    if (nth == 1) {\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }\n    else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }\n    if (root != (mpz_ptr)0x0) {\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }\n    if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }\n    if ((int)p_Var14 < 0) {\n      iVar2 = -iVar2;\n    }\n    rem->_mp_size = iVar2;\n    p_Var6 = (mpz_ptr)__tmp_marker;\n    mVar20 = local_50[0];\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (**(code **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\n    }\n  }\n  puVar23 = puVar22;\n  if (local_2c == **(int **)(mVar20 - 0x7b00)) {\n    return;\n  }\nLAB_0003332c:\n  pcVar19 = *(code **)(mVar20 - 0x7b70);\n  uVar24 = 0x33338;\n  (*pcVar19)();\n  pcVar21 = pcVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(undefined1 **)(puVar23 + -0xc) = unaff_s7;\n  *(mpz_srcptr *)(puVar23 + -0x10) = unaff_s6;\n  *(mpz_ptr *)(puVar23 + -0x14) = rem;\n  *(ulong *)(puVar23 + -0x18) = nth;\n  *(mpz_ptr *)(puVar23 + -0x1c) = root;\n  *(mpz_srcptr *)(puVar23 + -0x20) = u;\n  *(mpz_ptr *)(puVar23 + -0x24) = p_Var14;\n  *(undefined1 **)(puVar23 + -0x28) = unaff_s0;\n  *(code **)(puVar23 + -0x38) = pcVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(pcVar19 + 0x68200);\n  uVar16 = (uint)((int)&p_Var13[2]._mp_size + 3) >> 5;\n  p_Var14 = p_Var6;\n  p_Var9 = p_Var7;\n  if (p_Var13 != (mpz_srcptr)0x0) {\n    if (p_Var6->_mp_alloc < (int)uVar16) {\n      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();\n    }\n    else {\n      pmVar17 = p_Var6->_mp_d;\n    }\n    pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU);\n    iVar2 = uVar16 - 2;\n    if (-1 < iVar2) {\n      pmVar3 = pmVar17 + uVar16;\n      do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);\n    }\n    (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20);\n    p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (p_Var4 == (mpz_srcptr)0x0) {\n      trap(7);\n    }\n    uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4;\n    p_Var18 = (mpz_ptr)(puVar23 + -0x30);\n    do {\n      p_Var14 = p_Var7;\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);\n      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;\n      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));\n      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }\n      pmVar3 = pmVar17 + uVar12;\n      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));\n      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);\n      *pmVar3 = (mp_limb_t)p_Var14;\n      if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }\n    } while (p_Var13 != (mpz_srcptr)0x0);\n  }\n  p_Var6->_mp_size = uVar16;\n  if (*(int *)(puVar23 + -0x2c) == **(int **)(pcVar21 + -0x7b00)) {\n    return;\n  }\n  (**(code **)(pcVar21 + -0x7b70))();\n  iVar10 = p_Var14->_mp_size;\n  iVar2 = iVar10;\n  if (iVar10 < 0) {\n    iVar2 = -iVar10;\n  }\n  if (iVar2 <= (int)((uint)p_Var9 >> 5)) {\n    return;\n  }\n  pmVar3 = p_Var14->_mp_d;\n  pmVar17 = pmVar3 + ((uint)p_Var9 >> 5);\n  uVar16 = *pmVar17;\n  if (iVar10 < 0) {\n    if (pmVar3 == pmVar17) {\nLAB_000336ac:\n      uVar16 = uVar16 - 1;\n    }\n    else {\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }\n    if ((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0) {\n      pmVar11 = pmVar17 + 1;\n      if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }\n      mVar20 = pmVar17[1];\n      while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }\n    }\n  }\n  else {\n    mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;\n    while (mVar20 == 0xffffffff) {\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (declaration "mpz_srcptr p_Var4;" type_identifier identifier ;) (declaration "mpz_ptr p_Var5;" type_identifier identifier ;) (declaration "mpz_ptr p_Var6;" type_identifier identifier ;) (declaration "mpz_ptr p_Var7;" type_identifier identifier ;) (declaration "mpz_srcptr p_Var8;" type_identifier identifier ;) (declaration "mpz_ptr p_Var9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar11;" type_identifier (pointer_declarator "*pmVar11" * identifier) ;) (declaration "undefined1 *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "mpz_srcptr p_Var13;" type_identifier identifier ;) (declaration "mpz_ptr p_Var14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar17;" type_identifier (pointer_declarator "*pmVar17" * identifier) ;) (declaration "mpz_srcptr unaff_s6;" type_identifier identifier ;) (declaration "undefined1 *unaff_s7;" type_identifier (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "mpz_ptr p_Var18;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar19;" type_identifier (pointer_declarator "*pcVar19" * identifier) ;) (declaration "mp_limb_t mVar20;" type_identifier identifier ;) (declaration "code *pcVar21;" type_identifier (pointer_declarator "*pcVar21" * identifier) ;) (declaration "undefined1 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "undefined1 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "undefined4 uVar24;" type_identifier identifier ;) (declaration "undefined1 auStack_68 [24];" type_identifier (array_declarator "auStack_68 [24]" identifier [ number_literal ]) ;) (declaration "mp_limb_t local_50 [2];" type_identifier (array_declarator "local_50 [2]" identifier [ number_literal ]) ;) (declaration "mpz_srcptr local_48;" type_identifier identifier ;) (declaration "mpz_ptr local_44;" type_identifier identifier ;) (declaration "undefined1 *local_40;" type_identifier (pointer_declarator "*local_40" * identifier) ;) (declaration "mpz_srcptr local_3c;" type_identifier identifier ;) (declaration "mp_limb_t *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "mpz_ptr local_34;" type_identifier identifier ;) (declaration "tmp_reentrant_t *__tmp_marker;" type_identifier (pointer_declarator "*__tmp_marker" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "mVar20 = in_t9 + 0x700e0;" (assignment_expression "mVar20 = in_t9 + 0x700e0" identifier = (binary_expression "in_t9 + 0x700e0" identifier + number_literal)) ;) (expression_statement "puVar23 = auStack_68;" (assignment_expression "puVar23 = auStack_68" identifier = identifier) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) (expression_statement "local_2c = **(int **)(in_t9 + 0x685e0);" (assignment_expression "local_2c = **(int **)(in_t9 + 0x685e0)" identifier = (pointer_expression "**(int **)(in_t9 + 0x685e0)" * (pointer_expression "*(int **)(in_t9 + 0x685e0)" * (cast_expression "(int **)(in_t9 + 0x685e0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x685e0)" ( (binary_expression "in_t9 + 0x685e0" identifier + number_literal) )))))) ;) (expression_statement "p_Var14 = (mpz_ptr)u->_mp_size;" (assignment_expression "p_Var14 = (mpz_ptr)u->_mp_size" identifier = (cast_expression "(mpz_ptr)u->_mp_size" ( (type_descriptor "mpz_ptr" type_identifier) ) (field_expression "u->_mp_size" identifier -> field_identifier))) ;) (expression_statement "p_Var6 = root;" (assignment_expression "p_Var6 = root" identifier = identifier) ;) (expression_statement "p_Var7 = rem;" (assignment_expression "p_Var7 = rem" identifier = identifier) ;) (expression_statement "p_Var13 = u;" (assignment_expression "p_Var13 = u" identifier = identifier) ;) (expression_statement "local_50[0] = mVar20;" (assignment_expression "local_50[0] = mVar20" (subscript_expression "local_50[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)p_Var14 < 0) {\n    if ((nth & 1) == 0) {\n      (**(code **)(in_t9 + 0x6826c))();\n      goto LAB_0003332c;\n    }\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth != 0) goto LAB_00032fd8;\nLAB_00033040:\n    (*pcVar19)();\nLAB_00033048:\n    if (root != (mpz_ptr)0x0) {\n      root->_mp_size = 0;\n    }\n    rem->_mp_size = 0;\n  }\n  else {\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth == 0) goto LAB_00033040;\n    if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;\nLAB_00032fd8:\n    local_34 = p_Var14;\n    if ((int)p_Var14 < 0) {\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }\n    unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);\n    if (nth == 0) {\n      trap(7);\n    }\n    unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);\n    unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    local_48 = unaff_s6;\n    local_40 = unaff_s7;\n    if ((root == (mpz_ptr)0x0) || (u == root)) {\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }\n    else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }\n    if (u == rem) {\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }\n    else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }\n    mVar20 = local_50[0];\n    p_Var4 = (mpz_srcptr)u->_mp_d;\n    local_3c = p_Var4;\n    if (nth == 1) {\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }\n    else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }\n    if (root != (mpz_ptr)0x0) {\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }\n    if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }\n    if ((int)p_Var14 < 0) {\n      iVar2 = -iVar2;\n    }\n    rem->_mp_size = iVar2;\n    p_Var6 = (mpz_ptr)__tmp_marker;\n    mVar20 = local_50[0];\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (**(code **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\n    }\n  }" if (parenthesized_expression "((int)p_Var14 < 0)" ( (binary_expression "(int)p_Var14 < 0" (cast_expression "(int)p_Var14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if ((nth & 1) == 0) {\n      (**(code **)(in_t9 + 0x6826c))();\n      goto LAB_0003332c;\n    }\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth != 0) goto LAB_00032fd8;\nLAB_00033040:\n    (*pcVar19)();\nLAB_00033048:\n    if (root != (mpz_ptr)0x0) {\n      root->_mp_size = 0;\n    }\n    rem->_mp_size = 0;\n  }" { (if_statement "if ((nth & 1) == 0) {\n      (**(code **)(in_t9 + 0x6826c))();\n      goto LAB_0003332c;\n    }" if (parenthesized_expression "((nth & 1) == 0)" ( (binary_expression "(nth & 1) == 0" (parenthesized_expression "(nth & 1)" ( (binary_expression "nth & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (**(code **)(in_t9 + 0x6826c))();\n      goto LAB_0003332c;\n    }" { (expression_statement "(**(code **)(in_t9 + 0x6826c))();" (call_expression "(**(code **)(in_t9 + 0x6826c))()" (parenthesized_expression "(**(code **)(in_t9 + 0x6826c))" ( (pointer_expression "**(code **)(in_t9 + 0x6826c)" * (pointer_expression "*(code **)(in_t9 + 0x6826c)" * (cast_expression "(code **)(in_t9 + 0x6826c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x6826c)" ( (binary_expression "in_t9 + 0x6826c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0003332c;" goto statement_identifier ;) })) (expression_statement "pcVar19 = *(code **)(in_t9 + 0x6867c);" (assignment_expression "pcVar19 = *(code **)(in_t9 + 0x6867c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x6867c)" * (cast_expression "(code **)(in_t9 + 0x6867c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x6867c)" ( (binary_expression "in_t9 + 0x6867c" identifier + number_literal) ))))) ;) (if_statement "if (nth != 0) goto LAB_00032fd8;" if (parenthesized_expression "(nth != 0)" ( (binary_expression "nth != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032fd8;" goto statement_identifier ;)) (labeled_statement "LAB_00033040:\n    (*pcVar19)();" statement_identifier : (expression_statement "(*pcVar19)();" (call_expression "(*pcVar19)()" (parenthesized_expression "(*pcVar19)" ( (pointer_expression "*pcVar19" * identifier) )) (argument_list "()" ( ))) ;)) (labeled_statement "LAB_00033048:\n    if (root != (mpz_ptr)0x0) {\n      root->_mp_size = 0;\n    }" statement_identifier : (if_statement "if (root != (mpz_ptr)0x0) {\n      root->_mp_size = 0;\n    }" if (parenthesized_expression "(root != (mpz_ptr)0x0)" ( (binary_expression "root != (mpz_ptr)0x0" identifier != (cast_expression "(mpz_ptr)0x0" ( (type_descriptor "mpz_ptr" type_identifier) ) number_literal)) )) (compound_statement "{\n      root->_mp_size = 0;\n    }" { (expression_statement "root->_mp_size = 0;" (assignment_expression "root->_mp_size = 0" (field_expression "root->_mp_size" identifier -> field_identifier) = number_literal) ;) }))) (expression_statement "rem->_mp_size = 0;" (assignment_expression "rem->_mp_size = 0" (field_expression "rem->_mp_size" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth == 0) goto LAB_00033040;\n    if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;\nLAB_00032fd8:\n    local_34 = p_Var14;\n    if ((int)p_Var14 < 0) {\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }\n    unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);\n    if (nth == 0) {\n      trap(7);\n    }\n    unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);\n    unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    local_48 = unaff_s6;\n    local_40 = unaff_s7;\n    if ((root == (mpz_ptr)0x0) || (u == root)) {\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }\n    else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }\n    if (u == rem) {\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }\n    else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }\n    mVar20 = local_50[0];\n    p_Var4 = (mpz_srcptr)u->_mp_d;\n    local_3c = p_Var4;\n    if (nth == 1) {\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }\n    else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }\n    if (root != (mpz_ptr)0x0) {\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }\n    if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }\n    if ((int)p_Var14 < 0) {\n      iVar2 = -iVar2;\n    }\n    rem->_mp_size = iVar2;\n    p_Var6 = (mpz_ptr)__tmp_marker;\n    mVar20 = local_50[0];\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (**(code **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\n    }\n  }" else (compound_statement "{\n    pcVar19 = *(code **)(in_t9 + 0x6867c);\n    if (nth == 0) goto LAB_00033040;\n    if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;\nLAB_00032fd8:\n    local_34 = p_Var14;\n    if ((int)p_Var14 < 0) {\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }\n    unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);\n    if (nth == 0) {\n      trap(7);\n    }\n    unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);\n    unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    local_48 = unaff_s6;\n    local_40 = unaff_s7;\n    if ((root == (mpz_ptr)0x0) || (u == root)) {\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }\n    else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }\n    if (u == rem) {\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }\n    else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }\n    mVar20 = local_50[0];\n    p_Var4 = (mpz_srcptr)u->_mp_d;\n    local_3c = p_Var4;\n    if (nth == 1) {\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }\n    else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }\n    if (root != (mpz_ptr)0x0) {\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }\n    if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }\n    if ((int)p_Var14 < 0) {\n      iVar2 = -iVar2;\n    }\n    rem->_mp_size = iVar2;\n    p_Var6 = (mpz_ptr)__tmp_marker;\n    mVar20 = local_50[0];\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (**(code **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\n    }\n  }" { (expression_statement "pcVar19 = *(code **)(in_t9 + 0x6867c);" (assignment_expression "pcVar19 = *(code **)(in_t9 + 0x6867c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x6867c)" * (cast_expression "(code **)(in_t9 + 0x6867c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x6867c)" ( (binary_expression "in_t9 + 0x6867c" identifier + number_literal) ))))) ;) (if_statement "if (nth == 0) goto LAB_00033040;" if (parenthesized_expression "(nth == 0)" ( (binary_expression "nth == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033040;" goto statement_identifier ;)) (if_statement "if (p_Var14 == (mpz_ptr)0x0) goto LAB_00033048;" if (parenthesized_expression "(p_Var14 == (mpz_ptr)0x0)" ( (binary_expression "p_Var14 == (mpz_ptr)0x0" identifier == (cast_expression "(mpz_ptr)0x0" ( (type_descriptor "mpz_ptr" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_00033048;" goto statement_identifier ;)) (labeled_statement "LAB_00032fd8:\n    local_34 = p_Var14;" statement_identifier : (expression_statement "local_34 = p_Var14;" (assignment_expression "local_34 = p_Var14" identifier = identifier) ;)) (if_statement "if ((int)p_Var14 < 0) {\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }" if (parenthesized_expression "((int)p_Var14 < 0)" ( (binary_expression "(int)p_Var14 < 0" (cast_expression "(int)p_Var14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      local_34 = (mpz_ptr)-(int)p_Var14;\n    }" { (expression_statement "local_34 = (mpz_ptr)-(int)p_Var14;" (assignment_expression "local_34 = (mpz_ptr)-(int)p_Var14" identifier = (binary_expression "(mpz_ptr)-(int)p_Var14" (parenthesized_expression "(mpz_ptr)" ( identifier )) - (cast_expression "(int)p_Var14" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3);" (assignment_expression "unaff_s0 = (undefined1 *)((int)&local_34[-1]._mp_d + 3)" identifier = (cast_expression "(undefined1 *)((int)&local_34[-1]._mp_d + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_34[-1]._mp_d + 3)" ( (binary_expression "(int)&local_34[-1]._mp_d + 3" (cast_expression "(int)&local_34[-1]._mp_d" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_34[-1]._mp_d" & (field_expression "local_34[-1]._mp_d" (subscript_expression "local_34[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) ;) (if_statement "if (nth == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(nth == 0)" ( (binary_expression "nth == 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 "unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth);" (assignment_expression "unaff_s6 = (mpz_srcptr)((uint)unaff_s0 / nth)" identifier = (call_expression "(mpz_srcptr)((uint)unaff_s0 / nth)" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "((uint)unaff_s0 / nth)" ( (binary_expression "(uint)unaff_s0 / nth" (cast_expression "(uint)unaff_s0" ( (type_descriptor "uint" type_identifier) ) identifier) / identifier) )))) ;) (expression_statement "unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1);" (assignment_expression "unaff_s7 = (undefined1 *)((int)&unaff_s6->_mp_alloc + 1)" identifier = (cast_expression "(undefined1 *)((int)&unaff_s6->_mp_alloc + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s6->_mp_alloc + 1)" ( (binary_expression "(int)&unaff_s6->_mp_alloc + 1" (cast_expression "(int)&unaff_s6->_mp_alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s6->_mp_alloc" & (field_expression "unaff_s6->_mp_alloc" identifier -> field_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)) ;) (expression_statement "local_48 = unaff_s6;" (assignment_expression "local_48 = unaff_s6" identifier = identifier) ;) (expression_statement "local_40 = unaff_s7;" (assignment_expression "local_40 = unaff_s7" identifier = identifier) ;) (if_statement "if ((root == (mpz_ptr)0x0) || (u == root)) {\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }\n    else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }" if (parenthesized_expression "((root == (mpz_ptr)0x0) || (u == root))" ( (binary_expression "(root == (mpz_ptr)0x0) || (u == root)" (parenthesized_expression "(root == (mpz_ptr)0x0)" ( (binary_expression "root == (mpz_ptr)0x0" identifier == (cast_expression "(mpz_ptr)0x0" ( (type_descriptor "mpz_ptr" type_identifier) ) number_literal)) )) || (parenthesized_expression "(u == root)" ( (binary_expression "u == root" identifier == identifier) ))) )) (compound_statement "{\n      if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }\n    }" { (if_statement "if ((uint)((int)unaff_s7 * 4) < 0x7f01) {\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }\n      else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }" if (parenthesized_expression "((uint)((int)unaff_s7 * 4) < 0x7f01)" ( (binary_expression "(uint)((int)unaff_s7 * 4) < 0x7f01" (call_expression "(uint)((int)unaff_s7 * 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)unaff_s7 * 4)" ( (binary_expression "(int)unaff_s7 * 4" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) ))) < number_literal) )) (compound_statement "{\n        iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);\n        local_38 = (mp_limb_t *)((int)local_50 + iVar2);\n        puVar22 = auStack_68 + iVar2;\n      }" { (expression_statement "iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar2 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8)" identifier = (unary_expression "-((int)unaff_s7 * 4 + 7U & 0xfffffff8)" - (parenthesized_expression "((int)unaff_s7 * 4 + 7U & 0xfffffff8)" ( (binary_expression "(int)unaff_s7 * 4 + 7U & 0xfffffff8" (binary_expression "(int)unaff_s7 * 4 + 7U" (binary_expression "(int)unaff_s7 * 4" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "local_38 = (mp_limb_t *)((int)local_50 + iVar2);" (assignment_expression "local_38 = (mp_limb_t *)((int)local_50 + iVar2)" identifier = (cast_expression "(mp_limb_t *)((int)local_50 + iVar2)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_50 + iVar2)" ( (binary_expression "(int)local_50 + iVar2" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "puVar22 = auStack_68 + iVar2;" (assignment_expression "puVar22 = auStack_68 + iVar2" identifier = (binary_expression "auStack_68 + iVar2" identifier + identifier)) ;) }) (else_clause "else {\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }" else (compound_statement "{\n        local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);\n        puVar22 = auStack_68;\n      }" { (expression_statement "local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker);" (assignment_expression "local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker)" identifier = (cast_expression "(mp_limb_t *)(**(code **)(in_t9 + 0x68390))(&__tmp_marker)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x68390))(&__tmp_marker)" (parenthesized_expression "(**(code **)(in_t9 + 0x68390))" ( (pointer_expression "**(code **)(in_t9 + 0x68390)" * (pointer_expression "*(code **)(in_t9 + 0x68390)" * (cast_expression "(code **)(in_t9 + 0x68390)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x68390)" ( (binary_expression "in_t9 + 0x68390" identifier + number_literal) ))))) )) (argument_list "(&__tmp_marker)" ( (pointer_expression "&__tmp_marker" & identifier) ))))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }))) }) (else_clause "else if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }" else (if_statement "if (root->_mp_alloc < (int)unaff_s7) {\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }\n    else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }" if (parenthesized_expression "(root->_mp_alloc < (int)unaff_s7)" ( (binary_expression "root->_mp_alloc < (int)unaff_s7" (field_expression "root->_mp_alloc" identifier -> field_identifier) < (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);\n      puVar22 = auStack_68;\n    }" { (expression_statement "local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7);" (assignment_expression "local_38 = (mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7)" identifier = (cast_expression "(mp_limb_t *)(**(code **)(in_t9 + 0x6865c))(root,unaff_s7)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x6865c))(root,unaff_s7)" (parenthesized_expression "(**(code **)(in_t9 + 0x6865c))" ( (pointer_expression "**(code **)(in_t9 + 0x6865c)" * (pointer_expression "*(code **)(in_t9 + 0x6865c)" * (cast_expression "(code **)(in_t9 + 0x6865c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x6865c)" ( (binary_expression "in_t9 + 0x6865c" identifier + number_literal) ))))) )) (argument_list "(root,unaff_s7)" ( identifier , identifier ))))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }) (else_clause "else {\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }" else (compound_statement "{\n      local_38 = root->_mp_d;\n      puVar22 = auStack_68;\n    }" { (expression_statement "local_38 = root->_mp_d;" (assignment_expression "local_38 = root->_mp_d" identifier = (field_expression "root->_mp_d" identifier -> field_identifier)) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }))))) (if_statement "if (u == rem) {\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }\n    else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }" if (parenthesized_expression "(u == rem)" ( (binary_expression "u == rem" identifier == identifier) )) (compound_statement "{\n      p_Var7 = (mpz_ptr)((int)local_34 * 4);\n      if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }\n    }" { (expression_statement "p_Var7 = (mpz_ptr)((int)local_34 * 4);" (assignment_expression "p_Var7 = (mpz_ptr)((int)local_34 * 4)" identifier = (call_expression "(mpz_ptr)((int)local_34 * 4)" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "((int)local_34 * 4)" ( (binary_expression "(int)local_34 * 4" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (if_statement "if (p_Var7 < (mpz_ptr)0x7f01) {\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }\n      else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }" if (parenthesized_expression "(p_Var7 < (mpz_ptr)0x7f01)" ( (binary_expression "p_Var7 < (mpz_ptr)0x7f01" identifier < (cast_expression "(mpz_ptr)0x7f01" ( (type_descriptor "mpz_ptr" type_identifier) ) number_literal)) )) (compound_statement "{\n        p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);\n        local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);\n        puVar22 = puVar22 + -(int)p_Var7;\n      }" { (expression_statement "p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8);" (assignment_expression "p_Var7 = (mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8)" identifier = (call_expression "(mpz_ptr)((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8)" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "((uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8)" ( (binary_expression "(uint)((int)&p_Var7->_mp_size + 3) & 0xfffffff8" (call_expression "(uint)((int)&p_Var7->_mp_size + 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)&p_Var7->_mp_size + 3)" ( (binary_expression "(int)&p_Var7->_mp_size + 3" (cast_expression "(int)&p_Var7->_mp_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_Var7->_mp_size" & (field_expression "p_Var7->_mp_size" identifier -> field_identifier))) + number_literal) ))) & number_literal) )))) ;) (expression_statement "local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18);" (assignment_expression "local_44 = (mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18)" identifier = (call_expression "(mpz_ptr)(puVar22 + -(int)p_Var7 + 0x18)" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "(puVar22 + -(int)p_Var7 + 0x18)" ( (binary_expression "puVar22 + -(int)p_Var7 + 0x18" (binary_expression "puVar22 + -(int)p_Var7" identifier + (unary_expression "-(int)p_Var7" - (cast_expression "(int)p_Var7" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))) ;) (expression_statement "puVar22 = puVar22 + -(int)p_Var7;" (assignment_expression "puVar22 = puVar22 + -(int)p_Var7" identifier = (binary_expression "puVar22 + -(int)p_Var7" identifier + (unary_expression "-(int)p_Var7" - (cast_expression "(int)p_Var7" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) }) (else_clause "else {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }" else (compound_statement "{\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);\n      }" { (expression_statement "local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker);" (assignment_expression "local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker)" identifier = (call_expression "(mpz_ptr)(**(code **)(local_50[0] - 0x7d50))(&__tmp_marker)" (call_expression "(mpz_ptr)(**(code **)(local_50[0] - 0x7d50))" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "(**(code **)(local_50[0] - 0x7d50))" ( (pointer_expression "**(code **)(local_50[0] - 0x7d50)" * (pointer_expression "*(code **)(local_50[0] - 0x7d50)" * (cast_expression "(code **)(local_50[0] - 0x7d50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_50[0] - 0x7d50)" ( (binary_expression "local_50[0] - 0x7d50" (subscript_expression "local_50[0]" identifier [ number_literal ]) - number_literal) ))))) ))) (argument_list "(&__tmp_marker)" ( (pointer_expression "&__tmp_marker" & identifier) )))) ;) }))) }) (else_clause "else {\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }" else (compound_statement "{\n      p_Var7 = local_34;\n      if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }\n    }" { (expression_statement "p_Var7 = local_34;" (assignment_expression "p_Var7 = local_34" identifier = identifier) ;) (if_statement "if (rem->_mp_alloc < (int)local_34) {\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }\n      else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }" if (parenthesized_expression "(rem->_mp_alloc < (int)local_34)" ( (binary_expression "rem->_mp_alloc < (int)local_34" (field_expression "rem->_mp_alloc" identifier -> field_identifier) < (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);\n      }" { (expression_statement "local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem);" (assignment_expression "local_44 = (mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem)" identifier = (call_expression "(mpz_ptr)(**(code **)(local_50[0] - 0x7a84))(rem)" (call_expression "(mpz_ptr)(**(code **)(local_50[0] - 0x7a84))" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "(**(code **)(local_50[0] - 0x7a84))" ( (pointer_expression "**(code **)(local_50[0] - 0x7a84)" * (pointer_expression "*(code **)(local_50[0] - 0x7a84)" * (cast_expression "(code **)(local_50[0] - 0x7a84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_50[0] - 0x7a84)" ( (binary_expression "local_50[0] - 0x7a84" (subscript_expression "local_50[0]" identifier [ number_literal ]) - number_literal) ))))) ))) (argument_list "(rem)" ( identifier )))) ;) }) (else_clause "else {\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }" else (compound_statement "{\n        local_44 = (mpz_ptr)rem->_mp_d;\n      }" { (expression_statement "local_44 = (mpz_ptr)rem->_mp_d;" (assignment_expression "local_44 = (mpz_ptr)rem->_mp_d" identifier = (cast_expression "(mpz_ptr)rem->_mp_d" ( (type_descriptor "mpz_ptr" type_identifier) ) (field_expression "rem->_mp_d" identifier -> field_identifier))) ;) }))) }))) (expression_statement "mVar20 = local_50[0];" (assignment_expression "mVar20 = local_50[0]" identifier = (subscript_expression "local_50[0]" identifier [ number_literal ])) ;) (expression_statement "p_Var4 = (mpz_srcptr)u->_mp_d;" (assignment_expression "p_Var4 = (mpz_srcptr)u->_mp_d" identifier = (cast_expression "(mpz_srcptr)u->_mp_d" ( (type_descriptor "mpz_srcptr" type_identifier) ) (field_expression "u->_mp_d" identifier -> field_identifier))) ;) (expression_statement "local_3c = p_Var4;" (assignment_expression "local_3c = p_Var4" identifier = identifier) ;) (if_statement "if (nth == 1) {\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }\n    else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }" if (parenthesized_expression "(nth == 1)" ( (binary_expression "nth == 1" identifier == number_literal) )) (compound_statement "{\n      mVar20 = p_Var4->_mp_alloc;\n      pmVar17 = local_38;\n      if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }\n      *pmVar17 = mVar20;\n      iVar2 = 0;\n    }" { (expression_statement "mVar20 = p_Var4->_mp_alloc;" (assignment_expression "mVar20 = p_Var4->_mp_alloc" identifier = (field_expression "p_Var4->_mp_alloc" identifier -> field_identifier)) ;) (expression_statement "pmVar17 = local_38;" (assignment_expression "pmVar17 = local_38" identifier = identifier) ;) (if_statement "if (unaff_s0 != (undefined1 *)0x0) {\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }" if (parenthesized_expression "(unaff_s0 != (undefined1 *)0x0)" ( (binary_expression "unaff_s0 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);\n        unaff_s0 = (undefined1 *)0x0;\n        pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);\n      }" { (do_statement "do {\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        } while (unaff_s0 != (undefined1 *)0x0);" do (compound_statement "{\n          *pmVar17 = mVar20;\n          unaff_s0 = unaff_s0 + -1;\n          mVar20 = p_Var4->_mp_size;\n          pmVar17 = pmVar17 + 1;\n          p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;\n        }" { (expression_statement "*pmVar17 = mVar20;" (assignment_expression "*pmVar17 = mVar20" (pointer_expression "*pmVar17" * identifier) = identifier) ;) (expression_statement "unaff_s0 = unaff_s0 + -1;" (assignment_expression "unaff_s0 = unaff_s0 + -1" identifier = (binary_expression "unaff_s0 + -1" identifier + number_literal)) ;) (expression_statement "mVar20 = p_Var4->_mp_size;" (assignment_expression "mVar20 = p_Var4->_mp_size" identifier = (field_expression "p_Var4->_mp_size" identifier -> field_identifier)) ;) (expression_statement "pmVar17 = pmVar17 + 1;" (assignment_expression "pmVar17 = pmVar17 + 1" identifier = (binary_expression "pmVar17 + 1" identifier + number_literal)) ;) (expression_statement "p_Var4 = (mpz_srcptr)&p_Var4->_mp_size;" (assignment_expression "p_Var4 = (mpz_srcptr)&p_Var4->_mp_size" identifier = (binary_expression "(mpz_srcptr)&p_Var4->_mp_size" (parenthesized_expression "(mpz_srcptr)" ( identifier )) & (field_expression "p_Var4->_mp_size" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(unaff_s0 != (undefined1 *)0x0)" ( (binary_expression "unaff_s0 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "unaff_s0 = (undefined1 *)0x0;" (assignment_expression "unaff_s0 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);" (assignment_expression "pmVar17 = local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3)" identifier = (binary_expression "local_38 + (int)((int)&local_34[0x5555555]._mp_alloc + 3)" identifier + (cast_expression "(int)((int)&local_34[0x5555555]._mp_alloc + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)&local_34[0x5555555]._mp_alloc + 3)" ( (binary_expression "(int)&local_34[0x5555555]._mp_alloc + 3" (cast_expression "(int)&local_34[0x5555555]._mp_alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_34[0x5555555]._mp_alloc" & (field_expression "local_34[0x5555555]._mp_alloc" (subscript_expression "local_34[0x5555555]" identifier [ number_literal ]) . field_identifier))) + number_literal) ))))) ;) })) (expression_statement "*pmVar17 = mVar20;" (assignment_expression "*pmVar17 = mVar20" (pointer_expression "*pmVar17" * identifier) = identifier) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }" else (compound_statement "{\n      *(ulong *)(puVar22 + 0x10) = nth;\n      p_Var7 = local_44;\n      p_Var13 = local_3c;\n      iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);\n    }" { (expression_statement "*(ulong *)(puVar22 + 0x10) = nth;" (assignment_expression "*(ulong *)(puVar22 + 0x10) = nth" (pointer_expression "*(ulong *)(puVar22 + 0x10)" * (cast_expression "(ulong *)(puVar22 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + 0x10)" ( (binary_expression "puVar22 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "p_Var7 = local_44;" (assignment_expression "p_Var7 = local_44" identifier = identifier) ;) (expression_statement "p_Var13 = local_3c;" (assignment_expression "p_Var13 = local_3c" identifier = identifier) ;) (expression_statement "iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34);" (assignment_expression "iVar2 = (**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34)" identifier = (call_expression "(**(code **)(mVar20 - 0x7b20))(local_38,local_44,local_3c,local_34)" (parenthesized_expression "(**(code **)(mVar20 - 0x7b20))" ( (pointer_expression "**(code **)(mVar20 - 0x7b20)" * (pointer_expression "*(code **)(mVar20 - 0x7b20)" * (cast_expression "(code **)(mVar20 - 0x7b20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(mVar20 - 0x7b20)" ( (binary_expression "mVar20 - 0x7b20" identifier - number_literal) ))))) )) (argument_list "(local_38,local_44,local_3c,local_34)" ( identifier , identifier , identifier , identifier )))) ;) }))) (if_statement "if (root != (mpz_ptr)0x0) {\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }" if (parenthesized_expression "(root != (mpz_ptr)0x0)" ( (binary_expression "root != (mpz_ptr)0x0" identifier != (cast_expression "(mpz_ptr)0x0" ( (type_descriptor "mpz_ptr" type_identifier) ) number_literal)) )) (compound_statement "{\n      if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }\n      root->_mp_size = (int)local_40;\n      if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }\n    }" { (if_statement "if ((int)p_Var14 < 0) {\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }" if (parenthesized_expression "((int)p_Var14 < 0)" ( (binary_expression "(int)p_Var14 < 0" (cast_expression "(int)p_Var14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        local_40 = (undefined1 *)-(int)unaff_s7;\n      }" { (expression_statement "local_40 = (undefined1 *)-(int)unaff_s7;" (assignment_expression "local_40 = (undefined1 *)-(int)unaff_s7" identifier = (cast_expression "(undefined1 *)-(int)unaff_s7" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)unaff_s7" - (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) })) (expression_statement "root->_mp_size = (int)local_40;" (assignment_expression "root->_mp_size = (int)local_40" (field_expression "root->_mp_size" identifier -> field_identifier) = (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (u == root) {\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }" if (parenthesized_expression "(u == root)" ( (binary_expression "u == root" identifier == identifier) )) (compound_statement "{\n        p_Var13 = (mpz_srcptr)*local_38;\n        p_Var4 = unaff_s6;\n        p_Var8 = local_3c;\n        pmVar17 = local_38;\n        if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }\n        unaff_s6->_mp_alloc = (int)p_Var13;\n      }" { (expression_statement "p_Var13 = (mpz_srcptr)*local_38;" (assignment_expression "p_Var13 = (mpz_srcptr)*local_38" identifier = (binary_expression "(mpz_srcptr)*local_38" (parenthesized_expression "(mpz_srcptr)" ( identifier )) * identifier)) ;) (expression_statement "p_Var4 = unaff_s6;" (assignment_expression "p_Var4 = unaff_s6" identifier = identifier) ;) (expression_statement "p_Var8 = local_3c;" (assignment_expression "p_Var8 = local_3c" identifier = identifier) ;) (expression_statement "pmVar17 = local_38;" (assignment_expression "pmVar17 = local_38" identifier = identifier) ;) (if_statement "if (local_48 == (mpz_srcptr)0x0) {\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }\n        else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }" if (parenthesized_expression "(local_48 == (mpz_srcptr)0x0)" ( (binary_expression "local_48 == (mpz_srcptr)0x0" identifier == (cast_expression "(mpz_srcptr)0x0" ( (type_descriptor "mpz_srcptr" type_identifier) ) number_literal)) )) (compound_statement "{\n          p_Var7 = (mpz_ptr)0x0;\n          unaff_s6 = local_3c;\n        }" { (expression_statement "p_Var7 = (mpz_ptr)0x0;" (assignment_expression "p_Var7 = (mpz_ptr)0x0" identifier = (cast_expression "(mpz_ptr)0x0" ( (type_descriptor "mpz_ptr" type_identifier) ) number_literal)) ;) (expression_statement "unaff_s6 = local_3c;" (assignment_expression "unaff_s6 = local_3c" identifier = identifier) ;) }) (else_clause "else {\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }" else (compound_statement "{\n          do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);\n          unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);\n        }" { (do_statement "do {\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          } while (p_Var4 != (mpz_srcptr)0x0);" do (compound_statement "{\n            p_Var7 = (mpz_ptr)&p_Var8->_mp_size;\n            p_Var8->_mp_alloc = (int)p_Var13;\n            p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);\n            p_Var13 = (mpz_srcptr)pmVar17[1];\n            p_Var8 = p_Var7;\n            pmVar17 = pmVar17 + 1;\n          }" { (expression_statement "p_Var7 = (mpz_ptr)&p_Var8->_mp_size;" (assignment_expression "p_Var7 = (mpz_ptr)&p_Var8->_mp_size" identifier = (binary_expression "(mpz_ptr)&p_Var8->_mp_size" (parenthesized_expression "(mpz_ptr)" ( identifier )) & (field_expression "p_Var8->_mp_size" identifier -> field_identifier))) ;) (expression_statement "p_Var8->_mp_alloc = (int)p_Var13;" (assignment_expression "p_Var8->_mp_alloc = (int)p_Var13" (field_expression "p_Var8->_mp_alloc" identifier -> field_identifier) = (cast_expression "(int)p_Var13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3);" (assignment_expression "p_Var4 = (mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3)" identifier = (call_expression "(mpz_srcptr)((int)&p_Var4[-1]._mp_d + 3)" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "((int)&p_Var4[-1]._mp_d + 3)" ( (binary_expression "(int)&p_Var4[-1]._mp_d + 3" (cast_expression "(int)&p_Var4[-1]._mp_d" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_Var4[-1]._mp_d" & (field_expression "p_Var4[-1]._mp_d" (subscript_expression "p_Var4[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) ;) (expression_statement "p_Var13 = (mpz_srcptr)pmVar17[1];" (assignment_expression "p_Var13 = (mpz_srcptr)pmVar17[1]" identifier = (cast_expression "(mpz_srcptr)pmVar17[1]" ( (type_descriptor "mpz_srcptr" type_identifier) ) (subscript_expression "pmVar17[1]" identifier [ number_literal ]))) ;) (expression_statement "p_Var8 = p_Var7;" (assignment_expression "p_Var8 = p_Var7" identifier = identifier) ;) (expression_statement "pmVar17 = pmVar17 + 1;" (assignment_expression "pmVar17 = pmVar17 + 1" identifier = (binary_expression "pmVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(p_Var4 != (mpz_srcptr)0x0)" ( (binary_expression "p_Var4 != (mpz_srcptr)0x0" identifier != (cast_expression "(mpz_srcptr)0x0" ( (type_descriptor "mpz_srcptr" type_identifier) ) number_literal)) )) ;) (expression_statement "unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6);" (assignment_expression "unaff_s6 = (mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6)" identifier = (call_expression "(mpz_srcptr)(&local_3c->_mp_alloc + (int)unaff_s6)" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "(&local_3c->_mp_alloc + (int)unaff_s6)" ( (binary_expression "&local_3c->_mp_alloc + (int)unaff_s6" (pointer_expression "&local_3c->_mp_alloc" & (field_expression "local_3c->_mp_alloc" identifier -> field_identifier)) + (cast_expression "(int)unaff_s6" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "unaff_s6->_mp_alloc = (int)p_Var13;" (assignment_expression "unaff_s6->_mp_alloc = (int)p_Var13" (field_expression "unaff_s6->_mp_alloc" identifier -> field_identifier) = (cast_expression "(int)p_Var13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (if_statement "if ((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)) {\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }" if (parenthesized_expression "((u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0))" ( (binary_expression "(u == rem) && (iVar10 = iVar2 + -1, iVar2 != 0)" (parenthesized_expression "(u == rem)" ( (binary_expression "u == rem" identifier == identifier) )) && (parenthesized_expression "(iVar10 = iVar2 + -1, iVar2 != 0)" ( (comma_expression "iVar10 = iVar2 + -1, iVar2 != 0" (assignment_expression "iVar10 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      p_Var13 = (mpz_srcptr)local_44->_mp_alloc;\n      p_Var4 = local_3c;\n      p_Var6 = local_44;\n      if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }\n      local_3c->_mp_alloc = (int)p_Var13;\n    }" { (expression_statement "p_Var13 = (mpz_srcptr)local_44->_mp_alloc;" (assignment_expression "p_Var13 = (mpz_srcptr)local_44->_mp_alloc" identifier = (cast_expression "(mpz_srcptr)local_44->_mp_alloc" ( (type_descriptor "mpz_srcptr" type_identifier) ) (field_expression "local_44->_mp_alloc" identifier -> field_identifier))) ;) (expression_statement "p_Var4 = local_3c;" (assignment_expression "p_Var4 = local_3c" identifier = identifier) ;) (expression_statement "p_Var6 = local_44;" (assignment_expression "p_Var6 = local_44" identifier = identifier) ;) (if_statement "if (iVar10 != 0) {\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);\n        local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);\n      }" { (do_statement "do {\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        } while (iVar10 != 0);" do (compound_statement "{\n          p_Var7 = (mpz_ptr)&p_Var4->_mp_size;\n          p_Var4->_mp_alloc = (int)p_Var13;\n          iVar10 = iVar10 + -1;\n          p_Var13 = (mpz_srcptr)p_Var6->_mp_size;\n          p_Var4 = p_Var7;\n          p_Var6 = (mpz_ptr)&p_Var6->_mp_size;\n        }" { (expression_statement "p_Var7 = (mpz_ptr)&p_Var4->_mp_size;" (assignment_expression "p_Var7 = (mpz_ptr)&p_Var4->_mp_size" identifier = (binary_expression "(mpz_ptr)&p_Var4->_mp_size" (parenthesized_expression "(mpz_ptr)" ( identifier )) & (field_expression "p_Var4->_mp_size" identifier -> field_identifier))) ;) (expression_statement "p_Var4->_mp_alloc = (int)p_Var13;" (assignment_expression "p_Var4->_mp_alloc = (int)p_Var13" (field_expression "p_Var4->_mp_alloc" identifier -> field_identifier) = (cast_expression "(int)p_Var13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "p_Var13 = (mpz_srcptr)p_Var6->_mp_size;" (assignment_expression "p_Var13 = (mpz_srcptr)p_Var6->_mp_size" identifier = (cast_expression "(mpz_srcptr)p_Var6->_mp_size" ( (type_descriptor "mpz_srcptr" type_identifier) ) (field_expression "p_Var6->_mp_size" identifier -> field_identifier))) ;) (expression_statement "p_Var4 = p_Var7;" (assignment_expression "p_Var4 = p_Var7" identifier = identifier) ;) (expression_statement "p_Var6 = (mpz_ptr)&p_Var6->_mp_size;" (assignment_expression "p_Var6 = (mpz_ptr)&p_Var6->_mp_size" identifier = (binary_expression "(mpz_ptr)&p_Var6->_mp_size" (parenthesized_expression "(mpz_ptr)" ( identifier )) & (field_expression "p_Var6->_mp_size" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) ;) (expression_statement "local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4);" (assignment_expression "local_3c = (mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4)" identifier = (call_expression "(mpz_srcptr)((int)local_3c + (iVar2 + 0x3fffffff) * 4)" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "((int)local_3c + (iVar2 + 0x3fffffff) * 4)" ( (binary_expression "(int)local_3c + (iVar2 + 0x3fffffff) * 4" (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(iVar2 + 0x3fffffff) * 4" (parenthesized_expression "(iVar2 + 0x3fffffff)" ( (binary_expression "iVar2 + 0x3fffffff" identifier + number_literal) )) * number_literal)) )))) ;) })) (expression_statement "local_3c->_mp_alloc = (int)p_Var13;" (assignment_expression "local_3c->_mp_alloc = (int)p_Var13" (field_expression "local_3c->_mp_alloc" identifier -> field_identifier) = (cast_expression "(int)p_Var13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (if_statement "if ((int)p_Var14 < 0) {\n      iVar2 = -iVar2;\n    }" if (parenthesized_expression "((int)p_Var14 < 0)" ( (binary_expression "(int)p_Var14 < 0" (cast_expression "(int)p_Var14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      iVar2 = -iVar2;\n    }" { (expression_statement "iVar2 = -iVar2;" (assignment_expression "iVar2 = -iVar2" identifier = (unary_expression "-iVar2" - identifier)) ;) })) (expression_statement "rem->_mp_size = iVar2;" (assignment_expression "rem->_mp_size = iVar2" (field_expression "rem->_mp_size" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var6 = (mpz_ptr)__tmp_marker;" (assignment_expression "p_Var6 = (mpz_ptr)__tmp_marker" identifier = (cast_expression "(mpz_ptr)__tmp_marker" ( (type_descriptor "mpz_ptr" type_identifier) ) identifier)) ;) (expression_statement "mVar20 = local_50[0];" (assignment_expression "mVar20 = local_50[0]" identifier = (subscript_expression "local_50[0]" identifier [ number_literal ])) ;) (if_statement "if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (**(code **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\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 **)(local_50[0] - 0x7a2c))();\n      mVar20 = local_50[0];\n    }" { (expression_statement "(**(code **)(local_50[0] - 0x7a2c))();" (call_expression "(**(code **)(local_50[0] - 0x7a2c))()" (parenthesized_expression "(**(code **)(local_50[0] - 0x7a2c))" ( (pointer_expression "**(code **)(local_50[0] - 0x7a2c)" * (pointer_expression "*(code **)(local_50[0] - 0x7a2c)" * (cast_expression "(code **)(local_50[0] - 0x7a2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_50[0] - 0x7a2c)" ( (binary_expression "local_50[0] - 0x7a2c" (subscript_expression "local_50[0]" identifier [ number_literal ]) - number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "mVar20 = local_50[0];" (assignment_expression "mVar20 = local_50[0]" identifier = (subscript_expression "local_50[0]" identifier [ number_literal ])) ;) })) }))) (expression_statement "puVar23 = puVar22;" (assignment_expression "puVar23 = puVar22" identifier = identifier) ;) (if_statement "if (local_2c == **(int **)(mVar20 - 0x7b00)) {\n    return;\n  }" if (parenthesized_expression "(local_2c == **(int **)(mVar20 - 0x7b00))" ( (binary_expression "local_2c == **(int **)(mVar20 - 0x7b00)" identifier == (pointer_expression "**(int **)(mVar20 - 0x7b00)" * (pointer_expression "*(int **)(mVar20 - 0x7b00)" * (cast_expression "(int **)(mVar20 - 0x7b00)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(mVar20 - 0x7b00)" ( (binary_expression "mVar20 - 0x7b00" identifier - number_literal) )))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0003332c:\n  pcVar19 = *(code **)(mVar20 - 0x7b70);" statement_identifier : (expression_statement "pcVar19 = *(code **)(mVar20 - 0x7b70);" (assignment_expression "pcVar19 = *(code **)(mVar20 - 0x7b70)" identifier = (pointer_expression "*(code **)(mVar20 - 0x7b70)" * (cast_expression "(code **)(mVar20 - 0x7b70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(mVar20 - 0x7b70)" ( (binary_expression "mVar20 - 0x7b70" identifier - number_literal) ))))) ;)) (expression_statement "uVar24 = 0x33338;" (assignment_expression "uVar24 = 0x33338" identifier = number_literal) ;) (expression_statement "(*pcVar19)();" (call_expression "(*pcVar19)()" (parenthesized_expression "(*pcVar19)" ( (pointer_expression "*pcVar19" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar21 = pcVar19 + 0x6fd00;" (assignment_expression "pcVar21 = pcVar19 + 0x6fd00" identifier = (binary_expression "pcVar19 + 0x6fd00" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar23 + -4) = uVar24;" (assignment_expression "*(undefined4 *)(puVar23 + -4) = uVar24" (pointer_expression "*(undefined4 *)(puVar23 + -4)" * (cast_expression "(undefined4 *)(puVar23 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -4)" ( (binary_expression "puVar23 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar23 + -8) = auStack_68;" (assignment_expression "*(undefined1 **)(puVar23 + -8) = auStack_68" (pointer_expression "*(undefined1 **)(puVar23 + -8)" * (cast_expression "(undefined1 **)(puVar23 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -8)" ( (binary_expression "puVar23 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar23 + -0xc) = unaff_s7;" (assignment_expression "*(undefined1 **)(puVar23 + -0xc) = unaff_s7" (pointer_expression "*(undefined1 **)(puVar23 + -0xc)" * (cast_expression "(undefined1 **)(puVar23 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0xc)" ( (binary_expression "puVar23 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_srcptr *)(puVar23 + -0x10) = unaff_s6;" (assignment_expression "*(mpz_srcptr *)(puVar23 + -0x10) = unaff_s6" (pointer_expression "*(mpz_srcptr *)(puVar23 + -0x10)" * (cast_expression "(mpz_srcptr *)(puVar23 + -0x10)" ( (type_descriptor "mpz_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x10)" ( (binary_expression "puVar23 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_ptr *)(puVar23 + -0x14) = rem;" (assignment_expression "*(mpz_ptr *)(puVar23 + -0x14) = rem" (pointer_expression "*(mpz_ptr *)(puVar23 + -0x14)" * (cast_expression "(mpz_ptr *)(puVar23 + -0x14)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x14)" ( (binary_expression "puVar23 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(ulong *)(puVar23 + -0x18) = nth;" (assignment_expression "*(ulong *)(puVar23 + -0x18) = nth" (pointer_expression "*(ulong *)(puVar23 + -0x18)" * (cast_expression "(ulong *)(puVar23 + -0x18)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x18)" ( (binary_expression "puVar23 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_ptr *)(puVar23 + -0x1c) = root;" (assignment_expression "*(mpz_ptr *)(puVar23 + -0x1c) = root" (pointer_expression "*(mpz_ptr *)(puVar23 + -0x1c)" * (cast_expression "(mpz_ptr *)(puVar23 + -0x1c)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x1c)" ( (binary_expression "puVar23 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_srcptr *)(puVar23 + -0x20) = u;" (assignment_expression "*(mpz_srcptr *)(puVar23 + -0x20) = u" (pointer_expression "*(mpz_srcptr *)(puVar23 + -0x20)" * (cast_expression "(mpz_srcptr *)(puVar23 + -0x20)" ( (type_descriptor "mpz_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x20)" ( (binary_expression "puVar23 + -0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_ptr *)(puVar23 + -0x24) = p_Var14;" (assignment_expression "*(mpz_ptr *)(puVar23 + -0x24) = p_Var14" (pointer_expression "*(mpz_ptr *)(puVar23 + -0x24)" * (cast_expression "(mpz_ptr *)(puVar23 + -0x24)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x24)" ( (binary_expression "puVar23 + -0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar23 + -0x28) = unaff_s0;" (assignment_expression "*(undefined1 **)(puVar23 + -0x28) = unaff_s0" (pointer_expression "*(undefined1 **)(puVar23 + -0x28)" * (cast_expression "(undefined1 **)(puVar23 + -0x28)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x28)" ( (binary_expression "puVar23 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(puVar23 + -0x38) = pcVar21;" (assignment_expression "*(code **)(puVar23 + -0x38) = pcVar21" (pointer_expression "*(code **)(puVar23 + -0x38)" * (cast_expression "(code **)(puVar23 + -0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(pcVar19 + 0x68200);" (assignment_expression "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(pcVar19 + 0x68200)" (pointer_expression "*(undefined4 *)(puVar23 + -0x2c)" * (cast_expression "(undefined4 *)(puVar23 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x2c)" ( (binary_expression "puVar23 + -0x2c" identifier + number_literal) )))) = (pointer_expression "**(undefined4 **)(pcVar19 + 0x68200)" * (pointer_expression "*(undefined4 **)(pcVar19 + 0x68200)" * (cast_expression "(undefined4 **)(pcVar19 + 0x68200)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar19 + 0x68200)" ( (binary_expression "pcVar19 + 0x68200" identifier + number_literal) )))))) ;) (expression_statement "uVar16 = (uint)((int)&p_Var13[2]._mp_size + 3) >> 5;" (assignment_expression "uVar16 = (uint)((int)&p_Var13[2]._mp_size + 3) >> 5" identifier = (binary_expression "(uint)((int)&p_Var13[2]._mp_size + 3) >> 5" (call_expression "(uint)((int)&p_Var13[2]._mp_size + 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)&p_Var13[2]._mp_size + 3)" ( (binary_expression "(int)&p_Var13[2]._mp_size + 3" (cast_expression "(int)&p_Var13[2]._mp_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_Var13[2]._mp_size" & (field_expression "p_Var13[2]._mp_size" (subscript_expression "p_Var13[2]" identifier [ number_literal ]) . field_identifier))) + number_literal) ))) >> number_literal)) ;) (expression_statement "p_Var14 = p_Var6;" (assignment_expression "p_Var14 = p_Var6" identifier = identifier) ;) (expression_statement "p_Var9 = p_Var7;" (assignment_expression "p_Var9 = p_Var7" identifier = identifier) ;) (if_statement "if (p_Var13 != (mpz_srcptr)0x0) {\n    if (p_Var6->_mp_alloc < (int)uVar16) {\n      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();\n    }\n    else {\n      pmVar17 = p_Var6->_mp_d;\n    }\n    pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU);\n    iVar2 = uVar16 - 2;\n    if (-1 < iVar2) {\n      pmVar3 = pmVar17 + uVar16;\n      do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);\n    }\n    (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20);\n    p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (p_Var4 == (mpz_srcptr)0x0) {\n      trap(7);\n    }\n    uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4;\n    p_Var18 = (mpz_ptr)(puVar23 + -0x30);\n    do {\n      p_Var14 = p_Var7;\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);\n      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;\n      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));\n      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }\n      pmVar3 = pmVar17 + uVar12;\n      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));\n      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);\n      *pmVar3 = (mp_limb_t)p_Var14;\n      if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }\n    } while (p_Var13 != (mpz_srcptr)0x0);\n  }" if (parenthesized_expression "(p_Var13 != (mpz_srcptr)0x0)" ( (binary_expression "p_Var13 != (mpz_srcptr)0x0" identifier != (cast_expression "(mpz_srcptr)0x0" ( (type_descriptor "mpz_srcptr" type_identifier) ) number_literal)) )) (compound_statement "{\n    if (p_Var6->_mp_alloc < (int)uVar16) {\n      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();\n    }\n    else {\n      pmVar17 = p_Var6->_mp_d;\n    }\n    pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU);\n    iVar2 = uVar16 - 2;\n    if (-1 < iVar2) {\n      pmVar3 = pmVar17 + uVar16;\n      do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);\n    }\n    (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20);\n    p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (p_Var4 == (mpz_srcptr)0x0) {\n      trap(7);\n    }\n    uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4;\n    p_Var18 = (mpz_ptr)(puVar23 + -0x30);\n    do {\n      p_Var14 = p_Var7;\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);\n      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;\n      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));\n      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }\n      pmVar3 = pmVar17 + uVar12;\n      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));\n      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);\n      *pmVar3 = (mp_limb_t)p_Var14;\n      if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }\n    } while (p_Var13 != (mpz_srcptr)0x0);\n  }" { (if_statement "if (p_Var6->_mp_alloc < (int)uVar16) {\n      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();\n    }\n    else {\n      pmVar17 = p_Var6->_mp_d;\n    }" if (parenthesized_expression "(p_Var6->_mp_alloc < (int)uVar16)" ( (binary_expression "p_Var6->_mp_alloc < (int)uVar16" (field_expression "p_Var6->_mp_alloc" identifier -> field_identifier) < (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();\n    }" { (expression_statement "pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))();" (assignment_expression "pmVar17 = (mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))()" identifier = (cast_expression "(mp_limb_t *)(**(code **)(pcVar19 + 0x6827c))()" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar19 + 0x6827c))()" (parenthesized_expression "(**(code **)(pcVar19 + 0x6827c))" ( (pointer_expression "**(code **)(pcVar19 + 0x6827c)" * (pointer_expression "*(code **)(pcVar19 + 0x6827c)" * (cast_expression "(code **)(pcVar19 + 0x6827c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar19 + 0x6827c)" ( (binary_expression "pcVar19 + 0x6827c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) }) (else_clause "else {\n      pmVar17 = p_Var6->_mp_d;\n    }" else (compound_statement "{\n      pmVar17 = p_Var6->_mp_d;\n    }" { (expression_statement "pmVar17 = p_Var6->_mp_d;" (assignment_expression "pmVar17 = p_Var6->_mp_d" identifier = (field_expression "p_Var6->_mp_d" identifier -> field_identifier)) ;) }))) (expression_statement "pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU);" (assignment_expression "pmVar17[uVar16 - 1] = 0xffffffff >> (-(int)p_Var13 & 0x1fU)" (subscript_expression "pmVar17[uVar16 - 1]" identifier [ (binary_expression "uVar16 - 1" identifier - number_literal) ]) = (binary_expression "0xffffffff >> (-(int)p_Var13 & 0x1fU)" number_literal >> (parenthesized_expression "(-(int)p_Var13 & 0x1fU)" ( (binary_expression "-(int)p_Var13 & 0x1fU" (unary_expression "-(int)p_Var13" - (cast_expression "(int)p_Var13" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) )))) ;) (expression_statement "iVar2 = uVar16 - 2;" (assignment_expression "iVar2 = uVar16 - 2" identifier = (binary_expression "uVar16 - 2" identifier - number_literal)) ;) (if_statement "if (-1 < iVar2) {\n      pmVar3 = pmVar17 + uVar16;\n      do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);\n    }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      pmVar3 = pmVar17 + uVar16;\n      do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);\n    }" { (expression_statement "pmVar3 = pmVar17 + uVar16;" (assignment_expression "pmVar3 = pmVar17 + uVar16" identifier = (binary_expression "pmVar17 + uVar16" identifier + identifier)) ;) (do_statement "do {\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      } while (-1 < iVar2);" do (compound_statement "{\n        pmVar3[-2] = 0xffffffff;\n        iVar2 = iVar2 + -1;\n        pmVar3 = pmVar3 + -1;\n      }" { (expression_statement "pmVar3[-2] = 0xffffffff;" (assignment_expression "pmVar3[-2] = 0xffffffff" (subscript_expression "pmVar3[-2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "pmVar3 = pmVar3 + -1;" (assignment_expression "pmVar3 = pmVar3 + -1" identifier = (binary_expression "pmVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) ;) })) (expression_statement "(**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20);" (call_expression "(**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,puVar23 + -0x30,0x20)" (parenthesized_expression "(**(code **)(p_Var7[1]._mp_size + 4))" ( (pointer_expression "**(code **)(p_Var7[1]._mp_size + 4)" * (pointer_expression "*(code **)(p_Var7[1]._mp_size + 4)" * (cast_expression "(code **)(p_Var7[1]._mp_size + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var7[1]._mp_size + 4)" ( (binary_expression "p_Var7[1]._mp_size + 4" (field_expression "p_Var7[1]._mp_size" (subscript_expression "p_Var7[1]" identifier [ number_literal ]) . field_identifier) + number_literal) ))))) )) (argument_list "(p_Var7,puVar23 + -0x30,0x20)" ( identifier , (binary_expression "puVar23 + -0x30" identifier + number_literal) , number_literal ))) ;) (expression_statement "p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1);" (assignment_expression "p_Var4 = (mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1)" identifier = (call_expression "(mpz_srcptr)((*(uint *)(puVar23 + -0x30) & 3) + 1)" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "((*(uint *)(puVar23 + -0x30) & 3) + 1)" ( (binary_expression "(*(uint *)(puVar23 + -0x30) & 3) + 1" (parenthesized_expression "(*(uint *)(puVar23 + -0x30) & 3)" ( (binary_expression "*(uint *)(puVar23 + -0x30) & 3" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) & number_literal) )) + number_literal) )))) ;) (if_statement "if (p_Var4 == (mpz_srcptr)0x0) {\n      trap(7);\n    }" if (parenthesized_expression "(p_Var4 == (mpz_srcptr)0x0)" ( (binary_expression "p_Var4 == (mpz_srcptr)0x0" identifier == (cast_expression "(mpz_srcptr)0x0" ( (type_descriptor "mpz_srcptr" type_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 "uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4;" (assignment_expression "uVar15 = (uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4" identifier = (binary_expression "(uint)(p_Var13 < p_Var4) + (uint)p_Var13 / (uint)p_Var4" (call_expression "(uint)(p_Var13 < p_Var4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(p_Var13 < p_Var4)" ( (binary_expression "p_Var13 < p_Var4" identifier < identifier) ))) + (binary_expression "(uint)p_Var13 / (uint)p_Var4" (cast_expression "(uint)p_Var13" ( (type_descriptor "uint" type_identifier) ) identifier) / (cast_expression "(uint)p_Var4" ( (type_descriptor "uint" type_identifier) ) identifier)))) ;) (expression_statement "p_Var18 = (mpz_ptr)(puVar23 + -0x30);" (assignment_expression "p_Var18 = (mpz_ptr)(puVar23 + -0x30)" identifier = (call_expression "(mpz_ptr)(puVar23 + -0x30)" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) ;) (do_statement "do {\n      p_Var14 = p_Var7;\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);\n      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;\n      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));\n      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }\n      pmVar3 = pmVar17 + uVar12;\n      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));\n      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);\n      *pmVar3 = (mp_limb_t)p_Var14;\n      if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }\n    } while (p_Var13 != (mpz_srcptr)0x0);" do (compound_statement "{\n      p_Var14 = p_Var7;\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);\n      if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;\n      pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);\n      p_Var9 = p_Var18;\n      (**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);\n      pcVar21 = *(code **)(puVar23 + -0x38);\n      if (uVar15 == 0) {\n        trap(7);\n      }\n      p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));\n      if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }\n      pmVar3 = pmVar17 + uVar12;\n      p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));\n      p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);\n      *pmVar3 = (mp_limb_t)p_Var14;\n      if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }\n    }" { (expression_statement "p_Var14 = p_Var7;" (assignment_expression "p_Var14 = p_Var7" identifier = identifier) ;) (expression_statement "p_Var9 = p_Var18;" (assignment_expression "p_Var9 = p_Var18" identifier = identifier) ;) (expression_statement "(**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);" (call_expression "(**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20)" (parenthesized_expression "(**(code **)(p_Var7[1]._mp_size + 4))" ( (pointer_expression "**(code **)(p_Var7[1]._mp_size + 4)" * (pointer_expression "*(code **)(p_Var7[1]._mp_size + 4)" * (cast_expression "(code **)(p_Var7[1]._mp_size + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var7[1]._mp_size + 4)" ( (binary_expression "p_Var7[1]._mp_size + 4" (field_expression "p_Var7[1]._mp_size" (subscript_expression "p_Var7[1]" identifier [ number_literal ]) . field_identifier) + number_literal) ))))) )) (argument_list "(p_Var7,p_Var18,0x20)" ( identifier , identifier , number_literal ))) ;) (expression_statement "pcVar21 = *(code **)(puVar23 + -0x38);" (assignment_expression "pcVar21 = *(code **)(puVar23 + -0x38)" identifier = (pointer_expression "*(code **)(puVar23 + -0x38)" * (cast_expression "(code **)(puVar23 + -0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) ))))) ;) (if_statement "if (uVar15 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar15 == 0)" ( (binary_expression "uVar15 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1);" (assignment_expression "uVar12 = (int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" identifier = (binary_expression "(int)p_Var13 - (int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" (cast_expression "(int)p_Var13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) ))))) ;) (if_statement "if ((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)) break;" if (parenthesized_expression "((p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0))" ( (binary_expression "(p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)) || (uVar12 == 0)" (parenthesized_expression "(p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1))" ( (binary_expression "p_Var13 < (mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" identifier < (call_expression "(mpz_srcptr)(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) )))) )) || (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f);" (assignment_expression "pmVar17[uVar12 >> 5] = pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f)" (subscript_expression "pmVar17[uVar12 >> 5]" identifier [ (binary_expression "uVar12 >> 5" identifier >> number_literal) ]) = (binary_expression "pmVar17[uVar12 >> 5] ^ 1 << (uVar12 & 0x1f)" (subscript_expression "pmVar17[uVar12 >> 5]" identifier [ (binary_expression "uVar12 >> 5" identifier >> number_literal) ]) ^ (binary_expression "1 << (uVar12 & 0x1f)" number_literal << (parenthesized_expression "(uVar12 & 0x1f)" ( (binary_expression "uVar12 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "p_Var9 = p_Var18;" (assignment_expression "p_Var9 = p_Var18" identifier = identifier) ;) (expression_statement "(**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20);" (call_expression "(**(code **)(p_Var7[1]._mp_size + 4))(p_Var7,p_Var18,0x20)" (parenthesized_expression "(**(code **)(p_Var7[1]._mp_size + 4))" ( (pointer_expression "**(code **)(p_Var7[1]._mp_size + 4)" * (pointer_expression "*(code **)(p_Var7[1]._mp_size + 4)" * (cast_expression "(code **)(p_Var7[1]._mp_size + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var7[1]._mp_size + 4)" ( (binary_expression "p_Var7[1]._mp_size + 4" (field_expression "p_Var7[1]._mp_size" (subscript_expression "p_Var7[1]" identifier [ number_literal ]) . field_identifier) + number_literal) ))))) )) (argument_list "(p_Var7,p_Var18,0x20)" ( identifier , identifier , number_literal ))) ;) (expression_statement "pcVar21 = *(code **)(puVar23 + -0x38);" (assignment_expression "pcVar21 = *(code **)(puVar23 + -0x38)" identifier = (pointer_expression "*(code **)(puVar23 + -0x38)" * (cast_expression "(code **)(puVar23 + -0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) ))))) ;) (if_statement "if (uVar15 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar15 == 0)" ( (binary_expression "uVar15 == 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 "p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1));" (assignment_expression "p_Var13 = (mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1))" identifier = (call_expression "(mpz_srcptr)(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1))" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "(uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1))" ( (binary_expression "uVar12 - (*(uint *)(puVar23 + -0x30) % uVar15 + 1)" identifier - (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar15 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) ))) )))) ;) (if_statement "if (uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1) {\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }\n      else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }" if (parenthesized_expression "(uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1)" ( (binary_expression "uVar12 < *(uint *)(puVar23 + -0x30) % uVar15 + 1" identifier < (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar15" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal)) )) (compound_statement "{\n        p_Var13 = (mpz_srcptr)0x0;\n        uVar12 = 0;\n      }" { (expression_statement "p_Var13 = (mpz_srcptr)0x0;" (assignment_expression "p_Var13 = (mpz_srcptr)0x0" identifier = (cast_expression "(mpz_srcptr)0x0" ( (type_descriptor "mpz_srcptr" type_identifier) ) number_literal)) ;) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar12 = (uint)p_Var13 >> 5;\n      }" else (compound_statement "{\n        uVar12 = (uint)p_Var13 >> 5;\n      }" { (expression_statement "uVar12 = (uint)p_Var13 >> 5;" (assignment_expression "uVar12 = (uint)p_Var13 >> 5" identifier = (binary_expression "(uint)p_Var13 >> 5" (cast_expression "(uint)p_Var13" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal)) ;) }))) (expression_statement "pmVar3 = pmVar17 + uVar12;" (assignment_expression "pmVar3 = pmVar17 + uVar12" identifier = (binary_expression "pmVar17 + uVar12" identifier + identifier)) ;) (expression_statement "p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f));" (assignment_expression "p_Var5 = (mpz_ptr)(1 << ((uint)p_Var13 & 0x1f))" identifier = (call_expression "(mpz_ptr)(1 << ((uint)p_Var13 & 0x1f))" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "(1 << ((uint)p_Var13 & 0x1f))" ( (binary_expression "1 << ((uint)p_Var13 & 0x1f)" number_literal << (parenthesized_expression "((uint)p_Var13 & 0x1f)" ( (binary_expression "(uint)p_Var13 & 0x1f" (cast_expression "(uint)p_Var13" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3);" (assignment_expression "p_Var14 = (mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3)" identifier = (call_expression "(mpz_ptr)((int)&p_Var5->_mp_alloc + *pmVar3)" (parenthesized_expression "(mpz_ptr)" ( identifier )) (argument_list "((int)&p_Var5->_mp_alloc + *pmVar3)" ( (binary_expression "(int)&p_Var5->_mp_alloc + *pmVar3" (cast_expression "(int)&p_Var5->_mp_alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_Var5->_mp_alloc" & (field_expression "p_Var5->_mp_alloc" identifier -> field_identifier))) + (pointer_expression "*pmVar3" * identifier)) )))) ;) (expression_statement "*pmVar3 = (mp_limb_t)p_Var14;" (assignment_expression "*pmVar3 = (mp_limb_t)p_Var14" (pointer_expression "*pmVar3" * identifier) = (cast_expression "(mp_limb_t)p_Var14" ( (type_descriptor "mp_limb_t" type_identifier) ) identifier)) ;) (if_statement "if (p_Var14 < p_Var5) {\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }" if (parenthesized_expression "(p_Var14 < p_Var5)" ( (binary_expression "p_Var14 < p_Var5" identifier < identifier) )) (compound_statement "{\n        do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);\n      }" { (do_statement "do {\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        } while (mVar20 + 1 == 0);" do (compound_statement "{\n          pmVar3 = pmVar3 + 1;\n          mVar20 = *pmVar3;\n          *pmVar3 = mVar20 + 1;\n        }" { (expression_statement "pmVar3 = pmVar3 + 1;" (assignment_expression "pmVar3 = pmVar3 + 1" identifier = (binary_expression "pmVar3 + 1" identifier + number_literal)) ;) (expression_statement "mVar20 = *pmVar3;" (assignment_expression "mVar20 = *pmVar3" identifier = (pointer_expression "*pmVar3" * identifier)) ;) (expression_statement "*pmVar3 = mVar20 + 1;" (assignment_expression "*pmVar3 = mVar20 + 1" (pointer_expression "*pmVar3" * identifier) = (binary_expression "mVar20 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar20 + 1 == 0)" ( (binary_expression "mVar20 + 1 == 0" (binary_expression "mVar20 + 1" identifier + number_literal) == number_literal) )) ;) })) }) while (parenthesized_expression "(p_Var13 != (mpz_srcptr)0x0)" ( (binary_expression "p_Var13 != (mpz_srcptr)0x0" identifier != (cast_expression "(mpz_srcptr)0x0" ( (type_descriptor "mpz_srcptr" type_identifier) ) number_literal)) )) ;) })) (expression_statement "p_Var6->_mp_size = uVar16;" (assignment_expression "p_Var6->_mp_size = uVar16" (field_expression "p_Var6->_mp_size" identifier -> field_identifier) = identifier) ;) (if_statement "if (*(int *)(puVar23 + -0x2c) == **(int **)(pcVar21 + -0x7b00)) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(puVar23 + -0x2c) == **(int **)(pcVar21 + -0x7b00))" ( (binary_expression "*(int *)(puVar23 + -0x2c) == **(int **)(pcVar21 + -0x7b00)" (pointer_expression "*(int *)(puVar23 + -0x2c)" * (cast_expression "(int *)(puVar23 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x2c)" ( (binary_expression "puVar23 + -0x2c" identifier + number_literal) )))) == (pointer_expression "**(int **)(pcVar21 + -0x7b00)" * (pointer_expression "*(int **)(pcVar21 + -0x7b00)" * (cast_expression "(int **)(pcVar21 + -0x7b00)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + -0x7b00)" ( (binary_expression "pcVar21 + -0x7b00" identifier + number_literal) )))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(pcVar21 + -0x7b70))();" (call_expression "(**(code **)(pcVar21 + -0x7b70))()" (parenthesized_expression "(**(code **)(pcVar21 + -0x7b70))" ( (pointer_expression "**(code **)(pcVar21 + -0x7b70)" * (pointer_expression "*(code **)(pcVar21 + -0x7b70)" * (cast_expression "(code **)(pcVar21 + -0x7b70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar21 + -0x7b70)" ( (binary_expression "pcVar21 + -0x7b70" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar10 = p_Var14->_mp_size;" (assignment_expression "iVar10 = p_Var14->_mp_size" identifier = (field_expression "p_Var14->_mp_size" identifier -> field_identifier)) ;) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" identifier = identifier) ;) (if_statement "if (iVar10 < 0) {\n    iVar2 = -iVar10;\n  }" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = -iVar10;\n  }" { (expression_statement "iVar2 = -iVar10;" (assignment_expression "iVar2 = -iVar10" identifier = (unary_expression "-iVar10" - identifier)) ;) })) (if_statement "if (iVar2 <= (int)((uint)p_Var9 >> 5)) {\n    return;\n  }" if (parenthesized_expression "(iVar2 <= (int)((uint)p_Var9 >> 5))" ( (binary_expression "iVar2 <= (int)((uint)p_Var9 >> 5)" identifier <= (cast_expression "(int)((uint)p_Var9 >> 5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)p_Var9 >> 5)" ( (binary_expression "(uint)p_Var9 >> 5" (cast_expression "(uint)p_Var9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pmVar3 = p_Var14->_mp_d;" (assignment_expression "pmVar3 = p_Var14->_mp_d" identifier = (field_expression "p_Var14->_mp_d" identifier -> field_identifier)) ;) (expression_statement "pmVar17 = pmVar3 + ((uint)p_Var9 >> 5);" (assignment_expression "pmVar17 = pmVar3 + ((uint)p_Var9 >> 5)" identifier = (binary_expression "pmVar3 + ((uint)p_Var9 >> 5)" identifier + (parenthesized_expression "((uint)p_Var9 >> 5)" ( (binary_expression "(uint)p_Var9 >> 5" (cast_expression "(uint)p_Var9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar16 = *pmVar17;" (assignment_expression "uVar16 = *pmVar17" identifier = (pointer_expression "*pmVar17" * identifier)) ;) (if_statement "if (iVar10 < 0) {\n    if (pmVar3 == pmVar17) {\nLAB_000336ac:\n      uVar16 = uVar16 - 1;\n    }\n    else {\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }\n    if ((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0) {\n      pmVar11 = pmVar17 + 1;\n      if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }\n      mVar20 = pmVar17[1];\n      while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }\n    }\n  }\n  else {\n    mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;\n    while (mVar20 == 0xffffffff) {\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }\n  }" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (compound_statement "{\n    if (pmVar3 == pmVar17) {\nLAB_000336ac:\n      uVar16 = uVar16 - 1;\n    }\n    else {\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }\n    if ((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0) {\n      pmVar11 = pmVar17 + 1;\n      if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }\n      mVar20 = pmVar17[1];\n      while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }\n    }\n  }" { (if_statement "if (pmVar3 == pmVar17) {\nLAB_000336ac:\n      uVar16 = uVar16 - 1;\n    }\n    else {\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }" if (parenthesized_expression "(pmVar3 == pmVar17)" ( (binary_expression "pmVar3 == pmVar17" identifier == identifier) )) (compound_statement "{\nLAB_000336ac:\n      uVar16 = uVar16 - 1;\n    }" { (labeled_statement "LAB_000336ac:\n      uVar16 = uVar16 - 1;" statement_identifier : (expression_statement "uVar16 = uVar16 - 1;" (assignment_expression "uVar16 = uVar16 - 1" identifier = (binary_expression "uVar16 - 1" identifier - number_literal)) ;)) }) (else_clause "else {\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }" else (compound_statement "{\n      pmVar11 = pmVar17 + -1;\n      mVar20 = pmVar17[-1];\n      while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }\n    }" { (expression_statement "pmVar11 = pmVar17 + -1;" (assignment_expression "pmVar11 = pmVar17 + -1" identifier = (binary_expression "pmVar17 + -1" identifier + number_literal)) ;) (expression_statement "mVar20 = pmVar17[-1];" (assignment_expression "mVar20 = pmVar17[-1]" identifier = (subscript_expression "pmVar17[-1]" identifier [ number_literal ])) ;) (while_statement "while (mVar20 == 0) {\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }" while (parenthesized_expression "(mVar20 == 0)" ( (binary_expression "mVar20 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = pmVar3 == pmVar11;\n        pmVar11 = pmVar11 + -1;\n        if (bVar1) goto LAB_000336ac;\n        mVar20 = *pmVar11;\n      }" { (expression_statement "bVar1 = pmVar3 == pmVar11;" (assignment_expression "bVar1 = pmVar3 == pmVar11" identifier = (binary_expression "pmVar3 == pmVar11" identifier == identifier)) ;) (expression_statement "pmVar11 = pmVar11 + -1;" (assignment_expression "pmVar11 = pmVar11 + -1" identifier = (binary_expression "pmVar11 + -1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_000336ac;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_000336ac;" goto statement_identifier ;)) (expression_statement "mVar20 = *pmVar11;" (assignment_expression "mVar20 = *pmVar11" identifier = (pointer_expression "*pmVar11" * identifier)) ;) })) }))) (if_statement "if ((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0) {\n      pmVar11 = pmVar17 + 1;\n      if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }\n      mVar20 = pmVar17[1];\n      while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }\n    }" if (parenthesized_expression "((-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0)" ( (binary_expression "(-1 << ((uint)p_Var9 & 0x1f) & uVar16) == 0" (parenthesized_expression "(-1 << ((uint)p_Var9 & 0x1f) & uVar16)" ( (binary_expression "-1 << ((uint)p_Var9 & 0x1f) & uVar16" (binary_expression "-1 << ((uint)p_Var9 & 0x1f)" number_literal << (parenthesized_expression "((uint)p_Var9 & 0x1f)" ( (binary_expression "(uint)p_Var9 & 0x1f" (cast_expression "(uint)p_Var9" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) & identifier) )) == number_literal) )) (compound_statement "{\n      pmVar11 = pmVar17 + 1;\n      if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }\n      mVar20 = pmVar17[1];\n      while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }\n    }" { (expression_statement "pmVar11 = pmVar17 + 1;" (assignment_expression "pmVar11 = pmVar17 + 1" identifier = (binary_expression "pmVar17 + 1" identifier + number_literal)) ;) (if_statement "if (pmVar3 + iVar2 == pmVar11) {\n        return;\n      }" if (parenthesized_expression "(pmVar3 + iVar2 == pmVar11)" ( (binary_expression "pmVar3 + iVar2 == pmVar11" (binary_expression "pmVar3 + iVar2" identifier + identifier) == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "mVar20 = pmVar17[1];" (assignment_expression "mVar20 = pmVar17[1]" identifier = (subscript_expression "pmVar17[1]" identifier [ number_literal ])) ;) (while_statement "while (mVar20 == 0) {\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }" while (parenthesized_expression "(mVar20 == 0)" ( (binary_expression "mVar20 == 0" identifier == number_literal) )) (compound_statement "{\n        pmVar11 = pmVar11 + 1;\n        mVar20 = *pmVar11;\n      }" { (expression_statement "pmVar11 = pmVar11 + 1;" (assignment_expression "pmVar11 = pmVar11 + 1" identifier = (binary_expression "pmVar11 + 1" identifier + number_literal)) ;) (expression_statement "mVar20 = *pmVar11;" (assignment_expression "mVar20 = *pmVar11" identifier = (pointer_expression "*pmVar11" * identifier)) ;) })) })) }) (else_clause "else {\n    mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;\n    while (mVar20 == 0xffffffff) {\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }\n  }" else (compound_statement "{\n    mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;\n    while (mVar20 == 0xffffffff) {\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }\n  }" { (expression_statement "mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16;" (assignment_expression "mVar20 = (1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16" identifier = (binary_expression "(1 << ((uint)p_Var9 & 0x1f)) - 1U | uVar16" (binary_expression "(1 << ((uint)p_Var9 & 0x1f)) - 1U" (parenthesized_expression "(1 << ((uint)p_Var9 & 0x1f))" ( (binary_expression "1 << ((uint)p_Var9 & 0x1f)" number_literal << (parenthesized_expression "((uint)p_Var9 & 0x1f)" ( (binary_expression "(uint)p_Var9 & 0x1f" (cast_expression "(uint)p_Var9" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) )) - number_literal) | identifier)) ;) (while_statement "while (mVar20 == 0xffffffff) {\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }" while (parenthesized_expression "(mVar20 == 0xffffffff)" ( (binary_expression "mVar20 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      pmVar17 = pmVar17 + 1;\n      if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }\n      mVar20 = *pmVar17;\n    }" { (expression_statement "pmVar17 = pmVar17 + 1;" (assignment_expression "pmVar17 = pmVar17 + 1" identifier = (binary_expression "pmVar17 + 1" identifier + number_literal)) ;) (if_statement "if (pmVar17 == pmVar3 + iVar2) {\n        return;\n      }" if (parenthesized_expression "(pmVar17 == pmVar3 + iVar2)" ( (binary_expression "pmVar17 == pmVar3 + iVar2" identifier == (binary_expression "pmVar3 + iVar2" identifier + identifier)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "mVar20 = *pmVar17;" (assignment_expression "mVar20 = *pmVar17" identifier = (pointer_expression "*pmVar17" * identifier)) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "int * __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}\n\n" (function_definition "int * __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}" primitive_type (pointer_declarator "* __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)" * (function_declarator "__gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,uint param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "uint param_4" type_identifier identifier) )))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint unaff_s0;" type_identifier identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int *unaff_s6;" primitive_type (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "undefined *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "code *pcVar20;" type_identifier (pointer_declarator "*pcVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined1 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "undefined1 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "undefined4 uVar24;" type_identifier identifier ;) (declaration "undefined1 auStack_68 [24];" type_identifier (array_declarator "auStack_68 [24]" identifier [ number_literal ]) ;) (declaration "int *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "int *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar23 = auStack_68;" (assignment_expression "puVar23 = auStack_68" identifier = identifier) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0009b540;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0009b540" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" * (cast_expression "(int **)PTR___stack_chk_guard_0009b540" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar15 = (int *)param_3[1];" (assignment_expression "piVar15 = (int *)param_3[1]" identifier = (cast_expression "(int *)param_3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = param_1;" (assignment_expression "piVar10 = param_1" identifier = identifier) ;) (expression_statement "piVar11 = param_2;" (assignment_expression "piVar11 = param_2" identifier = identifier) ;) (expression_statement "piVar14 = param_3;" (assignment_expression "piVar14 = param_3" identifier = identifier) ;) (if_statement "if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }" { (if_statement "if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }" if (parenthesized_expression "((param_4 & 1) != 0)" ( (binary_expression "(param_4 & 1) != 0" (parenthesized_expression "(param_4 & 1)" ( (binary_expression "param_4 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }" { (if_statement "if (param_4 != 0) goto LAB_00032fd8;" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00032fd8;" goto statement_identifier ;)) (goto_statement "goto LAB_00033040;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();" (call_expression "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)()" (parenthesized_expression "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)" ( (pointer_expression "*(code *)PTR___gmp_sqrt_of_negative_0009b1cc" * (cast_expression "(code *)PTR___gmp_sqrt_of_negative_0009b1cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" else (compound_statement "{\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" { (if_statement "if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }" { (labeled_statement "LAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();" statement_identifier : (expression_statement "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)();" (call_expression "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)()" (parenthesized_expression "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)" ( (pointer_expression "*(code *)PTR___gmp_divide_by_zero_0009b5dc" * (cast_expression "(code *)PTR___gmp_divide_by_zero_0009b5dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (labeled_statement "LAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }" statement_identifier : (if_statement "if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        param_1[1] = 0;\n      }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" else (compound_statement "{\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" { (if_statement "if (piVar15 == (int *)0x0) goto LAB_00033048;" if (parenthesized_expression "(piVar15 == (int *)0x0)" ( (binary_expression "piVar15 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00033048;" goto statement_identifier ;)) (labeled_statement "LAB_00032fd8:\n      piVar10 = piVar15;" statement_identifier : (expression_statement "piVar10 = piVar15;" (assignment_expression "piVar10 = piVar15" identifier = identifier) ;)) (if_statement "if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        piVar10 = (int *)-(int)piVar15;\n      }" { (expression_statement "piVar10 = (int *)-(int)piVar15;" (assignment_expression "piVar10 = (int *)-(int)piVar15" identifier = (cast_expression "(int *)-(int)piVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)piVar15" - (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) })) (expression_statement "unaff_s0 = (int)piVar10 - 1;" (assignment_expression "unaff_s0 = (int)piVar10 - 1" identifier = (binary_expression "(int)piVar10 - 1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) ;) (if_statement "if (param_4 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 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 "unaff_s6 = (int *)(unaff_s0 / param_4);" (assignment_expression "unaff_s6 = (int *)(unaff_s0 / param_4)" identifier = (cast_expression "(int *)(unaff_s0 / param_4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 / param_4)" ( (binary_expression "unaff_s0 / param_4" identifier / identifier) )))) ;) (expression_statement "unaff_s7 = (int)unaff_s6 + 1;" (assignment_expression "unaff_s7 = (int)unaff_s6 + 1" identifier = (binary_expression "(int)unaff_s6 + 1" (cast_expression "(int)unaff_s6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" if (parenthesized_expression "((param_1 == (int *)0x0) || (param_3 == param_1))" ( (binary_expression "(param_1 == (int *)0x0) || (param_3 == param_1)" (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_3 == param_1)" ( (binary_expression "param_3 == param_1" identifier == identifier) ))) )) (compound_statement "{\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }" { (if_statement "if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" if (parenthesized_expression "((uint)(unaff_s7 * 4) < 0x7f01)" ( (binary_expression "(uint)(unaff_s7 * 4) < 0x7f01" (call_expression "(uint)(unaff_s7 * 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(unaff_s7 * 4)" ( (binary_expression "unaff_s7 * 4" identifier * number_literal) ))) < number_literal) )) (compound_statement "{\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }" { (expression_statement "iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8)" identifier = (unary_expression "-(unaff_s7 * 4 + 7U & 0xfffffff8)" - (parenthesized_expression "(unaff_s7 * 4 + 7U & 0xfffffff8)" ( (binary_expression "unaff_s7 * 4 + 7U & 0xfffffff8" (binary_expression "unaff_s7 * 4 + 7U" (binary_expression "unaff_s7 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "local_38 = (int *)(&stack0xffffffb0 + iVar9);" (assignment_expression "local_38 = (int *)(&stack0xffffffb0 + iVar9)" identifier = (cast_expression "(int *)(&stack0xffffffb0 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffffb0 + iVar9)" ( (binary_expression "&stack0xffffffb0 + iVar9" (pointer_expression "&stack0xffffffb0" & identifier) + identifier) )))) ;) (expression_statement "puVar22 = auStack_68 + iVar9;" (assignment_expression "puVar22 = auStack_68 + iVar9" identifier = (binary_expression "auStack_68 + iVar9" identifier + identifier)) ;) }) (else_clause "else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" else (compound_statement "{\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" { (expression_statement "local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);" (assignment_expression "local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" identifier = (cast_expression "(int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }))) }) (else_clause "else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" else (if_statement "if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" if (parenthesized_expression "(*param_1 < unaff_s7)" ( (binary_expression "*param_1 < unaff_s7" (pointer_expression "*param_1" * identifier) < identifier) )) (compound_statement "{\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }" { (expression_statement "local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);" (assignment_expression "local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" identifier = (cast_expression "(int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_0009b5bc" * (cast_expression "(code *)PTR___gmpz_realloc_0009b5bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,unaff_s7)" ( identifier , identifier ))))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }) (else_clause "else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" else (compound_statement "{\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" { (expression_statement "local_38 = (int *)param_1[2];" (assignment_expression "local_38 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" identifier = identifier) ;) }))))) (if_statement "if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" if (parenthesized_expression "(param_3 == param_2)" ( (binary_expression "param_3 == param_2" identifier == identifier) )) (compound_statement "{\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }" { (expression_statement "piVar11 = (int *)((int)piVar10 * 4);" (assignment_expression "piVar11 = (int *)((int)piVar10 * 4)" identifier = (cast_expression "(int *)((int)piVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 * 4)" ( (binary_expression "(int)piVar10 * 4" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (if_statement "if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" if (parenthesized_expression "(piVar11 < (int *)0x7f01)" ( (binary_expression "piVar11 < (int *)0x7f01" identifier < (cast_expression "(int *)0x7f01" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }" { (expression_statement "piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);" (assignment_expression "piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8)" identifier = (cast_expression "(int *)((int)piVar11 + 7U & 0xfffffff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar11 + 7U & 0xfffffff8)" ( (binary_expression "(int)piVar11 + 7U & 0xfffffff8" (binary_expression "(int)piVar11 + 7U" (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);" (assignment_expression "local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18)" identifier = (cast_expression "(int *)(puVar22 + -(int)piVar11 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + -(int)piVar11 + 0x18)" ( (binary_expression "puVar22 + -(int)piVar11 + 0x18" (binary_expression "puVar22 + -(int)piVar11" identifier + (unary_expression "-(int)piVar11" - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))) ;) (expression_statement "puVar22 = puVar22 + -(int)piVar11;" (assignment_expression "puVar22 = puVar22 + -(int)piVar11" identifier = (binary_expression "puVar22 + -(int)piVar11" identifier + (unary_expression "-(int)piVar11" - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) }) (else_clause "else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" else (compound_statement "{\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" { (expression_statement "local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);" (assignment_expression "local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" identifier = (cast_expression "(int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) }))) }) (else_clause "else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" else (compound_statement "{\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" { (expression_statement "piVar11 = piVar10;" (assignment_expression "piVar11 = piVar10" identifier = identifier) ;) (if_statement "if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }" if (parenthesized_expression "(*param_2 < (int)piVar10)" ( (binary_expression "*param_2 < (int)piVar10" (pointer_expression "*param_2" * identifier) < (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }" { (expression_statement "local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);" (assignment_expression "local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" identifier = (cast_expression "(int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_0009b5bc" * (cast_expression "(code *)PTR___gmpz_realloc_0009b5bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier ))))) ;) }) (else_clause "else {\n          local_44 = (int *)param_2[2];\n        }" else (compound_statement "{\n          local_44 = (int *)param_2[2];\n        }" { (expression_statement "local_44 = (int *)param_2[2];" (assignment_expression "local_44 = (int *)param_2[2]" identifier = (cast_expression "(int *)param_2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) }))) }))) (expression_statement "local_3c = (int *)param_3[2];" (assignment_expression "local_3c = (int *)param_3[2]" identifier = (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ]))) ;) (if_statement "if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" if (parenthesized_expression "(param_4 == 1)" ( (binary_expression "param_4 == 1" identifier == number_literal) )) (compound_statement "{\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }" { (expression_statement "iVar9 = *local_3c;" (assignment_expression "iVar9 = *local_3c" identifier = (pointer_expression "*local_3c" * identifier)) ;) (expression_statement "piVar2 = local_38;" (assignment_expression "piVar2 = local_38" identifier = identifier) ;) (expression_statement "piVar18 = local_3c;" (assignment_expression "piVar18 = local_3c" identifier = identifier) ;) (if_statement "if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }" if (parenthesized_expression "(unaff_s0 != 0)" ( (binary_expression "unaff_s0 != 0" identifier != number_literal) )) (compound_statement "{\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }" { (do_statement "do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);" do (compound_statement "{\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          }" { (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "unaff_s0 = unaff_s0 - 1;" (assignment_expression "unaff_s0 = unaff_s0 - 1" identifier = (binary_expression "unaff_s0 - 1" identifier - number_literal)) ;) (expression_statement "iVar9 = piVar18[1];" (assignment_expression "iVar9 = piVar18[1]" identifier = (subscript_expression "piVar18[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar18 = piVar18 + 1;" (assignment_expression "piVar18 = piVar18 + 1" identifier = (binary_expression "piVar18 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s0 != 0)" ( (binary_expression "unaff_s0 != 0" identifier != number_literal) )) ;) (expression_statement "unaff_s0 = 0;" (assignment_expression "unaff_s0 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = local_38 + (int)piVar10 + 0x3fffffff;" (assignment_expression "piVar2 = local_38 + (int)piVar10 + 0x3fffffff" identifier = (binary_expression "local_38 + (int)piVar10 + 0x3fffffff" (binary_expression "local_38 + (int)piVar10" identifier + (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal)) ;) })) (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" else (compound_statement "{\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" { (expression_statement "*(uint *)(puVar22 + 0x10) = param_4;" (assignment_expression "*(uint *)(puVar22 + 0x10) = param_4" (pointer_expression "*(uint *)(puVar22 + 0x10)" * (cast_expression "(uint *)(puVar22 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + 0x10)" ( (binary_expression "puVar22 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar11 = local_44;" (assignment_expression "piVar11 = local_44" identifier = identifier) ;) (expression_statement "piVar14 = local_3c;" (assignment_expression "piVar14 = local_3c" identifier = identifier) ;) (expression_statement "iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);" (assignment_expression "iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10)" identifier = (call_expression "(*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10)" (parenthesized_expression "(*(code *)PTR___gmpn_rootrem_0009b520)" ( (pointer_expression "*(code *)PTR___gmpn_rootrem_0009b520" * (cast_expression "(code *)PTR___gmpn_rootrem_0009b520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_38,local_44,local_3c,piVar10)" ( identifier , identifier , identifier , identifier )))) ;) }))) (if_statement "if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }" { (expression_statement "local_40 = unaff_s7;" (assignment_expression "local_40 = unaff_s7" identifier = identifier) ;) (if_statement "if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          local_40 = -unaff_s7;\n        }" { (expression_statement "local_40 = -unaff_s7;" (assignment_expression "local_40 = -unaff_s7" identifier = (unary_expression "-unaff_s7" - identifier)) ;) })) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }" if (parenthesized_expression "(param_3 == param_1)" ( (binary_expression "param_3 == param_1" identifier == identifier) )) (compound_statement "{\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }" { (expression_statement "piVar14 = (int *)*local_38;" (assignment_expression "piVar14 = (int *)*local_38" identifier = (cast_expression "(int *)*local_38" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_38" * identifier))) ;) (expression_statement "piVar10 = unaff_s6;" (assignment_expression "piVar10 = unaff_s6" identifier = identifier) ;) (expression_statement "piVar2 = local_3c;" (assignment_expression "piVar2 = local_3c" identifier = identifier) ;) (if_statement "if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" if (parenthesized_expression "(unaff_s6 == (int *)0x0)" ( (binary_expression "unaff_s6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }" { (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s6 = local_3c;" (assignment_expression "unaff_s6 = local_3c" identifier = identifier) ;) }) (else_clause "else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" else (compound_statement "{\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" { (do_statement "do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);" do (compound_statement "{\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            }" { (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "piVar11 = piVar2 + 1;" (assignment_expression "piVar11 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "*piVar2 = (int)piVar14;" (assignment_expression "*piVar2 = (int)piVar14" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar10 = (int *)((int)piVar10 + -1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + -1)" identifier = (cast_expression "(int *)((int)piVar10 + -1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 + -1)" ( (binary_expression "(int)piVar10 + -1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "piVar14 = (int *)*local_38;" (assignment_expression "piVar14 = (int *)*local_38" identifier = (cast_expression "(int *)*local_38" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_38" * identifier))) ;) (expression_statement "piVar2 = piVar11;" (assignment_expression "piVar2 = piVar11" identifier = identifier) ;) }) while (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "unaff_s6 = local_3c + (int)unaff_s6;" (assignment_expression "unaff_s6 = local_3c + (int)unaff_s6" identifier = (binary_expression "local_3c + (int)unaff_s6" identifier + (cast_expression "(int)unaff_s6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "*unaff_s6 = (int)piVar14;" (assignment_expression "*unaff_s6 = (int)piVar14" (pointer_expression "*unaff_s6" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (if_statement "if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }" if (parenthesized_expression "((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0))" ( (binary_expression "(param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)" (parenthesized_expression "(param_3 == param_2)" ( (binary_expression "param_3 == param_2" identifier == identifier) )) && (parenthesized_expression "(iVar7 = iVar9 + -1, iVar9 != 0)" ( (comma_expression "iVar7 = iVar9 + -1, iVar9 != 0" (assignment_expression "iVar7 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }" { (expression_statement "piVar14 = (int *)*local_44;" (assignment_expression "piVar14 = (int *)*local_44" identifier = (cast_expression "(int *)*local_44" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_44" * identifier))) ;) (expression_statement "piVar10 = local_3c;" (assignment_expression "piVar10 = local_3c" identifier = identifier) ;) (if_statement "if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }" { (do_statement "do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);" do (compound_statement "{\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          }" { (expression_statement "local_44 = local_44 + 1;" (assignment_expression "local_44 = local_44 + 1" identifier = (binary_expression "local_44 + 1" identifier + number_literal)) ;) (expression_statement "piVar11 = piVar10 + 1;" (assignment_expression "piVar11 = piVar10 + 1" identifier = (binary_expression "piVar10 + 1" identifier + number_literal)) ;) (expression_statement "*piVar10 = (int)piVar14;" (assignment_expression "*piVar10 = (int)piVar14" (pointer_expression "*piVar10" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar14 = (int *)*local_44;" (assignment_expression "piVar14 = (int *)*local_44" identifier = (cast_expression "(int *)*local_44" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_44" * identifier))) ;) (expression_statement "piVar10 = piVar11;" (assignment_expression "piVar10 = piVar11" identifier = identifier) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) (expression_statement "local_3c = local_3c + iVar9 + 0x3fffffff;" (assignment_expression "local_3c = local_3c + iVar9 + 0x3fffffff" identifier = (binary_expression "local_3c + iVar9 + 0x3fffffff" (binary_expression "local_3c + iVar9" identifier + identifier) + number_literal)) ;) })) (expression_statement "*local_3c = (int)piVar14;" (assignment_expression "*local_3c = (int)piVar14" (pointer_expression "*local_3c" * identifier) = (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (if_statement "if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }" if (parenthesized_expression "((int)piVar15 < 0)" ( (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        iVar9 = -iVar9;\n      }" { (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" identifier = (unary_expression "-iVar9" - identifier)) ;) })) (expression_statement "param_2[1] = iVar9;" (assignment_expression "param_2[1] = iVar9" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10 = local_30;" (assignment_expression "piVar10 = local_30" identifier = identifier) ;) (if_statement "if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }" if (parenthesized_expression "(local_30 != (int *)0x0)" ( (binary_expression "local_30 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_0009b614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_0009b614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) }))) (expression_statement "puVar23 = puVar22;" (assignment_expression "puVar23 = puVar22" identifier = identifier) ;) (if_statement "if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }" if (parenthesized_expression "(local_2c == *(int **)PTR___stack_chk_guard_0009b540)" ( (binary_expression "local_2c == *(int **)PTR___stack_chk_guard_0009b540" identifier == (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" * (cast_expression "(int **)PTR___stack_chk_guard_0009b540" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }" { (return_statement "return *(int **)PTR___stack_chk_guard_0009b540;" return (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" * (cast_expression "(int **)PTR___stack_chk_guard_0009b540" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) })) }))) (expression_statement "uVar24 = 0x33338;" (assignment_expression "uVar24 = 0x33338" identifier = number_literal) ;) (expression_statement "puVar19 = PTR___stack_chk_fail_0009b4d0;" (assignment_expression "puVar19 = PTR___stack_chk_fail_0009b4d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0009b4d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0009b4d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0009b4d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0009b4d0" * (cast_expression "(code *)PTR___stack_chk_fail_0009b4d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar21 = puVar19 + 0x6fd00;" (assignment_expression "puVar21 = puVar19 + 0x6fd00" identifier = (binary_expression "puVar19 + 0x6fd00" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar23 + -4) = uVar24;" (assignment_expression "*(undefined4 *)(puVar23 + -4) = uVar24" (pointer_expression "*(undefined4 *)(puVar23 + -4)" * (cast_expression "(undefined4 *)(puVar23 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -4)" ( (binary_expression "puVar23 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar23 + -8) = auStack_68;" (assignment_expression "*(undefined1 **)(puVar23 + -8) = auStack_68" (pointer_expression "*(undefined1 **)(puVar23 + -8)" * (cast_expression "(undefined1 **)(puVar23 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -8)" ( (binary_expression "puVar23 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar23 + -0xc) = unaff_s7;" (assignment_expression "*(int *)(puVar23 + -0xc) = unaff_s7" (pointer_expression "*(int *)(puVar23 + -0xc)" * (cast_expression "(int *)(puVar23 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0xc)" ( (binary_expression "puVar23 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x10) = unaff_s6;" (assignment_expression "*(int **)(puVar23 + -0x10) = unaff_s6" (pointer_expression "*(int **)(puVar23 + -0x10)" * (cast_expression "(int **)(puVar23 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x10)" ( (binary_expression "puVar23 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x14) = param_2;" (assignment_expression "*(int **)(puVar23 + -0x14) = param_2" (pointer_expression "*(int **)(puVar23 + -0x14)" * (cast_expression "(int **)(puVar23 + -0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x14)" ( (binary_expression "puVar23 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar23 + -0x18) = param_4;" (assignment_expression "*(uint *)(puVar23 + -0x18) = param_4" (pointer_expression "*(uint *)(puVar23 + -0x18)" * (cast_expression "(uint *)(puVar23 + -0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x18)" ( (binary_expression "puVar23 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x1c) = param_1;" (assignment_expression "*(int **)(puVar23 + -0x1c) = param_1" (pointer_expression "*(int **)(puVar23 + -0x1c)" * (cast_expression "(int **)(puVar23 + -0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x1c)" ( (binary_expression "puVar23 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x20) = param_3;" (assignment_expression "*(int **)(puVar23 + -0x20) = param_3" (pointer_expression "*(int **)(puVar23 + -0x20)" * (cast_expression "(int **)(puVar23 + -0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x20)" ( (binary_expression "puVar23 + -0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar23 + -0x24) = piVar15;" (assignment_expression "*(int **)(puVar23 + -0x24) = piVar15" (pointer_expression "*(int **)(puVar23 + -0x24)" * (cast_expression "(int **)(puVar23 + -0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x24)" ( (binary_expression "puVar23 + -0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar23 + -0x28) = unaff_s0;" (assignment_expression "*(uint *)(puVar23 + -0x28) = unaff_s0" (pointer_expression "*(uint *)(puVar23 + -0x28)" * (cast_expression "(uint *)(puVar23 + -0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x28)" ( (binary_expression "puVar23 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)(puVar23 + -0x38) = puVar21;" (assignment_expression "*(undefined **)(puVar23 + -0x38) = puVar21" (pointer_expression "*(undefined **)(puVar23 + -0x38)" * (cast_expression "(undefined **)(puVar23 + -0x38)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);" (assignment_expression "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200)" (pointer_expression "*(undefined4 *)(puVar23 + -0x2c)" * (cast_expression "(undefined4 *)(puVar23 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x2c)" ( (binary_expression "puVar23 + -0x2c" identifier + number_literal) )))) = (pointer_expression "**(undefined4 **)(puVar19 + 0x68200)" * (pointer_expression "*(undefined4 **)(puVar19 + 0x68200)" * (cast_expression "(undefined4 **)(puVar19 + 0x68200)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + 0x68200)" ( (binary_expression "puVar19 + 0x68200" identifier + number_literal) )))))) ;) (expression_statement "uVar17 = (int)piVar14 + 0x1fU >> 5;" (assignment_expression "uVar17 = (int)piVar14 + 0x1fU >> 5" identifier = (binary_expression "(int)piVar14 + 0x1fU >> 5" (binary_expression "(int)piVar14 + 0x1fU" (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) >> number_literal)) ;) (expression_statement "piVar15 = piVar10;" (assignment_expression "piVar15 = piVar10" identifier = identifier) ;) (expression_statement "piVar2 = piVar11;" (assignment_expression "piVar2 = piVar11" identifier = identifier) ;) (if_statement "if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }" if (parenthesized_expression "(piVar14 != (int *)0x0)" ( (binary_expression "piVar14 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }" { (if_statement "if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }" if (parenthesized_expression "(*piVar10 < (int)uVar17)" ( (binary_expression "*piVar10 < (int)uVar17" (pointer_expression "*piVar10" * identifier) < (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }" { (expression_statement "iVar9 = (**(code **)(puVar19 + 0x6827c))();" (assignment_expression "iVar9 = (**(code **)(puVar19 + 0x6827c))()" identifier = (call_expression "(**(code **)(puVar19 + 0x6827c))()" (parenthesized_expression "(**(code **)(puVar19 + 0x6827c))" ( (pointer_expression "**(code **)(puVar19 + 0x6827c)" * (pointer_expression "*(code **)(puVar19 + 0x6827c)" * (cast_expression "(code **)(puVar19 + 0x6827c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + 0x6827c)" ( (binary_expression "puVar19 + 0x6827c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n      iVar9 = piVar10[2];\n    }" else (compound_statement "{\n      iVar9 = piVar10[2];\n    }" { (expression_statement "iVar9 = piVar10[2];" (assignment_expression "iVar9 = piVar10[2]" identifier = (subscript_expression "piVar10[2]" identifier [ number_literal ])) ;) }))) (expression_statement "*(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);" (assignment_expression "*(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU)" (pointer_expression "*(uint *)(iVar9 + (uVar17 - 1) * 4)" * (cast_expression "(uint *)(iVar9 + (uVar17 - 1) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (uVar17 - 1) * 4)" ( (binary_expression "iVar9 + (uVar17 - 1) * 4" identifier + (binary_expression "(uVar17 - 1) * 4" (parenthesized_expression "(uVar17 - 1)" ( (binary_expression "uVar17 - 1" identifier - number_literal) )) * number_literal)) )))) = (binary_expression "0xffffffff >> (-(int)piVar14 & 0x1fU)" number_literal >> (parenthesized_expression "(-(int)piVar14 & 0x1fU)" ( (binary_expression "-(int)piVar14 & 0x1fU" (unary_expression "-(int)piVar14" - (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) )))) ;) (expression_statement "iVar7 = uVar17 - 2;" (assignment_expression "iVar7 = uVar17 - 2" identifier = (binary_expression "uVar17 - 2" identifier - number_literal)) ;) (if_statement "if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }" { (expression_statement "iVar3 = iVar9 + uVar17 * 4;" (assignment_expression "iVar3 = iVar9 + uVar17 * 4" identifier = (binary_expression "iVar9 + uVar17 * 4" identifier + (binary_expression "uVar17 * 4" identifier * number_literal))) ;) (do_statement "do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);" do (compound_statement "{\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      }" { (expression_statement "*(undefined4 *)(iVar3 + -8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar3 + -8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar3 + -8)" * (cast_expression "(undefined4 *)(iVar3 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -8)" ( (binary_expression "iVar3 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar3 = iVar3 + -4;" (assignment_expression "iVar3 = iVar3 + -4" identifier = (binary_expression "iVar3 + -4" identifier + number_literal)) ;) }) while (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) ;) })) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" ( (pointer_expression "**(code **)(piVar11[4] + 4)" * (pointer_expression "*(code **)(piVar11[4] + 4)" * (cast_expression "(code **)(piVar11[4] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11[4] + 4)" ( (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(piVar11,puVar23 + -0x30,0x20)" ( identifier , (binary_expression "puVar23 + -0x30" identifier + number_literal) , number_literal ))) ;) (expression_statement "piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);" (assignment_expression "piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1)" identifier = (cast_expression "(int *)((*(uint *)(puVar23 + -0x30) & 3) + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((*(uint *)(puVar23 + -0x30) & 3) + 1)" ( (binary_expression "(*(uint *)(puVar23 + -0x30) & 3) + 1" (parenthesized_expression "(*(uint *)(puVar23 + -0x30) & 3)" ( (binary_expression "*(uint *)(puVar23 + -0x30) & 3" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) & number_literal) )) + number_literal) )))) ;) (if_statement "if (piVar15 == (int *)0x0) {\n      trap(7);\n    }" if (parenthesized_expression "(piVar15 == (int *)0x0)" ( (binary_expression "piVar15 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;" (assignment_expression "uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15" identifier = (binary_expression "(uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15" (call_expression "(uint)(piVar14 < piVar15)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar14 < piVar15)" ( (binary_expression "piVar14 < piVar15" identifier < identifier) ))) + (binary_expression "(uint)piVar14 / (uint)piVar15" (cast_expression "(uint)piVar14" ( (type_descriptor "uint" type_identifier) ) identifier) / (cast_expression "(uint)piVar15" ( (type_descriptor "uint" type_identifier) ) identifier)))) ;) (expression_statement "piVar18 = (int *)(puVar23 + -0x30);" (assignment_expression "piVar18 = (int *)(puVar23 + -0x30)" identifier = (cast_expression "(int *)(puVar23 + -0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) ;) (do_statement "do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);" do (compound_statement "{\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    }" { (expression_statement "piVar15 = piVar11;" (assignment_expression "piVar15 = piVar11" identifier = identifier) ;) (expression_statement "piVar2 = piVar18;" (assignment_expression "piVar2 = piVar18" identifier = identifier) ;) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" ( (pointer_expression "**(code **)(piVar11[4] + 4)" * (pointer_expression "*(code **)(piVar11[4] + 4)" * (cast_expression "(code **)(piVar11[4] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11[4] + 4)" ( (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(piVar11,piVar18,0x20)" ( identifier , identifier , number_literal ))) ;) (expression_statement "puVar21 = *(undefined **)(puVar23 + -0x38);" (assignment_expression "puVar21 = *(undefined **)(puVar23 + -0x38)" identifier = (pointer_expression "*(undefined **)(puVar23 + -0x38)" * (cast_expression "(undefined **)(puVar23 + -0x38)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) ))))) ;) (if_statement "if (uVar16 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 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 "uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);" (assignment_expression "uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" identifier = (binary_expression "(int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) ))))) ;) (if_statement "if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;" if (parenthesized_expression "((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0))" ( (binary_expression "(piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)" (parenthesized_expression "(piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1))" ( (binary_expression "piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" identifier < (cast_expression "(int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) )))) )) || (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);" (assignment_expression "puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4)" identifier = (cast_expression "(uint *)(iVar9 + (uVar13 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (uVar13 >> 5) * 4)" ( (binary_expression "iVar9 + (uVar13 >> 5) * 4" identifier + (binary_expression "(uVar13 >> 5) * 4" (parenthesized_expression "(uVar13 >> 5)" ( (binary_expression "uVar13 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "*puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);" (assignment_expression "*puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f)" (pointer_expression "*puVar5" * identifier) = (binary_expression "*puVar5 ^ 1 << (uVar13 & 0x1f)" (pointer_expression "*puVar5" * identifier) ^ (binary_expression "1 << (uVar13 & 0x1f)" number_literal << (parenthesized_expression "(uVar13 & 0x1f)" ( (binary_expression "uVar13 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "piVar2 = piVar18;" (assignment_expression "piVar2 = piVar18" identifier = identifier) ;) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" ( (pointer_expression "**(code **)(piVar11[4] + 4)" * (pointer_expression "*(code **)(piVar11[4] + 4)" * (cast_expression "(code **)(piVar11[4] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar11[4] + 4)" ( (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(piVar11,piVar18,0x20)" ( identifier , identifier , number_literal ))) ;) (expression_statement "puVar21 = *(undefined **)(puVar23 + -0x38);" (assignment_expression "puVar21 = *(undefined **)(puVar23 + -0x38)" identifier = (pointer_expression "*(undefined **)(puVar23 + -0x38)" * (cast_expression "(undefined **)(puVar23 + -0x38)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x38)" ( (binary_expression "puVar23 + -0x38" identifier + number_literal) ))))) ;) (if_statement "if (uVar16 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 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 "piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));" (assignment_expression "piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" identifier = (cast_expression "(int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" ( (binary_expression "uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1)" identifier - (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal) ))) )))) ;) (if_statement "if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }" if (parenthesized_expression "(uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1)" ( (binary_expression "uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1" identifier < (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" * (cast_expression "(uint *)(puVar23 + -0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + -0x30)" ( (binary_expression "puVar23 + -0x30" identifier + number_literal) )))) % identifier) + number_literal)) )) (compound_statement "{\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }" { (expression_statement "piVar14 = (int *)0x0;" (assignment_expression "piVar14 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar13 = (uint)piVar14 >> 5;\n      }" else (compound_statement "{\n        uVar13 = (uint)piVar14 >> 5;\n      }" { (expression_statement "uVar13 = (uint)piVar14 >> 5;" (assignment_expression "uVar13 = (uint)piVar14 >> 5" identifier = (binary_expression "(uint)piVar14 >> 5" (cast_expression "(uint)piVar14" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal)) ;) }))) (expression_statement "piVar4 = (int *)(iVar9 + uVar13 * 4);" (assignment_expression "piVar4 = (int *)(iVar9 + uVar13 * 4)" identifier = (cast_expression "(int *)(iVar9 + uVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar13 * 4)" ( (binary_expression "iVar9 + uVar13 * 4" identifier + (binary_expression "uVar13 * 4" identifier * number_literal)) )))) ;) (expression_statement "piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));" (assignment_expression "piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f))" identifier = (cast_expression "(int *)(1 << ((uint)piVar14 & 0x1f))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(1 << ((uint)piVar14 & 0x1f))" ( (binary_expression "1 << ((uint)piVar14 & 0x1f)" number_literal << (parenthesized_expression "((uint)piVar14 & 0x1f)" ( (binary_expression "(uint)piVar14 & 0x1f" (cast_expression "(uint)piVar14" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "piVar15 = (int *)((int)piVar8 + *piVar4);" (assignment_expression "piVar15 = (int *)((int)piVar8 + *piVar4)" identifier = (cast_expression "(int *)((int)piVar8 + *piVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar8 + *piVar4)" ( (binary_expression "(int)piVar8 + *piVar4" (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*piVar4" * identifier)) )))) ;) (expression_statement "*piVar4 = (int)piVar15;" (assignment_expression "*piVar4 = (int)piVar15" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)piVar15" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }" if (parenthesized_expression "(piVar15 < piVar8)" ( (binary_expression "piVar15 < piVar8" identifier < identifier) )) (compound_statement "{\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }" { (do_statement "do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);" do (compound_statement "{\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        }" { (expression_statement "piVar4 = piVar4 + 1;" (assignment_expression "piVar4 = piVar4 + 1" identifier = (binary_expression "piVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = *piVar4;" (assignment_expression "iVar7 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "*piVar4 = iVar7 + 1;" (assignment_expression "*piVar4 = iVar7 + 1" (pointer_expression "*piVar4" * identifier) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 + 1 == 0)" ( (binary_expression "iVar7 + 1 == 0" (binary_expression "iVar7 + 1" identifier + number_literal) == number_literal) )) ;) })) }) while (parenthesized_expression "(piVar14 != (int *)0x0)" ( (binary_expression "piVar14 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "piVar10[1] = uVar17;" (assignment_expression "piVar10[1] = uVar17" (subscript_expression "piVar10[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }" if (parenthesized_expression "(*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00))" ( (binary_expression "*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)" (pointer_expression "*(int **)(puVar23 + -0x2c)" * (cast_expression "(int **)(puVar23 + -0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + -0x2c)" ( (binary_expression "puVar23 + -0x2c" identifier + number_literal) )))) == (cast_expression "(int *)**(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(puVar21 + -0x7b00)" * (pointer_expression "*(int **)(puVar21 + -0x7b00)" * (cast_expression "(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + -0x7b00)" ( (binary_expression "puVar21 + -0x7b00" identifier + number_literal) ))))))) )) (compound_statement "{\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }" { (return_statement "return (int *)**(int **)(puVar21 + -0x7b00);" return (cast_expression "(int *)**(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(puVar21 + -0x7b00)" * (pointer_expression "*(int **)(puVar21 + -0x7b00)" * (cast_expression "(int **)(puVar21 + -0x7b00)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + -0x7b00)" ( (binary_expression "puVar21 + -0x7b00" identifier + number_literal) )))))) ;) })) (expression_statement "pcVar20 = *(code **)(puVar21 + -0x7b70);" (assignment_expression "pcVar20 = *(code **)(puVar21 + -0x7b70)" identifier = (pointer_expression "*(code **)(puVar21 + -0x7b70)" * (cast_expression "(code **)(puVar21 + -0x7b70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + -0x7b70)" ( (binary_expression "puVar21 + -0x7b70" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar20)();" (call_expression "(*pcVar20)()" (parenthesized_expression "(*pcVar20)" ( (pointer_expression "*pcVar20" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar7 = piVar15[1];" (assignment_expression "iVar7 = piVar15[1]" identifier = (subscript_expression "piVar15[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar9 = -iVar7;\n  }" { (expression_statement "iVar9 = -iVar7;" (assignment_expression "iVar9 = -iVar7" identifier = (unary_expression "-iVar7" - identifier)) ;) })) (if_statement "if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }" if (parenthesized_expression "(iVar9 <= (int)((uint)piVar2 >> 5))" ( (binary_expression "iVar9 <= (int)((uint)piVar2 >> 5)" identifier <= (cast_expression "(int)((uint)piVar2 >> 5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)piVar2 >> 5)" ( (binary_expression "(uint)piVar2 >> 5" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) )) (compound_statement "{\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }" { (expression_statement "piVar11 = (int *)0xffffffff;" (assignment_expression "piVar11 = (int *)0xffffffff" identifier = (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n      piVar11 = piVar2;\n    }" { (expression_statement "piVar11 = piVar2;" (assignment_expression "piVar11 = piVar2" identifier = identifier) ;) })) (return_statement "return piVar11;" return identifier ;) })) (expression_statement "puVar6 = (uint *)piVar15[2];" (assignment_expression "puVar6 = (uint *)piVar15[2]" identifier = (cast_expression "(uint *)piVar15[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar15[2]" identifier [ number_literal ]))) ;) (expression_statement "puVar5 = puVar6 + ((uint)piVar2 >> 5);" (assignment_expression "puVar5 = puVar6 + ((uint)piVar2 >> 5)" identifier = (binary_expression "puVar6 + ((uint)piVar2 >> 5)" identifier + (parenthesized_expression "((uint)piVar2 >> 5)" ( (binary_expression "(uint)piVar2 >> 5" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (if_statement "if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }" { (if_statement "if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" if (parenthesized_expression "(puVar6 == puVar5)" ( (binary_expression "puVar6 == puVar5" identifier == identifier) )) (compound_statement "{\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }" { (labeled_statement "LAB_000336ac:\n      uVar17 = uVar17 - 1;" statement_identifier : (expression_statement "uVar17 = uVar17 - 1;" (assignment_expression "uVar17 = uVar17 - 1" identifier = (binary_expression "uVar17 - 1" identifier - number_literal)) ;)) }) (else_clause "else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" else (compound_statement "{\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" { (expression_statement "puVar12 = puVar5 + -1;" (assignment_expression "puVar12 = puVar5 + -1" identifier = (binary_expression "puVar5 + -1" identifier + number_literal)) ;) (expression_statement "uVar16 = puVar5[-1];" (assignment_expression "uVar16 = puVar5[-1]" identifier = (subscript_expression "puVar5[-1]" identifier [ number_literal ])) ;) (while_statement "while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }" while (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }" { (expression_statement "bVar1 = puVar6 == puVar12;" (assignment_expression "bVar1 = puVar6 == puVar12" identifier = (binary_expression "puVar6 == puVar12" identifier == identifier)) ;) (expression_statement "puVar12 = puVar12 + -1;" (assignment_expression "puVar12 = puVar12 + -1" identifier = (binary_expression "puVar12 + -1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_000336ac;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_000336ac;" goto statement_identifier ;)) (expression_statement "uVar16 = *puVar12;" (assignment_expression "uVar16 = *puVar12" identifier = (pointer_expression "*puVar12" * identifier)) ;) })) }))) (expression_statement "uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;" (assignment_expression "uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17" identifier = (binary_expression "-1 << ((uint)piVar2 & 0x1f) & uVar17" (binary_expression "-1 << ((uint)piVar2 & 0x1f)" number_literal << (parenthesized_expression "((uint)piVar2 & 0x1f)" ( (binary_expression "(uint)piVar2 & 0x1f" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) & identifier)) ;) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" identifier = (binary_expression "uVar17 & 0xff" identifier & number_literal)) ;) (if_statement "if (uVar17 != 0) goto LAB_0003367c;" if (parenthesized_expression "(uVar17 != 0)" ( (binary_expression "uVar17 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003367c;" goto statement_identifier ;)) (expression_statement "puVar12 = puVar5 + 1;" (assignment_expression "puVar12 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }" if (parenthesized_expression "(puVar6 + iVar9 == puVar12)" ( (binary_expression "puVar6 + iVar9 == puVar12" (binary_expression "puVar6 + iVar9" identifier + identifier) == identifier) )) (compound_statement "{\n      return (int *)0xffffffff;\n    }" { (return_statement "return (int *)0xffffffff;" return (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "uVar17 = puVar5[1];" (assignment_expression "uVar17 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = puVar12;" (assignment_expression "puVar5 = puVar12" identifier = identifier) ;) (if_statement "if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }" if (parenthesized_expression "(uVar17 == 0)" ( (binary_expression "uVar17 == 0" identifier == number_literal) )) (compound_statement "{\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }" { (do_statement "do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);" do (compound_statement "{\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }) while (parenthesized_expression "(uVar17 == 0)" ( (binary_expression "uVar17 == 0" identifier == number_literal) )) ;) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" identifier = (binary_expression "uVar17 & 0xff" identifier & number_literal)) ;) (goto_statement "goto LAB_0003367c;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" else (compound_statement "{\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" { (expression_statement "uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;" (assignment_expression "uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17" identifier = (binary_expression "(1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17" (binary_expression "(1 << ((uint)piVar2 & 0x1f)) - 1U" (parenthesized_expression "(1 << ((uint)piVar2 & 0x1f))" ( (binary_expression "1 << ((uint)piVar2 & 0x1f)" number_literal << (parenthesized_expression "((uint)piVar2 & 0x1f)" ( (binary_expression "(uint)piVar2 & 0x1f" (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) )) - number_literal) | identifier)) ;) (while_statement "while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }" while (parenthesized_expression "(uVar17 == 0xffffffff)" ( (binary_expression "uVar17 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }" if (parenthesized_expression "(puVar5 == puVar6 + iVar9)" ( (binary_expression "puVar5 == puVar6 + iVar9" identifier == (binary_expression "puVar6 + iVar9" identifier + identifier)) )) (compound_statement "{\n        return (int *)(iVar9 << 5);\n      }" { (return_statement "return (int *)(iVar9 << 5);" return (cast_expression "(int *)(iVar9 << 5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 << 5)" ( (binary_expression "iVar9 << 5" identifier << number_literal) ))) ;) })) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) })) (expression_statement "uVar17 = ~uVar17;" (assignment_expression "uVar17 = ~uVar17" identifier = (unary_expression "~uVar17" ~ identifier)) ;) }))) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" identifier = (binary_expression "uVar17 & 0xff" identifier & number_literal)) ;) (labeled_statement "LAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" statement_identifier : (if_statement "if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }" { (expression_statement "uVar16 = uVar17 >> 8;" (assignment_expression "uVar16 = uVar17 >> 8" identifier = (binary_expression "uVar17 >> 8" identifier >> number_literal)) ;) (expression_statement "iVar9 = 6;" (assignment_expression "iVar9 = 6" identifier = number_literal) ;) (if_statement "if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }" if (parenthesized_expression "((uVar16 & 0xff) == 0)" ( (binary_expression "(uVar16 & 0xff) == 0" (parenthesized_expression "(uVar16 & 0xff)" ( (binary_expression "uVar16 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }" { (expression_statement "uVar16 = uVar17 >> 0x10;" (assignment_expression "uVar16 = uVar17 >> 0x10" identifier = (binary_expression "uVar17 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar9 = 0xe;" (assignment_expression "iVar9 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }" if (parenthesized_expression "((uVar16 & 0xff) == 0)" ( (binary_expression "(uVar16 & 0xff) == 0" (parenthesized_expression "(uVar16 & 0xff)" ( (binary_expression "uVar16 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }" { (expression_statement "uVar16 = uVar17 >> 0x18;" (assignment_expression "uVar16 = uVar17 >> 0x18" identifier = (binary_expression "uVar17 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar9 = 0x1e;" (assignment_expression "iVar9 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }" if (parenthesized_expression "(uVar16 != 0)" ( (binary_expression "uVar16 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar9 = 0x16;\n        }" { (expression_statement "iVar9 = 0x16;" (assignment_expression "iVar9 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;" (assignment_expression "iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9" identifier = (binary_expression "(uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9" (binary_expression "(uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" ( (binary_expression "*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)" (pointer_expression "*(int *)(pcVar20 + 0x67bec)" * (cast_expression "(int *)(pcVar20 + 0x67bec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar20 + 0x67bec)" ( (binary_expression "pcVar20 + 0x67bec" identifier + number_literal) )))) + (parenthesized_expression "(-uVar16 & uVar16)" ( (binary_expression "-uVar16 & uVar16" (unary_expression "-uVar16" - identifier) & identifier) ))) )))) + identifier)) ;) }) (else_clause "else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" else (compound_statement "{\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" { (expression_statement "iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;" (assignment_expression "iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2" identifier = (binary_expression "*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2" (pointer_expression "*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" * (cast_expression "(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" ( (binary_expression "*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)" (pointer_expression "*(int *)(pcVar20 + 0x67bec)" * (cast_expression "(int *)(pcVar20 + 0x67bec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar20 + 0x67bec)" ( (binary_expression "pcVar20 + 0x67bec" identifier + number_literal) )))) + (parenthesized_expression "(-uVar17 & uVar17)" ( (binary_expression "-uVar17 & uVar17" (unary_expression "-uVar17" - identifier) & identifier) ))) )))) - number_literal)) ;) })))) (return_statement "return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);" return (cast_expression "(int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9)" ( (binary_expression "((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9" (binary_expression "((int)puVar5 - (int)puVar6 >> 2) * 0x20" (parenthesized_expression "((int)puVar5 - (int)puVar6 >> 2)" ( (binary_expression "(int)puVar5 - (int)puVar6 >> 2" (binary_expression "(int)puVar5 - (int)puVar6" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) * number_literal) + identifier) ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT / IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (compound_statement { (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_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 IDENT = IDENT) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (unary_expression - (cast_expression ( (type_descriptor TYPE) ) 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) ))))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }))) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ;) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (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 IDENT = (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 * (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 * (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) )))) = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (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 ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) * LIT)) )))) = (binary_expression LIT >> (parenthesized_expression ( (binary_expression (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( IDENT , 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) ))))) ;) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT) + LIT) )))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (break_statement break ;)) (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 >> LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( IDENT , 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT - (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT) + LIT) ))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (while_statement while (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)) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) == IDENT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )) - LIT) | IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + IDENT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (parenthesized_expression ( (binary_expression (unary_expression - IDENT) & IDENT) ))) )))) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (parenthesized_expression ( (binary_expression (unary_expression - IDENT) & IDENT) ))) )))) - LIT)) ;) })))) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )) * LIT) + IDENT) ))) ;) })))
(function_definition "int * __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}" (primitive_type "int") (pointer_declarator "* __gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)" (* "*") (function_declarator "__gmpz_rootrem(int *param_1,int *param_2,int *param_3,uint param_4)" (identifier "__gmpz_rootrem") (parameter_list "(int *param_1,int *param_2,int *param_3,uint param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")")))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  uint *puVar5;\n  uint *puVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int *piVar11;\n  uint *puVar12;\n  uint unaff_s0;\n  uint uVar13;\n  int *piVar14;\n  int *piVar15;\n  uint uVar16;\n  uint uVar17;\n  int *unaff_s6;\n  int unaff_s7;\n  int *piVar18;\n  undefined *puVar19;\n  code *pcVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  undefined1 *puVar23;\n  undefined4 uVar24;\n  undefined1 auStack_68 [24];\n  int *local_44;\n  int local_40;\n  int *local_3c;\n  int *local_38;\n  int *local_30;\n  int *local_2c;\n  \n  puVar23 = auStack_68;\n  puVar22 = auStack_68;\n  local_2c = *(int **)PTR___stack_chk_guard_0009b540;\n  piVar15 = (int *)param_3[1];\n  piVar10 = param_1;\n  piVar11 = param_2;\n  piVar14 = param_3;\n  if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }\n  uVar24 = 0x33338;\n  puVar19 = PTR___stack_chk_fail_0009b4d0;\n  (*(code *)PTR___stack_chk_fail_0009b4d0)();\n  puVar21 = puVar19 + 0x6fd00;\n  *(undefined4 *)(puVar23 + -4) = uVar24;\n  *(undefined1 **)(puVar23 + -8) = auStack_68;\n  *(int *)(puVar23 + -0xc) = unaff_s7;\n  *(int **)(puVar23 + -0x10) = unaff_s6;\n  *(int **)(puVar23 + -0x14) = param_2;\n  *(uint *)(puVar23 + -0x18) = param_4;\n  *(int **)(puVar23 + -0x1c) = param_1;\n  *(int **)(puVar23 + -0x20) = param_3;\n  *(int **)(puVar23 + -0x24) = piVar15;\n  *(uint *)(puVar23 + -0x28) = unaff_s0;\n  *(undefined **)(puVar23 + -0x38) = puVar21;\n  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);\n  uVar17 = (int)piVar14 + 0x1fU >> 5;\n  piVar15 = piVar10;\n  piVar2 = piVar11;\n  if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }\n  piVar10[1] = uVar17;\n  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }\n  pcVar20 = *(code **)(puVar21 + -0x7b70);\n  (*pcVar20)();\n  iVar7 = piVar15[1];\n  iVar9 = iVar7;\n  if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }\n  if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }\n  puVar6 = (uint *)piVar15[2];\n  puVar5 = puVar6 + ((uint)piVar2 >> 5);\n  uVar17 = *puVar5;\n  if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }\n  uVar16 = uVar17 & 0xff;\nLAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }\n  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "uint *puVar12;" (type_identifier "uint") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "uint unaff_s0;" (type_identifier "uint") (identifier "unaff_s0") (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "int *piVar15;" (primitive_type "int") (pointer_declarator "*piVar15" (* "*") (identifier "piVar15")) (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "uint uVar17;" (type_identifier "uint") (identifier "uVar17") (; ";")) (declaration "int *unaff_s6;" (primitive_type "int") (pointer_declarator "*unaff_s6" (* "*") (identifier "unaff_s6")) (; ";")) (declaration "int unaff_s7;" (primitive_type "int") (identifier "unaff_s7") (; ";")) (declaration "int *piVar18;" (primitive_type "int") (pointer_declarator "*piVar18" (* "*") (identifier "piVar18")) (; ";")) (declaration "undefined *puVar19;" (type_identifier "undefined") (pointer_declarator "*puVar19" (* "*") (identifier "puVar19")) (; ";")) (declaration "code *pcVar20;" (type_identifier "code") (pointer_declarator "*pcVar20" (* "*") (identifier "pcVar20")) (; ";")) (declaration "undefined *puVar21;" (type_identifier "undefined") (pointer_declarator "*puVar21" (* "*") (identifier "puVar21")) (; ";")) (declaration "undefined1 *puVar22;" (type_identifier "undefined1") (pointer_declarator "*puVar22" (* "*") (identifier "puVar22")) (; ";")) (declaration "undefined1 *puVar23;" (type_identifier "undefined1") (pointer_declarator "*puVar23" (* "*") (identifier "puVar23")) (; ";")) (declaration "undefined4 uVar24;" (type_identifier "undefined4") (identifier "uVar24") (; ";")) (declaration "undefined1 auStack_68 [24];" (type_identifier "undefined1") (array_declarator "auStack_68 [24]" (identifier "auStack_68") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "int *local_44;" (primitive_type "int") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "int *local_3c;" (primitive_type "int") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "int *local_38;" (primitive_type "int") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "puVar23 = auStack_68;" (assignment_expression "puVar23 = auStack_68" (identifier "puVar23") (= "=") (identifier "auStack_68")) (; ";")) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" (identifier "puVar22") (= "=") (identifier "auStack_68")) (; ";")) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0009b540;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0009b540" (identifier "local_2c") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_0009b540" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0009b540")))) (; ";")) (expression_statement "piVar15 = (int *)param_3[1];" (assignment_expression "piVar15 = (int *)param_3[1]" (identifier "piVar15") (= "=") (cast_expression "(int *)param_3[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar10 = param_1;" (assignment_expression "piVar10 = param_1" (identifier "piVar10") (= "=") (identifier "param_1")) (; ";")) (expression_statement "piVar11 = param_2;" (assignment_expression "piVar11 = param_2" (identifier "piVar11") (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar14 = param_3;" (assignment_expression "piVar14 = param_3" (identifier "piVar14") (= "=") (identifier "param_3")) (; ";")) (if_statement "if ((int)piVar15 < 0) {\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }\n  else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" (if "if") (parenthesized_expression "((int)piVar15 < 0)" (( "(") (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }\n    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();\n  }" ({ "{") (if_statement "if ((param_4 & 1) != 0) {\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }" (if "if") (parenthesized_expression "((param_4 & 1) != 0)" (( "(") (binary_expression "(param_4 & 1) != 0" (parenthesized_expression "(param_4 & 1)" (( "(") (binary_expression "param_4 & 1" (identifier "param_4") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_4 != 0) goto LAB_00032fd8;\n      goto LAB_00033040;\n    }" ({ "{") (if_statement "if (param_4 != 0) goto LAB_00032fd8;" (if "if") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00032fd8;" (goto "goto") (statement_identifier "LAB_00032fd8") (; ";"))) (goto_statement "goto LAB_00033040;" (goto "goto") (statement_identifier "LAB_00033040") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();" (call_expression "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)()" (parenthesized_expression "(*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)" (( "(") (pointer_expression "*(code *)PTR___gmp_sqrt_of_negative_0009b1cc" (* "*") (cast_expression "(code *)PTR___gmp_sqrt_of_negative_0009b1cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_sqrt_of_negative_0009b1cc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" (else "else") (compound_statement "{\n    if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }\n    puVar23 = puVar22;\n    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }\n  }" ({ "{") (if_statement "if (param_4 == 0) {\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }\n    else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();\nLAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }\n      param_2[1] = 0;\n    }" ({ "{") (labeled_statement "LAB_00033040:\n      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();" (statement_identifier "LAB_00033040") (: ":") (expression_statement "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)();" (call_expression "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)()" (parenthesized_expression "(*(code *)PTR___gmp_divide_by_zero_0009b5dc)" (( "(") (pointer_expression "*(code *)PTR___gmp_divide_by_zero_0009b5dc" (* "*") (cast_expression "(code *)PTR___gmp_divide_by_zero_0009b5dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_divide_by_zero_0009b5dc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";"))) (labeled_statement "LAB_00033048:\n      if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }" (statement_identifier "LAB_00033048") (: ":") (if_statement "if (param_1 != (int *)0x0) {\n        param_1[1] = 0;\n      }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        param_1[1] = 0;\n      }" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" (else "else") (compound_statement "{\n      if (piVar15 == (int *)0x0) goto LAB_00033048;\nLAB_00032fd8:\n      piVar10 = piVar15;\n      if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }\n      unaff_s0 = (int)piVar10 - 1;\n      if (param_4 == 0) {\n        trap(7);\n      }\n      unaff_s6 = (int *)(unaff_s0 / param_4);\n      unaff_s7 = (int)unaff_s6 + 1;\n      local_30 = (int *)0x0;\n      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }\n      if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }\n      local_3c = (int *)param_3[2];\n      if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }\n      if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }\n      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }\n      if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }\n      param_2[1] = iVar9;\n      piVar10 = local_30;\n      if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }\n    }" ({ "{") (if_statement "if (piVar15 == (int *)0x0) goto LAB_00033048;" (if "if") (parenthesized_expression "(piVar15 == (int *)0x0)" (( "(") (binary_expression "piVar15 == (int *)0x0" (identifier "piVar15") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00033048;" (goto "goto") (statement_identifier "LAB_00033048") (; ";"))) (labeled_statement "LAB_00032fd8:\n      piVar10 = piVar15;" (statement_identifier "LAB_00032fd8") (: ":") (expression_statement "piVar10 = piVar15;" (assignment_expression "piVar10 = piVar15" (identifier "piVar10") (= "=") (identifier "piVar15")) (; ";"))) (if_statement "if ((int)piVar15 < 0) {\n        piVar10 = (int *)-(int)piVar15;\n      }" (if "if") (parenthesized_expression "((int)piVar15 < 0)" (( "(") (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        piVar10 = (int *)-(int)piVar15;\n      }" ({ "{") (expression_statement "piVar10 = (int *)-(int)piVar15;" (assignment_expression "piVar10 = (int *)-(int)piVar15" (identifier "piVar10") (= "=") (cast_expression "(int *)-(int)piVar15" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (unary_expression "-(int)piVar15" (- "-") (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15"))))) (; ";")) (} "}"))) (expression_statement "unaff_s0 = (int)piVar10 - 1;" (assignment_expression "unaff_s0 = (int)piVar10 - 1" (identifier "unaff_s0") (= "=") (binary_expression "(int)piVar10 - 1" (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10")) (- "-") (number_literal "1"))) (; ";")) (if_statement "if (param_4 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "unaff_s6 = (int *)(unaff_s0 / param_4);" (assignment_expression "unaff_s6 = (int *)(unaff_s0 / param_4)" (identifier "unaff_s6") (= "=") (cast_expression "(int *)(unaff_s0 / param_4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 / param_4)" (( "(") (binary_expression "unaff_s0 / param_4" (identifier "unaff_s0") (/ "/") (identifier "param_4")) () ")")))) (; ";")) (expression_statement "unaff_s7 = (int)unaff_s6 + 1;" (assignment_expression "unaff_s7 = (int)unaff_s6 + 1" (identifier "unaff_s7") (= "=") (binary_expression "(int)unaff_s6 + 1" (cast_expression "(int)unaff_s6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s6")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" (identifier "local_30") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if ((param_1 == (int *)0x0) || (param_3 == param_1)) {\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }\n      else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" (if "if") (parenthesized_expression "((param_1 == (int *)0x0) || (param_3 == param_1))" (( "(") (binary_expression "(param_1 == (int *)0x0) || (param_3 == param_1)" (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_3 == param_1)" (( "(") (binary_expression "param_3 == param_1" (identifier "param_3") (== "==") (identifier "param_1")) () ")"))) () ")")) (compound_statement "{\n        if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }\n      }" ({ "{") (if_statement "if ((uint)(unaff_s7 * 4) < 0x7f01) {\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }\n        else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" (if "if") (parenthesized_expression "((uint)(unaff_s7 * 4) < 0x7f01)" (( "(") (binary_expression "(uint)(unaff_s7 * 4) < 0x7f01" (call_expression "(uint)(unaff_s7 * 4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(unaff_s7 * 4)" (( "(") (binary_expression "unaff_s7 * 4" (identifier "unaff_s7") (* "*") (number_literal "4")) () ")"))) (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);\n          local_38 = (int *)(&stack0xffffffb0 + iVar9);\n          puVar22 = auStack_68 + iVar9;\n        }" ({ "{") (expression_statement "iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8)" (identifier "iVar9") (= "=") (unary_expression "-(unaff_s7 * 4 + 7U & 0xfffffff8)" (- "-") (parenthesized_expression "(unaff_s7 * 4 + 7U & 0xfffffff8)" (( "(") (binary_expression "unaff_s7 * 4 + 7U & 0xfffffff8" (binary_expression "unaff_s7 * 4 + 7U" (binary_expression "unaff_s7 * 4" (identifier "unaff_s7") (* "*") (number_literal "4")) (+ "+") (number_literal "7U")) (& "&") (number_literal "0xfffffff8")) () ")")))) (; ";")) (expression_statement "local_38 = (int *)(&stack0xffffffb0 + iVar9);" (assignment_expression "local_38 = (int *)(&stack0xffffffb0 + iVar9)" (identifier "local_38") (= "=") (cast_expression "(int *)(&stack0xffffffb0 + iVar9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&stack0xffffffb0 + iVar9)" (( "(") (binary_expression "&stack0xffffffb0 + iVar9" (pointer_expression "&stack0xffffffb0" (& "&") (identifier "stack0xffffffb0")) (+ "+") (identifier "iVar9")) () ")")))) (; ";")) (expression_statement "puVar22 = auStack_68 + iVar9;" (assignment_expression "puVar22 = auStack_68 + iVar9" (identifier "puVar22") (= "=") (binary_expression "auStack_68 + iVar9" (identifier "auStack_68") (+ "+") (identifier "iVar9"))) (; ";")) (} "}")) (else_clause "else {\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" (else "else") (compound_statement "{\n          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n          puVar22 = auStack_68;\n        }" ({ "{") (expression_statement "local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);" (assignment_expression "local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (identifier "local_38") (= "=") (cast_expression "(int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_alloc_0009b2f0"))) () ")")) (argument_list "(&local_30)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))))) (; ";")) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" (identifier "puVar22") (= "=") (identifier "auStack_68")) (; ";")) (} "}")))) (} "}")) (else_clause "else if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" (else "else") (if_statement "if (*param_1 < unaff_s7) {\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }\n      else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" (if "if") (parenthesized_expression "(*param_1 < unaff_s7)" (( "(") (binary_expression "*param_1 < unaff_s7" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (identifier "unaff_s7")) () ")")) (compound_statement "{\n        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);\n        puVar22 = auStack_68;\n      }" ({ "{") (expression_statement "local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);" (assignment_expression "local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" (identifier "local_38") (= "=") (cast_expression "(int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)" (( "(") (pointer_expression "*(code *)PTR___gmpz_realloc_0009b5bc" (* "*") (cast_expression "(code *)PTR___gmpz_realloc_0009b5bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_realloc_0009b5bc"))) () ")")) (argument_list "(param_1,unaff_s7)" (( "(") (identifier "param_1") (, ",") (identifier "unaff_s7") () ")"))))) (; ";")) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" (identifier "puVar22") (= "=") (identifier "auStack_68")) (; ";")) (} "}")) (else_clause "else {\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" (else "else") (compound_statement "{\n        local_38 = (int *)param_1[2];\n        puVar22 = auStack_68;\n      }" ({ "{") (expression_statement "local_38 = (int *)param_1[2];" (assignment_expression "local_38 = (int *)param_1[2]" (identifier "local_38") (= "=") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "puVar22 = auStack_68;" (assignment_expression "puVar22 = auStack_68" (identifier "puVar22") (= "=") (identifier "auStack_68")) (; ";")) (} "}")))))) (if_statement "if (param_3 == param_2) {\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }\n      else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" (if "if") (parenthesized_expression "(param_3 == param_2)" (( "(") (binary_expression "param_3 == param_2" (identifier "param_3") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n        piVar11 = (int *)((int)piVar10 * 4);\n        if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }\n      }" ({ "{") (expression_statement "piVar11 = (int *)((int)piVar10 * 4);" (assignment_expression "piVar11 = (int *)((int)piVar10 * 4)" (identifier "piVar11") (= "=") (cast_expression "(int *)((int)piVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar10 * 4)" (( "(") (binary_expression "(int)piVar10 * 4" (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10")) (* "*") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (piVar11 < (int *)0x7f01) {\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }\n        else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" (if "if") (parenthesized_expression "(piVar11 < (int *)0x7f01)" (( "(") (binary_expression "piVar11 < (int *)0x7f01" (identifier "piVar11") (< "<") (cast_expression "(int *)0x7f01" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x7f01"))) () ")")) (compound_statement "{\n          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);\n          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);\n          puVar22 = puVar22 + -(int)piVar11;\n        }" ({ "{") (expression_statement "piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);" (assignment_expression "piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8)" (identifier "piVar11") (= "=") (cast_expression "(int *)((int)piVar11 + 7U & 0xfffffff8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar11 + 7U & 0xfffffff8)" (( "(") (binary_expression "(int)piVar11 + 7U & 0xfffffff8" (binary_expression "(int)piVar11 + 7U" (cast_expression "(int)piVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar11")) (+ "+") (number_literal "7U")) (& "&") (number_literal "0xfffffff8")) () ")")))) (; ";")) (expression_statement "local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);" (assignment_expression "local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18)" (identifier "local_44") (= "=") (cast_expression "(int *)(puVar22 + -(int)piVar11 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar22 + -(int)piVar11 + 0x18)" (( "(") (binary_expression "puVar22 + -(int)piVar11 + 0x18" (binary_expression "puVar22 + -(int)piVar11" (identifier "puVar22") (+ "+") (unary_expression "-(int)piVar11" (- "-") (cast_expression "(int)piVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar11")))) (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "puVar22 = puVar22 + -(int)piVar11;" (assignment_expression "puVar22 = puVar22 + -(int)piVar11" (identifier "puVar22") (= "=") (binary_expression "puVar22 + -(int)piVar11" (identifier "puVar22") (+ "+") (unary_expression "-(int)piVar11" (- "-") (cast_expression "(int)piVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar11"))))) (; ";")) (} "}")) (else_clause "else {\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" (else "else") (compound_statement "{\n          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);\n        }" ({ "{") (expression_statement "local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);" (assignment_expression "local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (identifier "local_44") (= "=") (cast_expression "(int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_alloc_0009b2f0"))) () ")")) (argument_list "(&local_30)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" (else "else") (compound_statement "{\n        piVar11 = piVar10;\n        if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }\n      }" ({ "{") (expression_statement "piVar11 = piVar10;" (assignment_expression "piVar11 = piVar10" (identifier "piVar11") (= "=") (identifier "piVar10")) (; ";")) (if_statement "if (*param_2 < (int)piVar10) {\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }\n        else {\n          local_44 = (int *)param_2[2];\n        }" (if "if") (parenthesized_expression "(*param_2 < (int)piVar10)" (( "(") (binary_expression "*param_2 < (int)piVar10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (< "<") (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10"))) () ")")) (compound_statement "{\n          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);\n        }" ({ "{") (expression_statement "local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);" (assignment_expression "local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" (identifier "local_44") (= "=") (cast_expression "(int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009b5bc)" (( "(") (pointer_expression "*(code *)PTR___gmpz_realloc_0009b5bc" (* "*") (cast_expression "(code *)PTR___gmpz_realloc_0009b5bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_realloc_0009b5bc"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          local_44 = (int *)param_2[2];\n        }" (else "else") (compound_statement "{\n          local_44 = (int *)param_2[2];\n        }" ({ "{") (expression_statement "local_44 = (int *)param_2[2];" (assignment_expression "local_44 = (int *)param_2[2]" (identifier "local_44") (= "=") (cast_expression "(int *)param_2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_3c = (int *)param_3[2];" (assignment_expression "local_3c = (int *)param_3[2]" (identifier "local_3c") (= "=") (cast_expression "(int *)param_3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (param_4 == 1) {\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }\n      else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" (if "if") (parenthesized_expression "(param_4 == 1)" (( "(") (binary_expression "param_4 == 1" (identifier "param_4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        iVar9 = *local_3c;\n        piVar2 = local_38;\n        piVar18 = local_3c;\n        if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }\n        *piVar2 = iVar9;\n        iVar9 = 0;\n      }" ({ "{") (expression_statement "iVar9 = *local_3c;" (assignment_expression "iVar9 = *local_3c" (identifier "iVar9") (= "=") (pointer_expression "*local_3c" (* "*") (identifier "local_3c"))) (; ";")) (expression_statement "piVar2 = local_38;" (assignment_expression "piVar2 = local_38" (identifier "piVar2") (= "=") (identifier "local_38")) (; ";")) (expression_statement "piVar18 = local_3c;" (assignment_expression "piVar18 = local_3c" (identifier "piVar18") (= "=") (identifier "local_3c")) (; ";")) (if_statement "if (unaff_s0 != 0) {\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }" (if "if") (parenthesized_expression "(unaff_s0 != 0)" (( "(") (binary_expression "unaff_s0 != 0" (identifier "unaff_s0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);\n          unaff_s0 = 0;\n          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;\n        }" ({ "{") (do_statement "do {\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          } while (unaff_s0 != 0);" (do "do") (compound_statement "{\n            *piVar2 = iVar9;\n            unaff_s0 = unaff_s0 - 1;\n            iVar9 = piVar18[1];\n            piVar2 = piVar2 + 1;\n            piVar18 = piVar18 + 1;\n          }" ({ "{") (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "unaff_s0 = unaff_s0 - 1;" (assignment_expression "unaff_s0 = unaff_s0 - 1" (identifier "unaff_s0") (= "=") (binary_expression "unaff_s0 - 1" (identifier "unaff_s0") (- "-") (number_literal "1"))) (; ";")) (expression_statement "iVar9 = piVar18[1];" (assignment_expression "iVar9 = piVar18[1]" (identifier "iVar9") (= "=") (subscript_expression "piVar18[1]" (identifier "piVar18") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar18 = piVar18 + 1;" (assignment_expression "piVar18 = piVar18 + 1" (identifier "piVar18") (= "=") (binary_expression "piVar18 + 1" (identifier "piVar18") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(unaff_s0 != 0)" (( "(") (binary_expression "unaff_s0 != 0" (identifier "unaff_s0") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "unaff_s0 = 0;" (assignment_expression "unaff_s0 = 0" (identifier "unaff_s0") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2 = local_38 + (int)piVar10 + 0x3fffffff;" (assignment_expression "piVar2 = local_38 + (int)piVar10 + 0x3fffffff" (identifier "piVar2") (= "=") (binary_expression "local_38 + (int)piVar10 + 0x3fffffff" (binary_expression "local_38 + (int)piVar10" (identifier "local_38") (+ "+") (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10"))) (+ "+") (number_literal "0x3fffffff"))) (; ";")) (} "}"))) (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" (else "else") (compound_statement "{\n        *(uint *)(puVar22 + 0x10) = param_4;\n        piVar11 = local_44;\n        piVar14 = local_3c;\n        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);\n      }" ({ "{") (expression_statement "*(uint *)(puVar22 + 0x10) = param_4;" (assignment_expression "*(uint *)(puVar22 + 0x10) = param_4" (pointer_expression "*(uint *)(puVar22 + 0x10)" (* "*") (cast_expression "(uint *)(puVar22 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar22 + 0x10)" (( "(") (binary_expression "puVar22 + 0x10" (identifier "puVar22") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "piVar11 = local_44;" (assignment_expression "piVar11 = local_44" (identifier "piVar11") (= "=") (identifier "local_44")) (; ";")) (expression_statement "piVar14 = local_3c;" (assignment_expression "piVar14 = local_3c" (identifier "piVar14") (= "=") (identifier "local_3c")) (; ";")) (expression_statement "iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);" (assignment_expression "iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10)" (parenthesized_expression "(*(code *)PTR___gmpn_rootrem_0009b520)" (( "(") (pointer_expression "*(code *)PTR___gmpn_rootrem_0009b520" (* "*") (cast_expression "(code *)PTR___gmpn_rootrem_0009b520" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_rootrem_0009b520"))) () ")")) (argument_list "(local_38,local_44,local_3c,piVar10)" (( "(") (identifier "local_38") (, ",") (identifier "local_44") (, ",") (identifier "local_3c") (, ",") (identifier "piVar10") () ")")))) (; ";")) (} "}")))) (if_statement "if (param_1 != (int *)0x0) {\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        local_40 = unaff_s7;\n        if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }\n        param_1[1] = local_40;\n        if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }\n      }" ({ "{") (expression_statement "local_40 = unaff_s7;" (assignment_expression "local_40 = unaff_s7" (identifier "local_40") (= "=") (identifier "unaff_s7")) (; ";")) (if_statement "if ((int)piVar15 < 0) {\n          local_40 = -unaff_s7;\n        }" (if "if") (parenthesized_expression "((int)piVar15 < 0)" (( "(") (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          local_40 = -unaff_s7;\n        }" ({ "{") (expression_statement "local_40 = -unaff_s7;" (assignment_expression "local_40 = -unaff_s7" (identifier "local_40") (= "=") (unary_expression "-unaff_s7" (- "-") (identifier "unaff_s7"))) (; ";")) (} "}"))) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_40")) (; ";")) (if_statement "if (param_3 == param_1) {\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }" (if "if") (parenthesized_expression "(param_3 == param_1)" (( "(") (binary_expression "param_3 == param_1" (identifier "param_3") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n          piVar14 = (int *)*local_38;\n          piVar10 = unaff_s6;\n          piVar2 = local_3c;\n          if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }\n          *unaff_s6 = (int)piVar14;\n        }" ({ "{") (expression_statement "piVar14 = (int *)*local_38;" (assignment_expression "piVar14 = (int *)*local_38" (identifier "piVar14") (= "=") (cast_expression "(int *)*local_38" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_38" (* "*") (identifier "local_38")))) (; ";")) (expression_statement "piVar10 = unaff_s6;" (assignment_expression "piVar10 = unaff_s6" (identifier "piVar10") (= "=") (identifier "unaff_s6")) (; ";")) (expression_statement "piVar2 = local_3c;" (assignment_expression "piVar2 = local_3c" (identifier "piVar2") (= "=") (identifier "local_3c")) (; ";")) (if_statement "if (unaff_s6 == (int *)0x0) {\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }\n          else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" (if "if") (parenthesized_expression "(unaff_s6 == (int *)0x0)" (( "(") (binary_expression "unaff_s6 == (int *)0x0" (identifier "unaff_s6") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            piVar11 = (int *)0x0;\n            unaff_s6 = local_3c;\n          }" ({ "{") (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" (identifier "piVar11") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "unaff_s6 = local_3c;" (assignment_expression "unaff_s6 = local_3c" (identifier "unaff_s6") (= "=") (identifier "local_3c")) (; ";")) (} "}")) (else_clause "else {\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" (else "else") (compound_statement "{\n            do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);\n            unaff_s6 = local_3c + (int)unaff_s6;\n          }" ({ "{") (do_statement "do {\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            } while (piVar10 != (int *)0x0);" (do "do") (compound_statement "{\n              local_38 = local_38 + 1;\n              piVar11 = piVar2 + 1;\n              *piVar2 = (int)piVar14;\n              piVar10 = (int *)((int)piVar10 + -1);\n              piVar14 = (int *)*local_38;\n              piVar2 = piVar11;\n            }" ({ "{") (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" (identifier "local_38") (= "=") (binary_expression "local_38 + 1" (identifier "local_38") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar11 = piVar2 + 1;" (assignment_expression "piVar11 = piVar2 + 1" (identifier "piVar11") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*piVar2 = (int)piVar14;" (assignment_expression "*piVar2 = (int)piVar14" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14"))) (; ";")) (expression_statement "piVar10 = (int *)((int)piVar10 + -1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + -1)" (identifier "piVar10") (= "=") (cast_expression "(int *)((int)piVar10 + -1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar10 + -1)" (( "(") (binary_expression "(int)piVar10 + -1" (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10")) (+ "+") (number_literal "-1")) () ")")))) (; ";")) (expression_statement "piVar14 = (int *)*local_38;" (assignment_expression "piVar14 = (int *)*local_38" (identifier "piVar14") (= "=") (cast_expression "(int *)*local_38" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_38" (* "*") (identifier "local_38")))) (; ";")) (expression_statement "piVar2 = piVar11;" (assignment_expression "piVar2 = piVar11" (identifier "piVar2") (= "=") (identifier "piVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar10 != (int *)0x0)" (( "(") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "unaff_s6 = local_3c + (int)unaff_s6;" (assignment_expression "unaff_s6 = local_3c + (int)unaff_s6" (identifier "unaff_s6") (= "=") (binary_expression "local_3c + (int)unaff_s6" (identifier "local_3c") (+ "+") (cast_expression "(int)unaff_s6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s6")))) (; ";")) (} "}")))) (expression_statement "*unaff_s6 = (int)piVar14;" (assignment_expression "*unaff_s6 = (int)piVar14" (pointer_expression "*unaff_s6" (* "*") (identifier "unaff_s6")) (= "=") (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }" (if "if") (parenthesized_expression "((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0))" (( "(") (binary_expression "(param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)" (parenthesized_expression "(param_3 == param_2)" (( "(") (binary_expression "param_3 == param_2" (identifier "param_3") (== "==") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = iVar9 + -1, iVar9 != 0)" (( "(") (comma_expression "iVar7 = iVar9 + -1, iVar9 != 0" (assignment_expression "iVar7 = iVar9 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        piVar14 = (int *)*local_44;\n        piVar10 = local_3c;\n        if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }\n        *local_3c = (int)piVar14;\n      }" ({ "{") (expression_statement "piVar14 = (int *)*local_44;" (assignment_expression "piVar14 = (int *)*local_44" (identifier "piVar14") (= "=") (cast_expression "(int *)*local_44" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_44" (* "*") (identifier "local_44")))) (; ";")) (expression_statement "piVar10 = local_3c;" (assignment_expression "piVar10 = local_3c" (identifier "piVar10") (= "=") (identifier "local_3c")) (; ";")) (if_statement "if (iVar7 != 0) {\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);\n          local_3c = local_3c + iVar9 + 0x3fffffff;\n        }" ({ "{") (do_statement "do {\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          } while (iVar7 != 0);" (do "do") (compound_statement "{\n            local_44 = local_44 + 1;\n            piVar11 = piVar10 + 1;\n            *piVar10 = (int)piVar14;\n            iVar7 = iVar7 + -1;\n            piVar14 = (int *)*local_44;\n            piVar10 = piVar11;\n          }" ({ "{") (expression_statement "local_44 = local_44 + 1;" (assignment_expression "local_44 = local_44 + 1" (identifier "local_44") (= "=") (binary_expression "local_44 + 1" (identifier "local_44") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar11 = piVar10 + 1;" (assignment_expression "piVar11 = piVar10 + 1" (identifier "piVar11") (= "=") (binary_expression "piVar10 + 1" (identifier "piVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*piVar10 = (int)piVar14;" (assignment_expression "*piVar10 = (int)piVar14" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (= "=") (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14"))) (; ";")) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar14 = (int *)*local_44;" (assignment_expression "piVar14 = (int *)*local_44" (identifier "piVar14") (= "=") (cast_expression "(int *)*local_44" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_44" (* "*") (identifier "local_44")))) (; ";")) (expression_statement "piVar10 = piVar11;" (assignment_expression "piVar10 = piVar11" (identifier "piVar10") (= "=") (identifier "piVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "local_3c = local_3c + iVar9 + 0x3fffffff;" (assignment_expression "local_3c = local_3c + iVar9 + 0x3fffffff" (identifier "local_3c") (= "=") (binary_expression "local_3c + iVar9 + 0x3fffffff" (binary_expression "local_3c + iVar9" (identifier "local_3c") (+ "+") (identifier "iVar9")) (+ "+") (number_literal "0x3fffffff"))) (; ";")) (} "}"))) (expression_statement "*local_3c = (int)piVar14;" (assignment_expression "*local_3c = (int)piVar14" (pointer_expression "*local_3c" (* "*") (identifier "local_3c")) (= "=") (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14"))) (; ";")) (} "}"))) (if_statement "if ((int)piVar15 < 0) {\n        iVar9 = -iVar9;\n      }" (if "if") (parenthesized_expression "((int)piVar15 < 0)" (( "(") (binary_expression "(int)piVar15 < 0" (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iVar9 = -iVar9;\n      }" ({ "{") (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" (identifier "iVar9") (= "=") (unary_expression "-iVar9" (- "-") (identifier "iVar9"))) (; ";")) (} "}"))) (expression_statement "param_2[1] = iVar9;" (assignment_expression "param_2[1] = iVar9" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar10 = local_30;" (assignment_expression "piVar10 = local_30" (identifier "piVar10") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (local_30 != (int *)0x0) {\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }" (if "if") (parenthesized_expression "(local_30 != (int *)0x0)" (( "(") (binary_expression "local_30 != (int *)0x0" (identifier "local_30") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();\n      }" ({ "{") (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_0009b614)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_0009b614" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_0009b614" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_free_0009b614"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar23 = puVar22;" (assignment_expression "puVar23 = puVar22" (identifier "puVar23") (= "=") (identifier "puVar22")) (; ";")) (if_statement "if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }" (if "if") (parenthesized_expression "(local_2c == *(int **)PTR___stack_chk_guard_0009b540)" (( "(") (binary_expression "local_2c == *(int **)PTR___stack_chk_guard_0009b540" (identifier "local_2c") (== "==") (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_0009b540" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0009b540")))) () ")")) (compound_statement "{\n      return *(int **)PTR___stack_chk_guard_0009b540;\n    }" ({ "{") (return_statement "return *(int **)PTR___stack_chk_guard_0009b540;" (return "return") (pointer_expression "*(int **)PTR___stack_chk_guard_0009b540" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_0009b540" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0009b540"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar24 = 0x33338;" (assignment_expression "uVar24 = 0x33338" (identifier "uVar24") (= "=") (number_literal "0x33338")) (; ";")) (expression_statement "puVar19 = PTR___stack_chk_fail_0009b4d0;" (assignment_expression "puVar19 = PTR___stack_chk_fail_0009b4d0" (identifier "puVar19") (= "=") (identifier "PTR___stack_chk_fail_0009b4d0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0009b4d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0009b4d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0009b4d0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0009b4d0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0009b4d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0009b4d0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar21 = puVar19 + 0x6fd00;" (assignment_expression "puVar21 = puVar19 + 0x6fd00" (identifier "puVar21") (= "=") (binary_expression "puVar19 + 0x6fd00" (identifier "puVar19") (+ "+") (number_literal "0x6fd00"))) (; ";")) (expression_statement "*(undefined4 *)(puVar23 + -4) = uVar24;" (assignment_expression "*(undefined4 *)(puVar23 + -4) = uVar24" (pointer_expression "*(undefined4 *)(puVar23 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar23 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -4)" (( "(") (binary_expression "puVar23 + -4" (identifier "puVar23") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "uVar24")) (; ";")) (expression_statement "*(undefined1 **)(puVar23 + -8) = auStack_68;" (assignment_expression "*(undefined1 **)(puVar23 + -8) = auStack_68" (pointer_expression "*(undefined1 **)(puVar23 + -8)" (* "*") (cast_expression "(undefined1 **)(puVar23 + -8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -8)" (( "(") (binary_expression "puVar23 + -8" (identifier "puVar23") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "auStack_68")) (; ";")) (expression_statement "*(int *)(puVar23 + -0xc) = unaff_s7;" (assignment_expression "*(int *)(puVar23 + -0xc) = unaff_s7" (pointer_expression "*(int *)(puVar23 + -0xc)" (* "*") (cast_expression "(int *)(puVar23 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0xc)" (( "(") (binary_expression "puVar23 + -0xc" (identifier "puVar23") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "unaff_s7")) (; ";")) (expression_statement "*(int **)(puVar23 + -0x10) = unaff_s6;" (assignment_expression "*(int **)(puVar23 + -0x10) = unaff_s6" (pointer_expression "*(int **)(puVar23 + -0x10)" (* "*") (cast_expression "(int **)(puVar23 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x10)" (( "(") (binary_expression "puVar23 + -0x10" (identifier "puVar23") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "unaff_s6")) (; ";")) (expression_statement "*(int **)(puVar23 + -0x14) = param_2;" (assignment_expression "*(int **)(puVar23 + -0x14) = param_2" (pointer_expression "*(int **)(puVar23 + -0x14)" (* "*") (cast_expression "(int **)(puVar23 + -0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x14)" (( "(") (binary_expression "puVar23 + -0x14" (identifier "puVar23") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(uint *)(puVar23 + -0x18) = param_4;" (assignment_expression "*(uint *)(puVar23 + -0x18) = param_4" (pointer_expression "*(uint *)(puVar23 + -0x18)" (* "*") (cast_expression "(uint *)(puVar23 + -0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x18)" (( "(") (binary_expression "puVar23 + -0x18" (identifier "puVar23") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(int **)(puVar23 + -0x1c) = param_1;" (assignment_expression "*(int **)(puVar23 + -0x1c) = param_1" (pointer_expression "*(int **)(puVar23 + -0x1c)" (* "*") (cast_expression "(int **)(puVar23 + -0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x1c)" (( "(") (binary_expression "puVar23 + -0x1c" (identifier "puVar23") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int **)(puVar23 + -0x20) = param_3;" (assignment_expression "*(int **)(puVar23 + -0x20) = param_3" (pointer_expression "*(int **)(puVar23 + -0x20)" (* "*") (cast_expression "(int **)(puVar23 + -0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x20)" (( "(") (binary_expression "puVar23 + -0x20" (identifier "puVar23") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(int **)(puVar23 + -0x24) = piVar15;" (assignment_expression "*(int **)(puVar23 + -0x24) = piVar15" (pointer_expression "*(int **)(puVar23 + -0x24)" (* "*") (cast_expression "(int **)(puVar23 + -0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x24)" (( "(") (binary_expression "puVar23 + -0x24" (identifier "puVar23") (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (identifier "piVar15")) (; ";")) (expression_statement "*(uint *)(puVar23 + -0x28) = unaff_s0;" (assignment_expression "*(uint *)(puVar23 + -0x28) = unaff_s0" (pointer_expression "*(uint *)(puVar23 + -0x28)" (* "*") (cast_expression "(uint *)(puVar23 + -0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x28)" (( "(") (binary_expression "puVar23 + -0x28" (identifier "puVar23") (+ "+") (number_literal "-0x28")) () ")")))) (= "=") (identifier "unaff_s0")) (; ";")) (expression_statement "*(undefined **)(puVar23 + -0x38) = puVar21;" (assignment_expression "*(undefined **)(puVar23 + -0x38) = puVar21" (pointer_expression "*(undefined **)(puVar23 + -0x38)" (* "*") (cast_expression "(undefined **)(puVar23 + -0x38)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x38)" (( "(") (binary_expression "puVar23 + -0x38" (identifier "puVar23") (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (identifier "puVar21")) (; ";")) (expression_statement "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);" (assignment_expression "*(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200)" (pointer_expression "*(undefined4 *)(puVar23 + -0x2c)" (* "*") (cast_expression "(undefined4 *)(puVar23 + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x2c)" (( "(") (binary_expression "puVar23 + -0x2c" (identifier "puVar23") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (pointer_expression "**(undefined4 **)(puVar19 + 0x68200)" (* "*") (pointer_expression "*(undefined4 **)(puVar19 + 0x68200)" (* "*") (cast_expression "(undefined4 **)(puVar19 + 0x68200)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar19 + 0x68200)" (( "(") (binary_expression "puVar19 + 0x68200" (identifier "puVar19") (+ "+") (number_literal "0x68200")) () ")")))))) (; ";")) (expression_statement "uVar17 = (int)piVar14 + 0x1fU >> 5;" (assignment_expression "uVar17 = (int)piVar14 + 0x1fU >> 5" (identifier "uVar17") (= "=") (binary_expression "(int)piVar14 + 0x1fU >> 5" (binary_expression "(int)piVar14 + 0x1fU" (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14")) (+ "+") (number_literal "0x1fU")) (>> ">>") (number_literal "5"))) (; ";")) (expression_statement "piVar15 = piVar10;" (assignment_expression "piVar15 = piVar10" (identifier "piVar15") (= "=") (identifier "piVar10")) (; ";")) (expression_statement "piVar2 = piVar11;" (assignment_expression "piVar2 = piVar11" (identifier "piVar2") (= "=") (identifier "piVar11")) (; ";")) (if_statement "if (piVar14 != (int *)0x0) {\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "(piVar14 != (int *)0x0)" (( "(") (binary_expression "piVar14 != (int *)0x0" (identifier "piVar14") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }\n    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);\n    iVar7 = uVar17 - 2;\n    if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }\n    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);\n    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);\n    if (piVar15 == (int *)0x0) {\n      trap(7);\n    }\n    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;\n    piVar18 = (int *)(puVar23 + -0x30);\n    do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);\n  }" ({ "{") (if_statement "if (*piVar10 < (int)uVar17) {\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }\n    else {\n      iVar9 = piVar10[2];\n    }" (if "if") (parenthesized_expression "(*piVar10 < (int)uVar17)" (( "(") (binary_expression "*piVar10 < (int)uVar17" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (< "<") (cast_expression "(int)uVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar17"))) () ")")) (compound_statement "{\n      iVar9 = (**(code **)(puVar19 + 0x6827c))();\n    }" ({ "{") (expression_statement "iVar9 = (**(code **)(puVar19 + 0x6827c))();" (assignment_expression "iVar9 = (**(code **)(puVar19 + 0x6827c))()" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar19 + 0x6827c))()" (parenthesized_expression "(**(code **)(puVar19 + 0x6827c))" (( "(") (pointer_expression "**(code **)(puVar19 + 0x6827c)" (* "*") (pointer_expression "*(code **)(puVar19 + 0x6827c)" (* "*") (cast_expression "(code **)(puVar19 + 0x6827c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar19 + 0x6827c)" (( "(") (binary_expression "puVar19 + 0x6827c" (identifier "puVar19") (+ "+") (number_literal "0x6827c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      iVar9 = piVar10[2];\n    }" (else "else") (compound_statement "{\n      iVar9 = piVar10[2];\n    }" ({ "{") (expression_statement "iVar9 = piVar10[2];" (assignment_expression "iVar9 = piVar10[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar10[2]" (identifier "piVar10") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (expression_statement "*(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);" (assignment_expression "*(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU)" (pointer_expression "*(uint *)(iVar9 + (uVar17 - 1) * 4)" (* "*") (cast_expression "(uint *)(iVar9 + (uVar17 - 1) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + (uVar17 - 1) * 4)" (( "(") (binary_expression "iVar9 + (uVar17 - 1) * 4" (identifier "iVar9") (+ "+") (binary_expression "(uVar17 - 1) * 4" (parenthesized_expression "(uVar17 - 1)" (( "(") (binary_expression "uVar17 - 1" (identifier "uVar17") (- "-") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (binary_expression "0xffffffff >> (-(int)piVar14 & 0x1fU)" (number_literal "0xffffffff") (>> ">>") (parenthesized_expression "(-(int)piVar14 & 0x1fU)" (( "(") (binary_expression "-(int)piVar14 & 0x1fU" (unary_expression "-(int)piVar14" (- "-") (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14"))) (& "&") (number_literal "0x1fU")) () ")")))) (; ";")) (expression_statement "iVar7 = uVar17 - 2;" (assignment_expression "iVar7 = uVar17 - 2" (identifier "iVar7") (= "=") (binary_expression "uVar17 - 2" (identifier "uVar17") (- "-") (number_literal "2"))) (; ";")) (if_statement "if (-1 < iVar7) {\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }" (if "if") (parenthesized_expression "(-1 < iVar7)" (( "(") (binary_expression "-1 < iVar7" (number_literal "-1") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n      iVar3 = iVar9 + uVar17 * 4;\n      do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);\n    }" ({ "{") (expression_statement "iVar3 = iVar9 + uVar17 * 4;" (assignment_expression "iVar3 = iVar9 + uVar17 * 4" (identifier "iVar3") (= "=") (binary_expression "iVar9 + uVar17 * 4" (identifier "iVar9") (+ "+") (binary_expression "uVar17 * 4" (identifier "uVar17") (* "*") (number_literal "4")))) (; ";")) (do_statement "do {\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      } while (-1 < iVar7);" (do "do") (compound_statement "{\n        *(undefined4 *)(iVar3 + -8) = 0xffffffff;\n        iVar7 = iVar7 + -1;\n        iVar3 = iVar3 + -4;\n      }" ({ "{") (expression_statement "*(undefined4 *)(iVar3 + -8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar3 + -8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar3 + -8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -8)" (( "(") (binary_expression "iVar3 + -8" (identifier "iVar3") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar3 = iVar3 + -4;" (assignment_expression "iVar3 = iVar3 + -4" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -4" (identifier "iVar3") (+ "+") (number_literal "-4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(-1 < iVar7)" (( "(") (binary_expression "-1 < iVar7" (number_literal "-1") (< "<") (identifier "iVar7")) () ")")) (; ";")) (} "}"))) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" (( "(") (pointer_expression "**(code **)(piVar11[4] + 4)" (* "*") (pointer_expression "*(code **)(piVar11[4] + 4)" (* "*") (cast_expression "(code **)(piVar11[4] + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar11[4] + 4)" (( "(") (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" (identifier "piVar11") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(piVar11,puVar23 + -0x30,0x20)" (( "(") (identifier "piVar11") (, ",") (binary_expression "puVar23 + -0x30" (identifier "puVar23") (+ "+") (number_literal "-0x30")) (, ",") (number_literal "0x20") () ")"))) (; ";")) (expression_statement "piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);" (assignment_expression "piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1)" (identifier "piVar15") (= "=") (cast_expression "(int *)((*(uint *)(puVar23 + -0x30) & 3) + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((*(uint *)(puVar23 + -0x30) & 3) + 1)" (( "(") (binary_expression "(*(uint *)(puVar23 + -0x30) & 3) + 1" (parenthesized_expression "(*(uint *)(puVar23 + -0x30) & 3)" (( "(") (binary_expression "*(uint *)(puVar23 + -0x30) & 3" (pointer_expression "*(uint *)(puVar23 + -0x30)" (* "*") (cast_expression "(uint *)(puVar23 + -0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x30)" (( "(") (binary_expression "puVar23 + -0x30" (identifier "puVar23") (+ "+") (number_literal "-0x30")) () ")")))) (& "&") (number_literal "3")) () ")")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (piVar15 == (int *)0x0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(piVar15 == (int *)0x0)" (( "(") (binary_expression "piVar15 == (int *)0x0" (identifier "piVar15") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;" (assignment_expression "uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15" (identifier "uVar16") (= "=") (binary_expression "(uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15" (call_expression "(uint)(piVar14 < piVar15)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(piVar14 < piVar15)" (( "(") (binary_expression "piVar14 < piVar15" (identifier "piVar14") (< "<") (identifier "piVar15")) () ")"))) (+ "+") (binary_expression "(uint)piVar14 / (uint)piVar15" (cast_expression "(uint)piVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar14")) (/ "/") (cast_expression "(uint)piVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar15"))))) (; ";")) (expression_statement "piVar18 = (int *)(puVar23 + -0x30);" (assignment_expression "piVar18 = (int *)(puVar23 + -0x30)" (identifier "piVar18") (= "=") (cast_expression "(int *)(puVar23 + -0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x30)" (( "(") (binary_expression "puVar23 + -0x30" (identifier "puVar23") (+ "+") (number_literal "-0x30")) () ")")))) (; ";")) (do_statement "do {\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    } while (piVar14 != (int *)0x0);" (do "do") (compound_statement "{\n      piVar15 = piVar11;\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);\n      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;\n      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);\n      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);\n      piVar2 = piVar18;\n      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);\n      puVar21 = *(undefined **)(puVar23 + -0x38);\n      if (uVar16 == 0) {\n        trap(7);\n      }\n      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));\n      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }\n      piVar4 = (int *)(iVar9 + uVar13 * 4);\n      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));\n      piVar15 = (int *)((int)piVar8 + *piVar4);\n      *piVar4 = (int)piVar15;\n      if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }\n    }" ({ "{") (expression_statement "piVar15 = piVar11;" (assignment_expression "piVar15 = piVar11" (identifier "piVar15") (= "=") (identifier "piVar11")) (; ";")) (expression_statement "piVar2 = piVar18;" (assignment_expression "piVar2 = piVar18" (identifier "piVar2") (= "=") (identifier "piVar18")) (; ";")) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" (( "(") (pointer_expression "**(code **)(piVar11[4] + 4)" (* "*") (pointer_expression "*(code **)(piVar11[4] + 4)" (* "*") (cast_expression "(code **)(piVar11[4] + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar11[4] + 4)" (( "(") (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" (identifier "piVar11") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(piVar11,piVar18,0x20)" (( "(") (identifier "piVar11") (, ",") (identifier "piVar18") (, ",") (number_literal "0x20") () ")"))) (; ";")) (expression_statement "puVar21 = *(undefined **)(puVar23 + -0x38);" (assignment_expression "puVar21 = *(undefined **)(puVar23 + -0x38)" (identifier "puVar21") (= "=") (pointer_expression "*(undefined **)(puVar23 + -0x38)" (* "*") (cast_expression "(undefined **)(puVar23 + -0x38)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x38)" (( "(") (binary_expression "puVar23 + -0x38" (identifier "puVar23") (+ "+") (number_literal "-0x38")) () ")"))))) (; ";")) (if_statement "if (uVar16 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(uVar16 == 0)" (( "(") (binary_expression "uVar16 == 0" (identifier "uVar16") (== "==") (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 "uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);" (assignment_expression "uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (identifier "uVar13") (= "=") (binary_expression "(int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14")) (- "-") (cast_expression "(int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (( "(") (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" (* "*") (cast_expression "(uint *)(puVar23 + -0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x30)" (( "(") (binary_expression "puVar23 + -0x30" (identifier "puVar23") (+ "+") (number_literal "-0x30")) () ")")))) (% "%") (identifier "uVar16")) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (if_statement "if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;" (if "if") (parenthesized_expression "((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0))" (( "(") (binary_expression "(piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)" (parenthesized_expression "(piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1))" (( "(") (binary_expression "piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (identifier "piVar14") (< "<") (cast_expression "(int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (( "(") (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" (* "*") (cast_expression "(uint *)(puVar23 + -0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x30)" (( "(") (binary_expression "puVar23 + -0x30" (identifier "puVar23") (+ "+") (number_literal "-0x30")) () ")")))) (% "%") (identifier "uVar16")) (+ "+") (number_literal "1")) () ")")))) () ")")) (|| "||") (parenthesized_expression "(uVar13 == 0)" (( "(") (binary_expression "uVar13 == 0" (identifier "uVar13") (== "==") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);" (assignment_expression "puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4)" (identifier "puVar5") (= "=") (cast_expression "(uint *)(iVar9 + (uVar13 >> 5) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + (uVar13 >> 5) * 4)" (( "(") (binary_expression "iVar9 + (uVar13 >> 5) * 4" (identifier "iVar9") (+ "+") (binary_expression "(uVar13 >> 5) * 4" (parenthesized_expression "(uVar13 >> 5)" (( "(") (binary_expression "uVar13 >> 5" (identifier "uVar13") (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);" (assignment_expression "*puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f)" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "*puVar5 ^ 1 << (uVar13 & 0x1f)" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (^ "^") (binary_expression "1 << (uVar13 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar13 & 0x1f)" (( "(") (binary_expression "uVar13 & 0x1f" (identifier "uVar13") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "piVar2 = piVar18;" (assignment_expression "piVar2 = piVar18" (identifier "piVar2") (= "=") (identifier "piVar18")) (; ";")) (expression_statement "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);" (call_expression "(**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20)" (parenthesized_expression "(**(code **)(piVar11[4] + 4))" (( "(") (pointer_expression "**(code **)(piVar11[4] + 4)" (* "*") (pointer_expression "*(code **)(piVar11[4] + 4)" (* "*") (cast_expression "(code **)(piVar11[4] + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar11[4] + 4)" (( "(") (binary_expression "piVar11[4] + 4" (subscript_expression "piVar11[4]" (identifier "piVar11") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(piVar11,piVar18,0x20)" (( "(") (identifier "piVar11") (, ",") (identifier "piVar18") (, ",") (number_literal "0x20") () ")"))) (; ";")) (expression_statement "puVar21 = *(undefined **)(puVar23 + -0x38);" (assignment_expression "puVar21 = *(undefined **)(puVar23 + -0x38)" (identifier "puVar21") (= "=") (pointer_expression "*(undefined **)(puVar23 + -0x38)" (* "*") (cast_expression "(undefined **)(puVar23 + -0x38)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x38)" (( "(") (binary_expression "puVar23 + -0x38" (identifier "puVar23") (+ "+") (number_literal "-0x38")) () ")"))))) (; ";")) (if_statement "if (uVar16 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(uVar16 == 0)" (( "(") (binary_expression "uVar16 == 0" (identifier "uVar16") (== "==") (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 "piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));" (assignment_expression "piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" (identifier "piVar14") (= "=") (cast_expression "(int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1))" (( "(") (binary_expression "uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (identifier "uVar13") (- "-") (parenthesized_expression "(*(uint *)(puVar23 + -0x30) % uVar16 + 1)" (( "(") (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" (* "*") (cast_expression "(uint *)(puVar23 + -0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x30)" (( "(") (binary_expression "puVar23 + -0x30" (identifier "puVar23") (+ "+") (number_literal "-0x30")) () ")")))) (% "%") (identifier "uVar16")) (+ "+") (number_literal "1")) () ")"))) () ")")))) (; ";")) (if_statement "if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }\n      else {\n        uVar13 = (uint)piVar14 >> 5;\n      }" (if "if") (parenthesized_expression "(uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1)" (( "(") (binary_expression "uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1" (identifier "uVar13") (< "<") (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16 + 1" (binary_expression "*(uint *)(puVar23 + -0x30) % uVar16" (pointer_expression "*(uint *)(puVar23 + -0x30)" (* "*") (cast_expression "(uint *)(puVar23 + -0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + -0x30)" (( "(") (binary_expression "puVar23 + -0x30" (identifier "puVar23") (+ "+") (number_literal "-0x30")) () ")")))) (% "%") (identifier "uVar16")) (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n        piVar14 = (int *)0x0;\n        uVar13 = 0;\n      }" ({ "{") (expression_statement "piVar14 = (int *)0x0;" (assignment_expression "piVar14 = (int *)0x0" (identifier "piVar14") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" (identifier "uVar13") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        uVar13 = (uint)piVar14 >> 5;\n      }" (else "else") (compound_statement "{\n        uVar13 = (uint)piVar14 >> 5;\n      }" ({ "{") (expression_statement "uVar13 = (uint)piVar14 >> 5;" (assignment_expression "uVar13 = (uint)piVar14 >> 5" (identifier "uVar13") (= "=") (binary_expression "(uint)piVar14 >> 5" (cast_expression "(uint)piVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar14")) (>> ">>") (number_literal "5"))) (; ";")) (} "}")))) (expression_statement "piVar4 = (int *)(iVar9 + uVar13 * 4);" (assignment_expression "piVar4 = (int *)(iVar9 + uVar13 * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar9 + uVar13 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + uVar13 * 4)" (( "(") (binary_expression "iVar9 + uVar13 * 4" (identifier "iVar9") (+ "+") (binary_expression "uVar13 * 4" (identifier "uVar13") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));" (assignment_expression "piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f))" (identifier "piVar8") (= "=") (cast_expression "(int *)(1 << ((uint)piVar14 & 0x1f))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(1 << ((uint)piVar14 & 0x1f))" (( "(") (binary_expression "1 << ((uint)piVar14 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((uint)piVar14 & 0x1f)" (( "(") (binary_expression "(uint)piVar14 & 0x1f" (cast_expression "(uint)piVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar14")) (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (expression_statement "piVar15 = (int *)((int)piVar8 + *piVar4);" (assignment_expression "piVar15 = (int *)((int)piVar8 + *piVar4)" (identifier "piVar15") (= "=") (cast_expression "(int *)((int)piVar8 + *piVar4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar8 + *piVar4)" (( "(") (binary_expression "(int)piVar8 + *piVar4" (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8")) (+ "+") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) () ")")))) (; ";")) (expression_statement "*piVar4 = (int)piVar15;" (assignment_expression "*piVar4 = (int)piVar15" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (cast_expression "(int)piVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar15"))) (; ";")) (if_statement "if (piVar15 < piVar8) {\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }" (if "if") (parenthesized_expression "(piVar15 < piVar8)" (( "(") (binary_expression "piVar15 < piVar8" (identifier "piVar15") (< "<") (identifier "piVar8")) () ")")) (compound_statement "{\n        do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);\n      }" ({ "{") (do_statement "do {\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        } while (iVar7 + 1 == 0);" (do "do") (compound_statement "{\n          piVar4 = piVar4 + 1;\n          iVar7 = *piVar4;\n          *piVar4 = iVar7 + 1;\n        }" ({ "{") (expression_statement "piVar4 = piVar4 + 1;" (assignment_expression "piVar4 = piVar4 + 1" (identifier "piVar4") (= "=") (binary_expression "piVar4 + 1" (identifier "piVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = *piVar4;" (assignment_expression "iVar7 = *piVar4" (identifier "iVar7") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "*piVar4 = iVar7 + 1;" (assignment_expression "*piVar4 = iVar7 + 1" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 + 1 == 0)" (( "(") (binary_expression "iVar7 + 1 == 0" (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(piVar14 != (int *)0x0)" (( "(") (binary_expression "piVar14 != (int *)0x0" (identifier "piVar14") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "piVar10[1] = uVar17;" (assignment_expression "piVar10[1] = uVar17" (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar17")) (; ";")) (if_statement "if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }" (if "if") (parenthesized_expression "(*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00))" (( "(") (binary_expression "*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)" (pointer_expression "*(int **)(puVar23 + -0x2c)" (* "*") (cast_expression "(int **)(puVar23 + -0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + -0x2c)" (( "(") (binary_expression "puVar23 + -0x2c" (identifier "puVar23") (+ "+") (number_literal "-0x2c")) () ")")))) (== "==") (cast_expression "(int *)**(int **)(puVar21 + -0x7b00)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(int **)(puVar21 + -0x7b00)" (* "*") (pointer_expression "*(int **)(puVar21 + -0x7b00)" (* "*") (cast_expression "(int **)(puVar21 + -0x7b00)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar21 + -0x7b00)" (( "(") (binary_expression "puVar21 + -0x7b00" (identifier "puVar21") (+ "+") (number_literal "-0x7b00")) () ")"))))))) () ")")) (compound_statement "{\n    return (int *)**(int **)(puVar21 + -0x7b00);\n  }" ({ "{") (return_statement "return (int *)**(int **)(puVar21 + -0x7b00);" (return "return") (cast_expression "(int *)**(int **)(puVar21 + -0x7b00)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(int **)(puVar21 + -0x7b00)" (* "*") (pointer_expression "*(int **)(puVar21 + -0x7b00)" (* "*") (cast_expression "(int **)(puVar21 + -0x7b00)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar21 + -0x7b00)" (( "(") (binary_expression "puVar21 + -0x7b00" (identifier "puVar21") (+ "+") (number_literal "-0x7b00")) () ")")))))) (; ";")) (} "}"))) (expression_statement "pcVar20 = *(code **)(puVar21 + -0x7b70);" (assignment_expression "pcVar20 = *(code **)(puVar21 + -0x7b70)" (identifier "pcVar20") (= "=") (pointer_expression "*(code **)(puVar21 + -0x7b70)" (* "*") (cast_expression "(code **)(puVar21 + -0x7b70)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar21 + -0x7b70)" (( "(") (binary_expression "puVar21 + -0x7b70" (identifier "puVar21") (+ "+") (number_literal "-0x7b70")) () ")"))))) (; ";")) (expression_statement "(*pcVar20)();" (call_expression "(*pcVar20)()" (parenthesized_expression "(*pcVar20)" (( "(") (pointer_expression "*pcVar20" (* "*") (identifier "pcVar20")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar7 = piVar15[1];" (assignment_expression "iVar7 = piVar15[1]" (identifier "iVar7") (= "=") (subscript_expression "piVar15[1]" (identifier "piVar15") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = iVar7;" (assignment_expression "iVar9 = iVar7" (identifier "iVar9") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (iVar7 < 0) {\n    iVar9 = -iVar7;\n  }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar9 = -iVar7;\n  }" ({ "{") (expression_statement "iVar9 = -iVar7;" (assignment_expression "iVar9 = -iVar7" (identifier "iVar9") (= "=") (unary_expression "-iVar7" (- "-") (identifier "iVar7"))) (; ";")) (} "}"))) (if_statement "if (iVar9 <= (int)((uint)piVar2 >> 5)) {\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }" (if "if") (parenthesized_expression "(iVar9 <= (int)((uint)piVar2 >> 5))" (( "(") (binary_expression "iVar9 <= (int)((uint)piVar2 >> 5)" (identifier "iVar9") (<= "<=") (cast_expression "(int)((uint)piVar2 >> 5)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)piVar2 >> 5)" (( "(") (binary_expression "(uint)piVar2 >> 5" (cast_expression "(uint)piVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar2")) (>> ">>") (number_literal "5")) () ")")))) () ")")) (compound_statement "{\n    piVar11 = (int *)0xffffffff;\n    if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }\n    return piVar11;\n  }" ({ "{") (expression_statement "piVar11 = (int *)0xffffffff;" (assignment_expression "piVar11 = (int *)0xffffffff" (identifier "piVar11") (= "=") (cast_expression "(int *)0xffffffff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (if_statement "if (-1 < iVar7) {\n      piVar11 = piVar2;\n    }" (if "if") (parenthesized_expression "(-1 < iVar7)" (( "(") (binary_expression "-1 < iVar7" (number_literal "-1") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n      piVar11 = piVar2;\n    }" ({ "{") (expression_statement "piVar11 = piVar2;" (assignment_expression "piVar11 = piVar2" (identifier "piVar11") (= "=") (identifier "piVar2")) (; ";")) (} "}"))) (return_statement "return piVar11;" (return "return") (identifier "piVar11") (; ";")) (} "}"))) (expression_statement "puVar6 = (uint *)piVar15[2];" (assignment_expression "puVar6 = (uint *)piVar15[2]" (identifier "puVar6") (= "=") (cast_expression "(uint *)piVar15[2]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar15[2]" (identifier "piVar15") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "puVar5 = puVar6 + ((uint)piVar2 >> 5);" (assignment_expression "puVar5 = puVar6 + ((uint)piVar2 >> 5)" (identifier "puVar5") (= "=") (binary_expression "puVar6 + ((uint)piVar2 >> 5)" (identifier "puVar6") (+ "+") (parenthesized_expression "((uint)piVar2 >> 5)" (( "(") (binary_expression "(uint)piVar2 >> 5" (cast_expression "(uint)piVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar2")) (>> ">>") (number_literal "5")) () ")")))) (; ";")) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" (identifier "uVar17") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (if_statement "if (iVar7 < 0) {\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }\n  else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }\n    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;\n    uVar16 = uVar17 & 0xff;\n    if (uVar17 != 0) goto LAB_0003367c;\n    puVar12 = puVar5 + 1;\n    if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }\n    uVar17 = puVar5[1];\n    puVar5 = puVar12;\n    if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }\n  }" ({ "{") (if_statement "if (puVar6 == puVar5) {\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }\n    else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" (if "if") (parenthesized_expression "(puVar6 == puVar5)" (( "(") (binary_expression "puVar6 == puVar5" (identifier "puVar6") (== "==") (identifier "puVar5")) () ")")) (compound_statement "{\nLAB_000336ac:\n      uVar17 = uVar17 - 1;\n    }" ({ "{") (labeled_statement "LAB_000336ac:\n      uVar17 = uVar17 - 1;" (statement_identifier "LAB_000336ac") (: ":") (expression_statement "uVar17 = uVar17 - 1;" (assignment_expression "uVar17 = uVar17 - 1" (identifier "uVar17") (= "=") (binary_expression "uVar17 - 1" (identifier "uVar17") (- "-") (number_literal "1"))) (; ";"))) (} "}")) (else_clause "else {\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" (else "else") (compound_statement "{\n      puVar12 = puVar5 + -1;\n      uVar16 = puVar5[-1];\n      while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }\n    }" ({ "{") (expression_statement "puVar12 = puVar5 + -1;" (assignment_expression "puVar12 = puVar5 + -1" (identifier "puVar12") (= "=") (binary_expression "puVar5 + -1" (identifier "puVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar16 = puVar5[-1];" (assignment_expression "uVar16 = puVar5[-1]" (identifier "uVar16") (= "=") (subscript_expression "puVar5[-1]" (identifier "puVar5") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (while_statement "while (uVar16 == 0) {\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }" (while "while") (parenthesized_expression "(uVar16 == 0)" (( "(") (binary_expression "uVar16 == 0" (identifier "uVar16") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        bVar1 = puVar6 == puVar12;\n        puVar12 = puVar12 + -1;\n        if (bVar1) goto LAB_000336ac;\n        uVar16 = *puVar12;\n      }" ({ "{") (expression_statement "bVar1 = puVar6 == puVar12;" (assignment_expression "bVar1 = puVar6 == puVar12" (identifier "bVar1") (= "=") (binary_expression "puVar6 == puVar12" (identifier "puVar6") (== "==") (identifier "puVar12"))) (; ";")) (expression_statement "puVar12 = puVar12 + -1;" (assignment_expression "puVar12 = puVar12 + -1" (identifier "puVar12") (= "=") (binary_expression "puVar12 + -1" (identifier "puVar12") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (bVar1) goto LAB_000336ac;" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (goto_statement "goto LAB_000336ac;" (goto "goto") (statement_identifier "LAB_000336ac") (; ";"))) (expression_statement "uVar16 = *puVar12;" (assignment_expression "uVar16 = *puVar12" (identifier "uVar16") (= "=") (pointer_expression "*puVar12" (* "*") (identifier "puVar12"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;" (assignment_expression "uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17" (identifier "uVar17") (= "=") (binary_expression "-1 << ((uint)piVar2 & 0x1f) & uVar17" (binary_expression "-1 << ((uint)piVar2 & 0x1f)" (number_literal "-1") (<< "<<") (parenthesized_expression "((uint)piVar2 & 0x1f)" (( "(") (binary_expression "(uint)piVar2 & 0x1f" (cast_expression "(uint)piVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar2")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (identifier "uVar17"))) (; ";")) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" (identifier "uVar16") (= "=") (binary_expression "uVar17 & 0xff" (identifier "uVar17") (& "&") (number_literal "0xff"))) (; ";")) (if_statement "if (uVar17 != 0) goto LAB_0003367c;" (if "if") (parenthesized_expression "(uVar17 != 0)" (( "(") (binary_expression "uVar17 != 0" (identifier "uVar17") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003367c;" (goto "goto") (statement_identifier "LAB_0003367c") (; ";"))) (expression_statement "puVar12 = puVar5 + 1;" (assignment_expression "puVar12 = puVar5 + 1" (identifier "puVar12") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (puVar6 + iVar9 == puVar12) {\n      return (int *)0xffffffff;\n    }" (if "if") (parenthesized_expression "(puVar6 + iVar9 == puVar12)" (( "(") (binary_expression "puVar6 + iVar9 == puVar12" (binary_expression "puVar6 + iVar9" (identifier "puVar6") (+ "+") (identifier "iVar9")) (== "==") (identifier "puVar12")) () ")")) (compound_statement "{\n      return (int *)0xffffffff;\n    }" ({ "{") (return_statement "return (int *)0xffffffff;" (return "return") (cast_expression "(int *)0xffffffff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff")) (; ";")) (} "}"))) (expression_statement "uVar17 = puVar5[1];" (assignment_expression "uVar17 = puVar5[1]" (identifier "uVar17") (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar5 = puVar12;" (assignment_expression "puVar5 = puVar12" (identifier "puVar5") (= "=") (identifier "puVar12")) (; ";")) (if_statement "if (uVar17 == 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }" (if "if") (parenthesized_expression "(uVar17 == 0)" (( "(") (binary_expression "uVar17 == 0" (identifier "uVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);\n      uVar16 = uVar17 & 0xff;\n      goto LAB_0003367c;\n    }" ({ "{") (do_statement "do {\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      } while (uVar17 == 0);" (do "do") (compound_statement "{\n        puVar5 = puVar5 + 1;\n        uVar17 = *puVar5;\n      }" ({ "{") (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" (identifier "uVar17") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar17 == 0)" (( "(") (binary_expression "uVar17 == 0" (identifier "uVar17") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" (identifier "uVar16") (= "=") (binary_expression "uVar17 & 0xff" (identifier "uVar17") (& "&") (number_literal "0xff"))) (; ";")) (goto_statement "goto LAB_0003367c;" (goto "goto") (statement_identifier "LAB_0003367c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" (else "else") (compound_statement "{\n    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;\n    while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }\n    uVar17 = ~uVar17;\n  }" ({ "{") (expression_statement "uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;" (assignment_expression "uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17" (identifier "uVar17") (= "=") (binary_expression "(1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17" (binary_expression "(1 << ((uint)piVar2 & 0x1f)) - 1U" (parenthesized_expression "(1 << ((uint)piVar2 & 0x1f))" (( "(") (binary_expression "1 << ((uint)piVar2 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((uint)piVar2 & 0x1f)" (( "(") (binary_expression "(uint)piVar2 & 0x1f" (cast_expression "(uint)piVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar2")) (& "&") (number_literal "0x1f")) () ")"))) () ")")) (- "-") (number_literal "1U")) (| "|") (identifier "uVar17"))) (; ";")) (while_statement "while (uVar17 == 0xffffffff) {\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }" (while "while") (parenthesized_expression "(uVar17 == 0xffffffff)" (( "(") (binary_expression "uVar17 == 0xffffffff" (identifier "uVar17") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      puVar5 = puVar5 + 1;\n      if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }\n      uVar17 = *puVar5;\n    }" ({ "{") (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (puVar5 == puVar6 + iVar9) {\n        return (int *)(iVar9 << 5);\n      }" (if "if") (parenthesized_expression "(puVar5 == puVar6 + iVar9)" (( "(") (binary_expression "puVar5 == puVar6 + iVar9" (identifier "puVar5") (== "==") (binary_expression "puVar6 + iVar9" (identifier "puVar6") (+ "+") (identifier "iVar9"))) () ")")) (compound_statement "{\n        return (int *)(iVar9 << 5);\n      }" ({ "{") (return_statement "return (int *)(iVar9 << 5);" (return "return") (cast_expression "(int *)(iVar9 << 5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 << 5)" (( "(") (binary_expression "iVar9 << 5" (identifier "iVar9") (<< "<<") (number_literal "5")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar17 = *puVar5;" (assignment_expression "uVar17 = *puVar5" (identifier "uVar17") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (} "}"))) (expression_statement "uVar17 = ~uVar17;" (assignment_expression "uVar17 = ~uVar17" (identifier "uVar17") (= "=") (unary_expression "~uVar17" (~ "~") (identifier "uVar17"))) (; ";")) (} "}")))) (expression_statement "uVar16 = uVar17 & 0xff;" (assignment_expression "uVar16 = uVar17 & 0xff" (identifier "uVar16") (= "=") (binary_expression "uVar17 & 0xff" (identifier "uVar17") (& "&") (number_literal "0xff"))) (; ";")) (labeled_statement "LAB_0003367c:\n  if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" (statement_identifier "LAB_0003367c") (: ":") (if_statement "if (uVar16 == 0) {\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }\n  else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" (if "if") (parenthesized_expression "(uVar16 == 0)" (( "(") (binary_expression "uVar16 == 0" (identifier "uVar16") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar16 = uVar17 >> 8;\n    iVar9 = 6;\n    if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }\n    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;\n  }" ({ "{") (expression_statement "uVar16 = uVar17 >> 8;" (assignment_expression "uVar16 = uVar17 >> 8" (identifier "uVar16") (= "=") (binary_expression "uVar17 >> 8" (identifier "uVar17") (>> ">>") (number_literal "8"))) (; ";")) (expression_statement "iVar9 = 6;" (assignment_expression "iVar9 = 6" (identifier "iVar9") (= "=") (number_literal "6")) (; ";")) (if_statement "if ((uVar16 & 0xff) == 0) {\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }" (if "if") (parenthesized_expression "((uVar16 & 0xff) == 0)" (( "(") (binary_expression "(uVar16 & 0xff) == 0" (parenthesized_expression "(uVar16 & 0xff)" (( "(") (binary_expression "uVar16 & 0xff" (identifier "uVar16") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar16 = uVar17 >> 0x10;\n      iVar9 = 0xe;\n      if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }\n    }" ({ "{") (expression_statement "uVar16 = uVar17 >> 0x10;" (assignment_expression "uVar16 = uVar17 >> 0x10" (identifier "uVar16") (= "=") (binary_expression "uVar17 >> 0x10" (identifier "uVar17") (>> ">>") (number_literal "0x10"))) (; ";")) (expression_statement "iVar9 = 0xe;" (assignment_expression "iVar9 = 0xe" (identifier "iVar9") (= "=") (number_literal "0xe")) (; ";")) (if_statement "if ((uVar16 & 0xff) == 0) {\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }" (if "if") (parenthesized_expression "((uVar16 & 0xff) == 0)" (( "(") (binary_expression "(uVar16 & 0xff) == 0" (parenthesized_expression "(uVar16 & 0xff)" (( "(") (binary_expression "uVar16 & 0xff" (identifier "uVar16") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar16 = uVar17 >> 0x18;\n        iVar9 = 0x1e;\n        if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }\n      }" ({ "{") (expression_statement "uVar16 = uVar17 >> 0x18;" (assignment_expression "uVar16 = uVar17 >> 0x18" (identifier "uVar16") (= "=") (binary_expression "uVar17 >> 0x18" (identifier "uVar17") (>> ">>") (number_literal "0x18"))) (; ";")) (expression_statement "iVar9 = 0x1e;" (assignment_expression "iVar9 = 0x1e" (identifier "iVar9") (= "=") (number_literal "0x1e")) (; ";")) (if_statement "if (uVar16 != 0) {\n          iVar9 = 0x16;\n        }" (if "if") (parenthesized_expression "(uVar16 != 0)" (( "(") (binary_expression "uVar16 != 0" (identifier "uVar16") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar9 = 0x16;\n        }" ({ "{") (expression_statement "iVar9 = 0x16;" (assignment_expression "iVar9 = 0x16" (identifier "iVar9") (= "=") (number_literal "0x16")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;" (assignment_expression "iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9" (identifier "iVar9") (= "=") (binary_expression "(uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9" (binary_expression "(uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16))" (( "(") (binary_expression "*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)" (pointer_expression "*(int *)(pcVar20 + 0x67bec)" (* "*") (cast_expression "(int *)(pcVar20 + 0x67bec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar20 + 0x67bec)" (( "(") (binary_expression "pcVar20 + 0x67bec" (identifier "pcVar20") (+ "+") (number_literal "0x67bec")) () ")")))) (+ "+") (parenthesized_expression "(-uVar16 & uVar16)" (( "(") (binary_expression "-uVar16 & uVar16" (unary_expression "-uVar16" (- "-") (identifier "uVar16")) (& "&") (identifier "uVar16")) () ")"))) () ")")))) (+ "+") (identifier "iVar9"))) (; ";")) (} "}")) (else_clause "else {\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" (else "else") (compound_statement "{\n    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;\n  }" ({ "{") (expression_statement "iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;" (assignment_expression "iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2" (identifier "iVar9") (= "=") (binary_expression "*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2" (pointer_expression "*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" (* "*") (cast_expression "(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17))" (( "(") (binary_expression "*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)" (pointer_expression "*(int *)(pcVar20 + 0x67bec)" (* "*") (cast_expression "(int *)(pcVar20 + 0x67bec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar20 + 0x67bec)" (( "(") (binary_expression "pcVar20 + 0x67bec" (identifier "pcVar20") (+ "+") (number_literal "0x67bec")) () ")")))) (+ "+") (parenthesized_expression "(-uVar17 & uVar17)" (( "(") (binary_expression "-uVar17 & uVar17" (unary_expression "-uVar17" (- "-") (identifier "uVar17")) (& "&") (identifier "uVar17")) () ")"))) () ")")))) (- "-") (number_literal "2"))) (; ";")) (} "}"))))) (return_statement "return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);" (return "return") (cast_expression "(int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9)" (( "(") (binary_expression "((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9" (binary_expression "((int)puVar5 - (int)puVar6 >> 2) * 0x20" (parenthesized_expression "((int)puVar5 - (int)puVar6 >> 2)" (( "(") (binary_expression "(int)puVar5 - (int)puVar6 >> 2" (binary_expression "(int)puVar5 - (int)puVar6" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (- "-") (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6"))) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "0x20")) (+ "+") (identifier "iVar9")) () ")"))) (; ";")) (} "}")))

/* WARNING: Type propagation algorithm not settling */

void function_1(type_1 var_3,type_1 var_9,type_2 var_6,type_3 var_2)

{
  bool bVar1;
  int var_7;
  type_4 *var_25;
  type_2 var_17;
  type_1 var_28;
  type_1 p_Var6;
  type_1 var_10;
  type_2 p_Var8;
  type_1 p_Var9;
  int var_18;
  type_4 *var_30;
  type_5 *var_12;
  type_6 var_27;
  type_2 var_23;
  type_1 var_4;
  type_6 var_26;
  type_6 var_24;
  type_4 *var_13;
  type_2 unaff_s6;
  type_5 *unaff_s7;
  type_1 p_Var18;
  int var_1;
  type_7 *var_21;
  type_4 var_15;
  type_7 *var_29;
  type_5 *var_11;
  type_5 *var_22;
  type_8 uVar24;
  type_5 var_8 [24];
  type_4 local_50 [2];
  type_2 var_16;
  type_1 local_44;
  type_5 *local_40;
  type_2 local_3c;
  type_4 *var_14;
  type_1 local_34;
  type_9 *var_19;
  int var_20;
  
  var_15 = var_1 + 0x700e0;
  var_22 = var_8;
  var_11 = var_8;
  var_20 = **(int **)(var_1 + 0x685e0);
  var_4 = (type_1)var_6->_mp_size;
  p_Var6 = var_3;
  var_10 = var_9;
  var_23 = var_6;
  local_50[0] = var_15;
  if ((int)var_4 < 0) {
    if ((var_2 & 1) == 0) {
      (**(type_7 **)(var_1 + 0x6826c))();
      goto LAB_0003332c;
    }
    var_21 = *(type_7 **)(var_1 + 0x6867c);
    if (var_2 != 0) goto LAB_00032fd8;
LAB_00033040:
    (*var_21)();
LAB_00033048:
    if (var_3 != (type_1)0x0) {
      var_3->_mp_size = 0;
    }
    var_9->_mp_size = 0;
  }
  else {
    var_21 = *(type_7 **)(var_1 + 0x6867c);
    if (var_2 == 0) goto LAB_00033040;
    if (var_4 == (type_1)0x0) goto LAB_00033048;
LAB_00032fd8:
    local_34 = var_4;
    if ((int)var_4 < 0) {
      local_34 = (type_1)-(int)var_4;
    }
    var_12 = (type_5 *)((int)&local_34[-1]._mp_d + 3);
    if (var_2 == 0) {
      var_5(7);
    }
    unaff_s6 = (type_2)((type_6)var_12 / var_2);
    unaff_s7 = (type_5 *)((int)&unaff_s6->_mp_alloc + 1);
    var_19 = (type_9 *)0x0;
    var_16 = unaff_s6;
    local_40 = unaff_s7;
    if ((var_3 == (type_1)0x0) || (var_6 == var_3)) {
      if ((type_6)((int)unaff_s7 * 4) < 0x7f01) {
        var_7 = -((int)unaff_s7 * 4 + 7U & 0xfffffff8);
        var_14 = (type_4 *)((int)local_50 + var_7);
        var_11 = var_8 + var_7;
      }
      else {
        var_14 = (type_4 *)(**(type_7 **)(var_1 + 0x68390))(&var_19);
        var_11 = var_8;
      }
    }
    else if (var_3->_mp_alloc < (int)unaff_s7) {
      var_14 = (type_4 *)(**(type_7 **)(var_1 + 0x6865c))(var_3,unaff_s7);
      var_11 = var_8;
    }
    else {
      var_14 = var_3->_mp_d;
      var_11 = var_8;
    }
    if (var_6 == var_9) {
      var_10 = (type_1)((int)local_34 * 4);
      if (var_10 < (type_1)0x7f01) {
        var_10 = (type_1)((type_6)((int)&var_10->_mp_size + 3) & 0xfffffff8);
        local_44 = (type_1)(var_11 + -(int)var_10 + 0x18);
        var_11 = var_11 + -(int)var_10;
      }
      else {
        local_44 = (type_1)(**(type_7 **)(local_50[0] - 0x7d50))(&var_19);
      }
    }
    else {
      var_10 = local_34;
      if (var_9->_mp_alloc < (int)local_34) {
        local_44 = (type_1)(**(type_7 **)(local_50[0] - 0x7a84))(var_9);
      }
      else {
        local_44 = (type_1)var_9->_mp_d;
      }
    }
    var_15 = local_50[0];
    var_17 = (type_2)var_6->_mp_d;
    local_3c = var_17;
    if (var_2 == 1) {
      var_15 = var_17->_mp_alloc;
      var_13 = var_14;
      if (var_12 != (type_5 *)0x0) {
        do {
          *var_13 = var_15;
          var_12 = var_12 + -1;
          var_15 = var_17->_mp_size;
          var_13 = var_13 + 1;
          var_17 = (type_2)&var_17->_mp_size;
        } while (var_12 != (type_5 *)0x0);
        var_12 = (type_5 *)0x0;
        var_13 = var_14 + (int)((int)&local_34[0x5555555]._mp_alloc + 3);
      }
      *var_13 = var_15;
      var_7 = 0;
    }
    else {
      *(type_3 *)(var_11 + 0x10) = var_2;
      var_10 = local_44;
      var_23 = local_3c;
      var_7 = (**(type_7 **)(var_15 - 0x7b20))(var_14,local_44,local_3c,local_34);
    }
    if (var_3 != (type_1)0x0) {
      if ((int)var_4 < 0) {
        local_40 = (type_5 *)-(int)unaff_s7;
      }
      var_3->_mp_size = (int)local_40;
      if (var_6 == var_3) {
        var_23 = (type_2)*var_14;
        var_17 = unaff_s6;
        p_Var8 = local_3c;
        var_13 = var_14;
        if (var_16 == (type_2)0x0) {
          var_10 = (type_1)0x0;
          unaff_s6 = local_3c;
        }
        else {
          do {
            var_10 = (type_1)&p_Var8->_mp_size;
            p_Var8->_mp_alloc = (int)var_23;
            var_17 = (type_2)((int)&var_17[-1]._mp_d + 3);
            var_23 = (type_2)var_13[1];
            p_Var8 = var_10;
            var_13 = var_13 + 1;
          } while (var_17 != (type_2)0x0);
          unaff_s6 = (type_2)(&local_3c->_mp_alloc + (int)unaff_s6);
        }
        unaff_s6->_mp_alloc = (int)var_23;
      }
    }
    if ((var_6 == var_9) && (var_18 = var_7 + -1, var_7 != 0)) {
      var_23 = (type_2)local_44->_mp_alloc;
      var_17 = local_3c;
      p_Var6 = local_44;
      if (var_18 != 0) {
        do {
          var_10 = (type_1)&var_17->_mp_size;
          var_17->_mp_alloc = (int)var_23;
          var_18 = var_18 + -1;
          var_23 = (type_2)p_Var6->_mp_size;
          var_17 = var_10;
          p_Var6 = (type_1)&p_Var6->_mp_size;
        } while (var_18 != 0);
        local_3c = (type_2)((int)local_3c + (var_7 + 0x3fffffff) * 4);
      }
      local_3c->_mp_alloc = (int)var_23;
    }
    if ((int)var_4 < 0) {
      var_7 = -var_7;
    }
    var_9->_mp_size = var_7;
    p_Var6 = (type_1)var_19;
    var_15 = local_50[0];
    if (var_19 != (type_9 *)0x0) {
      (**(type_7 **)(local_50[0] - 0x7a2c))();
      var_15 = local_50[0];
    }
  }
  var_22 = var_11;
  if (var_20 == **(int **)(var_15 - 0x7b00)) {
    return;
  }
LAB_0003332c:
  var_21 = *(type_7 **)(var_15 - 0x7b70);
  uVar24 = 0x33338;
  (*var_21)();
  var_29 = var_21 + 0x6fd00;
  *(type_8 *)(var_22 + -4) = uVar24;
  *(type_5 **)(var_22 + -8) = var_8;
  *(type_5 **)(var_22 + -0xc) = unaff_s7;
  *(type_2 *)(var_22 + -0x10) = unaff_s6;
  *(type_1 *)(var_22 + -0x14) = var_9;
  *(type_3 *)(var_22 + -0x18) = var_2;
  *(type_1 *)(var_22 + -0x1c) = var_3;
  *(type_2 *)(var_22 + -0x20) = var_6;
  *(type_1 *)(var_22 + -0x24) = var_4;
  *(type_5 **)(var_22 + -0x28) = var_12;
  *(type_7 **)(var_22 + -0x38) = var_29;
  *(type_8 *)(var_22 + -0x2c) = **(type_8 **)(var_21 + 0x68200);
  var_24 = (type_6)((int)&var_23[2]._mp_size + 3) >> 5;
  var_4 = p_Var6;
  p_Var9 = var_10;
  if (var_23 != (type_2)0x0) {
    if (p_Var6->_mp_alloc < (int)var_24) {
      var_13 = (type_4 *)(**(type_7 **)(var_21 + 0x6827c))();
    }
    else {
      var_13 = p_Var6->_mp_d;
    }
    var_13[var_24 - 1] = 0xffffffff >> (-(int)var_23 & 0x1fU);
    var_7 = var_24 - 2;
    if (-1 < var_7) {
      var_25 = var_13 + var_24;
      do {
        var_25[-2] = 0xffffffff;
        var_7 = var_7 + -1;
        var_25 = var_25 + -1;
      } while (-1 < var_7);
    }
    (**(type_7 **)(var_10[1]._mp_size + 4))(var_10,var_22 + -0x30,0x20);
    var_17 = (type_2)((*(type_6 *)(var_22 + -0x30) & 3) + 1);
    if (var_17 == (type_2)0x0) {
      var_5(7);
    }
    var_26 = (type_6)(var_23 < var_17) + (type_6)var_23 / (type_6)var_17;
    p_Var18 = (type_1)(var_22 + -0x30);
    do {
      var_4 = var_10;
      p_Var9 = p_Var18;
      (**(type_7 **)(var_10[1]._mp_size + 4))(var_10,p_Var18,0x20);
      var_29 = *(type_7 **)(var_22 + -0x38);
      if (var_26 == 0) {
        var_5(7);
      }
      var_27 = (int)var_23 - (int)(*(type_6 *)(var_22 + -0x30) % var_26 + 1);
      if ((var_23 < (type_2)(*(type_6 *)(var_22 + -0x30) % var_26 + 1)) || (var_27 == 0)) break;
      var_13[var_27 >> 5] = var_13[var_27 >> 5] ^ 1 << (var_27 & 0x1f);
      p_Var9 = p_Var18;
      (**(type_7 **)(var_10[1]._mp_size + 4))(var_10,p_Var18,0x20);
      var_29 = *(type_7 **)(var_22 + -0x38);
      if (var_26 == 0) {
        var_5(7);
      }
      var_23 = (type_2)(var_27 - (*(type_6 *)(var_22 + -0x30) % var_26 + 1));
      if (var_27 < *(type_6 *)(var_22 + -0x30) % var_26 + 1) {
        var_23 = (type_2)0x0;
        var_27 = 0;
      }
      else {
        var_27 = (type_6)var_23 >> 5;
      }
      var_25 = var_13 + var_27;
      var_28 = (type_1)(1 << ((type_6)var_23 & 0x1f));
      var_4 = (type_1)((int)&var_28->_mp_alloc + *var_25);
      *var_25 = (type_4)var_4;
      if (var_4 < var_28) {
        do {
          var_25 = var_25 + 1;
          var_15 = *var_25;
          *var_25 = var_15 + 1;
        } while (var_15 + 1 == 0);
      }
    } while (var_23 != (type_2)0x0);
  }
  p_Var6->_mp_size = var_24;
  if (*(int *)(var_22 + -0x2c) == **(int **)(var_29 + -0x7b00)) {
    return;
  }
  (**(type_7 **)(var_29 + -0x7b70))();
  var_18 = var_4->_mp_size;
  var_7 = var_18;
  if (var_18 < 0) {
    var_7 = -var_18;
  }
  if (var_7 <= (int)((type_6)p_Var9 >> 5)) {
    return;
  }
  var_25 = var_4->_mp_d;
  var_13 = var_25 + ((type_6)p_Var9 >> 5);
  var_24 = *var_13;
  if (var_18 < 0) {
    if (var_25 == var_13) {
LAB_000336ac:
      var_24 = var_24 - 1;
    }
    else {
      var_30 = var_13 + -1;
      var_15 = var_13[-1];
      while (var_15 == 0) {
        bVar1 = var_25 == var_30;
        var_30 = var_30 + -1;
        if (bVar1) goto LAB_000336ac;
        var_15 = *var_30;
      }
    }
    if ((-1 << ((type_6)p_Var9 & 0x1f) & var_24) == 0) {
      var_30 = var_13 + 1;
      if (var_25 + var_7 == var_30) {
        return;
      }
      var_15 = var_13[1];
      while (var_15 == 0) {
        var_30 = var_30 + 1;
        var_15 = *var_30;
      }
    }
  }
  else {
    var_15 = (1 << ((type_6)p_Var9 & 0x1f)) - 1U | var_24;
    while (var_15 == 0xffffffff) {
      var_13 = var_13 + 1;
      if (var_13 == var_25 + var_7) {
        return;
      }
      var_15 = *var_13;
    }
  }
  return;
}


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

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

{
  bool bVar1;
  int *piVar2;
  int iVar3;
  int *piVar4;
  uint *puVar5;
  uint *puVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  int *piVar10;
  int *piVar11;
  uint *puVar12;
  uint unaff_s0;
  uint uVar13;
  int *piVar14;
  int *piVar15;
  uint uVar16;
  uint uVar17;
  int *unaff_s6;
  int unaff_s7;
  int *piVar18;
  undefined *puVar19;
  code *pcVar20;
  undefined *puVar21;
  undefined1 *puVar22;
  undefined1 *puVar23;
  undefined4 uVar24;
  undefined1 auStack_68 [24];
  int *local_44;
  int local_40;
  int *local_3c;
  int *local_38;
  int *local_30;
  int *local_2c;
  
  puVar23 = auStack_68;
  puVar22 = auStack_68;
  local_2c = *(int **)PTR___stack_chk_guard_0009b540;
  piVar15 = (int *)param_3[1];
  piVar10 = param_1;
  piVar11 = param_2;
  piVar14 = param_3;
  if ((int)piVar15 < 0) {
    if ((param_4 & 1) != 0) {
      if (param_4 != 0) goto LAB_00032fd8;
      goto LAB_00033040;
    }
    (*(code *)PTR___gmp_sqrt_of_negative_0009b1cc)();
  }
  else {
    if (param_4 == 0) {
LAB_00033040:
      (*(code *)PTR___gmp_divide_by_zero_0009b5dc)();
LAB_00033048:
      if (param_1 != (int *)0x0) {
        param_1[1] = 0;
      }
      param_2[1] = 0;
    }
    else {
      if (piVar15 == (int *)0x0) goto LAB_00033048;
LAB_00032fd8:
      piVar10 = piVar15;
      if ((int)piVar15 < 0) {
        piVar10 = (int *)-(int)piVar15;
      }
      unaff_s0 = (int)piVar10 - 1;
      if (param_4 == 0) {
        trap(7);
      }
      unaff_s6 = (int *)(unaff_s0 / param_4);
      unaff_s7 = (int)unaff_s6 + 1;
      local_30 = (int *)0x0;
      if ((param_1 == (int *)0x0) || (param_3 == param_1)) {
        if ((uint)(unaff_s7 * 4) < 0x7f01) {
          iVar9 = -(unaff_s7 * 4 + 7U & 0xfffffff8);
          local_38 = (int *)(&stack0xffffffb0 + iVar9);
          puVar22 = auStack_68 + iVar9;
        }
        else {
          local_38 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);
          puVar22 = auStack_68;
        }
      }
      else if (*param_1 < unaff_s7) {
        local_38 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_1,unaff_s7);
        puVar22 = auStack_68;
      }
      else {
        local_38 = (int *)param_1[2];
        puVar22 = auStack_68;
      }
      if (param_3 == param_2) {
        piVar11 = (int *)((int)piVar10 * 4);
        if (piVar11 < (int *)0x7f01) {
          piVar11 = (int *)((int)piVar11 + 7U & 0xfffffff8);
          local_44 = (int *)(puVar22 + -(int)piVar11 + 0x18);
          puVar22 = puVar22 + -(int)piVar11;
        }
        else {
          local_44 = (int *)(*(code *)PTR___gmp_tmp_reentrant_alloc_0009b2f0)(&local_30);
        }
      }
      else {
        piVar11 = piVar10;
        if (*param_2 < (int)piVar10) {
          local_44 = (int *)(*(code *)PTR___gmpz_realloc_0009b5bc)(param_2);
        }
        else {
          local_44 = (int *)param_2[2];
        }
      }
      local_3c = (int *)param_3[2];
      if (param_4 == 1) {
        iVar9 = *local_3c;
        piVar2 = local_38;
        piVar18 = local_3c;
        if (unaff_s0 != 0) {
          do {
            *piVar2 = iVar9;
            unaff_s0 = unaff_s0 - 1;
            iVar9 = piVar18[1];
            piVar2 = piVar2 + 1;
            piVar18 = piVar18 + 1;
          } while (unaff_s0 != 0);
          unaff_s0 = 0;
          piVar2 = local_38 + (int)piVar10 + 0x3fffffff;
        }
        *piVar2 = iVar9;
        iVar9 = 0;
      }
      else {
        *(uint *)(puVar22 + 0x10) = param_4;
        piVar11 = local_44;
        piVar14 = local_3c;
        iVar9 = (*(code *)PTR___gmpn_rootrem_0009b520)(local_38,local_44,local_3c,piVar10);
      }
      if (param_1 != (int *)0x0) {
        local_40 = unaff_s7;
        if ((int)piVar15 < 0) {
          local_40 = -unaff_s7;
        }
        param_1[1] = local_40;
        if (param_3 == param_1) {
          piVar14 = (int *)*local_38;
          piVar10 = unaff_s6;
          piVar2 = local_3c;
          if (unaff_s6 == (int *)0x0) {
            piVar11 = (int *)0x0;
            unaff_s6 = local_3c;
          }
          else {
            do {
              local_38 = local_38 + 1;
              piVar11 = piVar2 + 1;
              *piVar2 = (int)piVar14;
              piVar10 = (int *)((int)piVar10 + -1);
              piVar14 = (int *)*local_38;
              piVar2 = piVar11;
            } while (piVar10 != (int *)0x0);
            unaff_s6 = local_3c + (int)unaff_s6;
          }
          *unaff_s6 = (int)piVar14;
        }
      }
      if ((param_3 == param_2) && (iVar7 = iVar9 + -1, iVar9 != 0)) {
        piVar14 = (int *)*local_44;
        piVar10 = local_3c;
        if (iVar7 != 0) {
          do {
            local_44 = local_44 + 1;
            piVar11 = piVar10 + 1;
            *piVar10 = (int)piVar14;
            iVar7 = iVar7 + -1;
            piVar14 = (int *)*local_44;
            piVar10 = piVar11;
          } while (iVar7 != 0);
          local_3c = local_3c + iVar9 + 0x3fffffff;
        }
        *local_3c = (int)piVar14;
      }
      if ((int)piVar15 < 0) {
        iVar9 = -iVar9;
      }
      param_2[1] = iVar9;
      piVar10 = local_30;
      if (local_30 != (int *)0x0) {
        (*(code *)PTR___gmp_tmp_reentrant_free_0009b614)();
      }
    }
    puVar23 = puVar22;
    if (local_2c == *(int **)PTR___stack_chk_guard_0009b540) {
      return *(int **)PTR___stack_chk_guard_0009b540;
    }
  }
  uVar24 = 0x33338;
  puVar19 = PTR___stack_chk_fail_0009b4d0;
  (*(code *)PTR___stack_chk_fail_0009b4d0)();
  puVar21 = puVar19 + 0x6fd00;
  *(undefined4 *)(puVar23 + -4) = uVar24;
  *(undefined1 **)(puVar23 + -8) = auStack_68;
  *(int *)(puVar23 + -0xc) = unaff_s7;
  *(int **)(puVar23 + -0x10) = unaff_s6;
  *(int **)(puVar23 + -0x14) = param_2;
  *(uint *)(puVar23 + -0x18) = param_4;
  *(int **)(puVar23 + -0x1c) = param_1;
  *(int **)(puVar23 + -0x20) = param_3;
  *(int **)(puVar23 + -0x24) = piVar15;
  *(uint *)(puVar23 + -0x28) = unaff_s0;
  *(undefined **)(puVar23 + -0x38) = puVar21;
  *(undefined4 *)(puVar23 + -0x2c) = **(undefined4 **)(puVar19 + 0x68200);
  uVar17 = (int)piVar14 + 0x1fU >> 5;
  piVar15 = piVar10;
  piVar2 = piVar11;
  if (piVar14 != (int *)0x0) {
    if (*piVar10 < (int)uVar17) {
      iVar9 = (**(code **)(puVar19 + 0x6827c))();
    }
    else {
      iVar9 = piVar10[2];
    }
    *(uint *)(iVar9 + (uVar17 - 1) * 4) = 0xffffffff >> (-(int)piVar14 & 0x1fU);
    iVar7 = uVar17 - 2;
    if (-1 < iVar7) {
      iVar3 = iVar9 + uVar17 * 4;
      do {
        *(undefined4 *)(iVar3 + -8) = 0xffffffff;
        iVar7 = iVar7 + -1;
        iVar3 = iVar3 + -4;
      } while (-1 < iVar7);
    }
    (**(code **)(piVar11[4] + 4))(piVar11,puVar23 + -0x30,0x20);
    piVar15 = (int *)((*(uint *)(puVar23 + -0x30) & 3) + 1);
    if (piVar15 == (int *)0x0) {
      trap(7);
    }
    uVar16 = (uint)(piVar14 < piVar15) + (uint)piVar14 / (uint)piVar15;
    piVar18 = (int *)(puVar23 + -0x30);
    do {
      piVar15 = piVar11;
      piVar2 = piVar18;
      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);
      puVar21 = *(undefined **)(puVar23 + -0x38);
      if (uVar16 == 0) {
        trap(7);
      }
      uVar13 = (int)piVar14 - (int)(*(uint *)(puVar23 + -0x30) % uVar16 + 1);
      if ((piVar14 < (int *)(*(uint *)(puVar23 + -0x30) % uVar16 + 1)) || (uVar13 == 0)) break;
      puVar5 = (uint *)(iVar9 + (uVar13 >> 5) * 4);
      *puVar5 = *puVar5 ^ 1 << (uVar13 & 0x1f);
      piVar2 = piVar18;
      (**(code **)(piVar11[4] + 4))(piVar11,piVar18,0x20);
      puVar21 = *(undefined **)(puVar23 + -0x38);
      if (uVar16 == 0) {
        trap(7);
      }
      piVar14 = (int *)(uVar13 - (*(uint *)(puVar23 + -0x30) % uVar16 + 1));
      if (uVar13 < *(uint *)(puVar23 + -0x30) % uVar16 + 1) {
        piVar14 = (int *)0x0;
        uVar13 = 0;
      }
      else {
        uVar13 = (uint)piVar14 >> 5;
      }
      piVar4 = (int *)(iVar9 + uVar13 * 4);
      piVar8 = (int *)(1 << ((uint)piVar14 & 0x1f));
      piVar15 = (int *)((int)piVar8 + *piVar4);
      *piVar4 = (int)piVar15;
      if (piVar15 < piVar8) {
        do {
          piVar4 = piVar4 + 1;
          iVar7 = *piVar4;
          *piVar4 = iVar7 + 1;
        } while (iVar7 + 1 == 0);
      }
    } while (piVar14 != (int *)0x0);
  }
  piVar10[1] = uVar17;
  if (*(int **)(puVar23 + -0x2c) == (int *)**(int **)(puVar21 + -0x7b00)) {
    return (int *)**(int **)(puVar21 + -0x7b00);
  }
  pcVar20 = *(code **)(puVar21 + -0x7b70);
  (*pcVar20)();
  iVar7 = piVar15[1];
  iVar9 = iVar7;
  if (iVar7 < 0) {
    iVar9 = -iVar7;
  }
  if (iVar9 <= (int)((uint)piVar2 >> 5)) {
    piVar11 = (int *)0xffffffff;
    if (-1 < iVar7) {
      piVar11 = piVar2;
    }
    return piVar11;
  }
  puVar6 = (uint *)piVar15[2];
  puVar5 = puVar6 + ((uint)piVar2 >> 5);
  uVar17 = *puVar5;
  if (iVar7 < 0) {
    if (puVar6 == puVar5) {
LAB_000336ac:
      uVar17 = uVar17 - 1;
    }
    else {
      puVar12 = puVar5 + -1;
      uVar16 = puVar5[-1];
      while (uVar16 == 0) {
        bVar1 = puVar6 == puVar12;
        puVar12 = puVar12 + -1;
        if (bVar1) goto LAB_000336ac;
        uVar16 = *puVar12;
      }
    }
    uVar17 = -1 << ((uint)piVar2 & 0x1f) & uVar17;
    uVar16 = uVar17 & 0xff;
    if (uVar17 != 0) goto LAB_0003367c;
    puVar12 = puVar5 + 1;
    if (puVar6 + iVar9 == puVar12) {
      return (int *)0xffffffff;
    }
    uVar17 = puVar5[1];
    puVar5 = puVar12;
    if (uVar17 == 0) {
      do {
        puVar5 = puVar5 + 1;
        uVar17 = *puVar5;
      } while (uVar17 == 0);
      uVar16 = uVar17 & 0xff;
      goto LAB_0003367c;
    }
  }
  else {
    uVar17 = (1 << ((uint)piVar2 & 0x1f)) - 1U | uVar17;
    while (uVar17 == 0xffffffff) {
      puVar5 = puVar5 + 1;
      if (puVar5 == puVar6 + iVar9) {
        return (int *)(iVar9 << 5);
      }
      uVar17 = *puVar5;
    }
    uVar17 = ~uVar17;
  }
  uVar16 = uVar17 & 0xff;
LAB_0003367c:
  if (uVar16 == 0) {
    uVar16 = uVar17 >> 8;
    iVar9 = 6;
    if ((uVar16 & 0xff) == 0) {
      uVar16 = uVar17 >> 0x10;
      iVar9 = 0xe;
      if ((uVar16 & 0xff) == 0) {
        uVar16 = uVar17 >> 0x18;
        iVar9 = 0x1e;
        if (uVar16 != 0) {
          iVar9 = 0x16;
        }
      }
    }
    iVar9 = (uint)*(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar16 & uVar16)) + iVar9;
  }
  else {
    iVar9 = *(byte *)(*(int *)(pcVar20 + 0x67bec) + (-uVar17 & uVar17)) - 2;
  }
  return (int *)(((int)puVar5 - (int)puVar6 >> 2) * 0x20 + iVar9);
}

