
void mpn_fft_mul_2exp_modF(mp_ptr r,mp_srcptr a,mp_bitcnt_t d,mp_size_t n)

{
  bool bVar1;
  mp_limb_t *pmVar2;
  uint *puVar3;
  mp_limb_t mVar4;
  mp_ptr pmVar5;
  uint *puVar6;
  uint *puVar7;
  int iVar8;
  mp_ptr pmVar9;
  mp_limb_t mVar10;
  uint uVar11;
  mp_limb_t *pmVar12;
  mp_limb_t mVar13;
  int iVar14;
  uint *puVar15;
  uint uVar16;
  int iVar17;
  uint uVar18;
  
  uVar16 = d >> 5;
  pmVar9 = r + n;
  uVar18 = d & 0x1f;
  if (n <= (int)uVar16) {
    iVar14 = uVar16 - n;
    iVar17 = n - iVar14;
    puVar7 = r + iVar14;
    if (uVar18 == 0) {
      if (iVar14 != 0) {
        pmVar2 = a + iVar17;
        iVar8 = iVar14 + -1;
        mVar13 = *pmVar2;
        pmVar12 = r;
        if (iVar8 == 0) {
          *r = mVar13;
        }
        else {
          do {
            pmVar2 = pmVar2 + 1;
            *pmVar12 = mVar13;
            iVar8 = iVar8 + -1;
            mVar13 = *pmVar2;
            pmVar12 = pmVar12 + 1;
          } while (iVar8 != 0);
          r[iVar14 + -1] = mVar13;
        }
      }
      uVar16 = a[n];
      puVar3 = puVar7;
      do {
        puVar6 = puVar3 + 1;
        *puVar3 = ~*a;
        puVar3 = puVar6;
        a = a + 1;
      } while (puVar6 != puVar7 + iVar17);
      *pmVar9 = 0;
      pmVar9 = r;
      do {
        mVar13 = *pmVar9;
        *pmVar9 = mVar13 + 1;
        pmVar9 = pmVar9 + 1;
      } while (mVar13 + 1 == 0);
    }
    else {
      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);
      uVar16 = *puVar7;
      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);
      *pmVar9 = 0;
      uVar18 = iVar17 + 1U + *r;
      *r = uVar18;
      pmVar9 = r;
      if (uVar18 < iVar17 + 1U) {
        do {
          pmVar9 = pmVar9 + 1;
          mVar13 = *pmVar9;
          *pmVar9 = mVar13 + 1;
        } while (mVar13 + 1 == 0);
      }
    }
    uVar16 = uVar16 + 1;
    if (uVar16 == 0) {
      pmVar9 = r + iVar14 + 1;
      do {
        mVar13 = *pmVar9;
        *pmVar9 = mVar13 + 1;
        pmVar9 = pmVar9 + 1;
      } while (mVar13 + 1 == 0);
      return;
    }
    uVar18 = *puVar7;
    *puVar7 = uVar16 + uVar18;
    if (uVar16 <= uVar16 + uVar18) {
      return;
    }
    do {
      puVar7 = puVar7 + 1;
      uVar16 = *puVar7;
      *puVar7 = uVar16 + 1;
    } while (uVar16 + 1 == 0);
    return;
  }
  iVar14 = n - uVar16;
  puVar7 = r + uVar16;
  if (uVar18 != 0) {
    (*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18);
    mVar13 = ~*puVar7;
    uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18);
    if (uVar16 != 0) {
      uVar11 = uVar18 - 1;
      if (uVar18 == 0) goto LAB_0004093c;
LAB_00040bd8:
      uVar18 = *r;
      *r = uVar18 - uVar11;
      if (uVar18 < uVar11) goto LAB_00040bec;
      goto LAB_00040d40;
    }
    goto LAB_00040c50;
  }
  pmVar5 = r;
  puVar3 = a + iVar14;
  do {
    puVar6 = pmVar5 + 1;
    *pmVar5 = ~*puVar3;
    pmVar5 = puVar6;
    puVar3 = puVar3 + 1;
  } while (r + uVar16 + 1 != puVar6);
  uVar18 = *a;
  iVar8 = iVar14 + -1;
  mVar13 = a[n];
  puVar3 = r;
  iVar17 = n;
  if (iVar8 == 0) {
    *puVar7 = uVar18;
    if (uVar16 == 0) goto LAB_00040abc;
LAB_0004093c:
    mVar10 = *r;
    mVar4 = mVar10 + 1;
    *r = mVar4;
    if (mVar4 == 0) {
      if (1 < n) {
        mVar4 = r[1];
        r[1] = mVar4 + 1;
        if (mVar4 + 1 == 0) {
          if (n == 2) {
            *r = mVar10;
            goto LAB_00040bec;
          }
          mVar4 = r[2];
          r[2] = mVar4 + 1;
          if (mVar4 + 1 == 0) {
            iVar17 = 3;
            pmVar5 = r + 3;
            do {
              bVar1 = n == iVar17;
              iVar17 = iVar17 + 1;
              if (bVar1) {
                uVar11 = 1;
                goto LAB_00040bd8;
              }
              mVar4 = *pmVar5;
              *pmVar5 = mVar4 + 1;
              pmVar5 = pmVar5 + 1;
            } while (mVar4 + 1 == 0);
          }
        }
        goto LAB_00040d40;
      }
      *r = 0xffffffff;
LAB_00040bec:
      uVar18 = 2;
      if (1 < uVar16) {
        mVar4 = r[1];
        r[1] = mVar4 - 1;
        if (mVar4 == 0) {
          uVar18 = 2;
          if (uVar16 == 2) goto LAB_00040c50;
          mVar4 = r[2];
          r[2] = mVar4 - 1;
          if (mVar4 == 0) {
            uVar18 = 3;
            pmVar5 = r + 3;
            do {
              bVar1 = uVar16 == uVar18;
              uVar18 = uVar18 + 1;
              if (bVar1) {
                uVar18 = 2;
                goto LAB_00040c50;
              }
              mVar4 = *pmVar5;
              *pmVar5 = mVar4 - 1;
              pmVar5 = pmVar5 + 1;
            } while (mVar4 == 0);
          }
        }
        goto LAB_00040d40;
      }
    }
    else {
LAB_00040d40:
      uVar18 = 1;
    }
LAB_00040c50:
    uVar16 = *puVar7;
    *puVar7 = uVar16 - uVar18;
    puVar3 = puVar7;
    iVar17 = iVar14;
    if (uVar18 <= uVar16) goto LAB_00040abc;
    if (iVar14 != 1) {
      uVar16 = puVar7[1];
      puVar7[1] = uVar16 - 1;
      if (uVar16 == 0) {
        mVar4 = 0xffffffff;
        if (iVar14 != 2) {
          uVar16 = puVar7[2];
          puVar7[2] = uVar16 - 1;
          if (uVar16 == 0) {
            iVar8 = 3;
            puVar6 = puVar7 + 3;
            do {
              bVar1 = iVar8 == iVar14;
              iVar8 = iVar8 + 1;
              if (bVar1) {
                mVar4 = 0xffffffff;
                goto LAB_00040cc8;
              }
              uVar16 = *puVar6;
              *puVar6 = uVar16 - 1;
              puVar6 = puVar6 + 1;
            } while (uVar16 == 0);
          }
          goto LAB_00040d74;
        }
      }
      else {
LAB_00040d74:
        mVar4 = 0;
      }
LAB_00040cc8:
      *pmVar9 = mVar4;
      uVar16 = *puVar7;
      *puVar7 = uVar16 - mVar13;
      if (mVar13 <= uVar16) goto LAB_00040d60;
      goto LAB_00040ce0;
    }
    *pmVar9 = 0xffffffff;
    uVar16 = *puVar7;
    *puVar7 = uVar16 - mVar13;
    if (uVar16 < mVar13) goto LAB_00040ae0;
LAB_00040d60:
    iVar14 = 0;
  }
  else {
    puVar6 = puVar7;
    puVar15 = a + 1;
    do {
      *puVar6 = uVar18;
      iVar8 = iVar8 + -1;
      uVar18 = *puVar15;
      puVar6 = puVar6 + 1;
      puVar15 = puVar15 + 1;
    } while (iVar8 != 0);
    puVar7[iVar14 + -1] = uVar18;
    if (uVar16 != 0) goto LAB_0004093c;
LAB_00040abc:
    *pmVar9 = 0;
    uVar16 = *puVar3;
    *puVar3 = uVar16 - mVar13;
    if (mVar13 <= uVar16) goto LAB_00040d60;
    if (iVar17 != 1) {
LAB_00040ce0:
      uVar16 = puVar3[1];
      puVar3[1] = uVar16 - 1;
      if (uVar16 == 0) {
        iVar14 = 1;
        if (iVar17 == 2) goto LAB_00040ae4;
        uVar16 = puVar3[2];
        puVar3[2] = uVar16 - 1;
        if (uVar16 == 0) {
          iVar14 = 3;
          puVar7 = puVar3 + 3;
          do {
            if (iVar14 == iVar17) {
              iVar14 = 1;
              goto LAB_00040ae4;
            }
            uVar16 = *puVar7;
            iVar14 = iVar14 + 1;
            *puVar7 = uVar16 - 1;
            puVar7 = puVar7 + 1;
          } while (uVar16 == 0);
        }
      }
      goto LAB_00040d60;
    }
LAB_00040ae0:
    iVar14 = 1;
  }
LAB_00040ae4:
  mVar13 = *pmVar9;
  *pmVar9 = mVar13 - iVar14;
  if (-1 < (int)(mVar13 - iVar14)) {
    return;
  }
  mVar13 = *r;
  *r = mVar13 + 1;
  if (mVar13 + 1 == 0) {
    if (n < 2) {
LAB_00040b68:
      *pmVar9 = 1;
      return;
    }
    mVar13 = r[1];
    r[1] = mVar13 + 1;
    if (mVar13 + 1 == 0) {
      if (n == 2) goto LAB_00040b68;
      mVar13 = r[2];
      r[2] = mVar13 + 1;
      if (mVar13 + 1 == 0) {
        iVar14 = 3;
        pmVar5 = r + 3;
        do {
          if (n == iVar14) goto LAB_00040b68;
          mVar13 = *pmVar5;
          iVar14 = iVar14 + 1;
          *pmVar5 = mVar13 + 1;
          pmVar5 = pmVar5 + 1;
        } while (mVar13 + 1 == 0);
      }
    }
  }
  *pmVar9 = 0;
  return;
}



void FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)

{
  bool bVar1;
  uint uVar2;
  uint *puVar3;
  uint *puVar4;
  uint *puVar5;
  int iVar6;
  uint *puVar7;
  uint uVar8;
  int iVar9;
  uint *puVar10;
  uint uVar11;
  int iVar12;
  uint uVar13;
  
  uVar11 = param_3 >> 5;
  puVar7 = param_1 + param_4;
  param_3 = param_3 & 0x1f;
  if (param_4 <= (int)uVar11) {
    iVar9 = uVar11 - param_4;
    iVar12 = param_4 - iVar9;
    puVar5 = param_1 + iVar9;
    if (param_3 == 0) {
      if (iVar9 != 0) {
        puVar4 = param_2 + iVar12;
        iVar6 = iVar9 + -1;
        uVar11 = *puVar4;
        puVar3 = param_1;
        if (iVar6 == 0) {
          *param_1 = uVar11;
        }
        else {
          do {
            puVar4 = puVar4 + 1;
            *puVar3 = uVar11;
            iVar6 = iVar6 + -1;
            uVar11 = *puVar4;
            puVar3 = puVar3 + 1;
          } while (iVar6 != 0);
          param_1[iVar9 + -1] = uVar11;
        }
      }
      uVar11 = param_2[param_4];
      puVar3 = puVar5;
      do {
        puVar4 = puVar3 + 1;
        *puVar3 = ~*param_2;
        puVar3 = puVar4;
        param_2 = param_2 + 1;
      } while (puVar4 != puVar5 + iVar12);
      *puVar7 = 0;
      puVar7 = param_1;
      do {
        uVar2 = *puVar7;
        *puVar7 = uVar2 + 1;
        puVar7 = puVar7 + 1;
      } while (uVar2 + 1 == 0);
    }
    else {
      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);
      uVar11 = *puVar5;
      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);
      *puVar7 = 0;
      uVar2 = iVar12 + 1U + *param_1;
      *param_1 = uVar2;
      puVar7 = param_1;
      if (uVar2 < iVar12 + 1U) {
        do {
          puVar7 = puVar7 + 1;
          uVar2 = *puVar7;
          *puVar7 = uVar2 + 1;
        } while (uVar2 + 1 == 0);
      }
    }
    uVar11 = uVar11 + 1;
    if (uVar11 == 0) {
      puVar7 = param_1 + iVar9 + 1;
      do {
        uVar11 = *puVar7;
        *puVar7 = uVar11 + 1;
        puVar7 = puVar7 + 1;
      } while (uVar11 + 1 == 0);
      return;
    }
    uVar2 = *puVar5;
    *puVar5 = uVar11 + uVar2;
    if (uVar11 <= uVar11 + uVar2) {
      return;
    }
    do {
      puVar5 = puVar5 + 1;
      uVar11 = *puVar5;
      *puVar5 = uVar11 + 1;
    } while (uVar11 + 1 == 0);
    return;
  }
  iVar9 = param_4 - uVar11;
  puVar5 = param_1 + uVar11;
  if (param_3 != 0) {
    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);
    uVar13 = ~*puVar5;
    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);
    if (uVar11 != 0) {
      uVar8 = uVar2 - 1;
      if (uVar2 == 0) goto LAB_0004093c;
LAB_00040bd8:
      uVar2 = *param_1;
      *param_1 = uVar2 - uVar8;
      if (uVar2 < uVar8) goto LAB_00040bec;
      goto LAB_00040d40;
    }
    goto LAB_00040c50;
  }
  puVar3 = param_1;
  puVar4 = param_2 + iVar9;
  do {
    puVar10 = puVar3 + 1;
    *puVar3 = ~*puVar4;
    puVar3 = puVar10;
    puVar4 = puVar4 + 1;
  } while (param_1 + uVar11 + 1 != puVar10);
  uVar2 = *param_2;
  iVar6 = iVar9 + -1;
  uVar13 = param_2[param_4];
  puVar3 = param_1;
  iVar12 = param_4;
  if (iVar6 == 0) {
    *puVar5 = uVar2;
    if (uVar11 == 0) goto LAB_00040abc;
LAB_0004093c:
    uVar8 = *param_1;
    uVar2 = uVar8 + 1;
    *param_1 = uVar2;
    if (uVar2 == 0) {
      if (1 < param_4) {
        uVar2 = param_1[1];
        param_1[1] = uVar2 + 1;
        if (uVar2 + 1 == 0) {
          if (param_4 == 2) {
            *param_1 = uVar8;
            goto LAB_00040bec;
          }
          uVar2 = param_1[2];
          param_1[2] = uVar2 + 1;
          if (uVar2 + 1 == 0) {
            iVar12 = 3;
            puVar3 = param_1 + 3;
            do {
              bVar1 = param_4 == iVar12;
              iVar12 = iVar12 + 1;
              if (bVar1) {
                uVar8 = 1;
                goto LAB_00040bd8;
              }
              uVar2 = *puVar3;
              *puVar3 = uVar2 + 1;
              puVar3 = puVar3 + 1;
            } while (uVar2 + 1 == 0);
          }
        }
        goto LAB_00040d40;
      }
      *param_1 = 0xffffffff;
LAB_00040bec:
      uVar2 = 2;
      if (1 < uVar11) {
        uVar2 = param_1[1];
        param_1[1] = uVar2 - 1;
        if (uVar2 == 0) {
          uVar2 = 2;
          if (uVar11 == 2) goto LAB_00040c50;
          uVar2 = param_1[2];
          param_1[2] = uVar2 - 1;
          if (uVar2 == 0) {
            uVar2 = 3;
            puVar3 = param_1 + 3;
            do {
              bVar1 = uVar11 == uVar2;
              uVar2 = uVar2 + 1;
              if (bVar1) {
                uVar2 = 2;
                goto LAB_00040c50;
              }
              uVar8 = *puVar3;
              *puVar3 = uVar8 - 1;
              puVar3 = puVar3 + 1;
            } while (uVar8 == 0);
          }
        }
        goto LAB_00040d40;
      }
    }
    else {
LAB_00040d40:
      uVar2 = 1;
    }
LAB_00040c50:
    uVar11 = *puVar5;
    *puVar5 = uVar11 - uVar2;
    puVar3 = puVar5;
    iVar12 = iVar9;
    if (uVar2 <= uVar11) goto LAB_00040abc;
    if (iVar9 != 1) {
      uVar11 = puVar5[1];
      puVar5[1] = uVar11 - 1;
      if (uVar11 == 0) {
        uVar11 = 0xffffffff;
        if (iVar9 != 2) {
          uVar11 = puVar5[2];
          puVar5[2] = uVar11 - 1;
          if (uVar11 == 0) {
            iVar6 = 3;
            puVar4 = puVar5 + 3;
            do {
              bVar1 = iVar6 == iVar9;
              iVar6 = iVar6 + 1;
              if (bVar1) {
                uVar11 = 0xffffffff;
                goto LAB_00040cc8;
              }
              uVar11 = *puVar4;
              *puVar4 = uVar11 - 1;
              puVar4 = puVar4 + 1;
            } while (uVar11 == 0);
          }
          goto LAB_00040d74;
        }
      }
      else {
LAB_00040d74:
        uVar11 = 0;
      }
LAB_00040cc8:
      *puVar7 = uVar11;
      uVar11 = *puVar5;
      *puVar5 = uVar11 - uVar13;
      if (uVar13 <= uVar11) goto LAB_00040d60;
      goto LAB_00040ce0;
    }
    *puVar7 = 0xffffffff;
    uVar11 = *puVar5;
    *puVar5 = uVar11 - uVar13;
    if (uVar11 < uVar13) goto LAB_00040ae0;
LAB_00040d60:
    iVar9 = 0;
  }
  else {
    puVar4 = puVar5;
    puVar10 = param_2 + 1;
    do {
      *puVar4 = uVar2;
      iVar6 = iVar6 + -1;
      uVar2 = *puVar10;
      puVar4 = puVar4 + 1;
      puVar10 = puVar10 + 1;
    } while (iVar6 != 0);
    puVar5[iVar9 + -1] = uVar2;
    if (uVar11 != 0) goto LAB_0004093c;
LAB_00040abc:
    *puVar7 = 0;
    uVar11 = *puVar3;
    *puVar3 = uVar11 - uVar13;
    if (uVar13 <= uVar11) goto LAB_00040d60;
    if (iVar12 != 1) {
LAB_00040ce0:
      uVar11 = puVar3[1];
      puVar3[1] = uVar11 - 1;
      if (uVar11 == 0) {
        iVar9 = 1;
        if (iVar12 == 2) goto LAB_00040ae4;
        uVar11 = puVar3[2];
        puVar3[2] = uVar11 - 1;
        if (uVar11 == 0) {
          iVar9 = 3;
          puVar5 = puVar3 + 3;
          do {
            if (iVar9 == iVar12) {
              iVar9 = 1;
              goto LAB_00040ae4;
            }
            uVar11 = *puVar5;
            iVar9 = iVar9 + 1;
            *puVar5 = uVar11 - 1;
            puVar5 = puVar5 + 1;
          } while (uVar11 == 0);
        }
      }
      goto LAB_00040d60;
    }
LAB_00040ae0:
    iVar9 = 1;
  }
LAB_00040ae4:
  uVar11 = *puVar7;
  *puVar7 = uVar11 - iVar9;
  if (-1 < (int)(uVar11 - iVar9)) {
    return;
  }
  uVar11 = *param_1;
  *param_1 = uVar11 + 1;
  if (uVar11 + 1 == 0) {
    if (param_4 < 2) {
LAB_00040b68:
      *puVar7 = 1;
      return;
    }
    uVar11 = param_1[1];
    param_1[1] = uVar11 + 1;
    if (uVar11 + 1 == 0) {
      if (param_4 == 2) goto LAB_00040b68;
      uVar11 = param_1[2];
      param_1[2] = uVar11 + 1;
      if (uVar11 + 1 == 0) {
        iVar9 = 3;
        puVar5 = param_1 + 3;
        do {
          if (param_4 == iVar9) goto LAB_00040b68;
          uVar11 = *puVar5;
          iVar9 = iVar9 + 1;
          *puVar5 = uVar11 + 1;
          puVar5 = puVar5 + 1;
        } while (uVar11 + 1 == 0);
      }
    }
  }
  *puVar7 = 0;
  return;
}


lui gp,0x6
addiu gp,gp,0x48b0
addu gp,gp,t9
addiu sp,sp,-0x40
sw s1,0x20(sp)
srl s1,a2,0x5
sw s3,0x28(sp)
or s3,a3,zero
sll a3,a3,0x2
sw gp,0x10(sp)
slt v0,s1,s3
sw s6,0x34(sp)
sw s5,0x30(sp)
addu s6,a0,a3
sw s4,0x2c(sp)
andi s5,a2,0x1f
sw s0,0x1c(sp)
or s4,a0,zero
sw ra,0x3c(sp)
or s0,a1,zero
sw s7,0x38(sp)
bne v0,zero,0x000408dc
_sw s2,0x24(sp)
subu a2,s1,s3
sll s2,a2,0x2
subu s3,s3,a2
bne s5,zero,0x000409b4
_addu s1,a0,s2
beq a2,zero,0x00040844
_sll s3,s3,0x2
addu v0,a1,s3
addiu v1,a2,-0x1
beq v1,zero,0x00040d7c
_lw a1,0x0(v0)
addiu v0,v0,0x4
addiu a0,a0,0x4
sw a1,-0x4(a0)
addiu v0,v0,0x4
addiu v1,v1,-0x1
bne v1,zero,0x0004081c
_lw a1,-0x4(v0)
sll v0,a2,0x2
addiu v0,v0,-0x4
addu v0,s4,v0
sw a1,0x0(v0)
addu a3,s0,a3
addu s3,s1,s3
or v0,s1,zero
lw s5,0x0(a3)
addiu s0,s0,0x4
lw v1,-0x4(s0)
addiu v0,v0,0x4
nor v1,zero,v1
bne v0,s3,0x00040854
_sw v1,-0x4(v0)
sw zero,0x0(s6)
or v1,s4,zero
addiu v1,v1,0x4
lw v0,-0x4(v1)
addiu v0,v0,0x1
beq v0,zero,0x00040874
_sw v0,-0x4(v1)
addiu v0,s5,0x1
bne v0,zero,0x00040a2c
_nop
addiu s2,s2,0x4
addu s4,s4,s2
addiu s4,s4,0x4
lw v0,-0x4(s4)
addiu v0,v0,0x1
beq v0,zero,0x0004089c
_sw v0,-0x4(s4)
lw ra,0x3c(sp)
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
subu s7,s3,s1
sll v0,s1,0x2
sll a1,s7,0x2
addiu a2,s1,0x1
addu a1,s0,a1
bne s5,zero,0x00040b98
_addu s2,a0,v0
addiu a0,v0,0x4
or v0,s4,zero
addu a0,s4,a0
addiu a1,a1,0x4
lw v1,-0x4(a1)
addiu v0,v0,0x4
nor v1,zero,v1
bne a0,v0,0x00040904
_sw v1,-0x4(v0)
addu a3,s0,a3
lw a0,0x0(s0)
addiu v0,s7,-0x1
bne v0,zero,0x00040a80
_lw s5,0x0(a3)
or v0,s2,zero
beq s1,zero,0x00040ab4
_sw a0,0x0(v0)
lw v1,0x0(s4)
addiu v0,v1,0x1
bne v0,zero,0x00040d40
_sw v0,0x0(s4)
slti v0,s3,0x2
bne v0,zero,0x00040d88
_li v0,-0x1
lw v0,0x4(s4)
addiu v0,v0,0x1
bne v0,zero,0x00040d40
_sw v0,0x4(s4)
li v0,0x2
beq s3,v0,0x00040d90
_nop
lw v0,0x8(s4)
addiu v0,v0,0x1
bne v0,zero,0x00040d40
_sw v0,0x8(s4)
addiu v1,s4,0xc
b 0x000409a4
_li a0,0x3
lw v0,0x0(v1)
addiu v1,v1,0x4
addiu v0,v0,0x1
bne v0,zero,0x00040d40
_sw v0,-0x4(v1)
bne s3,a0,0x00040990
_addiu a0,a0,0x1
b 0x00040bd8
_li v1,0x1
sll a1,s3,0x2
lw t9,-0x7ad4(gp)
addiu a2,a2,0x1
addu a1,s0,a1
jalr t9
_or a3,s5,zero
or a3,s5,zero
lw gp,0x10(sp)
or a2,s3,zero
or a1,s0,zero
lw s5,0x0(s1)
lw t9,-0x7ecc(gp)
jalr t9
_or a0,s1,zero
sw zero,0x0(s6)
addiu v0,v0,0x1
lw v1,0x0(s4)
addu v1,v0,v1
sltu v0,v1,v0
beq v0,zero,0x00040888
_sw v1,0x0(s4)
or v1,s4,zero
addiu v1,v1,0x4
lw v0,0x0(v1)
addiu v0,v0,0x1
beq v0,zero,0x00040a0c
_sw v0,0x0(v1)
addiu v0,s5,0x1
beq v0,zero,0x00040894
_nop
lw v1,0x0(s1)
addu v1,v0,v1
sltu v0,v1,v0
beq v0,zero,0x000408b0
_sw v1,0x0(s1)
addiu s1,s1,0x4
lw v0,0x0(s1)
addiu v0,v0,0x1
beq v0,zero,0x00040a40
_sw v0,0x0(s1)
lw ra,0x3c(sp)
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
addiu s0,s0,0x4
or v1,s2,zero
addiu v1,v1,0x4
sw a0,-0x4(v1)
addiu s0,s0,0x4
addiu v0,v0,-0x1
bne v0,zero,0x00040a88
_lw a0,-0x4(s0)
sll v0,s7,0x2
addiu v0,v0,-0x4
addu v0,s2,v0
bne s1,zero,0x0004093c
_sw a0,0x0(v0)
or s7,s3,zero
or s2,s4,zero
sw zero,0x0(s6)
lw v0,0x0(s2)
subu v1,v0,s5
sltu s5,v0,s5
beq s5,zero,0x00040d60
_sw v1,0x0(s2)
li v0,0x1
bne s7,v0,0x00040ce0
_nop
li v1,0x1
lw v0,0x0(s6)
subu v0,v0,v1
bgez v0,0x000408b0
_sw v0,0x0(s6)
lw v0,0x0(s4)
addiu v0,v0,0x1
bne v0,zero,0x00040d68
_sw v0,0x0(s4)
slti v0,s3,0x2
bne v0,zero,0x00040b68
_li v0,0x1
lw v0,0x4(s4)
addiu v0,v0,0x1
bne v0,zero,0x00040d68
_sw v0,0x4(s4)
li v0,0x2
beq s3,v0,0x00040b68
_li v0,0x1
lw v0,0x8(s4)
addiu v0,v0,0x1
bne v0,zero,0x00040d68
_sw v0,0x8(s4)
addiu s4,s4,0xc
b 0x00040b60
_li v1,0x3
lw v0,0x0(s4)
addiu s4,s4,0x4
addiu v1,v1,0x1
addiu v0,v0,0x1
bne v0,zero,0x00040d68
_sw v0,-0x4(s4)
bne s3,v1,0x00040b48
_li v0,0x1
sw v0,0x0(s6)
lw ra,0x3c(sp)
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7ecc(gp)
jalr t9
_or a3,s5,zero
or a3,s5,zero
lw gp,0x10(sp)
or a2,s7,zero
lw s5,0x0(s2)
or a1,s0,zero
or a0,s2,zero
lw t9,-0x7ad4(gp)
jalr t9
_nor s5,zero,s5
beq s1,zero,0x00040c50
_nop
beq v0,zero,0x0004093c
_addiu v1,v0,-0x1
lw v0,0x0(s4)
subu a0,v0,v1
sltu v1,v0,v1
beq v1,zero,0x00040d40
_sw a0,0x0(s4)
slti v0,s1,0x2
bne v0,zero,0x00040c50
_li v0,0x2
lw v0,0x4(s4)
addiu v1,v0,-0x1
bne v0,zero,0x00040d40
_sw v1,0x4(s4)
li v0,0x2
beq s1,v0,0x00040c50
_nop
lw v0,0x8(s4)
addiu v1,v0,-0x1
bne v0,zero,0x00040d40
_sw v1,0x8(s4)
addiu v0,s4,0xc
b 0x00040c44
_li v1,0x3
lw a0,0x0(v0)
addiu v0,v0,0x4
addiu a1,a0,-0x1
bne a0,zero,0x00040d40
_sw a1,-0x4(v0)
bne s1,v1,0x00040c30
_addiu v1,v1,0x1
li v0,0x2
lw v1,0x0(s2)
subu a0,v1,v0
sltu v0,v1,v0
beq v0,zero,0x00040abc
_sw a0,0x0(s2)
li v0,0x1
beq s7,v0,0x00040d48
_li v0,-0x1
lw v0,0x4(s2)
addiu v1,v0,-0x1
bne v0,zero,0x00040d74
_sw v1,0x4(s2)
li v0,0x2
beq s7,v0,0x00040cc8
_li v0,-0x1
lw v0,0x8(s2)
addiu v1,v0,-0x1
bne v0,zero,0x00040d74
_sw v1,0x8(s2)
addiu v0,s2,0xc
b 0x00040cbc
_li v1,0x3
lw a0,0x0(v0)
addiu v0,v0,0x4
addiu a1,a0,-0x1
bne a0,zero,0x00040d74
_sw a1,-0x4(v0)
bne v1,s7,0x00040ca8
_addiu v1,v1,0x1
li v0,-0x1
sw v0,0x0(s6)
lw v0,0x0(s2)
subu v1,v0,s5
sltu s5,v0,s5
beq s5,zero,0x00040d60
_sw v1,0x0(s2)
lw v0,0x4(s2)
addiu v1,v0,-0x1
bne v0,zero,0x00040d60
_sw v1,0x4(s2)
li v0,0x2
beq s7,v0,0x00040ae4
_li v1,0x1
lw v0,0x8(s2)
addiu v1,v0,-0x1
bne v0,zero,0x00040d60
_sw v1,0x8(s2)
addiu v0,s2,0xc
b 0x00040d30
_li v1,0x3
lw a0,0x0(v0)
addiu v0,v0,0x4
addiu v1,v1,0x1
addiu a1,a0,-0x1
bne a0,zero,0x00040d60
_sw a1,-0x4(v0)
bne v1,s7,0x00040d18
_nop
b 0x00040ae4
_li v1,0x1
b 0x00040c50
_li v0,0x1
sw v0,0x0(s6)
lw v0,0x0(s2)
subu v1,v0,s5
sltu v0,v0,s5
bne v0,zero,0x00040ae0
_sw v1,0x0(s2)
b 0x00040ae4
_or v1,zero,zero
or v0,zero,zero
b 0x00040b6c
_sw v0,0x0(s6)
b 0x00040cc8
_or v0,zero,zero
or v0,a0,zero
b 0x00040844
_sw a1,0x0(v0)
b 0x00040bec
_sw v0,0x0(s4)
b 0x00040bec
_sw v1,0x0(s4)
(translation_unit "void FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)\n\n{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}\n\n" (function_definition "void FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)\n\n{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)" identifier (parameter_list "(uint *param_1,uint *param_2,uint param_3,int param_4)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (expression_statement "uVar11 = param_3 >> 5;" (assignment_expression "uVar11 = param_3 >> 5" identifier = (binary_expression "param_3 >> 5" identifier >> number_literal)) ;) (expression_statement "puVar7 = param_1 + param_4;" (assignment_expression "puVar7 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) (expression_statement "param_3 = param_3 & 0x1f;" (assignment_expression "param_3 = param_3 & 0x1f" identifier = (binary_expression "param_3 & 0x1f" identifier & number_literal)) ;) (if_statement "if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }" if (parenthesized_expression "(param_4 <= (int)uVar11)" ( (binary_expression "param_4 <= (int)uVar11" identifier <= (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }" { (expression_statement "iVar9 = uVar11 - param_4;" (assignment_expression "iVar9 = uVar11 - param_4" identifier = (binary_expression "uVar11 - param_4" identifier - identifier)) ;) (expression_statement "iVar12 = param_4 - iVar9;" (assignment_expression "iVar12 = param_4 - iVar9" identifier = (binary_expression "param_4 - iVar9" identifier - identifier)) ;) (expression_statement "puVar5 = param_1 + iVar9;" (assignment_expression "puVar5 = param_1 + iVar9" identifier = (binary_expression "param_1 + iVar9" identifier + identifier)) ;) (if_statement "if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }" { (if_statement "if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }" { (expression_statement "puVar4 = param_2 + iVar12;" (assignment_expression "puVar4 = param_2 + iVar12" identifier = (binary_expression "param_2 + iVar12" identifier + identifier)) ;) (expression_statement "iVar6 = iVar9 + -1;" (assignment_expression "iVar6 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          *param_1 = uVar11;\n        }" { (expression_statement "*param_1 = uVar11;" (assignment_expression "*param_1 = uVar11" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" else (compound_statement "{\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" { (do_statement "do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);" do (compound_statement "{\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          }" { (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = uVar11;" (assignment_expression "*puVar3 = uVar11" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "param_1[iVar9 + -1] = uVar11;" (assignment_expression "param_1[iVar9 + -1] = uVar11" (subscript_expression "param_1[iVar9 + -1]" identifier [ (binary_expression "iVar9 + -1" identifier + number_literal) ]) = identifier) ;) }))) })) (expression_statement "uVar11 = param_2[param_4];" (assignment_expression "uVar11 = param_2[param_4]" identifier = (subscript_expression "param_2[param_4]" identifier [ identifier ])) ;) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) (do_statement "do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);" do (compound_statement "{\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      }" { (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = ~*param_2;" (assignment_expression "*puVar3 = ~*param_2" (pointer_expression "*puVar3" * identifier) = (unary_expression "~*param_2" ~ (pointer_expression "*param_2" * identifier))) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar5 + iVar12)" ( (binary_expression "puVar4 != puVar5 + iVar12" identifier != (binary_expression "puVar5 + iVar12" identifier + identifier)) )) ;) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (do_statement "do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);" do (compound_statement "{\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      }" { (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar2 + 1;" (assignment_expression "*puVar7 = uVar2 + 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" { (expression_statement "(*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);" (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" * (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2 + iVar12,iVar9 + 1,param_3)" ( identifier , (binary_expression "param_2 + iVar12" identifier + identifier) , (binary_expression "iVar9 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);" (assignment_expression "iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3)" identifier = (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" ( (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" * (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,param_2,iVar12,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "uVar2 = iVar12 + 1U + *param_1;" (assignment_expression "uVar2 = iVar12 + 1U + *param_1" identifier = (binary_expression "iVar12 + 1U + *param_1" (binary_expression "iVar12 + 1U" identifier + number_literal) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (if_statement "if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }" if (parenthesized_expression "(uVar2 < iVar12 + 1U)" ( (binary_expression "uVar2 < iVar12 + 1U" identifier < (binary_expression "iVar12 + 1U" identifier + number_literal)) )) (compound_statement "{\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }" { (do_statement "do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);" do (compound_statement "{\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar2 + 1;" (assignment_expression "*puVar7 = uVar2 + 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) ;) })) }))) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }" { (expression_statement "puVar7 = param_1 + iVar9 + 1;" (assignment_expression "puVar7 = param_1 + iVar9 + 1" identifier = (binary_expression "param_1 + iVar9 + 1" (binary_expression "param_1 + iVar9" identifier + identifier) + number_literal)) ;) (do_statement "do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);" do (compound_statement "{\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      }" { (expression_statement "uVar11 = *puVar7;" (assignment_expression "uVar11 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar11 + 1;" (assignment_expression "*puVar7 = uVar11 + 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 + uVar2;" (assignment_expression "*puVar5 = uVar11 + uVar2" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 + uVar2" identifier + identifier)) ;) (if_statement "if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }" if (parenthesized_expression "(uVar11 <= uVar11 + uVar2)" ( (binary_expression "uVar11 <= uVar11 + uVar2" identifier <= (binary_expression "uVar11 + uVar2" identifier + identifier)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (do_statement "do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);" do (compound_statement "{\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 + 1;" (assignment_expression "*puVar5 = uVar11 + 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar9 = param_4 - uVar11;" (assignment_expression "iVar9 = param_4 - uVar11" identifier = (binary_expression "param_4 - uVar11" identifier - identifier)) ;) (expression_statement "puVar5 = param_1 + uVar11;" (assignment_expression "puVar5 = param_1 + uVar11" identifier = (binary_expression "param_1 + uVar11" identifier + identifier)) ;) (if_statement "if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" { (expression_statement "(*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);" (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" ( (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" * (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2 + iVar9,uVar11 + 1,param_3)" ( identifier , (binary_expression "param_2 + iVar9" identifier + identifier) , (binary_expression "uVar11 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar13 = ~*puVar5;" (assignment_expression "uVar13 = ~*puVar5" identifier = (unary_expression "~*puVar5" ~ (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3)" identifier = (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" * (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,param_2,iVar9,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" { (expression_statement "uVar8 = uVar2 - 1;" (assignment_expression "uVar8 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if (uVar2 == 0) goto LAB_0004093c;" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004093c;" goto statement_identifier ;)) (labeled_statement "LAB_00040bd8:\n      uVar2 = *param_1;" statement_identifier : (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "*param_1 = uVar2 - uVar8;" (assignment_expression "*param_1 = uVar2 - uVar8" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar2 - uVar8" identifier - identifier)) ;) (if_statement "if (uVar2 < uVar8) goto LAB_00040bec;" if (parenthesized_expression "(uVar2 < uVar8)" ( (binary_expression "uVar2 < uVar8" identifier < identifier) )) (goto_statement "goto LAB_00040bec;" goto statement_identifier ;)) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;) })) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (expression_statement "puVar4 = param_2 + iVar9;" (assignment_expression "puVar4 = param_2 + iVar9" identifier = (binary_expression "param_2 + iVar9" identifier + identifier)) ;) (do_statement "do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);" do (compound_statement "{\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  }" { (expression_statement "puVar10 = puVar3 + 1;" (assignment_expression "puVar10 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = ~*puVar4;" (assignment_expression "*puVar3 = ~*puVar4" (pointer_expression "*puVar3" * identifier) = (unary_expression "~*puVar4" ~ (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar3 = puVar10;" (assignment_expression "puVar3 = puVar10" identifier = identifier) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 + uVar11 + 1 != puVar10)" ( (binary_expression "param_1 + uVar11 + 1 != puVar10" (binary_expression "param_1 + uVar11 + 1" (binary_expression "param_1 + uVar11" identifier + identifier) + number_literal) != identifier) )) ;) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar6 = iVar9 + -1;" (assignment_expression "iVar6 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "uVar13 = param_2[param_4];" (assignment_expression "uVar13 = param_2[param_4]" identifier = (subscript_expression "param_2[param_4]" identifier [ identifier ])) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (expression_statement "iVar12 = param_4;" (assignment_expression "iVar12 = param_4" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }" { (expression_statement "*puVar5 = uVar2;" (assignment_expression "*puVar5 = uVar2" (pointer_expression "*puVar5" * identifier) = identifier) ;) (if_statement "if (uVar11 == 0) goto LAB_00040abc;" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00040abc;" goto statement_identifier ;)) (labeled_statement "LAB_0004093c:\n    uVar8 = *param_1;" statement_identifier : (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "uVar2 = uVar8 + 1;" (assignment_expression "uVar2 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (if_statement "if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }" { (if_statement "if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" if (parenthesized_expression "(1 < param_4)" ( (binary_expression "1 < param_4" number_literal < identifier) )) (compound_statement "{\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" { (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar2 + 1;" (assignment_expression "param_1[1] = uVar2 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }" if (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }" { (if_statement "if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }" if (parenthesized_expression "(param_4 == 2)" ( (binary_expression "param_4 == 2" identifier == number_literal) )) (compound_statement "{\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }" { (expression_statement "*param_1 = uVar8;" (assignment_expression "*param_1 = uVar8" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00040bec;" goto statement_identifier ;) })) (expression_statement "uVar2 = param_1[2];" (assignment_expression "uVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = uVar2 + 1;" (assignment_expression "param_1[2] = uVar2 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }" if (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }" { (expression_statement "iVar12 = 3;" (assignment_expression "iVar12 = 3" identifier = number_literal) ;) (expression_statement "puVar3 = param_1 + 3;" (assignment_expression "puVar3 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);" do (compound_statement "{\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            }" { (expression_statement "bVar1 = param_4 == iVar12;" (assignment_expression "bVar1 = param_4 == iVar12" identifier = (binary_expression "param_4 == iVar12" identifier == identifier)) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }" { (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00040bd8;" goto statement_identifier ;) })) (expression_statement "uVar2 = *puVar3;" (assignment_expression "uVar2 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*puVar3 = uVar2 + 1;" (assignment_expression "*puVar3 = uVar2 + 1" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) (expression_statement "*param_1 = 0xffffffff;" (assignment_expression "*param_1 = 0xffffffff" (pointer_expression "*param_1" * identifier) = number_literal) ;) (labeled_statement "LAB_00040bec:\n      uVar2 = 2;" statement_identifier : (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;)) (if_statement "if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" if (parenthesized_expression "(1 < uVar11)" ( (binary_expression "1 < uVar11" number_literal < identifier) )) (compound_statement "{\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" { (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar2 - 1;" (assignment_expression "param_1[1] = uVar2 - 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (if_statement "if (uVar11 == 2) goto LAB_00040c50;" if (parenthesized_expression "(uVar11 == 2)" ( (binary_expression "uVar11 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;)) (expression_statement "uVar2 = param_1[2];" (assignment_expression "uVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = uVar2 - 1;" (assignment_expression "param_1[2] = uVar2 - 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }" { (expression_statement "uVar2 = 3;" (assignment_expression "uVar2 = 3" identifier = number_literal) ;) (expression_statement "puVar3 = param_1 + 3;" (assignment_expression "puVar3 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);" do (compound_statement "{\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            }" { (expression_statement "bVar1 = uVar11 == uVar2;" (assignment_expression "bVar1 = uVar11 == uVar2" identifier = (binary_expression "uVar11 == uVar2" identifier == identifier)) ;) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;) })) (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*puVar3 = uVar8 - 1;" (assignment_expression "*puVar3 = uVar8 - 1" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00040d40:\n      uVar2 = 1;\n    }" else (compound_statement "{\nLAB_00040d40:\n      uVar2 = 1;\n    }" { (labeled_statement "LAB_00040d40:\n      uVar2 = 1;" statement_identifier : (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040c50:\n    uVar11 = *puVar5;" statement_identifier : (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;)) (expression_statement "*puVar5 = uVar11 - uVar2;" (assignment_expression "*puVar5 = uVar11 - uVar2" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - uVar2" identifier - identifier)) ;) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) (expression_statement "iVar12 = iVar9;" (assignment_expression "iVar12 = iVar9" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar11) goto LAB_00040abc;" if (parenthesized_expression "(uVar2 <= uVar11)" ( (binary_expression "uVar2 <= uVar11" identifier <= identifier) )) (goto_statement "goto LAB_00040abc;" goto statement_identifier ;)) (if_statement "if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" if (parenthesized_expression "(iVar9 != 1)" ( (binary_expression "iVar9 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" { (expression_statement "uVar11 = puVar5[1];" (assignment_expression "uVar11 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[1] = uVar11 - 1;" (assignment_expression "puVar5[1] = uVar11 - 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }" { (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }" if (parenthesized_expression "(iVar9 != 2)" ( (binary_expression "iVar9 != 2" identifier != number_literal) )) (compound_statement "{\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }" { (expression_statement "uVar11 = puVar5[2];" (assignment_expression "uVar11 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar5[2] = uVar11 - 1;" (assignment_expression "puVar5[2] = uVar11 - 1" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }" { (expression_statement "iVar6 = 3;" (assignment_expression "iVar6 = 3" identifier = number_literal) ;) (expression_statement "puVar4 = puVar5 + 3;" (assignment_expression "puVar4 = puVar5 + 3" identifier = (binary_expression "puVar5 + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);" do (compound_statement "{\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            }" { (expression_statement "bVar1 = iVar6 == iVar9;" (assignment_expression "bVar1 = iVar6 == iVar9" identifier = (binary_expression "iVar6 == iVar9" identifier == identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" { (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00040cc8;" goto statement_identifier ;) })) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "*puVar4 = uVar11 - 1;" (assignment_expression "*puVar4 = uVar11 - 1" (pointer_expression "*puVar4" * identifier) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) ;) })) (goto_statement "goto LAB_00040d74;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00040d74:\n        uVar11 = 0;\n      }" else (compound_statement "{\nLAB_00040d74:\n        uVar11 = 0;\n      }" { (labeled_statement "LAB_00040d74:\n        uVar11 = 0;" statement_identifier : (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040cc8:\n      *puVar7 = uVar11;" statement_identifier : (expression_statement "*puVar7 = uVar11;" (assignment_expression "*puVar7 = uVar11" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 - uVar13;" (assignment_expression "*puVar5 = uVar11 - uVar13" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - uVar13" identifier - identifier)) ;) (if_statement "if (uVar13 <= uVar11) goto LAB_00040d60;" if (parenthesized_expression "(uVar13 <= uVar11)" ( (binary_expression "uVar13 <= uVar11" identifier <= identifier) )) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;)) (goto_statement "goto LAB_00040ce0;" goto statement_identifier ;) })) (expression_statement "*puVar7 = 0xffffffff;" (assignment_expression "*puVar7 = 0xffffffff" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 - uVar13;" (assignment_expression "*puVar5 = uVar11 - uVar13" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - uVar13" identifier - identifier)) ;) (if_statement "if (uVar11 < uVar13) goto LAB_00040ae0;" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (goto_statement "goto LAB_00040ae0;" goto statement_identifier ;)) (labeled_statement "LAB_00040d60:\n    iVar9 = 0;" statement_identifier : (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" else (compound_statement "{\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" { (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "puVar10 = param_2 + 1;" (assignment_expression "puVar10 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);" do (compound_statement "{\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    }" { (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar2 = *puVar10;" (assignment_expression "uVar2 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "puVar5[iVar9 + -1] = uVar2;" (assignment_expression "puVar5[iVar9 + -1] = uVar2" (subscript_expression "puVar5[iVar9 + -1]" identifier [ (binary_expression "iVar9 + -1" identifier + number_literal) ]) = identifier) ;) (if_statement "if (uVar11 != 0) goto LAB_0004093c;" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0004093c;" goto statement_identifier ;)) (labeled_statement "LAB_00040abc:\n    *puVar7 = 0;" statement_identifier : (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;)) (expression_statement "uVar11 = *puVar3;" (assignment_expression "uVar11 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*puVar3 = uVar11 - uVar13;" (assignment_expression "*puVar3 = uVar11 - uVar13" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar11 - uVar13" identifier - identifier)) ;) (if_statement "if (uVar13 <= uVar11) goto LAB_00040d60;" if (parenthesized_expression "(uVar13 <= uVar11)" ( (binary_expression "uVar13 <= uVar11" identifier <= identifier) )) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;)) (if_statement "if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" if (parenthesized_expression "(iVar12 != 1)" ( (binary_expression "iVar12 != 1" identifier != number_literal) )) (compound_statement "{\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" { (labeled_statement "LAB_00040ce0:\n      uVar11 = puVar3[1];" statement_identifier : (expression_statement "uVar11 = puVar3[1];" (assignment_expression "uVar11 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;)) (expression_statement "puVar3[1] = uVar11 - 1;" (assignment_expression "puVar3[1] = uVar11 - 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (if_statement "if (iVar12 == 2) goto LAB_00040ae4;" if (parenthesized_expression "(iVar12 == 2)" ( (binary_expression "iVar12 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040ae4;" goto statement_identifier ;)) (expression_statement "uVar11 = puVar3[2];" (assignment_expression "uVar11 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "puVar3[2] = uVar11 - 1;" (assignment_expression "puVar3[2] = uVar11 - 1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }" { (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" identifier = number_literal) ;) (expression_statement "puVar5 = puVar3 + 3;" (assignment_expression "puVar5 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) (do_statement "do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);" do (compound_statement "{\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          }" { (if_statement "if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }" if (parenthesized_expression "(iVar9 == iVar12)" ( (binary_expression "iVar9 == iVar12" identifier == identifier) )) (compound_statement "{\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00040ae4;" goto statement_identifier ;) })) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = uVar11 - 1;" (assignment_expression "*puVar5 = uVar11 - 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;) })) (labeled_statement "LAB_00040ae0:\n    iVar9 = 1;" statement_identifier : (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040ae4:\n  uVar11 = *puVar7;" statement_identifier : (expression_statement "uVar11 = *puVar7;" (assignment_expression "uVar11 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;)) (expression_statement "*puVar7 = uVar11 - iVar9;" (assignment_expression "*puVar7 = uVar11 - iVar9" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar11 - iVar9" identifier - identifier)) ;) (if_statement "if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }" if (parenthesized_expression "(-1 < (int)(uVar11 - iVar9))" ( (binary_expression "-1 < (int)(uVar11 - iVar9)" number_literal < (cast_expression "(int)(uVar11 - iVar9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar11 - iVar9)" ( (binary_expression "uVar11 - iVar9" identifier - identifier) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar11 = *param_1;" (assignment_expression "uVar11 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = uVar11 + 1;" (assignment_expression "*param_1 = uVar11 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }" if (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }" { (if_statement "if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }" if (parenthesized_expression "(param_4 < 2)" ( (binary_expression "param_4 < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }" { (labeled_statement "LAB_00040b68:\n      *puVar7 = 1;" statement_identifier : (expression_statement "*puVar7 = 1;" (assignment_expression "*puVar7 = 1" (pointer_expression "*puVar7" * identifier) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar11 = param_1[1];" (assignment_expression "uVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar11 + 1;" (assignment_expression "param_1[1] = uVar11 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }" { (if_statement "if (param_4 == 2) goto LAB_00040b68;" if (parenthesized_expression "(param_4 == 2)" ( (binary_expression "param_4 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040b68;" goto statement_identifier ;)) (expression_statement "uVar11 = param_1[2];" (assignment_expression "uVar11 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = uVar11 + 1;" (assignment_expression "param_1[2] = uVar11 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }" if (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }" { (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" identifier = number_literal) ;) (expression_statement "puVar5 = param_1 + 3;" (assignment_expression "puVar5 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (do_statement "do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);" do (compound_statement "{\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        }" { (if_statement "if (param_4 == iVar9) goto LAB_00040b68;" if (parenthesized_expression "(param_4 == iVar9)" ( (binary_expression "param_4 == iVar9" identifier == identifier) )) (goto_statement "goto LAB_00040b68;" goto statement_identifier ;)) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = uVar11 + 1;" (assignment_expression "*puVar5 = uVar11 + 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) ;) })) })) })) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void mpn_fft_mul_2exp_modF(mp_ptr r,mp_srcptr a,mp_bitcnt_t d,mp_size_t n)\n\n{\n  bool bVar1;\n  mp_limb_t *pmVar2;\n  uint *puVar3;\n  mp_limb_t mVar4;\n  mp_ptr pmVar5;\n  uint *puVar6;\n  uint *puVar7;\n  int iVar8;\n  mp_ptr pmVar9;\n  mp_limb_t mVar10;\n  uint uVar11;\n  mp_limb_t *pmVar12;\n  mp_limb_t mVar13;\n  int iVar14;\n  uint *puVar15;\n  uint uVar16;\n  int iVar17;\n  uint uVar18;\n  \n  uVar16 = d >> 5;\n  pmVar9 = r + n;\n  uVar18 = d & 0x1f;\n  if (n <= (int)uVar16) {\n    iVar14 = uVar16 - n;\n    iVar17 = n - iVar14;\n    puVar7 = r + iVar14;\n    if (uVar18 == 0) {\n      if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }\n      uVar16 = a[n];\n      puVar3 = puVar7;\n      do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);\n      *pmVar9 = 0;\n      pmVar9 = r;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n    uVar16 = uVar16 + 1;\n    if (uVar16 == 0) {\n      pmVar9 = r + iVar14 + 1;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n      return;\n    }\n    uVar18 = *puVar7;\n    *puVar7 = uVar16 + uVar18;\n    if (uVar16 <= uVar16 + uVar18) {\n      return;\n    }\n    do {\n      puVar7 = puVar7 + 1;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 + 1;\n    } while (uVar16 + 1 == 0);\n    return;\n  }\n  iVar14 = n - uVar16;\n  puVar7 = r + uVar16;\n  if (uVar18 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18);\n    mVar13 = ~*puVar7;\n    uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18);\n    if (uVar16 != 0) {\n      uVar11 = uVar18 - 1;\n      if (uVar18 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar18 = *r;\n      *r = uVar18 - uVar11;\n      if (uVar18 < uVar11) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  pmVar5 = r;\n  puVar3 = a + iVar14;\n  do {\n    puVar6 = pmVar5 + 1;\n    *pmVar5 = ~*puVar3;\n    pmVar5 = puVar6;\n    puVar3 = puVar3 + 1;\n  } while (r + uVar16 + 1 != puVar6);\n  uVar18 = *a;\n  iVar8 = iVar14 + -1;\n  mVar13 = a[n];\n  puVar3 = r;\n  iVar17 = n;\n  if (iVar8 == 0) {\n    *puVar7 = uVar18;\n    if (uVar16 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    mVar10 = *r;\n    mVar4 = mVar10 + 1;\n    *r = mVar4;\n    if (mVar4 == 0) {\n      if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *r = 0xffffffff;\nLAB_00040bec:\n      uVar18 = 2;\n      if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar18 = 1;\n    }\nLAB_00040c50:\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - uVar18;\n    puVar3 = puVar7;\n    iVar17 = iVar14;\n    if (uVar18 <= uVar16) goto LAB_00040abc;\n    if (iVar14 != 1) {\n      uVar16 = puVar7[1];\n      puVar7[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }\nLAB_00040cc8:\n      *pmVar9 = mVar4;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 - mVar13;\n      if (mVar13 <= uVar16) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *pmVar9 = 0xffffffff;\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - mVar13;\n    if (uVar16 < mVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar14 = 0;\n  }\n  else {\n    puVar6 = puVar7;\n    puVar15 = a + 1;\n    do {\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    } while (iVar8 != 0);\n    puVar7[iVar14 + -1] = uVar18;\n    if (uVar16 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *pmVar9 = 0;\n    uVar16 = *puVar3;\n    *puVar3 = uVar16 - mVar13;\n    if (mVar13 <= uVar16) goto LAB_00040d60;\n    if (iVar17 != 1) {\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar14 = 1;\n  }\nLAB_00040ae4:\n  mVar13 = *pmVar9;\n  *pmVar9 = mVar13 - iVar14;\n  if (-1 < (int)(mVar13 - iVar14)) {\n    return;\n  }\n  mVar13 = *r;\n  *r = mVar13 + 1;\n  if (mVar13 + 1 == 0) {\n    if (n < 2) {\nLAB_00040b68:\n      *pmVar9 = 1;\n      return;\n    }\n    mVar13 = r[1];\n    r[1] = mVar13 + 1;\n    if (mVar13 + 1 == 0) {\n      if (n == 2) goto LAB_00040b68;\n      mVar13 = r[2];\n      r[2] = mVar13 + 1;\n      if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n  }\n  *pmVar9 = 0;\n  return;\n}\n\n" (function_definition "void mpn_fft_mul_2exp_modF(mp_ptr r,mp_srcptr a,mp_bitcnt_t d,mp_size_t n)\n\n{\n  bool bVar1;\n  mp_limb_t *pmVar2;\n  uint *puVar3;\n  mp_limb_t mVar4;\n  mp_ptr pmVar5;\n  uint *puVar6;\n  uint *puVar7;\n  int iVar8;\n  mp_ptr pmVar9;\n  mp_limb_t mVar10;\n  uint uVar11;\n  mp_limb_t *pmVar12;\n  mp_limb_t mVar13;\n  int iVar14;\n  uint *puVar15;\n  uint uVar16;\n  int iVar17;\n  uint uVar18;\n  \n  uVar16 = d >> 5;\n  pmVar9 = r + n;\n  uVar18 = d & 0x1f;\n  if (n <= (int)uVar16) {\n    iVar14 = uVar16 - n;\n    iVar17 = n - iVar14;\n    puVar7 = r + iVar14;\n    if (uVar18 == 0) {\n      if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }\n      uVar16 = a[n];\n      puVar3 = puVar7;\n      do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);\n      *pmVar9 = 0;\n      pmVar9 = r;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n    uVar16 = uVar16 + 1;\n    if (uVar16 == 0) {\n      pmVar9 = r + iVar14 + 1;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n      return;\n    }\n    uVar18 = *puVar7;\n    *puVar7 = uVar16 + uVar18;\n    if (uVar16 <= uVar16 + uVar18) {\n      return;\n    }\n    do {\n      puVar7 = puVar7 + 1;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 + 1;\n    } while (uVar16 + 1 == 0);\n    return;\n  }\n  iVar14 = n - uVar16;\n  puVar7 = r + uVar16;\n  if (uVar18 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18);\n    mVar13 = ~*puVar7;\n    uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18);\n    if (uVar16 != 0) {\n      uVar11 = uVar18 - 1;\n      if (uVar18 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar18 = *r;\n      *r = uVar18 - uVar11;\n      if (uVar18 < uVar11) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  pmVar5 = r;\n  puVar3 = a + iVar14;\n  do {\n    puVar6 = pmVar5 + 1;\n    *pmVar5 = ~*puVar3;\n    pmVar5 = puVar6;\n    puVar3 = puVar3 + 1;\n  } while (r + uVar16 + 1 != puVar6);\n  uVar18 = *a;\n  iVar8 = iVar14 + -1;\n  mVar13 = a[n];\n  puVar3 = r;\n  iVar17 = n;\n  if (iVar8 == 0) {\n    *puVar7 = uVar18;\n    if (uVar16 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    mVar10 = *r;\n    mVar4 = mVar10 + 1;\n    *r = mVar4;\n    if (mVar4 == 0) {\n      if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *r = 0xffffffff;\nLAB_00040bec:\n      uVar18 = 2;\n      if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar18 = 1;\n    }\nLAB_00040c50:\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - uVar18;\n    puVar3 = puVar7;\n    iVar17 = iVar14;\n    if (uVar18 <= uVar16) goto LAB_00040abc;\n    if (iVar14 != 1) {\n      uVar16 = puVar7[1];\n      puVar7[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }\nLAB_00040cc8:\n      *pmVar9 = mVar4;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 - mVar13;\n      if (mVar13 <= uVar16) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *pmVar9 = 0xffffffff;\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - mVar13;\n    if (uVar16 < mVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar14 = 0;\n  }\n  else {\n    puVar6 = puVar7;\n    puVar15 = a + 1;\n    do {\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    } while (iVar8 != 0);\n    puVar7[iVar14 + -1] = uVar18;\n    if (uVar16 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *pmVar9 = 0;\n    uVar16 = *puVar3;\n    *puVar3 = uVar16 - mVar13;\n    if (mVar13 <= uVar16) goto LAB_00040d60;\n    if (iVar17 != 1) {\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar14 = 1;\n  }\nLAB_00040ae4:\n  mVar13 = *pmVar9;\n  *pmVar9 = mVar13 - iVar14;\n  if (-1 < (int)(mVar13 - iVar14)) {\n    return;\n  }\n  mVar13 = *r;\n  *r = mVar13 + 1;\n  if (mVar13 + 1 == 0) {\n    if (n < 2) {\nLAB_00040b68:\n      *pmVar9 = 1;\n      return;\n    }\n    mVar13 = r[1];\n    r[1] = mVar13 + 1;\n    if (mVar13 + 1 == 0) {\n      if (n == 2) goto LAB_00040b68;\n      mVar13 = r[2];\n      r[2] = mVar13 + 1;\n      if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n  }\n  *pmVar9 = 0;\n  return;\n}" primitive_type (function_declarator "mpn_fft_mul_2exp_modF(mp_ptr r,mp_srcptr a,mp_bitcnt_t d,mp_size_t n)" identifier (parameter_list "(mp_ptr r,mp_srcptr a,mp_bitcnt_t d,mp_size_t n)" ( (parameter_declaration "mp_ptr r" type_identifier identifier) , (parameter_declaration "mp_srcptr a" type_identifier identifier) , (parameter_declaration "mp_bitcnt_t d" type_identifier identifier) , (parameter_declaration "mp_size_t n" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  mp_limb_t *pmVar2;\n  uint *puVar3;\n  mp_limb_t mVar4;\n  mp_ptr pmVar5;\n  uint *puVar6;\n  uint *puVar7;\n  int iVar8;\n  mp_ptr pmVar9;\n  mp_limb_t mVar10;\n  uint uVar11;\n  mp_limb_t *pmVar12;\n  mp_limb_t mVar13;\n  int iVar14;\n  uint *puVar15;\n  uint uVar16;\n  int iVar17;\n  uint uVar18;\n  \n  uVar16 = d >> 5;\n  pmVar9 = r + n;\n  uVar18 = d & 0x1f;\n  if (n <= (int)uVar16) {\n    iVar14 = uVar16 - n;\n    iVar17 = n - iVar14;\n    puVar7 = r + iVar14;\n    if (uVar18 == 0) {\n      if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }\n      uVar16 = a[n];\n      puVar3 = puVar7;\n      do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);\n      *pmVar9 = 0;\n      pmVar9 = r;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n    uVar16 = uVar16 + 1;\n    if (uVar16 == 0) {\n      pmVar9 = r + iVar14 + 1;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n      return;\n    }\n    uVar18 = *puVar7;\n    *puVar7 = uVar16 + uVar18;\n    if (uVar16 <= uVar16 + uVar18) {\n      return;\n    }\n    do {\n      puVar7 = puVar7 + 1;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 + 1;\n    } while (uVar16 + 1 == 0);\n    return;\n  }\n  iVar14 = n - uVar16;\n  puVar7 = r + uVar16;\n  if (uVar18 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18);\n    mVar13 = ~*puVar7;\n    uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18);\n    if (uVar16 != 0) {\n      uVar11 = uVar18 - 1;\n      if (uVar18 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar18 = *r;\n      *r = uVar18 - uVar11;\n      if (uVar18 < uVar11) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  pmVar5 = r;\n  puVar3 = a + iVar14;\n  do {\n    puVar6 = pmVar5 + 1;\n    *pmVar5 = ~*puVar3;\n    pmVar5 = puVar6;\n    puVar3 = puVar3 + 1;\n  } while (r + uVar16 + 1 != puVar6);\n  uVar18 = *a;\n  iVar8 = iVar14 + -1;\n  mVar13 = a[n];\n  puVar3 = r;\n  iVar17 = n;\n  if (iVar8 == 0) {\n    *puVar7 = uVar18;\n    if (uVar16 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    mVar10 = *r;\n    mVar4 = mVar10 + 1;\n    *r = mVar4;\n    if (mVar4 == 0) {\n      if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *r = 0xffffffff;\nLAB_00040bec:\n      uVar18 = 2;\n      if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar18 = 1;\n    }\nLAB_00040c50:\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - uVar18;\n    puVar3 = puVar7;\n    iVar17 = iVar14;\n    if (uVar18 <= uVar16) goto LAB_00040abc;\n    if (iVar14 != 1) {\n      uVar16 = puVar7[1];\n      puVar7[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }\nLAB_00040cc8:\n      *pmVar9 = mVar4;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 - mVar13;\n      if (mVar13 <= uVar16) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *pmVar9 = 0xffffffff;\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - mVar13;\n    if (uVar16 < mVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar14 = 0;\n  }\n  else {\n    puVar6 = puVar7;\n    puVar15 = a + 1;\n    do {\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    } while (iVar8 != 0);\n    puVar7[iVar14 + -1] = uVar18;\n    if (uVar16 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *pmVar9 = 0;\n    uVar16 = *puVar3;\n    *puVar3 = uVar16 - mVar13;\n    if (mVar13 <= uVar16) goto LAB_00040d60;\n    if (iVar17 != 1) {\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar14 = 1;\n  }\nLAB_00040ae4:\n  mVar13 = *pmVar9;\n  *pmVar9 = mVar13 - iVar14;\n  if (-1 < (int)(mVar13 - iVar14)) {\n    return;\n  }\n  mVar13 = *r;\n  *r = mVar13 + 1;\n  if (mVar13 + 1 == 0) {\n    if (n < 2) {\nLAB_00040b68:\n      *pmVar9 = 1;\n      return;\n    }\n    mVar13 = r[1];\n    r[1] = mVar13 + 1;\n    if (mVar13 + 1 == 0) {\n      if (n == 2) goto LAB_00040b68;\n      mVar13 = r[2];\n      r[2] = mVar13 + 1;\n      if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n  }\n  *pmVar9 = 0;\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "mp_limb_t *pmVar2;" type_identifier (pointer_declarator "*pmVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "mp_limb_t mVar4;" type_identifier identifier ;) (declaration "mp_ptr pmVar5;" type_identifier identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "mp_ptr pmVar9;" type_identifier identifier ;) (declaration "mp_limb_t mVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar12;" type_identifier (pointer_declarator "*pmVar12" * identifier) ;) (declaration "mp_limb_t mVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "uint uVar18;" type_identifier identifier ;) (expression_statement "uVar16 = d >> 5;" (assignment_expression "uVar16 = d >> 5" identifier = (binary_expression "d >> 5" identifier >> number_literal)) ;) (expression_statement "pmVar9 = r + n;" (assignment_expression "pmVar9 = r + n" identifier = (binary_expression "r + n" identifier + identifier)) ;) (expression_statement "uVar18 = d & 0x1f;" (assignment_expression "uVar18 = d & 0x1f" identifier = (binary_expression "d & 0x1f" identifier & number_literal)) ;) (if_statement "if (n <= (int)uVar16) {\n    iVar14 = uVar16 - n;\n    iVar17 = n - iVar14;\n    puVar7 = r + iVar14;\n    if (uVar18 == 0) {\n      if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }\n      uVar16 = a[n];\n      puVar3 = puVar7;\n      do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);\n      *pmVar9 = 0;\n      pmVar9 = r;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n    uVar16 = uVar16 + 1;\n    if (uVar16 == 0) {\n      pmVar9 = r + iVar14 + 1;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n      return;\n    }\n    uVar18 = *puVar7;\n    *puVar7 = uVar16 + uVar18;\n    if (uVar16 <= uVar16 + uVar18) {\n      return;\n    }\n    do {\n      puVar7 = puVar7 + 1;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 + 1;\n    } while (uVar16 + 1 == 0);\n    return;\n  }" if (parenthesized_expression "(n <= (int)uVar16)" ( (binary_expression "n <= (int)uVar16" identifier <= (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar14 = uVar16 - n;\n    iVar17 = n - iVar14;\n    puVar7 = r + iVar14;\n    if (uVar18 == 0) {\n      if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }\n      uVar16 = a[n];\n      puVar3 = puVar7;\n      do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);\n      *pmVar9 = 0;\n      pmVar9 = r;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n    uVar16 = uVar16 + 1;\n    if (uVar16 == 0) {\n      pmVar9 = r + iVar14 + 1;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n      return;\n    }\n    uVar18 = *puVar7;\n    *puVar7 = uVar16 + uVar18;\n    if (uVar16 <= uVar16 + uVar18) {\n      return;\n    }\n    do {\n      puVar7 = puVar7 + 1;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 + 1;\n    } while (uVar16 + 1 == 0);\n    return;\n  }" { (expression_statement "iVar14 = uVar16 - n;" (assignment_expression "iVar14 = uVar16 - n" identifier = (binary_expression "uVar16 - n" identifier - identifier)) ;) (expression_statement "iVar17 = n - iVar14;" (assignment_expression "iVar17 = n - iVar14" identifier = (binary_expression "n - iVar14" identifier - identifier)) ;) (expression_statement "puVar7 = r + iVar14;" (assignment_expression "puVar7 = r + iVar14" identifier = (binary_expression "r + iVar14" identifier + identifier)) ;) (if_statement "if (uVar18 == 0) {\n      if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }\n      uVar16 = a[n];\n      puVar3 = puVar7;\n      do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);\n      *pmVar9 = 0;\n      pmVar9 = r;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(uVar18 == 0)" ( (binary_expression "uVar18 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }\n      uVar16 = a[n];\n      puVar3 = puVar7;\n      do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);\n      *pmVar9 = 0;\n      pmVar9 = r;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n    }" { (if_statement "if (iVar14 != 0) {\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }" if (parenthesized_expression "(iVar14 != 0)" ( (binary_expression "iVar14 != 0" identifier != number_literal) )) (compound_statement "{\n        pmVar2 = a + iVar17;\n        iVar8 = iVar14 + -1;\n        mVar13 = *pmVar2;\n        pmVar12 = r;\n        if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }\n      }" { (expression_statement "pmVar2 = a + iVar17;" (assignment_expression "pmVar2 = a + iVar17" identifier = (binary_expression "a + iVar17" identifier + identifier)) ;) (expression_statement "iVar8 = iVar14 + -1;" (assignment_expression "iVar8 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) (expression_statement "mVar13 = *pmVar2;" (assignment_expression "mVar13 = *pmVar2" identifier = (pointer_expression "*pmVar2" * identifier)) ;) (expression_statement "pmVar12 = r;" (assignment_expression "pmVar12 = r" identifier = identifier) ;) (if_statement "if (iVar8 == 0) {\n          *r = mVar13;\n        }\n        else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          *r = mVar13;\n        }" { (expression_statement "*r = mVar13;" (assignment_expression "*r = mVar13" (pointer_expression "*r" * identifier) = identifier) ;) }) (else_clause "else {\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }" else (compound_statement "{\n          do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);\n          r[iVar14 + -1] = mVar13;\n        }" { (do_statement "do {\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          } while (iVar8 != 0);" do (compound_statement "{\n            pmVar2 = pmVar2 + 1;\n            *pmVar12 = mVar13;\n            iVar8 = iVar8 + -1;\n            mVar13 = *pmVar2;\n            pmVar12 = pmVar12 + 1;\n          }" { (expression_statement "pmVar2 = pmVar2 + 1;" (assignment_expression "pmVar2 = pmVar2 + 1" identifier = (binary_expression "pmVar2 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar12 = mVar13;" (assignment_expression "*pmVar12 = mVar13" (pointer_expression "*pmVar12" * identifier) = identifier) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "mVar13 = *pmVar2;" (assignment_expression "mVar13 = *pmVar2" identifier = (pointer_expression "*pmVar2" * identifier)) ;) (expression_statement "pmVar12 = pmVar12 + 1;" (assignment_expression "pmVar12 = pmVar12 + 1" identifier = (binary_expression "pmVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) ;) (expression_statement "r[iVar14 + -1] = mVar13;" (assignment_expression "r[iVar14 + -1] = mVar13" (subscript_expression "r[iVar14 + -1]" identifier [ (binary_expression "iVar14 + -1" identifier + number_literal) ]) = identifier) ;) }))) })) (expression_statement "uVar16 = a[n];" (assignment_expression "uVar16 = a[n]" identifier = (subscript_expression "a[n]" identifier [ identifier ])) ;) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" identifier = identifier) ;) (do_statement "do {\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      } while (puVar6 != puVar7 + iVar17);" do (compound_statement "{\n        puVar6 = puVar3 + 1;\n        *puVar3 = ~*a;\n        puVar3 = puVar6;\n        a = a + 1;\n      }" { (expression_statement "puVar6 = puVar3 + 1;" (assignment_expression "puVar6 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = ~*a;" (assignment_expression "*puVar3 = ~*a" (pointer_expression "*puVar3" * identifier) = (unary_expression "~*a" ~ (pointer_expression "*a" * identifier))) ;) (expression_statement "puVar3 = puVar6;" (assignment_expression "puVar3 = puVar6" identifier = identifier) ;) (expression_statement "a = a + 1;" (assignment_expression "a = a + 1" identifier = (binary_expression "a + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar6 != puVar7 + iVar17)" ( (binary_expression "puVar6 != puVar7 + iVar17" identifier != (binary_expression "puVar7 + iVar17" identifier + identifier)) )) ;) (expression_statement "*pmVar9 = 0;" (assignment_expression "*pmVar9 = 0" (pointer_expression "*pmVar9" * identifier) = number_literal) ;) (expression_statement "pmVar9 = r;" (assignment_expression "pmVar9 = r" identifier = identifier) ;) (do_statement "do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);" do (compound_statement "{\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      }" { (expression_statement "mVar13 = *pmVar9;" (assignment_expression "mVar13 = *pmVar9" identifier = (pointer_expression "*pmVar9" * identifier)) ;) (expression_statement "*pmVar9 = mVar13 + 1;" (assignment_expression "*pmVar9 = mVar13 + 1" (pointer_expression "*pmVar9" * identifier) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) (expression_statement "pmVar9 = pmVar9 + 1;" (assignment_expression "pmVar9 = pmVar9 + 1" identifier = (binary_expression "pmVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);\n      uVar16 = *puVar7;\n      iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);\n      *pmVar9 = 0;\n      uVar18 = iVar17 + 1U + *r;\n      *r = uVar18;\n      pmVar9 = r;\n      if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }" { (expression_statement "(*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18);" (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(r,a + iVar17,iVar14 + 1,uVar18)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" * (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(r,a + iVar17,iVar14 + 1,uVar18)" ( identifier , (binary_expression "a + iVar17" identifier + identifier) , (binary_expression "iVar14 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar16 = *puVar7;" (assignment_expression "uVar16 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18);" (assignment_expression "iVar17 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18)" identifier = (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(puVar7,a,iVar17,uVar18)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" ( (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" * (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,a,iVar17,uVar18)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*pmVar9 = 0;" (assignment_expression "*pmVar9 = 0" (pointer_expression "*pmVar9" * identifier) = number_literal) ;) (expression_statement "uVar18 = iVar17 + 1U + *r;" (assignment_expression "uVar18 = iVar17 + 1U + *r" identifier = (binary_expression "iVar17 + 1U + *r" (binary_expression "iVar17 + 1U" identifier + number_literal) + (pointer_expression "*r" * identifier))) ;) (expression_statement "*r = uVar18;" (assignment_expression "*r = uVar18" (pointer_expression "*r" * identifier) = identifier) ;) (expression_statement "pmVar9 = r;" (assignment_expression "pmVar9 = r" identifier = identifier) ;) (if_statement "if (uVar18 < iVar17 + 1U) {\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }" if (parenthesized_expression "(uVar18 < iVar17 + 1U)" ( (binary_expression "uVar18 < iVar17 + 1U" identifier < (binary_expression "iVar17 + 1U" identifier + number_literal)) )) (compound_statement "{\n        do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n      }" { (do_statement "do {\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);" do (compound_statement "{\n          pmVar9 = pmVar9 + 1;\n          mVar13 = *pmVar9;\n          *pmVar9 = mVar13 + 1;\n        }" { (expression_statement "pmVar9 = pmVar9 + 1;" (assignment_expression "pmVar9 = pmVar9 + 1" identifier = (binary_expression "pmVar9 + 1" identifier + number_literal)) ;) (expression_statement "mVar13 = *pmVar9;" (assignment_expression "mVar13 = *pmVar9" identifier = (pointer_expression "*pmVar9" * identifier)) ;) (expression_statement "*pmVar9 = mVar13 + 1;" (assignment_expression "*pmVar9 = mVar13 + 1" (pointer_expression "*pmVar9" * identifier) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) ;) })) }))) (expression_statement "uVar16 = uVar16 + 1;" (assignment_expression "uVar16 = uVar16 + 1" identifier = (binary_expression "uVar16 + 1" identifier + number_literal)) ;) (if_statement "if (uVar16 == 0) {\n      pmVar9 = r + iVar14 + 1;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n      return;\n    }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n      pmVar9 = r + iVar14 + 1;\n      do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);\n      return;\n    }" { (expression_statement "pmVar9 = r + iVar14 + 1;" (assignment_expression "pmVar9 = r + iVar14 + 1" identifier = (binary_expression "r + iVar14 + 1" (binary_expression "r + iVar14" identifier + identifier) + number_literal)) ;) (do_statement "do {\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (mVar13 + 1 == 0);" do (compound_statement "{\n        mVar13 = *pmVar9;\n        *pmVar9 = mVar13 + 1;\n        pmVar9 = pmVar9 + 1;\n      }" { (expression_statement "mVar13 = *pmVar9;" (assignment_expression "mVar13 = *pmVar9" identifier = (pointer_expression "*pmVar9" * identifier)) ;) (expression_statement "*pmVar9 = mVar13 + 1;" (assignment_expression "*pmVar9 = mVar13 + 1" (pointer_expression "*pmVar9" * identifier) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) (expression_statement "pmVar9 = pmVar9 + 1;" (assignment_expression "pmVar9 = pmVar9 + 1" identifier = (binary_expression "pmVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) ;) (return_statement "return;" return ;) })) (expression_statement "uVar18 = *puVar7;" (assignment_expression "uVar18 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar16 + uVar18;" (assignment_expression "*puVar7 = uVar16 + uVar18" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar16 + uVar18" identifier + identifier)) ;) (if_statement "if (uVar16 <= uVar16 + uVar18) {\n      return;\n    }" if (parenthesized_expression "(uVar16 <= uVar16 + uVar18)" ( (binary_expression "uVar16 <= uVar16 + uVar18" identifier <= (binary_expression "uVar16 + uVar18" identifier + identifier)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (do_statement "do {\n      puVar7 = puVar7 + 1;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 + 1;\n    } while (uVar16 + 1 == 0);" do (compound_statement "{\n      puVar7 = puVar7 + 1;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 + 1;\n    }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar16 = *puVar7;" (assignment_expression "uVar16 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar16 + 1;" (assignment_expression "*puVar7 = uVar16 + 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar16 + 1 == 0)" ( (binary_expression "uVar16 + 1 == 0" (binary_expression "uVar16 + 1" identifier + number_literal) == number_literal) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar14 = n - uVar16;" (assignment_expression "iVar14 = n - uVar16" identifier = (binary_expression "n - uVar16" identifier - identifier)) ;) (expression_statement "puVar7 = r + uVar16;" (assignment_expression "puVar7 = r + uVar16" identifier = (binary_expression "r + uVar16" identifier + identifier)) ;) (if_statement "if (uVar18 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18);\n    mVar13 = ~*puVar7;\n    uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18);\n    if (uVar16 != 0) {\n      uVar11 = uVar18 - 1;\n      if (uVar18 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar18 = *r;\n      *r = uVar18 - uVar11;\n      if (uVar18 < uVar11) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" if (parenthesized_expression "(uVar18 != 0)" ( (binary_expression "uVar18 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18);\n    mVar13 = ~*puVar7;\n    uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18);\n    if (uVar16 != 0) {\n      uVar11 = uVar18 - 1;\n      if (uVar18 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar18 = *r;\n      *r = uVar18 - uVar11;\n      if (uVar18 < uVar11) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" { (expression_statement "(*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18);" (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(r,a + iVar14,uVar16 + 1,uVar18)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" ( (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" * (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(r,a + iVar14,uVar16 + 1,uVar18)" ( identifier , (binary_expression "a + iVar14" identifier + identifier) , (binary_expression "uVar16 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "mVar13 = ~*puVar7;" (assignment_expression "mVar13 = ~*puVar7" identifier = (unary_expression "~*puVar7" ~ (pointer_expression "*puVar7" * identifier))) ;) (expression_statement "uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18);" (assignment_expression "uVar18 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18)" identifier = (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(puVar7,a,iVar14,uVar18)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" * (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,a,iVar14,uVar18)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (uVar16 != 0) {\n      uVar11 = uVar18 - 1;\n      if (uVar18 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar18 = *r;\n      *r = uVar18 - uVar11;\n      if (uVar18 < uVar11) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" if (parenthesized_expression "(uVar16 != 0)" ( (binary_expression "uVar16 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar11 = uVar18 - 1;\n      if (uVar18 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar18 = *r;\n      *r = uVar18 - uVar11;\n      if (uVar18 < uVar11) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" { (expression_statement "uVar11 = uVar18 - 1;" (assignment_expression "uVar11 = uVar18 - 1" identifier = (binary_expression "uVar18 - 1" identifier - number_literal)) ;) (if_statement "if (uVar18 == 0) goto LAB_0004093c;" if (parenthesized_expression "(uVar18 == 0)" ( (binary_expression "uVar18 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004093c;" goto statement_identifier ;)) (labeled_statement "LAB_00040bd8:\n      uVar18 = *r;" statement_identifier : (expression_statement "uVar18 = *r;" (assignment_expression "uVar18 = *r" identifier = (pointer_expression "*r" * identifier)) ;)) (expression_statement "*r = uVar18 - uVar11;" (assignment_expression "*r = uVar18 - uVar11" (pointer_expression "*r" * identifier) = (binary_expression "uVar18 - uVar11" identifier - identifier)) ;) (if_statement "if (uVar18 < uVar11) goto LAB_00040bec;" if (parenthesized_expression "(uVar18 < uVar11)" ( (binary_expression "uVar18 < uVar11" identifier < identifier) )) (goto_statement "goto LAB_00040bec;" goto statement_identifier ;)) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;) })) (expression_statement "pmVar5 = r;" (assignment_expression "pmVar5 = r" identifier = identifier) ;) (expression_statement "puVar3 = a + iVar14;" (assignment_expression "puVar3 = a + iVar14" identifier = (binary_expression "a + iVar14" identifier + identifier)) ;) (do_statement "do {\n    puVar6 = pmVar5 + 1;\n    *pmVar5 = ~*puVar3;\n    pmVar5 = puVar6;\n    puVar3 = puVar3 + 1;\n  } while (r + uVar16 + 1 != puVar6);" do (compound_statement "{\n    puVar6 = pmVar5 + 1;\n    *pmVar5 = ~*puVar3;\n    pmVar5 = puVar6;\n    puVar3 = puVar3 + 1;\n  }" { (expression_statement "puVar6 = pmVar5 + 1;" (assignment_expression "puVar6 = pmVar5 + 1" identifier = (binary_expression "pmVar5 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar5 = ~*puVar3;" (assignment_expression "*pmVar5 = ~*puVar3" (pointer_expression "*pmVar5" * identifier) = (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "pmVar5 = puVar6;" (assignment_expression "pmVar5 = puVar6" identifier = identifier) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(r + uVar16 + 1 != puVar6)" ( (binary_expression "r + uVar16 + 1 != puVar6" (binary_expression "r + uVar16 + 1" (binary_expression "r + uVar16" identifier + identifier) + number_literal) != identifier) )) ;) (expression_statement "uVar18 = *a;" (assignment_expression "uVar18 = *a" identifier = (pointer_expression "*a" * identifier)) ;) (expression_statement "iVar8 = iVar14 + -1;" (assignment_expression "iVar8 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) (expression_statement "mVar13 = a[n];" (assignment_expression "mVar13 = a[n]" identifier = (subscript_expression "a[n]" identifier [ identifier ])) ;) (expression_statement "puVar3 = r;" (assignment_expression "puVar3 = r" identifier = identifier) ;) (expression_statement "iVar17 = n;" (assignment_expression "iVar17 = n" identifier = identifier) ;) (if_statement "if (iVar8 == 0) {\n    *puVar7 = uVar18;\n    if (uVar16 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    mVar10 = *r;\n    mVar4 = mVar10 + 1;\n    *r = mVar4;\n    if (mVar4 == 0) {\n      if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *r = 0xffffffff;\nLAB_00040bec:\n      uVar18 = 2;\n      if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar18 = 1;\n    }\nLAB_00040c50:\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - uVar18;\n    puVar3 = puVar7;\n    iVar17 = iVar14;\n    if (uVar18 <= uVar16) goto LAB_00040abc;\n    if (iVar14 != 1) {\n      uVar16 = puVar7[1];\n      puVar7[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }\nLAB_00040cc8:\n      *pmVar9 = mVar4;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 - mVar13;\n      if (mVar13 <= uVar16) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *pmVar9 = 0xffffffff;\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - mVar13;\n    if (uVar16 < mVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar14 = 0;\n  }\n  else {\n    puVar6 = puVar7;\n    puVar15 = a + 1;\n    do {\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    } while (iVar8 != 0);\n    puVar7[iVar14 + -1] = uVar18;\n    if (uVar16 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *pmVar9 = 0;\n    uVar16 = *puVar3;\n    *puVar3 = uVar16 - mVar13;\n    if (mVar13 <= uVar16) goto LAB_00040d60;\n    if (iVar17 != 1) {\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar14 = 1;\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    *puVar7 = uVar18;\n    if (uVar16 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    mVar10 = *r;\n    mVar4 = mVar10 + 1;\n    *r = mVar4;\n    if (mVar4 == 0) {\n      if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *r = 0xffffffff;\nLAB_00040bec:\n      uVar18 = 2;\n      if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar18 = 1;\n    }\nLAB_00040c50:\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - uVar18;\n    puVar3 = puVar7;\n    iVar17 = iVar14;\n    if (uVar18 <= uVar16) goto LAB_00040abc;\n    if (iVar14 != 1) {\n      uVar16 = puVar7[1];\n      puVar7[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }\nLAB_00040cc8:\n      *pmVar9 = mVar4;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 - mVar13;\n      if (mVar13 <= uVar16) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *pmVar9 = 0xffffffff;\n    uVar16 = *puVar7;\n    *puVar7 = uVar16 - mVar13;\n    if (uVar16 < mVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar14 = 0;\n  }" { (expression_statement "*puVar7 = uVar18;" (assignment_expression "*puVar7 = uVar18" (pointer_expression "*puVar7" * identifier) = identifier) ;) (if_statement "if (uVar16 == 0) goto LAB_00040abc;" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00040abc;" goto statement_identifier ;)) (labeled_statement "LAB_0004093c:\n    mVar10 = *r;" statement_identifier : (expression_statement "mVar10 = *r;" (assignment_expression "mVar10 = *r" identifier = (pointer_expression "*r" * identifier)) ;)) (expression_statement "mVar4 = mVar10 + 1;" (assignment_expression "mVar4 = mVar10 + 1" identifier = (binary_expression "mVar10 + 1" identifier + number_literal)) ;) (expression_statement "*r = mVar4;" (assignment_expression "*r = mVar4" (pointer_expression "*r" * identifier) = identifier) ;) (if_statement "if (mVar4 == 0) {\n      if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *r = 0xffffffff;\nLAB_00040bec:\n      uVar18 = 2;\n      if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar18 = 1;\n    }" if (parenthesized_expression "(mVar4 == 0)" ( (binary_expression "mVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *r = 0xffffffff;\nLAB_00040bec:\n      uVar18 = 2;\n      if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }" { (if_statement "if (1 < n) {\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" if (parenthesized_expression "(1 < n)" ( (binary_expression "1 < n" number_literal < identifier) )) (compound_statement "{\n        mVar4 = r[1];\n        r[1] = mVar4 + 1;\n        if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" { (expression_statement "mVar4 = r[1];" (assignment_expression "mVar4 = r[1]" identifier = (subscript_expression "r[1]" identifier [ number_literal ])) ;) (expression_statement "r[1] = mVar4 + 1;" (assignment_expression "r[1] = mVar4 + 1" (subscript_expression "r[1]" identifier [ number_literal ]) = (binary_expression "mVar4 + 1" identifier + number_literal)) ;) (if_statement "if (mVar4 + 1 == 0) {\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }" if (parenthesized_expression "(mVar4 + 1 == 0)" ( (binary_expression "mVar4 + 1 == 0" (binary_expression "mVar4 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n          if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }\n          mVar4 = r[2];\n          r[2] = mVar4 + 1;\n          if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }\n        }" { (if_statement "if (n == 2) {\n            *r = mVar10;\n            goto LAB_00040bec;\n          }" if (parenthesized_expression "(n == 2)" ( (binary_expression "n == 2" identifier == number_literal) )) (compound_statement "{\n            *r = mVar10;\n            goto LAB_00040bec;\n          }" { (expression_statement "*r = mVar10;" (assignment_expression "*r = mVar10" (pointer_expression "*r" * identifier) = identifier) ;) (goto_statement "goto LAB_00040bec;" goto statement_identifier ;) })) (expression_statement "mVar4 = r[2];" (assignment_expression "mVar4 = r[2]" identifier = (subscript_expression "r[2]" identifier [ number_literal ])) ;) (expression_statement "r[2] = mVar4 + 1;" (assignment_expression "r[2] = mVar4 + 1" (subscript_expression "r[2]" identifier [ number_literal ]) = (binary_expression "mVar4 + 1" identifier + number_literal)) ;) (if_statement "if (mVar4 + 1 == 0) {\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }" if (parenthesized_expression "(mVar4 + 1 == 0)" ( (binary_expression "mVar4 + 1 == 0" (binary_expression "mVar4 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n            iVar17 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);\n          }" { (expression_statement "iVar17 = 3;" (assignment_expression "iVar17 = 3" identifier = number_literal) ;) (expression_statement "pmVar5 = r + 3;" (assignment_expression "pmVar5 = r + 3" identifier = (binary_expression "r + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 + 1 == 0);" do (compound_statement "{\n              bVar1 = n == iVar17;\n              iVar17 = iVar17 + 1;\n              if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 + 1;\n              pmVar5 = pmVar5 + 1;\n            }" { (expression_statement "bVar1 = n == iVar17;" (assignment_expression "bVar1 = n == iVar17" identifier = (binary_expression "n == iVar17" identifier == identifier)) ;) (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar11 = 1;\n                goto LAB_00040bd8;\n              }" { (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00040bd8;" goto statement_identifier ;) })) (expression_statement "mVar4 = *pmVar5;" (assignment_expression "mVar4 = *pmVar5" identifier = (pointer_expression "*pmVar5" * identifier)) ;) (expression_statement "*pmVar5 = mVar4 + 1;" (assignment_expression "*pmVar5 = mVar4 + 1" (pointer_expression "*pmVar5" * identifier) = (binary_expression "mVar4 + 1" identifier + number_literal)) ;) (expression_statement "pmVar5 = pmVar5 + 1;" (assignment_expression "pmVar5 = pmVar5 + 1" identifier = (binary_expression "pmVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar4 + 1 == 0)" ( (binary_expression "mVar4 + 1 == 0" (binary_expression "mVar4 + 1" identifier + number_literal) == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) (expression_statement "*r = 0xffffffff;" (assignment_expression "*r = 0xffffffff" (pointer_expression "*r" * identifier) = number_literal) ;) (labeled_statement "LAB_00040bec:\n      uVar18 = 2;" statement_identifier : (expression_statement "uVar18 = 2;" (assignment_expression "uVar18 = 2" identifier = number_literal) ;)) (if_statement "if (1 < uVar16) {\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" if (parenthesized_expression "(1 < uVar16)" ( (binary_expression "1 < uVar16" number_literal < identifier) )) (compound_statement "{\n        mVar4 = r[1];\n        r[1] = mVar4 - 1;\n        if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" { (expression_statement "mVar4 = r[1];" (assignment_expression "mVar4 = r[1]" identifier = (subscript_expression "r[1]" identifier [ number_literal ])) ;) (expression_statement "r[1] = mVar4 - 1;" (assignment_expression "r[1] = mVar4 - 1" (subscript_expression "r[1]" identifier [ number_literal ]) = (binary_expression "mVar4 - 1" identifier - number_literal)) ;) (if_statement "if (mVar4 == 0) {\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }" if (parenthesized_expression "(mVar4 == 0)" ( (binary_expression "mVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar18 = 2;\n          if (uVar16 == 2) goto LAB_00040c50;\n          mVar4 = r[2];\n          r[2] = mVar4 - 1;\n          if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }\n        }" { (expression_statement "uVar18 = 2;" (assignment_expression "uVar18 = 2" identifier = number_literal) ;) (if_statement "if (uVar16 == 2) goto LAB_00040c50;" if (parenthesized_expression "(uVar16 == 2)" ( (binary_expression "uVar16 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;)) (expression_statement "mVar4 = r[2];" (assignment_expression "mVar4 = r[2]" identifier = (subscript_expression "r[2]" identifier [ number_literal ])) ;) (expression_statement "r[2] = mVar4 - 1;" (assignment_expression "r[2] = mVar4 - 1" (subscript_expression "r[2]" identifier [ number_literal ]) = (binary_expression "mVar4 - 1" identifier - number_literal)) ;) (if_statement "if (mVar4 == 0) {\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }" if (parenthesized_expression "(mVar4 == 0)" ( (binary_expression "mVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar18 = 3;\n            pmVar5 = r + 3;\n            do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);\n          }" { (expression_statement "uVar18 = 3;" (assignment_expression "uVar18 = 3" identifier = number_literal) ;) (expression_statement "pmVar5 = r + 3;" (assignment_expression "pmVar5 = r + 3" identifier = (binary_expression "r + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            } while (mVar4 == 0);" do (compound_statement "{\n              bVar1 = uVar16 == uVar18;\n              uVar18 = uVar18 + 1;\n              if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }\n              mVar4 = *pmVar5;\n              *pmVar5 = mVar4 - 1;\n              pmVar5 = pmVar5 + 1;\n            }" { (expression_statement "bVar1 = uVar16 == uVar18;" (assignment_expression "bVar1 = uVar16 == uVar18" identifier = (binary_expression "uVar16 == uVar18" identifier == identifier)) ;) (expression_statement "uVar18 = uVar18 + 1;" (assignment_expression "uVar18 = uVar18 + 1" identifier = (binary_expression "uVar18 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar18 = 2;\n                goto LAB_00040c50;\n              }" { (expression_statement "uVar18 = 2;" (assignment_expression "uVar18 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;) })) (expression_statement "mVar4 = *pmVar5;" (assignment_expression "mVar4 = *pmVar5" identifier = (pointer_expression "*pmVar5" * identifier)) ;) (expression_statement "*pmVar5 = mVar4 - 1;" (assignment_expression "*pmVar5 = mVar4 - 1" (pointer_expression "*pmVar5" * identifier) = (binary_expression "mVar4 - 1" identifier - number_literal)) ;) (expression_statement "pmVar5 = pmVar5 + 1;" (assignment_expression "pmVar5 = pmVar5 + 1" identifier = (binary_expression "pmVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar4 == 0)" ( (binary_expression "mVar4 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00040d40:\n      uVar18 = 1;\n    }" else (compound_statement "{\nLAB_00040d40:\n      uVar18 = 1;\n    }" { (labeled_statement "LAB_00040d40:\n      uVar18 = 1;" statement_identifier : (expression_statement "uVar18 = 1;" (assignment_expression "uVar18 = 1" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040c50:\n    uVar16 = *puVar7;" statement_identifier : (expression_statement "uVar16 = *puVar7;" (assignment_expression "uVar16 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;)) (expression_statement "*puVar7 = uVar16 - uVar18;" (assignment_expression "*puVar7 = uVar16 - uVar18" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar16 - uVar18" identifier - identifier)) ;) (expression_statement "puVar3 = puVar7;" (assignment_expression "puVar3 = puVar7" identifier = identifier) ;) (expression_statement "iVar17 = iVar14;" (assignment_expression "iVar17 = iVar14" identifier = identifier) ;) (if_statement "if (uVar18 <= uVar16) goto LAB_00040abc;" if (parenthesized_expression "(uVar18 <= uVar16)" ( (binary_expression "uVar18 <= uVar16" identifier <= identifier) )) (goto_statement "goto LAB_00040abc;" goto statement_identifier ;)) (if_statement "if (iVar14 != 1) {\n      uVar16 = puVar7[1];\n      puVar7[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }\nLAB_00040cc8:\n      *pmVar9 = mVar4;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 - mVar13;\n      if (mVar13 <= uVar16) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" if (parenthesized_expression "(iVar14 != 1)" ( (binary_expression "iVar14 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar16 = puVar7[1];\n      puVar7[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }\nLAB_00040cc8:\n      *pmVar9 = mVar4;\n      uVar16 = *puVar7;\n      *puVar7 = uVar16 - mVar13;\n      if (mVar13 <= uVar16) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" { (expression_statement "uVar16 = puVar7[1];" (assignment_expression "uVar16 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "puVar7[1] = uVar16 - 1;" (assignment_expression "puVar7[1] = uVar16 - 1" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = (binary_expression "uVar16 - 1" identifier - number_literal)) ;) (if_statement "if (uVar16 == 0) {\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        mVar4 = 0;\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n        mVar4 = 0xffffffff;\n        if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }" { (expression_statement "mVar4 = 0xffffffff;" (assignment_expression "mVar4 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar14 != 2) {\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }" if (parenthesized_expression "(iVar14 != 2)" ( (binary_expression "iVar14 != 2" identifier != number_literal) )) (compound_statement "{\n          uVar16 = puVar7[2];\n          puVar7[2] = uVar16 - 1;\n          if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }\n          goto LAB_00040d74;\n        }" { (expression_statement "uVar16 = puVar7[2];" (assignment_expression "uVar16 = puVar7[2]" identifier = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "puVar7[2] = uVar16 - 1;" (assignment_expression "puVar7[2] = uVar16 - 1" (subscript_expression "puVar7[2]" identifier [ number_literal ]) = (binary_expression "uVar16 - 1" identifier - number_literal)) ;) (if_statement "if (uVar16 == 0) {\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar8 = 3;\n            puVar6 = puVar7 + 3;\n            do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);\n          }" { (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" identifier = number_literal) ;) (expression_statement "puVar6 = puVar7 + 3;" (assignment_expression "puVar6 = puVar7 + 3" identifier = (binary_expression "puVar7 + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            } while (uVar16 == 0);" do (compound_statement "{\n              bVar1 = iVar8 == iVar14;\n              iVar8 = iVar8 + 1;\n              if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar16 = *puVar6;\n              *puVar6 = uVar16 - 1;\n              puVar6 = puVar6 + 1;\n            }" { (expression_statement "bVar1 = iVar8 == iVar14;" (assignment_expression "bVar1 = iVar8 == iVar14" identifier = (binary_expression "iVar8 == iVar14" identifier == identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                mVar4 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" { (expression_statement "mVar4 = 0xffffffff;" (assignment_expression "mVar4 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00040cc8;" goto statement_identifier ;) })) (expression_statement "uVar16 = *puVar6;" (assignment_expression "uVar16 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar16 - 1;" (assignment_expression "*puVar6 = uVar16 - 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar16 - 1" identifier - number_literal)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) ;) })) (goto_statement "goto LAB_00040d74;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00040d74:\n        mVar4 = 0;\n      }" else (compound_statement "{\nLAB_00040d74:\n        mVar4 = 0;\n      }" { (labeled_statement "LAB_00040d74:\n        mVar4 = 0;" statement_identifier : (expression_statement "mVar4 = 0;" (assignment_expression "mVar4 = 0" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040cc8:\n      *pmVar9 = mVar4;" statement_identifier : (expression_statement "*pmVar9 = mVar4;" (assignment_expression "*pmVar9 = mVar4" (pointer_expression "*pmVar9" * identifier) = identifier) ;)) (expression_statement "uVar16 = *puVar7;" (assignment_expression "uVar16 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar16 - mVar13;" (assignment_expression "*puVar7 = uVar16 - mVar13" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar16 - mVar13" identifier - identifier)) ;) (if_statement "if (mVar13 <= uVar16) goto LAB_00040d60;" if (parenthesized_expression "(mVar13 <= uVar16)" ( (binary_expression "mVar13 <= uVar16" identifier <= identifier) )) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;)) (goto_statement "goto LAB_00040ce0;" goto statement_identifier ;) })) (expression_statement "*pmVar9 = 0xffffffff;" (assignment_expression "*pmVar9 = 0xffffffff" (pointer_expression "*pmVar9" * identifier) = number_literal) ;) (expression_statement "uVar16 = *puVar7;" (assignment_expression "uVar16 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar16 - mVar13;" (assignment_expression "*puVar7 = uVar16 - mVar13" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar16 - mVar13" identifier - identifier)) ;) (if_statement "if (uVar16 < mVar13) goto LAB_00040ae0;" if (parenthesized_expression "(uVar16 < mVar13)" ( (binary_expression "uVar16 < mVar13" identifier < identifier) )) (goto_statement "goto LAB_00040ae0;" goto statement_identifier ;)) (labeled_statement "LAB_00040d60:\n    iVar14 = 0;" statement_identifier : (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    puVar6 = puVar7;\n    puVar15 = a + 1;\n    do {\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    } while (iVar8 != 0);\n    puVar7[iVar14 + -1] = uVar18;\n    if (uVar16 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *pmVar9 = 0;\n    uVar16 = *puVar3;\n    *puVar3 = uVar16 - mVar13;\n    if (mVar13 <= uVar16) goto LAB_00040d60;\n    if (iVar17 != 1) {\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar14 = 1;\n  }" else (compound_statement "{\n    puVar6 = puVar7;\n    puVar15 = a + 1;\n    do {\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    } while (iVar8 != 0);\n    puVar7[iVar14 + -1] = uVar18;\n    if (uVar16 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *pmVar9 = 0;\n    uVar16 = *puVar3;\n    *puVar3 = uVar16 - mVar13;\n    if (mVar13 <= uVar16) goto LAB_00040d60;\n    if (iVar17 != 1) {\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar14 = 1;\n  }" { (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) (expression_statement "puVar15 = a + 1;" (assignment_expression "puVar15 = a + 1" identifier = (binary_expression "a + 1" identifier + number_literal)) ;) (do_statement "do {\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    } while (iVar8 != 0);" do (compound_statement "{\n      *puVar6 = uVar18;\n      iVar8 = iVar8 + -1;\n      uVar18 = *puVar15;\n      puVar6 = puVar6 + 1;\n      puVar15 = puVar15 + 1;\n    }" { (expression_statement "*puVar6 = uVar18;" (assignment_expression "*puVar6 = uVar18" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "uVar18 = *puVar15;" (assignment_expression "uVar18 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar15 = puVar15 + 1;" (assignment_expression "puVar15 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) ;) (expression_statement "puVar7[iVar14 + -1] = uVar18;" (assignment_expression "puVar7[iVar14 + -1] = uVar18" (subscript_expression "puVar7[iVar14 + -1]" identifier [ (binary_expression "iVar14 + -1" identifier + number_literal) ]) = identifier) ;) (if_statement "if (uVar16 != 0) goto LAB_0004093c;" if (parenthesized_expression "(uVar16 != 0)" ( (binary_expression "uVar16 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0004093c;" goto statement_identifier ;)) (labeled_statement "LAB_00040abc:\n    *pmVar9 = 0;" statement_identifier : (expression_statement "*pmVar9 = 0;" (assignment_expression "*pmVar9 = 0" (pointer_expression "*pmVar9" * identifier) = number_literal) ;)) (expression_statement "uVar16 = *puVar3;" (assignment_expression "uVar16 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*puVar3 = uVar16 - mVar13;" (assignment_expression "*puVar3 = uVar16 - mVar13" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar16 - mVar13" identifier - identifier)) ;) (if_statement "if (mVar13 <= uVar16) goto LAB_00040d60;" if (parenthesized_expression "(mVar13 <= uVar16)" ( (binary_expression "mVar13 <= uVar16" identifier <= identifier) )) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;)) (if_statement "if (iVar17 != 1) {\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" if (parenthesized_expression "(iVar17 != 1)" ( (binary_expression "iVar17 != 1" identifier != number_literal) )) (compound_statement "{\nLAB_00040ce0:\n      uVar16 = puVar3[1];\n      puVar3[1] = uVar16 - 1;\n      if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" { (labeled_statement "LAB_00040ce0:\n      uVar16 = puVar3[1];" statement_identifier : (expression_statement "uVar16 = puVar3[1];" (assignment_expression "uVar16 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;)) (expression_statement "puVar3[1] = uVar16 - 1;" (assignment_expression "puVar3[1] = uVar16 - 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar16 - 1" identifier - number_literal)) ;) (if_statement "if (uVar16 == 0) {\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar14 = 1;\n        if (iVar17 == 2) goto LAB_00040ae4;\n        uVar16 = puVar3[2];\n        puVar3[2] = uVar16 - 1;\n        if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }\n      }" { (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" identifier = number_literal) ;) (if_statement "if (iVar17 == 2) goto LAB_00040ae4;" if (parenthesized_expression "(iVar17 == 2)" ( (binary_expression "iVar17 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040ae4;" goto statement_identifier ;)) (expression_statement "uVar16 = puVar3[2];" (assignment_expression "uVar16 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "puVar3[2] = uVar16 - 1;" (assignment_expression "puVar3[2] = uVar16 - 1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (binary_expression "uVar16 - 1" identifier - number_literal)) ;) (if_statement "if (uVar16 == 0) {\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar14 = 3;\n          puVar7 = puVar3 + 3;\n          do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);\n        }" { (expression_statement "iVar14 = 3;" (assignment_expression "iVar14 = 3" identifier = number_literal) ;) (expression_statement "puVar7 = puVar3 + 3;" (assignment_expression "puVar7 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) (do_statement "do {\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          } while (uVar16 == 0);" do (compound_statement "{\n            if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar16 = *puVar7;\n            iVar14 = iVar14 + 1;\n            *puVar7 = uVar16 - 1;\n            puVar7 = puVar7 + 1;\n          }" { (if_statement "if (iVar14 == iVar17) {\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }" if (parenthesized_expression "(iVar14 == iVar17)" ( (binary_expression "iVar14 == iVar17" identifier == identifier) )) (compound_statement "{\n              iVar14 = 1;\n              goto LAB_00040ae4;\n            }" { (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00040ae4;" goto statement_identifier ;) })) (expression_statement "uVar16 = *puVar7;" (assignment_expression "uVar16 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar16 - 1;" (assignment_expression "*puVar7 = uVar16 - 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar16 - 1" identifier - number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;) })) (labeled_statement "LAB_00040ae0:\n    iVar14 = 1;" statement_identifier : (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040ae4:\n  mVar13 = *pmVar9;" statement_identifier : (expression_statement "mVar13 = *pmVar9;" (assignment_expression "mVar13 = *pmVar9" identifier = (pointer_expression "*pmVar9" * identifier)) ;)) (expression_statement "*pmVar9 = mVar13 - iVar14;" (assignment_expression "*pmVar9 = mVar13 - iVar14" (pointer_expression "*pmVar9" * identifier) = (binary_expression "mVar13 - iVar14" identifier - identifier)) ;) (if_statement "if (-1 < (int)(mVar13 - iVar14)) {\n    return;\n  }" if (parenthesized_expression "(-1 < (int)(mVar13 - iVar14))" ( (binary_expression "-1 < (int)(mVar13 - iVar14)" number_literal < (cast_expression "(int)(mVar13 - iVar14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(mVar13 - iVar14)" ( (binary_expression "mVar13 - iVar14" identifier - identifier) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "mVar13 = *r;" (assignment_expression "mVar13 = *r" identifier = (pointer_expression "*r" * identifier)) ;) (expression_statement "*r = mVar13 + 1;" (assignment_expression "*r = mVar13 + 1" (pointer_expression "*r" * identifier) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) (if_statement "if (mVar13 + 1 == 0) {\n    if (n < 2) {\nLAB_00040b68:\n      *pmVar9 = 1;\n      return;\n    }\n    mVar13 = r[1];\n    r[1] = mVar13 + 1;\n    if (mVar13 + 1 == 0) {\n      if (n == 2) goto LAB_00040b68;\n      mVar13 = r[2];\n      r[2] = mVar13 + 1;\n      if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n  }" if (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n    if (n < 2) {\nLAB_00040b68:\n      *pmVar9 = 1;\n      return;\n    }\n    mVar13 = r[1];\n    r[1] = mVar13 + 1;\n    if (mVar13 + 1 == 0) {\n      if (n == 2) goto LAB_00040b68;\n      mVar13 = r[2];\n      r[2] = mVar13 + 1;\n      if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }\n  }" { (if_statement "if (n < 2) {\nLAB_00040b68:\n      *pmVar9 = 1;\n      return;\n    }" if (parenthesized_expression "(n < 2)" ( (binary_expression "n < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00040b68:\n      *pmVar9 = 1;\n      return;\n    }" { (labeled_statement "LAB_00040b68:\n      *pmVar9 = 1;" statement_identifier : (expression_statement "*pmVar9 = 1;" (assignment_expression "*pmVar9 = 1" (pointer_expression "*pmVar9" * identifier) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "mVar13 = r[1];" (assignment_expression "mVar13 = r[1]" identifier = (subscript_expression "r[1]" identifier [ number_literal ])) ;) (expression_statement "r[1] = mVar13 + 1;" (assignment_expression "r[1] = mVar13 + 1" (subscript_expression "r[1]" identifier [ number_literal ]) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) (if_statement "if (mVar13 + 1 == 0) {\n      if (n == 2) goto LAB_00040b68;\n      mVar13 = r[2];\n      r[2] = mVar13 + 1;\n      if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      if (n == 2) goto LAB_00040b68;\n      mVar13 = r[2];\n      r[2] = mVar13 + 1;\n      if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }\n    }" { (if_statement "if (n == 2) goto LAB_00040b68;" if (parenthesized_expression "(n == 2)" ( (binary_expression "n == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040b68;" goto statement_identifier ;)) (expression_statement "mVar13 = r[2];" (assignment_expression "mVar13 = r[2]" identifier = (subscript_expression "r[2]" identifier [ number_literal ])) ;) (expression_statement "r[2] = mVar13 + 1;" (assignment_expression "r[2] = mVar13 + 1" (subscript_expression "r[2]" identifier [ number_literal ]) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) (if_statement "if (mVar13 + 1 == 0) {\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }" if (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        iVar14 = 3;\n        pmVar5 = r + 3;\n        do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);\n      }" { (expression_statement "iVar14 = 3;" (assignment_expression "iVar14 = 3" identifier = number_literal) ;) (expression_statement "pmVar5 = r + 3;" (assignment_expression "pmVar5 = r + 3" identifier = (binary_expression "r + 3" identifier + number_literal)) ;) (do_statement "do {\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        } while (mVar13 + 1 == 0);" do (compound_statement "{\n          if (n == iVar14) goto LAB_00040b68;\n          mVar13 = *pmVar5;\n          iVar14 = iVar14 + 1;\n          *pmVar5 = mVar13 + 1;\n          pmVar5 = pmVar5 + 1;\n        }" { (if_statement "if (n == iVar14) goto LAB_00040b68;" if (parenthesized_expression "(n == iVar14)" ( (binary_expression "n == iVar14" identifier == identifier) )) (goto_statement "goto LAB_00040b68;" goto statement_identifier ;)) (expression_statement "mVar13 = *pmVar5;" (assignment_expression "mVar13 = *pmVar5" identifier = (pointer_expression "*pmVar5" * identifier)) ;) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar5 = mVar13 + 1;" (assignment_expression "*pmVar5 = mVar13 + 1" (pointer_expression "*pmVar5" * identifier) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) (expression_statement "pmVar5 = pmVar5 + 1;" (assignment_expression "pmVar5 = pmVar5 + 1" identifier = (binary_expression "pmVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) ;) })) })) })) (expression_statement "*pmVar9 = 0;" (assignment_expression "*pmVar9 = 0" (pointer_expression "*pmVar9" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)\n\n{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}\n\n" (function_definition "void FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)\n\n{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)" identifier (parameter_list "(uint *param_1,uint *param_2,uint param_3,int param_4)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (expression_statement "uVar11 = param_3 >> 5;" (assignment_expression "uVar11 = param_3 >> 5" identifier = (binary_expression "param_3 >> 5" identifier >> number_literal)) ;) (expression_statement "puVar7 = param_1 + param_4;" (assignment_expression "puVar7 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) (expression_statement "param_3 = param_3 & 0x1f;" (assignment_expression "param_3 = param_3 & 0x1f" identifier = (binary_expression "param_3 & 0x1f" identifier & number_literal)) ;) (if_statement "if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }" if (parenthesized_expression "(param_4 <= (int)uVar11)" ( (binary_expression "param_4 <= (int)uVar11" identifier <= (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }" { (expression_statement "iVar9 = uVar11 - param_4;" (assignment_expression "iVar9 = uVar11 - param_4" identifier = (binary_expression "uVar11 - param_4" identifier - identifier)) ;) (expression_statement "iVar12 = param_4 - iVar9;" (assignment_expression "iVar12 = param_4 - iVar9" identifier = (binary_expression "param_4 - iVar9" identifier - identifier)) ;) (expression_statement "puVar5 = param_1 + iVar9;" (assignment_expression "puVar5 = param_1 + iVar9" identifier = (binary_expression "param_1 + iVar9" identifier + identifier)) ;) (if_statement "if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }" { (if_statement "if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }" { (expression_statement "puVar4 = param_2 + iVar12;" (assignment_expression "puVar4 = param_2 + iVar12" identifier = (binary_expression "param_2 + iVar12" identifier + identifier)) ;) (expression_statement "iVar6 = iVar9 + -1;" (assignment_expression "iVar6 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          *param_1 = uVar11;\n        }" { (expression_statement "*param_1 = uVar11;" (assignment_expression "*param_1 = uVar11" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" else (compound_statement "{\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" { (do_statement "do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);" do (compound_statement "{\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          }" { (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = uVar11;" (assignment_expression "*puVar3 = uVar11" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "param_1[iVar9 + -1] = uVar11;" (assignment_expression "param_1[iVar9 + -1] = uVar11" (subscript_expression "param_1[iVar9 + -1]" identifier [ (binary_expression "iVar9 + -1" identifier + number_literal) ]) = identifier) ;) }))) })) (expression_statement "uVar11 = param_2[param_4];" (assignment_expression "uVar11 = param_2[param_4]" identifier = (subscript_expression "param_2[param_4]" identifier [ identifier ])) ;) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) (do_statement "do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);" do (compound_statement "{\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      }" { (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = ~*param_2;" (assignment_expression "*puVar3 = ~*param_2" (pointer_expression "*puVar3" * identifier) = (unary_expression "~*param_2" ~ (pointer_expression "*param_2" * identifier))) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar5 + iVar12)" ( (binary_expression "puVar4 != puVar5 + iVar12" identifier != (binary_expression "puVar5 + iVar12" identifier + identifier)) )) ;) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (do_statement "do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);" do (compound_statement "{\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      }" { (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar2 + 1;" (assignment_expression "*puVar7 = uVar2 + 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" { (expression_statement "(*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);" (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" * (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2 + iVar12,iVar9 + 1,param_3)" ( identifier , (binary_expression "param_2 + iVar12" identifier + identifier) , (binary_expression "iVar9 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);" (assignment_expression "iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3)" identifier = (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" ( (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" * (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,param_2,iVar12,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "uVar2 = iVar12 + 1U + *param_1;" (assignment_expression "uVar2 = iVar12 + 1U + *param_1" identifier = (binary_expression "iVar12 + 1U + *param_1" (binary_expression "iVar12 + 1U" identifier + number_literal) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (if_statement "if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }" if (parenthesized_expression "(uVar2 < iVar12 + 1U)" ( (binary_expression "uVar2 < iVar12 + 1U" identifier < (binary_expression "iVar12 + 1U" identifier + number_literal)) )) (compound_statement "{\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }" { (do_statement "do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);" do (compound_statement "{\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        }" { (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar2 + 1;" (assignment_expression "*puVar7 = uVar2 + 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) ;) })) }))) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }" { (expression_statement "puVar7 = param_1 + iVar9 + 1;" (assignment_expression "puVar7 = param_1 + iVar9 + 1" identifier = (binary_expression "param_1 + iVar9 + 1" (binary_expression "param_1 + iVar9" identifier + identifier) + number_literal)) ;) (do_statement "do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);" do (compound_statement "{\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      }" { (expression_statement "uVar11 = *puVar7;" (assignment_expression "uVar11 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*puVar7 = uVar11 + 1;" (assignment_expression "*puVar7 = uVar11 + 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 + uVar2;" (assignment_expression "*puVar5 = uVar11 + uVar2" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 + uVar2" identifier + identifier)) ;) (if_statement "if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }" if (parenthesized_expression "(uVar11 <= uVar11 + uVar2)" ( (binary_expression "uVar11 <= uVar11 + uVar2" identifier <= (binary_expression "uVar11 + uVar2" identifier + identifier)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (do_statement "do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);" do (compound_statement "{\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 + 1;" (assignment_expression "*puVar5 = uVar11 + 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar9 = param_4 - uVar11;" (assignment_expression "iVar9 = param_4 - uVar11" identifier = (binary_expression "param_4 - uVar11" identifier - identifier)) ;) (expression_statement "puVar5 = param_1 + uVar11;" (assignment_expression "puVar5 = param_1 + uVar11" identifier = (binary_expression "param_1 + uVar11" identifier + identifier)) ;) (if_statement "if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" { (expression_statement "(*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);" (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" ( (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" * (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2 + iVar9,uVar11 + 1,param_3)" ( identifier , (binary_expression "param_2 + iVar9" identifier + identifier) , (binary_expression "uVar11 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar13 = ~*puVar5;" (assignment_expression "uVar13 = ~*puVar5" identifier = (unary_expression "~*puVar5" ~ (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3)" identifier = (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" ( (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" * (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,param_2,iVar9,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" { (expression_statement "uVar8 = uVar2 - 1;" (assignment_expression "uVar8 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if (uVar2 == 0) goto LAB_0004093c;" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004093c;" goto statement_identifier ;)) (labeled_statement "LAB_00040bd8:\n      uVar2 = *param_1;" statement_identifier : (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "*param_1 = uVar2 - uVar8;" (assignment_expression "*param_1 = uVar2 - uVar8" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar2 - uVar8" identifier - identifier)) ;) (if_statement "if (uVar2 < uVar8) goto LAB_00040bec;" if (parenthesized_expression "(uVar2 < uVar8)" ( (binary_expression "uVar2 < uVar8" identifier < identifier) )) (goto_statement "goto LAB_00040bec;" goto statement_identifier ;)) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;) })) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (expression_statement "puVar4 = param_2 + iVar9;" (assignment_expression "puVar4 = param_2 + iVar9" identifier = (binary_expression "param_2 + iVar9" identifier + identifier)) ;) (do_statement "do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);" do (compound_statement "{\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  }" { (expression_statement "puVar10 = puVar3 + 1;" (assignment_expression "puVar10 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = ~*puVar4;" (assignment_expression "*puVar3 = ~*puVar4" (pointer_expression "*puVar3" * identifier) = (unary_expression "~*puVar4" ~ (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar3 = puVar10;" (assignment_expression "puVar3 = puVar10" identifier = identifier) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 + uVar11 + 1 != puVar10)" ( (binary_expression "param_1 + uVar11 + 1 != puVar10" (binary_expression "param_1 + uVar11 + 1" (binary_expression "param_1 + uVar11" identifier + identifier) + number_literal) != identifier) )) ;) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar6 = iVar9 + -1;" (assignment_expression "iVar6 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "uVar13 = param_2[param_4];" (assignment_expression "uVar13 = param_2[param_4]" identifier = (subscript_expression "param_2[param_4]" identifier [ identifier ])) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (expression_statement "iVar12 = param_4;" (assignment_expression "iVar12 = param_4" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }" { (expression_statement "*puVar5 = uVar2;" (assignment_expression "*puVar5 = uVar2" (pointer_expression "*puVar5" * identifier) = identifier) ;) (if_statement "if (uVar11 == 0) goto LAB_00040abc;" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00040abc;" goto statement_identifier ;)) (labeled_statement "LAB_0004093c:\n    uVar8 = *param_1;" statement_identifier : (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "uVar2 = uVar8 + 1;" (assignment_expression "uVar2 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (if_statement "if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }" { (if_statement "if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" if (parenthesized_expression "(1 < param_4)" ( (binary_expression "1 < param_4" number_literal < identifier) )) (compound_statement "{\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" { (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar2 + 1;" (assignment_expression "param_1[1] = uVar2 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }" if (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }" { (if_statement "if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }" if (parenthesized_expression "(param_4 == 2)" ( (binary_expression "param_4 == 2" identifier == number_literal) )) (compound_statement "{\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }" { (expression_statement "*param_1 = uVar8;" (assignment_expression "*param_1 = uVar8" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00040bec;" goto statement_identifier ;) })) (expression_statement "uVar2 = param_1[2];" (assignment_expression "uVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = uVar2 + 1;" (assignment_expression "param_1[2] = uVar2 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }" if (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }" { (expression_statement "iVar12 = 3;" (assignment_expression "iVar12 = 3" identifier = number_literal) ;) (expression_statement "puVar3 = param_1 + 3;" (assignment_expression "puVar3 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);" do (compound_statement "{\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            }" { (expression_statement "bVar1 = param_4 == iVar12;" (assignment_expression "bVar1 = param_4 == iVar12" identifier = (binary_expression "param_4 == iVar12" identifier == identifier)) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }" { (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00040bd8;" goto statement_identifier ;) })) (expression_statement "uVar2 = *puVar3;" (assignment_expression "uVar2 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*puVar3 = uVar2 + 1;" (assignment_expression "*puVar3 = uVar2 + 1" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 + 1 == 0)" ( (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" identifier + number_literal) == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) (expression_statement "*param_1 = 0xffffffff;" (assignment_expression "*param_1 = 0xffffffff" (pointer_expression "*param_1" * identifier) = number_literal) ;) (labeled_statement "LAB_00040bec:\n      uVar2 = 2;" statement_identifier : (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;)) (if_statement "if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" if (parenthesized_expression "(1 < uVar11)" ( (binary_expression "1 < uVar11" number_literal < identifier) )) (compound_statement "{\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" { (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar2 - 1;" (assignment_expression "param_1[1] = uVar2 - 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (if_statement "if (uVar11 == 2) goto LAB_00040c50;" if (parenthesized_expression "(uVar11 == 2)" ( (binary_expression "uVar11 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;)) (expression_statement "uVar2 = param_1[2];" (assignment_expression "uVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = uVar2 - 1;" (assignment_expression "param_1[2] = uVar2 - 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }" { (expression_statement "uVar2 = 3;" (assignment_expression "uVar2 = 3" identifier = number_literal) ;) (expression_statement "puVar3 = param_1 + 3;" (assignment_expression "puVar3 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);" do (compound_statement "{\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            }" { (expression_statement "bVar1 = uVar11 == uVar2;" (assignment_expression "bVar1 = uVar11 == uVar2" identifier = (binary_expression "uVar11 == uVar2" identifier == identifier)) ;) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00040c50;" goto statement_identifier ;) })) (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*puVar3 = uVar8 - 1;" (assignment_expression "*puVar3 = uVar8 - 1" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d40;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00040d40:\n      uVar2 = 1;\n    }" else (compound_statement "{\nLAB_00040d40:\n      uVar2 = 1;\n    }" { (labeled_statement "LAB_00040d40:\n      uVar2 = 1;" statement_identifier : (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040c50:\n    uVar11 = *puVar5;" statement_identifier : (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;)) (expression_statement "*puVar5 = uVar11 - uVar2;" (assignment_expression "*puVar5 = uVar11 - uVar2" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - uVar2" identifier - identifier)) ;) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) (expression_statement "iVar12 = iVar9;" (assignment_expression "iVar12 = iVar9" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar11) goto LAB_00040abc;" if (parenthesized_expression "(uVar2 <= uVar11)" ( (binary_expression "uVar2 <= uVar11" identifier <= identifier) )) (goto_statement "goto LAB_00040abc;" goto statement_identifier ;)) (if_statement "if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" if (parenthesized_expression "(iVar9 != 1)" ( (binary_expression "iVar9 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" { (expression_statement "uVar11 = puVar5[1];" (assignment_expression "uVar11 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[1] = uVar11 - 1;" (assignment_expression "puVar5[1] = uVar11 - 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }" { (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }" if (parenthesized_expression "(iVar9 != 2)" ( (binary_expression "iVar9 != 2" identifier != number_literal) )) (compound_statement "{\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }" { (expression_statement "uVar11 = puVar5[2];" (assignment_expression "uVar11 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar5[2] = uVar11 - 1;" (assignment_expression "puVar5[2] = uVar11 - 1" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }" { (expression_statement "iVar6 = 3;" (assignment_expression "iVar6 = 3" identifier = number_literal) ;) (expression_statement "puVar4 = puVar5 + 3;" (assignment_expression "puVar4 = puVar5 + 3" identifier = (binary_expression "puVar5 + 3" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);" do (compound_statement "{\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            }" { (expression_statement "bVar1 = iVar6 == iVar9;" (assignment_expression "bVar1 = iVar6 == iVar9" identifier = (binary_expression "iVar6 == iVar9" identifier == identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" { (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00040cc8;" goto statement_identifier ;) })) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "*puVar4 = uVar11 - 1;" (assignment_expression "*puVar4 = uVar11 - 1" (pointer_expression "*puVar4" * identifier) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) ;) })) (goto_statement "goto LAB_00040d74;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00040d74:\n        uVar11 = 0;\n      }" else (compound_statement "{\nLAB_00040d74:\n        uVar11 = 0;\n      }" { (labeled_statement "LAB_00040d74:\n        uVar11 = 0;" statement_identifier : (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040cc8:\n      *puVar7 = uVar11;" statement_identifier : (expression_statement "*puVar7 = uVar11;" (assignment_expression "*puVar7 = uVar11" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 - uVar13;" (assignment_expression "*puVar5 = uVar11 - uVar13" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - uVar13" identifier - identifier)) ;) (if_statement "if (uVar13 <= uVar11) goto LAB_00040d60;" if (parenthesized_expression "(uVar13 <= uVar11)" ( (binary_expression "uVar13 <= uVar11" identifier <= identifier) )) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;)) (goto_statement "goto LAB_00040ce0;" goto statement_identifier ;) })) (expression_statement "*puVar7 = 0xffffffff;" (assignment_expression "*puVar7 = 0xffffffff" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar11 - uVar13;" (assignment_expression "*puVar5 = uVar11 - uVar13" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - uVar13" identifier - identifier)) ;) (if_statement "if (uVar11 < uVar13) goto LAB_00040ae0;" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (goto_statement "goto LAB_00040ae0;" goto statement_identifier ;)) (labeled_statement "LAB_00040d60:\n    iVar9 = 0;" statement_identifier : (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" else (compound_statement "{\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" { (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "puVar10 = param_2 + 1;" (assignment_expression "puVar10 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);" do (compound_statement "{\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    }" { (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar2 = *puVar10;" (assignment_expression "uVar2 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "puVar5[iVar9 + -1] = uVar2;" (assignment_expression "puVar5[iVar9 + -1] = uVar2" (subscript_expression "puVar5[iVar9 + -1]" identifier [ (binary_expression "iVar9 + -1" identifier + number_literal) ]) = identifier) ;) (if_statement "if (uVar11 != 0) goto LAB_0004093c;" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0004093c;" goto statement_identifier ;)) (labeled_statement "LAB_00040abc:\n    *puVar7 = 0;" statement_identifier : (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;)) (expression_statement "uVar11 = *puVar3;" (assignment_expression "uVar11 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*puVar3 = uVar11 - uVar13;" (assignment_expression "*puVar3 = uVar11 - uVar13" (pointer_expression "*puVar3" * identifier) = (binary_expression "uVar11 - uVar13" identifier - identifier)) ;) (if_statement "if (uVar13 <= uVar11) goto LAB_00040d60;" if (parenthesized_expression "(uVar13 <= uVar11)" ( (binary_expression "uVar13 <= uVar11" identifier <= identifier) )) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;)) (if_statement "if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" if (parenthesized_expression "(iVar12 != 1)" ( (binary_expression "iVar12 != 1" identifier != number_literal) )) (compound_statement "{\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" { (labeled_statement "LAB_00040ce0:\n      uVar11 = puVar3[1];" statement_identifier : (expression_statement "uVar11 = puVar3[1];" (assignment_expression "uVar11 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;)) (expression_statement "puVar3[1] = uVar11 - 1;" (assignment_expression "puVar3[1] = uVar11 - 1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (if_statement "if (iVar12 == 2) goto LAB_00040ae4;" if (parenthesized_expression "(iVar12 == 2)" ( (binary_expression "iVar12 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040ae4;" goto statement_identifier ;)) (expression_statement "uVar11 = puVar3[2];" (assignment_expression "uVar11 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "puVar3[2] = uVar11 - 1;" (assignment_expression "puVar3[2] = uVar11 - 1" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }" { (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" identifier = number_literal) ;) (expression_statement "puVar5 = puVar3 + 3;" (assignment_expression "puVar5 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) (do_statement "do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);" do (compound_statement "{\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          }" { (if_statement "if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }" if (parenthesized_expression "(iVar9 == iVar12)" ( (binary_expression "iVar9 == iVar12" identifier == identifier) )) (compound_statement "{\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00040ae4;" goto statement_identifier ;) })) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = uVar11 - 1;" (assignment_expression "*puVar5 = uVar11 - 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00040d60;" goto statement_identifier ;) })) (labeled_statement "LAB_00040ae0:\n    iVar9 = 1;" statement_identifier : (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;)) }))) (labeled_statement "LAB_00040ae4:\n  uVar11 = *puVar7;" statement_identifier : (expression_statement "uVar11 = *puVar7;" (assignment_expression "uVar11 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;)) (expression_statement "*puVar7 = uVar11 - iVar9;" (assignment_expression "*puVar7 = uVar11 - iVar9" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar11 - iVar9" identifier - identifier)) ;) (if_statement "if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }" if (parenthesized_expression "(-1 < (int)(uVar11 - iVar9))" ( (binary_expression "-1 < (int)(uVar11 - iVar9)" number_literal < (cast_expression "(int)(uVar11 - iVar9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar11 - iVar9)" ( (binary_expression "uVar11 - iVar9" identifier - identifier) )))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar11 = *param_1;" (assignment_expression "uVar11 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = uVar11 + 1;" (assignment_expression "*param_1 = uVar11 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }" if (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }" { (if_statement "if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }" if (parenthesized_expression "(param_4 < 2)" ( (binary_expression "param_4 < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }" { (labeled_statement "LAB_00040b68:\n      *puVar7 = 1;" statement_identifier : (expression_statement "*puVar7 = 1;" (assignment_expression "*puVar7 = 1" (pointer_expression "*puVar7" * identifier) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar11 = param_1[1];" (assignment_expression "uVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar11 + 1;" (assignment_expression "param_1[1] = uVar11 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }" { (if_statement "if (param_4 == 2) goto LAB_00040b68;" if (parenthesized_expression "(param_4 == 2)" ( (binary_expression "param_4 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00040b68;" goto statement_identifier ;)) (expression_statement "uVar11 = param_1[2];" (assignment_expression "uVar11 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = uVar11 + 1;" (assignment_expression "param_1[2] = uVar11 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }" if (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }" { (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" identifier = number_literal) ;) (expression_statement "puVar5 = param_1 + 3;" (assignment_expression "puVar5 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (do_statement "do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);" do (compound_statement "{\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        }" { (if_statement "if (param_4 == iVar9) goto LAB_00040b68;" if (parenthesized_expression "(param_4 == iVar9)" ( (binary_expression "param_4 == iVar9" identifier == identifier) )) (goto_statement "goto LAB_00040b68;" goto statement_identifier ;)) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = uVar11 + 1;" (assignment_expression "*puVar5 = uVar11 + 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 1 == 0)" ( (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" identifier + number_literal) == number_literal) )) ;) })) })) })) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (unary_expression ~ (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + IDENT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (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)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT + IDENT)) )) (compound_statement { (return_statement return ;) })) (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) )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + IDENT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ (pointer_expression * 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 != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (unary_expression ~ (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) + LIT) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) })) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) })) })) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) })) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) })) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) })) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)\n\n{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00040790(uint *param_1,uint *param_2,uint param_3,int param_4)" (identifier "FUN_00040790") (parameter_list "(uint *param_1,uint *param_2,uint param_3,int param_4)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  uint *puVar5;\n  int iVar6;\n  uint *puVar7;\n  uint uVar8;\n  int iVar9;\n  uint *puVar10;\n  uint uVar11;\n  int iVar12;\n  uint uVar13;\n  \n  uVar11 = param_3 >> 5;\n  puVar7 = param_1 + param_4;\n  param_3 = param_3 & 0x1f;\n  if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }\n  iVar9 = param_4 - uVar11;\n  puVar5 = param_1 + uVar11;\n  if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }\n  puVar3 = param_1;\n  puVar4 = param_2 + iVar9;\n  do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);\n  uVar2 = *param_2;\n  iVar6 = iVar9 + -1;\n  uVar13 = param_2[param_4];\n  puVar3 = param_1;\n  iVar12 = param_4;\n  if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }\nLAB_00040ae4:\n  uVar11 = *puVar7;\n  *puVar7 = uVar11 - iVar9;\n  if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }\n  uVar11 = *param_1;\n  *param_1 = uVar11 + 1;\n  if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }\n  *puVar7 = 0;\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint *puVar10;" (type_identifier "uint") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (expression_statement "uVar11 = param_3 >> 5;" (assignment_expression "uVar11 = param_3 >> 5" (identifier "uVar11") (= "=") (binary_expression "param_3 >> 5" (identifier "param_3") (>> ">>") (number_literal "5"))) (; ";")) (expression_statement "puVar7 = param_1 + param_4;" (assignment_expression "puVar7 = param_1 + param_4" (identifier "puVar7") (= "=") (binary_expression "param_1 + param_4" (identifier "param_1") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "param_3 = param_3 & 0x1f;" (assignment_expression "param_3 = param_3 & 0x1f" (identifier "param_3") (= "=") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f"))) (; ";")) (if_statement "if (param_4 <= (int)uVar11) {\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }" (if "if") (parenthesized_expression "(param_4 <= (int)uVar11)" (( "(") (binary_expression "param_4 <= (int)uVar11" (identifier "param_4") (<= "<=") (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11"))) () ")")) (compound_statement "{\n    iVar9 = uVar11 - param_4;\n    iVar12 = param_4 - iVar9;\n    puVar5 = param_1 + iVar9;\n    if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }\n    uVar11 = uVar11 + 1;\n    if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }\n    uVar2 = *puVar5;\n    *puVar5 = uVar11 + uVar2;\n    if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }\n    do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);\n    return;\n  }" ({ "{") (expression_statement "iVar9 = uVar11 - param_4;" (assignment_expression "iVar9 = uVar11 - param_4" (identifier "iVar9") (= "=") (binary_expression "uVar11 - param_4" (identifier "uVar11") (- "-") (identifier "param_4"))) (; ";")) (expression_statement "iVar12 = param_4 - iVar9;" (assignment_expression "iVar12 = param_4 - iVar9" (identifier "iVar12") (= "=") (binary_expression "param_4 - iVar9" (identifier "param_4") (- "-") (identifier "iVar9"))) (; ";")) (expression_statement "puVar5 = param_1 + iVar9;" (assignment_expression "puVar5 = param_1 + iVar9" (identifier "puVar5") (= "=") (binary_expression "param_1 + iVar9" (identifier "param_1") (+ "+") (identifier "iVar9"))) (; ";")) (if_statement "if (param_3 == 0) {\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }\n    else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }\n      uVar11 = param_2[param_4];\n      puVar3 = puVar5;\n      do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);\n      *puVar7 = 0;\n      puVar7 = param_1;\n      do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);\n    }" ({ "{") (if_statement "if (iVar9 != 0) {\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar4 = param_2 + iVar12;\n        iVar6 = iVar9 + -1;\n        uVar11 = *puVar4;\n        puVar3 = param_1;\n        if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }\n      }" ({ "{") (expression_statement "puVar4 = param_2 + iVar12;" (assignment_expression "puVar4 = param_2 + iVar12" (identifier "puVar4") (= "=") (binary_expression "param_2 + iVar12" (identifier "param_2") (+ "+") (identifier "iVar12"))) (; ";")) (expression_statement "iVar6 = iVar9 + -1;" (assignment_expression "iVar6 = iVar9 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" (identifier "uVar11") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (iVar6 == 0) {\n          *param_1 = uVar11;\n        }\n        else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *param_1 = uVar11;\n        }" ({ "{") (expression_statement "*param_1 = uVar11;" (assignment_expression "*param_1 = uVar11" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar11")) (; ";")) (} "}")) (else_clause "else {\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" (else "else") (compound_statement "{\n          do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);\n          param_1[iVar9 + -1] = uVar11;\n        }" ({ "{") (do_statement "do {\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          } while (iVar6 != 0);" (do "do") (compound_statement "{\n            puVar4 = puVar4 + 1;\n            *puVar3 = uVar11;\n            iVar6 = iVar6 + -1;\n            uVar11 = *puVar4;\n            puVar3 = puVar3 + 1;\n          }" ({ "{") (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = uVar11;" (assignment_expression "*puVar3 = uVar11" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" (identifier "uVar11") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "param_1[iVar9 + -1] = uVar11;" (assignment_expression "param_1[iVar9 + -1] = uVar11" (subscript_expression "param_1[iVar9 + -1]" (identifier "param_1") ([ "[") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1")) (] "]")) (= "=") (identifier "uVar11")) (; ";")) (} "}")))) (} "}"))) (expression_statement "uVar11 = param_2[param_4];" (assignment_expression "uVar11 = param_2[param_4]" (identifier "uVar11") (= "=") (subscript_expression "param_2[param_4]" (identifier "param_2") ([ "[") (identifier "param_4") (] "]"))) (; ";")) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" (identifier "puVar3") (= "=") (identifier "puVar5")) (; ";")) (do_statement "do {\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      } while (puVar4 != puVar5 + iVar12);" (do "do") (compound_statement "{\n        puVar4 = puVar3 + 1;\n        *puVar3 = ~*param_2;\n        puVar3 = puVar4;\n        param_2 = param_2 + 1;\n      }" ({ "{") (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = ~*param_2;" (assignment_expression "*puVar3 = ~*param_2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (unary_expression "~*param_2" (~ "~") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar5 + iVar12)" (( "(") (binary_expression "puVar4 != puVar5 + iVar12" (identifier "puVar4") (!= "!=") (binary_expression "puVar5 + iVar12" (identifier "puVar5") (+ "+") (identifier "iVar12"))) () ")")) (; ";")) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" (identifier "puVar7") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar2 + 1 == 0);" (do "do") (compound_statement "{\n        uVar2 = *puVar7;\n        *puVar7 = uVar2 + 1;\n        puVar7 = puVar7 + 1;\n      }" ({ "{") (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" (identifier "uVar2") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "*puVar7 = uVar2 + 1;" (assignment_expression "*puVar7 = uVar2 + 1" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 + 1 == 0)" (( "(") (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);\n      uVar11 = *puVar5;\n      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);\n      *puVar7 = 0;\n      uVar2 = iVar12 + 1U + *param_1;\n      *param_1 = uVar2;\n      puVar7 = param_1;\n      if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }\n    }" ({ "{") (expression_statement "(*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);" (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" (( "(") (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" (* "*") (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_lshift_0009d56c"))) () ")")) (argument_list "(param_1,param_2 + iVar12,iVar9 + 1,param_3)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 + iVar12" (identifier "param_2") (+ "+") (identifier "iVar12")) (, ",") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);" (assignment_expression "iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3)" (identifier "iVar12") (= "=") (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" (( "(") (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" (* "*") (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_lshiftc_0009d174"))) () ")")) (argument_list "(puVar5,param_2,iVar12,param_3)" (( "(") (identifier "puVar5") (, ",") (identifier "param_2") (, ",") (identifier "iVar12") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = iVar12 + 1U + *param_1;" (assignment_expression "uVar2 = iVar12 + 1U + *param_1" (identifier "uVar2") (= "=") (binary_expression "iVar12 + 1U + *param_1" (binary_expression "iVar12 + 1U" (identifier "iVar12") (+ "+") (number_literal "1U")) (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" (identifier "puVar7") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (uVar2 < iVar12 + 1U) {\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }" (if "if") (parenthesized_expression "(uVar2 < iVar12 + 1U)" (( "(") (binary_expression "uVar2 < iVar12 + 1U" (identifier "uVar2") (< "<") (binary_expression "iVar12 + 1U" (identifier "iVar12") (+ "+") (number_literal "1U"))) () ")")) (compound_statement "{\n        do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);\n      }" ({ "{") (do_statement "do {\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        } while (uVar2 + 1 == 0);" (do "do") (compound_statement "{\n          puVar7 = puVar7 + 1;\n          uVar2 = *puVar7;\n          *puVar7 = uVar2 + 1;\n        }" ({ "{") (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" (identifier "uVar2") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "*puVar7 = uVar2 + 1;" (assignment_expression "*puVar7 = uVar2 + 1" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 + 1 == 0)" (( "(") (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 == 0) {\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar7 = param_1 + iVar9 + 1;\n      do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);\n      return;\n    }" ({ "{") (expression_statement "puVar7 = param_1 + iVar9 + 1;" (assignment_expression "puVar7 = param_1 + iVar9 + 1" (identifier "puVar7") (= "=") (binary_expression "param_1 + iVar9 + 1" (binary_expression "param_1 + iVar9" (identifier "param_1") (+ "+") (identifier "iVar9")) (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      } while (uVar11 + 1 == 0);" (do "do") (compound_statement "{\n        uVar11 = *puVar7;\n        *puVar7 = uVar11 + 1;\n        puVar7 = puVar7 + 1;\n      }" ({ "{") (expression_statement "uVar11 = *puVar7;" (assignment_expression "uVar11 = *puVar7" (identifier "uVar11") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "*puVar7 = uVar11 + 1;" (assignment_expression "*puVar7 = uVar11 + 1" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 + 1 == 0)" (( "(") (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" (identifier "uVar2") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "*puVar5 = uVar11 + uVar2;" (assignment_expression "*puVar5 = uVar11 + uVar2" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "uVar11 + uVar2" (identifier "uVar11") (+ "+") (identifier "uVar2"))) (; ";")) (if_statement "if (uVar11 <= uVar11 + uVar2) {\n      return;\n    }" (if "if") (parenthesized_expression "(uVar11 <= uVar11 + uVar2)" (( "(") (binary_expression "uVar11 <= uVar11 + uVar2" (identifier "uVar11") (<= "<=") (binary_expression "uVar11 + uVar2" (identifier "uVar11") (+ "+") (identifier "uVar2"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    } while (uVar11 + 1 == 0);" (do "do") (compound_statement "{\n      puVar5 = puVar5 + 1;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 + 1;\n    }" ({ "{") (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "*puVar5 = uVar11 + 1;" (assignment_expression "*puVar5 = uVar11 + 1" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 + 1 == 0)" (( "(") (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar9 = param_4 - uVar11;" (assignment_expression "iVar9 = param_4 - uVar11" (identifier "iVar9") (= "=") (binary_expression "param_4 - uVar11" (identifier "param_4") (- "-") (identifier "uVar11"))) (; ";")) (expression_statement "puVar5 = param_1 + uVar11;" (assignment_expression "puVar5 = param_1 + uVar11" (identifier "puVar5") (= "=") (binary_expression "param_1 + uVar11" (identifier "param_1") (+ "+") (identifier "uVar11"))) (; ";")) (if_statement "if (param_3 != 0) {\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);\n    uVar13 = ~*puVar5;\n    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);\n    if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }\n    goto LAB_00040c50;\n  }" ({ "{") (expression_statement "(*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);" (call_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshiftc_0009d174)" (( "(") (pointer_expression "*(code *)PTR___gmpn_lshiftc_0009d174" (* "*") (cast_expression "(code *)PTR___gmpn_lshiftc_0009d174" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_lshiftc_0009d174"))) () ")")) (argument_list "(param_1,param_2 + iVar9,uVar11 + 1,param_3)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 + iVar9" (identifier "param_2") (+ "+") (identifier "iVar9")) (, ",") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar13 = ~*puVar5;" (assignment_expression "uVar13 = ~*puVar5" (identifier "uVar13") (= "=") (unary_expression "~*puVar5" (~ "~") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);" (assignment_expression "uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_lshift_0009d56c)" (( "(") (pointer_expression "*(code *)PTR___gmpn_lshift_0009d56c" (* "*") (cast_expression "(code *)PTR___gmpn_lshift_0009d56c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_lshift_0009d56c"))) () ")")) (argument_list "(puVar5,param_2,iVar9,param_3)" (( "(") (identifier "puVar5") (, ",") (identifier "param_2") (, ",") (identifier "iVar9") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (uVar11 != 0) {\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar8 = uVar2 - 1;\n      if (uVar2 == 0) goto LAB_0004093c;\nLAB_00040bd8:\n      uVar2 = *param_1;\n      *param_1 = uVar2 - uVar8;\n      if (uVar2 < uVar8) goto LAB_00040bec;\n      goto LAB_00040d40;\n    }" ({ "{") (expression_statement "uVar8 = uVar2 - 1;" (assignment_expression "uVar8 = uVar2 - 1" (identifier "uVar8") (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar2 == 0) goto LAB_0004093c;" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004093c;" (goto "goto") (statement_identifier "LAB_0004093c") (; ";"))) (labeled_statement "LAB_00040bd8:\n      uVar2 = *param_1;" (statement_identifier "LAB_00040bd8") (: ":") (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" (identifier "uVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";"))) (expression_statement "*param_1 = uVar2 - uVar8;" (assignment_expression "*param_1 = uVar2 - uVar8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar2 - uVar8" (identifier "uVar2") (- "-") (identifier "uVar8"))) (; ";")) (if_statement "if (uVar2 < uVar8) goto LAB_00040bec;" (if "if") (parenthesized_expression "(uVar2 < uVar8)" (( "(") (binary_expression "uVar2 < uVar8" (identifier "uVar2") (< "<") (identifier "uVar8")) () ")")) (goto_statement "goto LAB_00040bec;" (goto "goto") (statement_identifier "LAB_00040bec") (; ";"))) (goto_statement "goto LAB_00040d40;" (goto "goto") (statement_identifier "LAB_00040d40") (; ";")) (} "}"))) (goto_statement "goto LAB_00040c50;" (goto "goto") (statement_identifier "LAB_00040c50") (; ";")) (} "}"))) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar4 = param_2 + iVar9;" (assignment_expression "puVar4 = param_2 + iVar9" (identifier "puVar4") (= "=") (binary_expression "param_2 + iVar9" (identifier "param_2") (+ "+") (identifier "iVar9"))) (; ";")) (do_statement "do {\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  } while (param_1 + uVar11 + 1 != puVar10);" (do "do") (compound_statement "{\n    puVar10 = puVar3 + 1;\n    *puVar3 = ~*puVar4;\n    puVar3 = puVar10;\n    puVar4 = puVar4 + 1;\n  }" ({ "{") (expression_statement "puVar10 = puVar3 + 1;" (assignment_expression "puVar10 = puVar3 + 1" (identifier "puVar10") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = ~*puVar4;" (assignment_expression "*puVar3 = ~*puVar4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (unary_expression "~*puVar4" (~ "~") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "puVar3 = puVar10;" (assignment_expression "puVar3 = puVar10" (identifier "puVar3") (= "=") (identifier "puVar10")) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 + uVar11 + 1 != puVar10)" (( "(") (binary_expression "param_1 + uVar11 + 1 != puVar10" (binary_expression "param_1 + uVar11 + 1" (binary_expression "param_1 + uVar11" (identifier "param_1") (+ "+") (identifier "uVar11")) (+ "+") (number_literal "1")) (!= "!=") (identifier "puVar10")) () ")")) (; ";")) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "iVar6 = iVar9 + -1;" (assignment_expression "iVar6 = iVar9 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar13 = param_2[param_4];" (assignment_expression "uVar13 = param_2[param_4]" (identifier "uVar13") (= "=") (subscript_expression "param_2[param_4]" (identifier "param_2") ([ "[") (identifier "param_4") (] "]"))) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (expression_statement "iVar12 = param_4;" (assignment_expression "iVar12 = param_4" (identifier "iVar12") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (iVar6 == 0) {\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }\n  else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar5 = uVar2;\n    if (uVar11 == 0) goto LAB_00040abc;\nLAB_0004093c:\n    uVar8 = *param_1;\n    uVar2 = uVar8 + 1;\n    *param_1 = uVar2;\n    if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }\nLAB_00040c50:\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar2;\n    puVar3 = puVar5;\n    iVar12 = iVar9;\n    if (uVar2 <= uVar11) goto LAB_00040abc;\n    if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }\n    *puVar7 = 0xffffffff;\n    uVar11 = *puVar5;\n    *puVar5 = uVar11 - uVar13;\n    if (uVar11 < uVar13) goto LAB_00040ae0;\nLAB_00040d60:\n    iVar9 = 0;\n  }" ({ "{") (expression_statement "*puVar5 = uVar2;" (assignment_expression "*puVar5 = uVar2" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar11 == 0) goto LAB_00040abc;" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00040abc;" (goto "goto") (statement_identifier "LAB_00040abc") (; ";"))) (labeled_statement "LAB_0004093c:\n    uVar8 = *param_1;" (statement_identifier "LAB_0004093c") (: ":") (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" (identifier "uVar8") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";"))) (expression_statement "uVar2 = uVar8 + 1;" (assignment_expression "uVar2 = uVar8 + 1" (identifier "uVar2") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar2 == 0) {\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }\n    else {\nLAB_00040d40:\n      uVar2 = 1;\n    }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n      *param_1 = 0xffffffff;\nLAB_00040bec:\n      uVar2 = 2;\n      if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }\n    }" ({ "{") (if_statement "if (1 < param_4) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" (if "if") (parenthesized_expression "(1 < param_4)" (( "(") (binary_expression "1 < param_4" (number_literal "1") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 + 1;\n        if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" ({ "{") (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" (identifier "uVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = uVar2 + 1;" (assignment_expression "param_1[1] = uVar2 + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar2 + 1 == 0) {\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }" (if "if") (parenthesized_expression "(uVar2 + 1 == 0)" (( "(") (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 + 1;\n          if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }\n        }" ({ "{") (if_statement "if (param_4 == 2) {\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }" (if "if") (parenthesized_expression "(param_4 == 2)" (( "(") (binary_expression "param_4 == 2" (identifier "param_4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n            *param_1 = uVar8;\n            goto LAB_00040bec;\n          }" ({ "{") (expression_statement "*param_1 = uVar8;" (assignment_expression "*param_1 = uVar8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar8")) (; ";")) (goto_statement "goto LAB_00040bec;" (goto "goto") (statement_identifier "LAB_00040bec") (; ";")) (} "}"))) (expression_statement "uVar2 = param_1[2];" (assignment_expression "uVar2 = param_1[2]" (identifier "uVar2") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_1[2] = uVar2 + 1;" (assignment_expression "param_1[2] = uVar2 + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar2 + 1 == 0) {\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }" (if "if") (parenthesized_expression "(uVar2 + 1 == 0)" (( "(") (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar12 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);\n          }" ({ "{") (expression_statement "iVar12 = 3;" (assignment_expression "iVar12 = 3" (identifier "iVar12") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar3 = param_1 + 3;" (assignment_expression "puVar3 = param_1 + 3" (identifier "puVar3") (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar2 + 1 == 0);" (do "do") (compound_statement "{\n              bVar1 = param_4 == iVar12;\n              iVar12 = iVar12 + 1;\n              if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }\n              uVar2 = *puVar3;\n              *puVar3 = uVar2 + 1;\n              puVar3 = puVar3 + 1;\n            }" ({ "{") (expression_statement "bVar1 = param_4 == iVar12;" (assignment_expression "bVar1 = param_4 == iVar12" (identifier "bVar1") (= "=") (binary_expression "param_4 == iVar12" (identifier "param_4") (== "==") (identifier "iVar12"))) (; ";")) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) {\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n                uVar8 = 1;\n                goto LAB_00040bd8;\n              }" ({ "{") (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" (identifier "uVar8") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00040bd8;" (goto "goto") (statement_identifier "LAB_00040bd8") (; ";")) (} "}"))) (expression_statement "uVar2 = *puVar3;" (assignment_expression "uVar2 = *puVar3" (identifier "uVar2") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "*puVar3 = uVar2 + 1;" (assignment_expression "*puVar3 = uVar2 + 1" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 + 1 == 0)" (( "(") (binary_expression "uVar2 + 1 == 0" (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00040d40;" (goto "goto") (statement_identifier "LAB_00040d40") (; ";")) (} "}"))) (expression_statement "*param_1 = 0xffffffff;" (assignment_expression "*param_1 = 0xffffffff" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0xffffffff")) (; ";")) (labeled_statement "LAB_00040bec:\n      uVar2 = 2;" (statement_identifier "LAB_00040bec") (: ":") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";"))) (if_statement "if (1 < uVar11) {\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" (if "if") (parenthesized_expression "(1 < uVar11)" (( "(") (binary_expression "1 < uVar11" (number_literal "1") (< "<") (identifier "uVar11")) () ")")) (compound_statement "{\n        uVar2 = param_1[1];\n        param_1[1] = uVar2 - 1;\n        if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }\n        goto LAB_00040d40;\n      }" ({ "{") (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" (identifier "uVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = uVar2 - 1;" (assignment_expression "param_1[1] = uVar2 - 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar2 == 0) {\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar2 = 2;\n          if (uVar11 == 2) goto LAB_00040c50;\n          uVar2 = param_1[2];\n          param_1[2] = uVar2 - 1;\n          if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }\n        }" ({ "{") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (if_statement "if (uVar11 == 2) goto LAB_00040c50;" (if "if") (parenthesized_expression "(uVar11 == 2)" (( "(") (binary_expression "uVar11 == 2" (identifier "uVar11") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00040c50;" (goto "goto") (statement_identifier "LAB_00040c50") (; ";"))) (expression_statement "uVar2 = param_1[2];" (assignment_expression "uVar2 = param_1[2]" (identifier "uVar2") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_1[2] = uVar2 - 1;" (assignment_expression "param_1[2] = uVar2 - 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar2 == 0) {\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar2 = 3;\n            puVar3 = param_1 + 3;\n            do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);\n          }" ({ "{") (expression_statement "uVar2 = 3;" (assignment_expression "uVar2 = 3" (identifier "uVar2") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar3 = param_1 + 3;" (assignment_expression "puVar3 = param_1 + 3" (identifier "puVar3") (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            } while (uVar8 == 0);" (do "do") (compound_statement "{\n              bVar1 = uVar11 == uVar2;\n              uVar2 = uVar2 + 1;\n              if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }\n              uVar8 = *puVar3;\n              *puVar3 = uVar8 - 1;\n              puVar3 = puVar3 + 1;\n            }" ({ "{") (expression_statement "bVar1 = uVar11 == uVar2;" (assignment_expression "bVar1 = uVar11 == uVar2" (identifier "bVar1") (= "=") (binary_expression "uVar11 == uVar2" (identifier "uVar11") (== "==") (identifier "uVar2"))) (; ";")) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) {\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n                uVar2 = 2;\n                goto LAB_00040c50;\n              }" ({ "{") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (goto_statement "goto LAB_00040c50;" (goto "goto") (statement_identifier "LAB_00040c50") (; ";")) (} "}"))) (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" (identifier "uVar8") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "*puVar3 = uVar8 - 1;" (assignment_expression "*puVar3 = uVar8 - 1" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "uVar8 - 1" (identifier "uVar8") (- "-") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00040d40;" (goto "goto") (statement_identifier "LAB_00040d40") (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00040d40:\n      uVar2 = 1;\n    }" (else "else") (compound_statement "{\nLAB_00040d40:\n      uVar2 = 1;\n    }" ({ "{") (labeled_statement "LAB_00040d40:\n      uVar2 = 1;" (statement_identifier "LAB_00040d40") (: ":") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";"))) (} "}")))) (labeled_statement "LAB_00040c50:\n    uVar11 = *puVar5;" (statement_identifier "LAB_00040c50") (: ":") (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";"))) (expression_statement "*puVar5 = uVar11 - uVar2;" (assignment_expression "*puVar5 = uVar11 - uVar2" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "uVar11 - uVar2" (identifier "uVar11") (- "-") (identifier "uVar2"))) (; ";")) (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" (identifier "puVar3") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "iVar12 = iVar9;" (assignment_expression "iVar12 = iVar9" (identifier "iVar12") (= "=") (identifier "iVar9")) (; ";")) (if_statement "if (uVar2 <= uVar11) goto LAB_00040abc;" (if "if") (parenthesized_expression "(uVar2 <= uVar11)" (( "(") (binary_expression "uVar2 <= uVar11" (identifier "uVar2") (<= "<=") (identifier "uVar11")) () ")")) (goto_statement "goto LAB_00040abc;" (goto "goto") (statement_identifier "LAB_00040abc") (; ";"))) (if_statement "if (iVar9 != 1) {\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" (if "if") (parenthesized_expression "(iVar9 != 1)" (( "(") (binary_expression "iVar9 != 1" (identifier "iVar9") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      uVar11 = puVar5[1];\n      puVar5[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }\nLAB_00040cc8:\n      *puVar7 = uVar11;\n      uVar11 = *puVar5;\n      *puVar5 = uVar11 - uVar13;\n      if (uVar13 <= uVar11) goto LAB_00040d60;\n      goto LAB_00040ce0;\n    }" ({ "{") (expression_statement "uVar11 = puVar5[1];" (assignment_expression "uVar11 = puVar5[1]" (identifier "uVar11") (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar5[1] = uVar11 - 1;" (assignment_expression "puVar5[1] = uVar11 - 1" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 == 0) {\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }\n      else {\nLAB_00040d74:\n        uVar11 = 0;\n      }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar11 = 0xffffffff;\n        if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }\n      }" ({ "{") (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" (identifier "uVar11") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (iVar9 != 2) {\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }" (if "if") (parenthesized_expression "(iVar9 != 2)" (( "(") (binary_expression "iVar9 != 2" (identifier "iVar9") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n          uVar11 = puVar5[2];\n          puVar5[2] = uVar11 - 1;\n          if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }\n          goto LAB_00040d74;\n        }" ({ "{") (expression_statement "uVar11 = puVar5[2];" (assignment_expression "uVar11 = puVar5[2]" (identifier "uVar11") (= "=") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar5[2] = uVar11 - 1;" (assignment_expression "puVar5[2] = uVar11 - 1" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 == 0) {\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar6 = 3;\n            puVar4 = puVar5 + 3;\n            do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);\n          }" ({ "{") (expression_statement "iVar6 = 3;" (assignment_expression "iVar6 = 3" (identifier "iVar6") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar4 = puVar5 + 3;" (assignment_expression "puVar4 = puVar5 + 3" (identifier "puVar4") (= "=") (binary_expression "puVar5 + 3" (identifier "puVar5") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            } while (uVar11 == 0);" (do "do") (compound_statement "{\n              bVar1 = iVar6 == iVar9;\n              iVar6 = iVar6 + 1;\n              if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }\n              uVar11 = *puVar4;\n              *puVar4 = uVar11 - 1;\n              puVar4 = puVar4 + 1;\n            }" ({ "{") (expression_statement "bVar1 = iVar6 == iVar9;" (assignment_expression "bVar1 = iVar6 == iVar9" (identifier "bVar1") (= "=") (binary_expression "iVar6 == iVar9" (identifier "iVar6") (== "==") (identifier "iVar9"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) {\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n                uVar11 = 0xffffffff;\n                goto LAB_00040cc8;\n              }" ({ "{") (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" (identifier "uVar11") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_00040cc8;" (goto "goto") (statement_identifier "LAB_00040cc8") (; ";")) (} "}"))) (expression_statement "uVar11 = *puVar4;" (assignment_expression "uVar11 = *puVar4" (identifier "uVar11") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "*puVar4 = uVar11 - 1;" (assignment_expression "*puVar4 = uVar11 - 1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_00040d74;" (goto "goto") (statement_identifier "LAB_00040d74") (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00040d74:\n        uVar11 = 0;\n      }" (else "else") (compound_statement "{\nLAB_00040d74:\n        uVar11 = 0;\n      }" ({ "{") (labeled_statement "LAB_00040d74:\n        uVar11 = 0;" (statement_identifier "LAB_00040d74") (: ":") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";"))) (} "}")))) (labeled_statement "LAB_00040cc8:\n      *puVar7 = uVar11;" (statement_identifier "LAB_00040cc8") (: ":") (expression_statement "*puVar7 = uVar11;" (assignment_expression "*puVar7 = uVar11" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar11")) (; ";"))) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "*puVar5 = uVar11 - uVar13;" (assignment_expression "*puVar5 = uVar11 - uVar13" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "uVar11 - uVar13" (identifier "uVar11") (- "-") (identifier "uVar13"))) (; ";")) (if_statement "if (uVar13 <= uVar11) goto LAB_00040d60;" (if "if") (parenthesized_expression "(uVar13 <= uVar11)" (( "(") (binary_expression "uVar13 <= uVar11" (identifier "uVar13") (<= "<=") (identifier "uVar11")) () ")")) (goto_statement "goto LAB_00040d60;" (goto "goto") (statement_identifier "LAB_00040d60") (; ";"))) (goto_statement "goto LAB_00040ce0;" (goto "goto") (statement_identifier "LAB_00040ce0") (; ";")) (} "}"))) (expression_statement "*puVar7 = 0xffffffff;" (assignment_expression "*puVar7 = 0xffffffff" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "*puVar5 = uVar11 - uVar13;" (assignment_expression "*puVar5 = uVar11 - uVar13" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "uVar11 - uVar13" (identifier "uVar11") (- "-") (identifier "uVar13"))) (; ";")) (if_statement "if (uVar11 < uVar13) goto LAB_00040ae0;" (if "if") (parenthesized_expression "(uVar11 < uVar13)" (( "(") (binary_expression "uVar11 < uVar13" (identifier "uVar11") (< "<") (identifier "uVar13")) () ")")) (goto_statement "goto LAB_00040ae0;" (goto "goto") (statement_identifier "LAB_00040ae0") (; ";"))) (labeled_statement "LAB_00040d60:\n    iVar9 = 0;" (statement_identifier "LAB_00040d60") (: ":") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" (else "else") (compound_statement "{\n    puVar4 = puVar5;\n    puVar10 = param_2 + 1;\n    do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);\n    puVar5[iVar9 + -1] = uVar2;\n    if (uVar11 != 0) goto LAB_0004093c;\nLAB_00040abc:\n    *puVar7 = 0;\n    uVar11 = *puVar3;\n    *puVar3 = uVar11 - uVar13;\n    if (uVar13 <= uVar11) goto LAB_00040d60;\n    if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }\nLAB_00040ae0:\n    iVar9 = 1;\n  }" ({ "{") (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "puVar10 = param_2 + 1;" (assignment_expression "puVar10 = param_2 + 1" (identifier "puVar10") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    } while (iVar6 != 0);" (do "do") (compound_statement "{\n      *puVar4 = uVar2;\n      iVar6 = iVar6 + -1;\n      uVar2 = *puVar10;\n      puVar4 = puVar4 + 1;\n      puVar10 = puVar10 + 1;\n    }" ({ "{") (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar2 = *puVar10;" (assignment_expression "uVar2 = *puVar10" (identifier "uVar2") (= "=") (pointer_expression "*puVar10" (* "*") (identifier "puVar10"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" (identifier "puVar10") (= "=") (binary_expression "puVar10 + 1" (identifier "puVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar5[iVar9 + -1] = uVar2;" (assignment_expression "puVar5[iVar9 + -1] = uVar2" (subscript_expression "puVar5[iVar9 + -1]" (identifier "puVar5") ([ "[") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1")) (] "]")) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar11 != 0) goto LAB_0004093c;" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004093c;" (goto "goto") (statement_identifier "LAB_0004093c") (; ";"))) (labeled_statement "LAB_00040abc:\n    *puVar7 = 0;" (statement_identifier "LAB_00040abc") (: ":") (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "uVar11 = *puVar3;" (assignment_expression "uVar11 = *puVar3" (identifier "uVar11") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "*puVar3 = uVar11 - uVar13;" (assignment_expression "*puVar3 = uVar11 - uVar13" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "uVar11 - uVar13" (identifier "uVar11") (- "-") (identifier "uVar13"))) (; ";")) (if_statement "if (uVar13 <= uVar11) goto LAB_00040d60;" (if "if") (parenthesized_expression "(uVar13 <= uVar11)" (( "(") (binary_expression "uVar13 <= uVar11" (identifier "uVar13") (<= "<=") (identifier "uVar11")) () ")")) (goto_statement "goto LAB_00040d60;" (goto "goto") (statement_identifier "LAB_00040d60") (; ";"))) (if_statement "if (iVar12 != 1) {\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" (if "if") (parenthesized_expression "(iVar12 != 1)" (( "(") (binary_expression "iVar12 != 1" (identifier "iVar12") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\nLAB_00040ce0:\n      uVar11 = puVar3[1];\n      puVar3[1] = uVar11 - 1;\n      if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }\n      goto LAB_00040d60;\n    }" ({ "{") (labeled_statement "LAB_00040ce0:\n      uVar11 = puVar3[1];" (statement_identifier "LAB_00040ce0") (: ":") (expression_statement "uVar11 = puVar3[1];" (assignment_expression "uVar11 = puVar3[1]" (identifier "uVar11") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "puVar3[1] = uVar11 - 1;" (assignment_expression "puVar3[1] = uVar11 - 1" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 == 0) {\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar9 = 1;\n        if (iVar12 == 2) goto LAB_00040ae4;\n        uVar11 = puVar3[2];\n        puVar3[2] = uVar11 - 1;\n        if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }\n      }" ({ "{") (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (if_statement "if (iVar12 == 2) goto LAB_00040ae4;" (if "if") (parenthesized_expression "(iVar12 == 2)" (( "(") (binary_expression "iVar12 == 2" (identifier "iVar12") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00040ae4;" (goto "goto") (statement_identifier "LAB_00040ae4") (; ";"))) (expression_statement "uVar11 = puVar3[2];" (assignment_expression "uVar11 = puVar3[2]" (identifier "uVar11") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar3[2] = uVar11 - 1;" (assignment_expression "puVar3[2] = uVar11 - 1" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 == 0) {\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar9 = 3;\n          puVar5 = puVar3 + 3;\n          do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);\n        }" ({ "{") (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" (identifier "iVar9") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar5 = puVar3 + 3;" (assignment_expression "puVar5 = puVar3 + 3" (identifier "puVar5") (= "=") (binary_expression "puVar3 + 3" (identifier "puVar3") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          } while (uVar11 == 0);" (do "do") (compound_statement "{\n            if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }\n            uVar11 = *puVar5;\n            iVar9 = iVar9 + 1;\n            *puVar5 = uVar11 - 1;\n            puVar5 = puVar5 + 1;\n          }" ({ "{") (if_statement "if (iVar9 == iVar12) {\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }" (if "if") (parenthesized_expression "(iVar9 == iVar12)" (( "(") (binary_expression "iVar9 == iVar12" (identifier "iVar9") (== "==") (identifier "iVar12")) () ")")) (compound_statement "{\n              iVar9 = 1;\n              goto LAB_00040ae4;\n            }" ({ "{") (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00040ae4;" (goto "goto") (statement_identifier "LAB_00040ae4") (; ";")) (} "}"))) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar5 = uVar11 - 1;" (assignment_expression "*puVar5 = uVar11 - 1" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00040d60;" (goto "goto") (statement_identifier "LAB_00040d60") (; ";")) (} "}"))) (labeled_statement "LAB_00040ae0:\n    iVar9 = 1;" (statement_identifier "LAB_00040ae0") (: ":") (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";"))) (} "}")))) (labeled_statement "LAB_00040ae4:\n  uVar11 = *puVar7;" (statement_identifier "LAB_00040ae4") (: ":") (expression_statement "uVar11 = *puVar7;" (assignment_expression "uVar11 = *puVar7" (identifier "uVar11") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";"))) (expression_statement "*puVar7 = uVar11 - iVar9;" (assignment_expression "*puVar7 = uVar11 - iVar9" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (binary_expression "uVar11 - iVar9" (identifier "uVar11") (- "-") (identifier "iVar9"))) (; ";")) (if_statement "if (-1 < (int)(uVar11 - iVar9)) {\n    return;\n  }" (if "if") (parenthesized_expression "(-1 < (int)(uVar11 - iVar9))" (( "(") (binary_expression "-1 < (int)(uVar11 - iVar9)" (number_literal "-1") (< "<") (cast_expression "(int)(uVar11 - iVar9)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar11 - iVar9)" (( "(") (binary_expression "uVar11 - iVar9" (identifier "uVar11") (- "-") (identifier "iVar9")) () ")")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar11 = *param_1;" (assignment_expression "uVar11 = *param_1" (identifier "uVar11") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*param_1 = uVar11 + 1;" (assignment_expression "*param_1 = uVar11 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 + 1 == 0) {\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(uVar11 + 1 == 0)" (( "(") (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }\n    uVar11 = param_1[1];\n    param_1[1] = uVar11 + 1;\n    if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }\n  }" ({ "{") (if_statement "if (param_4 < 2) {\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }" (if "if") (parenthesized_expression "(param_4 < 2)" (( "(") (binary_expression "param_4 < 2" (identifier "param_4") (< "<") (number_literal "2")) () ")")) (compound_statement "{\nLAB_00040b68:\n      *puVar7 = 1;\n      return;\n    }" ({ "{") (labeled_statement "LAB_00040b68:\n      *puVar7 = 1;" (statement_identifier "LAB_00040b68") (: ":") (expression_statement "*puVar7 = 1;" (assignment_expression "*puVar7 = 1" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "1")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar11 = param_1[1];" (assignment_expression "uVar11 = param_1[1]" (identifier "uVar11") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = uVar11 + 1;" (assignment_expression "param_1[1] = uVar11 + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 + 1 == 0) {\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }" (if "if") (parenthesized_expression "(uVar11 + 1 == 0)" (( "(") (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_4 == 2) goto LAB_00040b68;\n      uVar11 = param_1[2];\n      param_1[2] = uVar11 + 1;\n      if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }\n    }" ({ "{") (if_statement "if (param_4 == 2) goto LAB_00040b68;" (if "if") (parenthesized_expression "(param_4 == 2)" (( "(") (binary_expression "param_4 == 2" (identifier "param_4") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00040b68;" (goto "goto") (statement_identifier "LAB_00040b68") (; ";"))) (expression_statement "uVar11 = param_1[2];" (assignment_expression "uVar11 = param_1[2]" (identifier "uVar11") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_1[2] = uVar11 + 1;" (assignment_expression "param_1[2] = uVar11 + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 + 1 == 0) {\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }" (if "if") (parenthesized_expression "(uVar11 + 1 == 0)" (( "(") (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar9 = 3;\n        puVar5 = param_1 + 3;\n        do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);\n      }" ({ "{") (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" (identifier "iVar9") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar5 = param_1 + 3;" (assignment_expression "puVar5 = param_1 + 3" (identifier "puVar5") (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar11 + 1 == 0);" (do "do") (compound_statement "{\n          if (param_4 == iVar9) goto LAB_00040b68;\n          uVar11 = *puVar5;\n          iVar9 = iVar9 + 1;\n          *puVar5 = uVar11 + 1;\n          puVar5 = puVar5 + 1;\n        }" ({ "{") (if_statement "if (param_4 == iVar9) goto LAB_00040b68;" (if "if") (parenthesized_expression "(param_4 == iVar9)" (( "(") (binary_expression "param_4 == iVar9" (identifier "param_4") (== "==") (identifier "iVar9")) () ")")) (goto_statement "goto LAB_00040b68;" (goto "goto") (statement_identifier "LAB_00040b68") (; ";"))) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar5 = uVar11 + 1;" (assignment_expression "*puVar5 = uVar11 + 1" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 + 1 == 0)" (( "(") (binary_expression "uVar11 + 1 == 0" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 var_2,type_2 var_7,type_3 var_1,type_4 var_3)

{
  bool bVar1;
  type_5 *var_10;
  type_6 *var_12;
  type_5 var_20;
  type_1 var_18;
  type_6 *var_13;
  type_6 *var_14;
  int var_9;
  type_1 var_16;
  type_5 var_19;
  type_6 var_17;
  type_5 *var_11;
  type_5 var_15;
  int var_5;
  type_6 *var_21;
  type_6 var_4;
  int var_8;
  type_6 var_6;
  
  var_4 = var_1 >> 5;
  var_16 = var_2 + var_3;
  var_6 = var_1 & 0x1f;
  if (var_3 <= (int)var_4) {
    var_5 = var_4 - var_3;
    var_8 = var_3 - var_5;
    var_14 = var_2 + var_5;
    if (var_6 == 0) {
      if (var_5 != 0) {
        var_10 = var_7 + var_8;
        var_9 = var_5 + -1;
        var_15 = *var_10;
        var_11 = var_2;
        if (var_9 == 0) {
          *var_2 = var_15;
        }
        else {
          do {
            var_10 = var_10 + 1;
            *var_11 = var_15;
            var_9 = var_9 + -1;
            var_15 = *var_10;
            var_11 = var_11 + 1;
          } while (var_9 != 0);
          var_2[var_5 + -1] = var_15;
        }
      }
      var_4 = var_7[var_3];
      var_12 = var_14;
      do {
        var_13 = var_12 + 1;
        *var_12 = ~*var_7;
        var_12 = var_13;
        var_7 = var_7 + 1;
      } while (var_13 != var_14 + var_8);
      *var_16 = 0;
      var_16 = var_2;
      do {
        var_15 = *var_16;
        *var_16 = var_15 + 1;
        var_16 = var_16 + 1;
      } while (var_15 + 1 == 0);
    }
    else {
      (*(type_7 *)PTR___gmpn_lshift_0009d56c)(var_2,var_7 + var_8,var_5 + 1,var_6);
      var_4 = *var_14;
      var_8 = (*(type_7 *)PTR___gmpn_lshiftc_0009d174)(var_14,var_7,var_8,var_6);
      *var_16 = 0;
      var_6 = var_8 + 1U + *var_2;
      *var_2 = var_6;
      var_16 = var_2;
      if (var_6 < var_8 + 1U) {
        do {
          var_16 = var_16 + 1;
          var_15 = *var_16;
          *var_16 = var_15 + 1;
        } while (var_15 + 1 == 0);
      }
    }
    var_4 = var_4 + 1;
    if (var_4 == 0) {
      var_16 = var_2 + var_5 + 1;
      do {
        var_15 = *var_16;
        *var_16 = var_15 + 1;
        var_16 = var_16 + 1;
      } while (var_15 + 1 == 0);
      return;
    }
    var_6 = *var_14;
    *var_14 = var_4 + var_6;
    if (var_4 <= var_4 + var_6) {
      return;
    }
    do {
      var_14 = var_14 + 1;
      var_4 = *var_14;
      *var_14 = var_4 + 1;
    } while (var_4 + 1 == 0);
    return;
  }
  var_5 = var_3 - var_4;
  var_14 = var_2 + var_4;
  if (var_6 != 0) {
    (*(type_7 *)PTR___gmpn_lshiftc_0009d174)(var_2,var_7 + var_5,var_4 + 1,var_6);
    var_15 = ~*var_14;
    var_6 = (*(type_7 *)PTR___gmpn_lshift_0009d56c)(var_14,var_7,var_5,var_6);
    if (var_4 != 0) {
      var_17 = var_6 - 1;
      if (var_6 == 0) goto LAB_0004093c;
LAB_00040bd8:
      var_6 = *var_2;
      *var_2 = var_6 - var_17;
      if (var_6 < var_17) goto LAB_00040bec;
      goto LAB_00040d40;
    }
    goto LAB_00040c50;
  }
  var_18 = var_2;
  var_12 = var_7 + var_5;
  do {
    var_13 = var_18 + 1;
    *var_18 = ~*var_12;
    var_18 = var_13;
    var_12 = var_12 + 1;
  } while (var_2 + var_4 + 1 != var_13);
  var_6 = *var_7;
  var_9 = var_5 + -1;
  var_15 = var_7[var_3];
  var_12 = var_2;
  var_8 = var_3;
  if (var_9 == 0) {
    *var_14 = var_6;
    if (var_4 == 0) goto LAB_00040abc;
LAB_0004093c:
    var_19 = *var_2;
    var_20 = var_19 + 1;
    *var_2 = var_20;
    if (var_20 == 0) {
      if (1 < var_3) {
        var_20 = var_2[1];
        var_2[1] = var_20 + 1;
        if (var_20 + 1 == 0) {
          if (var_3 == 2) {
            *var_2 = var_19;
            goto LAB_00040bec;
          }
          var_20 = var_2[2];
          var_2[2] = var_20 + 1;
          if (var_20 + 1 == 0) {
            var_8 = 3;
            var_18 = var_2 + 3;
            do {
              bVar1 = var_3 == var_8;
              var_8 = var_8 + 1;
              if (bVar1) {
                var_17 = 1;
                goto LAB_00040bd8;
              }
              var_20 = *var_18;
              *var_18 = var_20 + 1;
              var_18 = var_18 + 1;
            } while (var_20 + 1 == 0);
          }
        }
        goto LAB_00040d40;
      }
      *var_2 = 0xffffffff;
LAB_00040bec:
      var_6 = 2;
      if (1 < var_4) {
        var_20 = var_2[1];
        var_2[1] = var_20 - 1;
        if (var_20 == 0) {
          var_6 = 2;
          if (var_4 == 2) goto LAB_00040c50;
          var_20 = var_2[2];
          var_2[2] = var_20 - 1;
          if (var_20 == 0) {
            var_6 = 3;
            var_18 = var_2 + 3;
            do {
              bVar1 = var_4 == var_6;
              var_6 = var_6 + 1;
              if (bVar1) {
                var_6 = 2;
                goto LAB_00040c50;
              }
              var_20 = *var_18;
              *var_18 = var_20 - 1;
              var_18 = var_18 + 1;
            } while (var_20 == 0);
          }
        }
        goto LAB_00040d40;
      }
    }
    else {
LAB_00040d40:
      var_6 = 1;
    }
LAB_00040c50:
    var_4 = *var_14;
    *var_14 = var_4 - var_6;
    var_12 = var_14;
    var_8 = var_5;
    if (var_6 <= var_4) goto LAB_00040abc;
    if (var_5 != 1) {
      var_4 = var_14[1];
      var_14[1] = var_4 - 1;
      if (var_4 == 0) {
        var_20 = 0xffffffff;
        if (var_5 != 2) {
          var_4 = var_14[2];
          var_14[2] = var_4 - 1;
          if (var_4 == 0) {
            var_9 = 3;
            var_13 = var_14 + 3;
            do {
              bVar1 = var_9 == var_5;
              var_9 = var_9 + 1;
              if (bVar1) {
                var_20 = 0xffffffff;
                goto LAB_00040cc8;
              }
              var_4 = *var_13;
              *var_13 = var_4 - 1;
              var_13 = var_13 + 1;
            } while (var_4 == 0);
          }
          goto LAB_00040d74;
        }
      }
      else {
LAB_00040d74:
        var_20 = 0;
      }
LAB_00040cc8:
      *var_16 = var_20;
      var_4 = *var_14;
      *var_14 = var_4 - var_15;
      if (var_15 <= var_4) goto LAB_00040d60;
      goto LAB_00040ce0;
    }
    *var_16 = 0xffffffff;
    var_4 = *var_14;
    *var_14 = var_4 - var_15;
    if (var_4 < var_15) goto LAB_00040ae0;
LAB_00040d60:
    var_5 = 0;
  }
  else {
    var_13 = var_14;
    var_21 = var_7 + 1;
    do {
      *var_13 = var_6;
      var_9 = var_9 + -1;
      var_6 = *var_21;
      var_13 = var_13 + 1;
      var_21 = var_21 + 1;
    } while (var_9 != 0);
    var_14[var_5 + -1] = var_6;
    if (var_4 != 0) goto LAB_0004093c;
LAB_00040abc:
    *var_16 = 0;
    var_4 = *var_12;
    *var_12 = var_4 - var_15;
    if (var_15 <= var_4) goto LAB_00040d60;
    if (var_8 != 1) {
LAB_00040ce0:
      var_4 = var_12[1];
      var_12[1] = var_4 - 1;
      if (var_4 == 0) {
        var_5 = 1;
        if (var_8 == 2) goto LAB_00040ae4;
        var_4 = var_12[2];
        var_12[2] = var_4 - 1;
        if (var_4 == 0) {
          var_5 = 3;
          var_14 = var_12 + 3;
          do {
            if (var_5 == var_8) {
              var_5 = 1;
              goto LAB_00040ae4;
            }
            var_4 = *var_14;
            var_5 = var_5 + 1;
            *var_14 = var_4 - 1;
            var_14 = var_14 + 1;
          } while (var_4 == 0);
        }
      }
      goto LAB_00040d60;
    }
LAB_00040ae0:
    var_5 = 1;
  }
LAB_00040ae4:
  var_15 = *var_16;
  *var_16 = var_15 - var_5;
  if (-1 < (int)(var_15 - var_5)) {
    return;
  }
  var_15 = *var_2;
  *var_2 = var_15 + 1;
  if (var_15 + 1 == 0) {
    if (var_3 < 2) {
LAB_00040b68:
      *var_16 = 1;
      return;
    }
    var_15 = var_2[1];
    var_2[1] = var_15 + 1;
    if (var_15 + 1 == 0) {
      if (var_3 == 2) goto LAB_00040b68;
      var_15 = var_2[2];
      var_2[2] = var_15 + 1;
      if (var_15 + 1 == 0) {
        var_5 = 3;
        var_18 = var_2 + 3;
        do {
          if (var_3 == var_5) goto LAB_00040b68;
          var_15 = *var_18;
          var_5 = var_5 + 1;
          *var_18 = var_15 + 1;
          var_18 = var_18 + 1;
        } while (var_15 + 1 == 0);
      }
    }
  }
  *var_16 = 0;
  return;
}


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

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

{
  bool bVar1;
  uint uVar2;
  uint *puVar3;
  uint *puVar4;
  uint *puVar5;
  int iVar6;
  uint *puVar7;
  uint uVar8;
  int iVar9;
  uint *puVar10;
  uint uVar11;
  int iVar12;
  uint uVar13;
  
  uVar11 = param_3 >> 5;
  puVar7 = param_1 + param_4;
  param_3 = param_3 & 0x1f;
  if (param_4 <= (int)uVar11) {
    iVar9 = uVar11 - param_4;
    iVar12 = param_4 - iVar9;
    puVar5 = param_1 + iVar9;
    if (param_3 == 0) {
      if (iVar9 != 0) {
        puVar4 = param_2 + iVar12;
        iVar6 = iVar9 + -1;
        uVar11 = *puVar4;
        puVar3 = param_1;
        if (iVar6 == 0) {
          *param_1 = uVar11;
        }
        else {
          do {
            puVar4 = puVar4 + 1;
            *puVar3 = uVar11;
            iVar6 = iVar6 + -1;
            uVar11 = *puVar4;
            puVar3 = puVar3 + 1;
          } while (iVar6 != 0);
          param_1[iVar9 + -1] = uVar11;
        }
      }
      uVar11 = param_2[param_4];
      puVar3 = puVar5;
      do {
        puVar4 = puVar3 + 1;
        *puVar3 = ~*param_2;
        puVar3 = puVar4;
        param_2 = param_2 + 1;
      } while (puVar4 != puVar5 + iVar12);
      *puVar7 = 0;
      puVar7 = param_1;
      do {
        uVar2 = *puVar7;
        *puVar7 = uVar2 + 1;
        puVar7 = puVar7 + 1;
      } while (uVar2 + 1 == 0);
    }
    else {
      (*(code *)PTR___gmpn_lshift_0009d56c)(param_1,param_2 + iVar12,iVar9 + 1,param_3);
      uVar11 = *puVar5;
      iVar12 = (*(code *)PTR___gmpn_lshiftc_0009d174)(puVar5,param_2,iVar12,param_3);
      *puVar7 = 0;
      uVar2 = iVar12 + 1U + *param_1;
      *param_1 = uVar2;
      puVar7 = param_1;
      if (uVar2 < iVar12 + 1U) {
        do {
          puVar7 = puVar7 + 1;
          uVar2 = *puVar7;
          *puVar7 = uVar2 + 1;
        } while (uVar2 + 1 == 0);
      }
    }
    uVar11 = uVar11 + 1;
    if (uVar11 == 0) {
      puVar7 = param_1 + iVar9 + 1;
      do {
        uVar11 = *puVar7;
        *puVar7 = uVar11 + 1;
        puVar7 = puVar7 + 1;
      } while (uVar11 + 1 == 0);
      return;
    }
    uVar2 = *puVar5;
    *puVar5 = uVar11 + uVar2;
    if (uVar11 <= uVar11 + uVar2) {
      return;
    }
    do {
      puVar5 = puVar5 + 1;
      uVar11 = *puVar5;
      *puVar5 = uVar11 + 1;
    } while (uVar11 + 1 == 0);
    return;
  }
  iVar9 = param_4 - uVar11;
  puVar5 = param_1 + uVar11;
  if (param_3 != 0) {
    (*(code *)PTR___gmpn_lshiftc_0009d174)(param_1,param_2 + iVar9,uVar11 + 1,param_3);
    uVar13 = ~*puVar5;
    uVar2 = (*(code *)PTR___gmpn_lshift_0009d56c)(puVar5,param_2,iVar9,param_3);
    if (uVar11 != 0) {
      uVar8 = uVar2 - 1;
      if (uVar2 == 0) goto LAB_0004093c;
LAB_00040bd8:
      uVar2 = *param_1;
      *param_1 = uVar2 - uVar8;
      if (uVar2 < uVar8) goto LAB_00040bec;
      goto LAB_00040d40;
    }
    goto LAB_00040c50;
  }
  puVar3 = param_1;
  puVar4 = param_2 + iVar9;
  do {
    puVar10 = puVar3 + 1;
    *puVar3 = ~*puVar4;
    puVar3 = puVar10;
    puVar4 = puVar4 + 1;
  } while (param_1 + uVar11 + 1 != puVar10);
  uVar2 = *param_2;
  iVar6 = iVar9 + -1;
  uVar13 = param_2[param_4];
  puVar3 = param_1;
  iVar12 = param_4;
  if (iVar6 == 0) {
    *puVar5 = uVar2;
    if (uVar11 == 0) goto LAB_00040abc;
LAB_0004093c:
    uVar8 = *param_1;
    uVar2 = uVar8 + 1;
    *param_1 = uVar2;
    if (uVar2 == 0) {
      if (1 < param_4) {
        uVar2 = param_1[1];
        param_1[1] = uVar2 + 1;
        if (uVar2 + 1 == 0) {
          if (param_4 == 2) {
            *param_1 = uVar8;
            goto LAB_00040bec;
          }
          uVar2 = param_1[2];
          param_1[2] = uVar2 + 1;
          if (uVar2 + 1 == 0) {
            iVar12 = 3;
            puVar3 = param_1 + 3;
            do {
              bVar1 = param_4 == iVar12;
              iVar12 = iVar12 + 1;
              if (bVar1) {
                uVar8 = 1;
                goto LAB_00040bd8;
              }
              uVar2 = *puVar3;
              *puVar3 = uVar2 + 1;
              puVar3 = puVar3 + 1;
            } while (uVar2 + 1 == 0);
          }
        }
        goto LAB_00040d40;
      }
      *param_1 = 0xffffffff;
LAB_00040bec:
      uVar2 = 2;
      if (1 < uVar11) {
        uVar2 = param_1[1];
        param_1[1] = uVar2 - 1;
        if (uVar2 == 0) {
          uVar2 = 2;
          if (uVar11 == 2) goto LAB_00040c50;
          uVar2 = param_1[2];
          param_1[2] = uVar2 - 1;
          if (uVar2 == 0) {
            uVar2 = 3;
            puVar3 = param_1 + 3;
            do {
              bVar1 = uVar11 == uVar2;
              uVar2 = uVar2 + 1;
              if (bVar1) {
                uVar2 = 2;
                goto LAB_00040c50;
              }
              uVar8 = *puVar3;
              *puVar3 = uVar8 - 1;
              puVar3 = puVar3 + 1;
            } while (uVar8 == 0);
          }
        }
        goto LAB_00040d40;
      }
    }
    else {
LAB_00040d40:
      uVar2 = 1;
    }
LAB_00040c50:
    uVar11 = *puVar5;
    *puVar5 = uVar11 - uVar2;
    puVar3 = puVar5;
    iVar12 = iVar9;
    if (uVar2 <= uVar11) goto LAB_00040abc;
    if (iVar9 != 1) {
      uVar11 = puVar5[1];
      puVar5[1] = uVar11 - 1;
      if (uVar11 == 0) {
        uVar11 = 0xffffffff;
        if (iVar9 != 2) {
          uVar11 = puVar5[2];
          puVar5[2] = uVar11 - 1;
          if (uVar11 == 0) {
            iVar6 = 3;
            puVar4 = puVar5 + 3;
            do {
              bVar1 = iVar6 == iVar9;
              iVar6 = iVar6 + 1;
              if (bVar1) {
                uVar11 = 0xffffffff;
                goto LAB_00040cc8;
              }
              uVar11 = *puVar4;
              *puVar4 = uVar11 - 1;
              puVar4 = puVar4 + 1;
            } while (uVar11 == 0);
          }
          goto LAB_00040d74;
        }
      }
      else {
LAB_00040d74:
        uVar11 = 0;
      }
LAB_00040cc8:
      *puVar7 = uVar11;
      uVar11 = *puVar5;
      *puVar5 = uVar11 - uVar13;
      if (uVar13 <= uVar11) goto LAB_00040d60;
      goto LAB_00040ce0;
    }
    *puVar7 = 0xffffffff;
    uVar11 = *puVar5;
    *puVar5 = uVar11 - uVar13;
    if (uVar11 < uVar13) goto LAB_00040ae0;
LAB_00040d60:
    iVar9 = 0;
  }
  else {
    puVar4 = puVar5;
    puVar10 = param_2 + 1;
    do {
      *puVar4 = uVar2;
      iVar6 = iVar6 + -1;
      uVar2 = *puVar10;
      puVar4 = puVar4 + 1;
      puVar10 = puVar10 + 1;
    } while (iVar6 != 0);
    puVar5[iVar9 + -1] = uVar2;
    if (uVar11 != 0) goto LAB_0004093c;
LAB_00040abc:
    *puVar7 = 0;
    uVar11 = *puVar3;
    *puVar3 = uVar11 - uVar13;
    if (uVar13 <= uVar11) goto LAB_00040d60;
    if (iVar12 != 1) {
LAB_00040ce0:
      uVar11 = puVar3[1];
      puVar3[1] = uVar11 - 1;
      if (uVar11 == 0) {
        iVar9 = 1;
        if (iVar12 == 2) goto LAB_00040ae4;
        uVar11 = puVar3[2];
        puVar3[2] = uVar11 - 1;
        if (uVar11 == 0) {
          iVar9 = 3;
          puVar5 = puVar3 + 3;
          do {
            if (iVar9 == iVar12) {
              iVar9 = 1;
              goto LAB_00040ae4;
            }
            uVar11 = *puVar5;
            iVar9 = iVar9 + 1;
            *puVar5 = uVar11 - 1;
            puVar5 = puVar5 + 1;
          } while (uVar11 == 0);
        }
      }
      goto LAB_00040d60;
    }
LAB_00040ae0:
    iVar9 = 1;
  }
LAB_00040ae4:
  uVar11 = *puVar7;
  *puVar7 = uVar11 - iVar9;
  if (-1 < (int)(uVar11 - iVar9)) {
    return;
  }
  uVar11 = *param_1;
  *param_1 = uVar11 + 1;
  if (uVar11 + 1 == 0) {
    if (param_4 < 2) {
LAB_00040b68:
      *puVar7 = 1;
      return;
    }
    uVar11 = param_1[1];
    param_1[1] = uVar11 + 1;
    if (uVar11 + 1 == 0) {
      if (param_4 == 2) goto LAB_00040b68;
      uVar11 = param_1[2];
      param_1[2] = uVar11 + 1;
      if (uVar11 + 1 == 0) {
        iVar9 = 3;
        puVar5 = param_1 + 3;
        do {
          if (param_4 == iVar9) goto LAB_00040b68;
          uVar11 = *puVar5;
          iVar9 = iVar9 + 1;
          *puVar5 = uVar11 + 1;
          puVar5 = puVar5 + 1;
        } while (uVar11 + 1 == 0);
      }
    }
  }
  *puVar7 = 0;
  return;
}

