
void __gmpn_gcdext_hook(void *p,mp_srcptr gp,mp_size_t gn,mp_srcptr qp,mp_size_t qn,int d)

{
  uint *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  uint *puVar5;
  undefined1 *puVar6;
  mp_limb_t *pmVar7;
  int *piVar8;
  gcdext_ctx *ctx;
  mp_limb_t *pmVar9;
  undefined4 uVar10;
  undefined4 *puVar11;
  mp_limb_t mVar12;
  undefined4 *puVar13;
  mp_limb_t *pmVar14;
  undefined4 *puVar15;
  undefined4 *puVar16;
  undefined4 *puVar17;
  undefined4 *puVar18;
  code *pcVar19;
  
  puVar13 = *(undefined4 **)((int)p + 0x18);
  puVar15 = *(undefined4 **)((int)p + 0x10);
  puVar17 = *(undefined4 **)((int)p + 0x14);
  if (gp == (mp_srcptr)0x0) {
    puVar11 = puVar13;
    if (d != 0) {
      puVar11 = puVar17;
      puVar17 = puVar13;
    }
    iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0);
    if (iVar4 == 1) {
      puVar13 = puVar17;
      puVar16 = puVar15;
      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;
      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {
        puVar13 = puVar11;
        puVar11 = puVar15;
        puVar16 = (undefined4 *)*qp;
        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;
      }
      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);
      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);
      goto LAB_00050758;
    }
    puVar16 = puVar15;
    if ((int)puVar15 < 1) {
      if (puVar15 == (undefined4 *)0x0) {
        return;
      }
    }
    else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {
      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);
      do {
        puVar16 = (undefined4 *)((int)puVar16 + -1);
        if (puVar16 == (undefined4 *)0x0) {
          return;
        }
        piVar8 = puVar13 + -2;
        puVar13 = puVar13 + -1;
      } while (*piVar8 == 0);
    }
    puVar18 = *(undefined4 **)((int)p + 0x1c);
    if ((int)puVar16 < iVar4) {
      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);
    }
    else {
      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);
    }
    puVar16 = (undefined4 *)
              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)));
    if ((int)puVar16 < (int)puVar15) {
      iVar4 = 0;
      puVar13 = puVar15;
      if ((puVar16 == (undefined4 *)0x0) ||
         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)
         ) goto LAB_00050758;
      piVar8 = puVar17 + (int)puVar16;
      do {
        iVar4 = *piVar8;
        puVar16 = (undefined4 *)((int)puVar16 + 1);
        *piVar8 = iVar4 + 1;
        if (iVar4 + 1 != 0) {
          iVar4 = 0;
          goto LAB_00050758;
        }
        piVar8 = piVar8 + 1;
      } while (puVar15 != puVar16);
LAB_00050814:
      iVar4 = 1;
      puVar13 = (undefined4 *)((int)puVar15 + 1);
    }
    else {
      puVar13 = puVar15;
      if ((puVar15 != (undefined4 *)0x0) &&
         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)
         ) {
        puVar13 = (undefined4 *)((int)puVar15 + 1);
        if (puVar15 == puVar16) goto LAB_00050814;
        piVar8 = puVar18 + (int)puVar15;
        iVar4 = *piVar8;
        puVar17[(int)puVar15] = iVar4 + 1;
        if (iVar4 + 1 == 0) {
          if ((int)puVar16 <= (int)puVar13) {
LAB_000508b4:
            iVar4 = 1;
            puVar15 = puVar16;
            puVar13 = (undefined4 *)((int)puVar16 + 1);
            goto LAB_00050758;
          }
          puVar13 = (undefined4 *)((int)puVar15 + 2);
          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;
          puVar17[(int)((int)puVar15 + 1)] = iVar4;
          piVar3 = puVar17 + (int)puVar15;
          while (iVar4 == 0) {
            if (puVar16 == puVar13) goto LAB_000508b4;
            piVar2 = piVar8 + 2;
            puVar13 = (undefined4 *)((int)puVar13 + 1);
            piVar8 = piVar8 + 1;
            iVar4 = *piVar2 + 1;
            piVar3[2] = iVar4;
            piVar3 = piVar3 + 1;
          }
        }
      }
      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {
        puVar11 = puVar18 + (int)puVar13;
        puVar15 = puVar17 + (int)puVar13;
        do {
          uVar10 = *puVar11;
          puVar11 = puVar11 + 1;
          *puVar15 = uVar10;
          puVar15 = puVar15 + 1;
        } while (puVar18 + (int)puVar16 != puVar11);
      }
      iVar4 = 0;
      puVar15 = puVar16;
      puVar13 = puVar16;
    }
LAB_00050758:
    puVar17[(int)puVar15] = iVar4;
    *(undefined4 **)((int)p + 0x10) = puVar13;
    return;
  }
  iVar4 = gn + -1;
  if (gn != 0) {
                    /* WARNING: Load size is inaccurate */
    pmVar14 = *p;
    mVar12 = *gp;
    if (iVar4 != 0) {
      pmVar7 = pmVar14;
      pmVar9 = gp + 1;
      do {
        *pmVar7 = mVar12;
        iVar4 = iVar4 + -1;
        mVar12 = *pmVar9;
        pmVar7 = pmVar7 + 1;
        pmVar9 = pmVar9 + 1;
      } while (iVar4 != 0);
      pmVar14 = pmVar14 + gn + -1;
    }
    *pmVar14 = mVar12;
  }
  *(mp_size_t *)((int)p + 4) = gn;
  if (d < 0) {
    puVar16 = puVar17 + (int)puVar15;
    puVar5 = puVar13 + (int)puVar15;
    puVar11 = puVar15;
    do {
      puVar11 = (undefined4 *)((int)puVar11 + -1);
      puVar5 = puVar5 + -1;
      if ((int)puVar11 < 0) goto LAB_000505b4;
      puVar1 = puVar16 + -1;
      puVar16 = puVar16 + -1;
    } while (*puVar1 == *puVar5);
    if (*puVar1 <= *puVar5) {
      d = 1;
      goto LAB_00050508;
    }
LAB_000505b4:
    d = 0;
  }
  else if (d != 0) {
LAB_00050508:
    puVar13 = puVar17;
  }
  if ((int)puVar15 < 1) {
    if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;
  }
  else if (puVar13[(int)((int)puVar15 + -1)] == 0) {
    puVar17 = puVar13 + (int)puVar15;
    do {
      puVar15 = (undefined4 *)((int)puVar15 + -1);
      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;
      piVar8 = puVar17 + -2;
      puVar17 = puVar17 + -1;
    } while (*piVar8 == 0);
  }
  puVar6 = (undefined1 *)((int)puVar15 + -1);
  puVar11 = *(undefined4 **)((int)p + 8);
  uVar10 = *puVar13;
  puVar17 = puVar11;
  if (puVar6 != (undefined1 *)0x0) {
    do {
      puVar13 = puVar13 + 1;
      *puVar17 = uVar10;
      puVar6 = puVar6 + -1;
      uVar10 = *puVar13;
      puVar17 = puVar17 + 1;
    } while (puVar6 != (undefined1 *)0x0);
    puVar11 = puVar11 + (int)((int)puVar15 + -1);
  }
  *puVar11 = uVar10;
LAB_00050548:
  if (d != 0) {
    puVar15 = (undefined4 *)-(int)puVar15;
  }
  **(undefined4 **)((int)p + 0xc) = puVar15;
  return;
}



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

{
  uint *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  uint *puVar5;
  int *piVar6;
  undefined4 uVar7;
  undefined4 *puVar8;
  undefined4 *puVar9;
  undefined4 *puVar10;
  undefined4 *puVar11;
  undefined4 *puVar12;
  undefined4 *puVar13;
  code *pcVar14;
  
  puVar8 = (undefined4 *)param_1[6];
  puVar10 = (undefined4 *)param_1[4];
  puVar12 = (undefined4 *)param_1[5];
  if (param_2 == (undefined4 *)0x0) {
    puVar9 = puVar8;
    if (param_6 != 0) {
      puVar9 = puVar12;
      puVar12 = puVar8;
    }
    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);
    if (param_5 == 1) {
      puVar8 = puVar12;
      puVar11 = puVar10;
      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;
      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {
        puVar8 = puVar9;
        puVar9 = puVar10;
        puVar11 = (undefined4 *)*param_4;
        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;
      }
      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);
      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);
      goto LAB_00050758;
    }
    puVar11 = puVar10;
    if ((int)puVar10 < 1) {
      if (puVar10 == (undefined4 *)0x0) {
        return;
      }
    }
    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {
      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);
      do {
        puVar11 = (undefined4 *)((int)puVar11 + -1);
        if (puVar11 == (undefined4 *)0x0) {
          return;
        }
        piVar6 = puVar8 + -2;
        puVar8 = puVar8 + -1;
      } while (*piVar6 == 0);
    }
    puVar13 = (undefined4 *)param_1[7];
    if ((int)puVar11 < param_5) {
      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);
    }
    else {
      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);
    }
    puVar11 = (undefined4 *)
              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));
    if ((int)puVar11 < (int)puVar10) {
      iVar4 = 0;
      puVar8 = puVar10;
      if ((puVar11 == (undefined4 *)0x0) ||
         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)
         ) goto LAB_00050758;
      piVar6 = puVar12 + (int)puVar11;
      do {
        iVar4 = *piVar6;
        puVar11 = (undefined4 *)((int)puVar11 + 1);
        *piVar6 = iVar4 + 1;
        if (iVar4 + 1 != 0) {
          iVar4 = 0;
          goto LAB_00050758;
        }
        piVar6 = piVar6 + 1;
      } while (puVar10 != puVar11);
LAB_00050814:
      iVar4 = 1;
      puVar8 = (undefined4 *)((int)puVar10 + 1);
    }
    else {
      puVar8 = puVar10;
      if ((puVar10 != (undefined4 *)0x0) &&
         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)
         ) {
        puVar8 = (undefined4 *)((int)puVar10 + 1);
        if (puVar10 == puVar11) goto LAB_00050814;
        piVar6 = puVar13 + (int)puVar10;
        iVar4 = *piVar6;
        puVar12[(int)puVar10] = iVar4 + 1;
        if (iVar4 + 1 == 0) {
          if ((int)puVar11 <= (int)puVar8) {
LAB_000508b4:
            iVar4 = 1;
            puVar10 = puVar11;
            puVar8 = (undefined4 *)((int)puVar11 + 1);
            goto LAB_00050758;
          }
          puVar8 = (undefined4 *)((int)puVar10 + 2);
          iVar4 = puVar13[(int)puVar10 + 1] + 1;
          puVar12[(int)puVar10 + 1] = iVar4;
          piVar3 = puVar12 + (int)puVar10;
          while (iVar4 == 0) {
            if (puVar11 == puVar8) goto LAB_000508b4;
            piVar2 = piVar6 + 2;
            puVar8 = (undefined4 *)((int)puVar8 + 1);
            piVar6 = piVar6 + 1;
            iVar4 = *piVar2 + 1;
            piVar3[2] = iVar4;
            piVar3 = piVar3 + 1;
          }
        }
      }
      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {
        puVar9 = puVar13 + (int)puVar8;
        puVar10 = puVar12 + (int)puVar8;
        do {
          uVar7 = *puVar9;
          puVar9 = puVar9 + 1;
          *puVar10 = uVar7;
          puVar10 = puVar10 + 1;
        } while (puVar13 + (int)puVar11 != puVar9);
      }
      iVar4 = 0;
      puVar10 = puVar11;
      puVar8 = puVar11;
    }
LAB_00050758:
    puVar12[(int)puVar10] = iVar4;
    param_1[4] = puVar8;
    return;
  }
  iVar4 = param_3 + -1;
  if (param_3 != 0) {
    puVar9 = (undefined4 *)*param_1;
    uVar7 = *param_2;
    if (iVar4 != 0) {
      puVar11 = puVar9;
      puVar13 = param_2 + 1;
      do {
        *puVar11 = uVar7;
        iVar4 = iVar4 + -1;
        uVar7 = *puVar13;
        puVar11 = puVar11 + 1;
        puVar13 = puVar13 + 1;
      } while (iVar4 != 0);
      puVar9 = puVar9 + param_3 + -1;
    }
    *puVar9 = uVar7;
  }
  param_1[1] = param_3;
  if (param_6 < 0) {
    puVar11 = puVar12 + (int)puVar10;
    puVar5 = puVar8 + (int)puVar10;
    puVar9 = puVar10;
    do {
      puVar9 = (undefined4 *)((int)puVar9 + -1);
      puVar5 = puVar5 + -1;
      if ((int)puVar9 < 0) goto LAB_000505b4;
      puVar1 = puVar11 + -1;
      puVar11 = puVar11 + -1;
    } while (*puVar1 == *puVar5);
    if (*puVar1 <= *puVar5) {
      param_6 = 1;
      goto LAB_00050508;
    }
LAB_000505b4:
    param_6 = 0;
  }
  else if (param_6 != 0) {
LAB_00050508:
    puVar8 = puVar12;
  }
  if ((int)puVar10 < 1) {
    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;
  }
  else if (puVar8[(int)puVar10 + -1] == 0) {
    puVar12 = puVar8 + (int)puVar10;
    do {
      puVar10 = (undefined4 *)((int)puVar10 + -1);
      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;
      piVar6 = puVar12 + -2;
      puVar12 = puVar12 + -1;
    } while (*piVar6 == 0);
  }
  iVar4 = (int)puVar10 + -1;
  puVar9 = (undefined4 *)param_1[2];
  uVar7 = *puVar8;
  puVar12 = puVar9;
  if (iVar4 != 0) {
    do {
      puVar8 = puVar8 + 1;
      *puVar12 = uVar7;
      iVar4 = iVar4 + -1;
      uVar7 = *puVar8;
      puVar12 = puVar12 + 1;
    } while (iVar4 != 0);
    puVar9 = puVar9 + (int)puVar10 + -1;
  }
  *puVar9 = uVar7;
LAB_00050548:
  if (param_6 != 0) {
    puVar10 = (undefined4 *)-(int)puVar10;
  }
  *(undefined4 **)param_1[3] = puVar10;
  return;
}


lui gp,0x5
addiu gp,gp,0x4bd0
addu gp,gp,t9
addiu sp,sp,-0x40
lw t0,0x18(a0)
lw t1,0x54(sp)
sw gp,0x18(sp)
sw s2,0x2c(sp)
sw s0,0x24(sp)
sw ra,0x3c(sp)
sw s5,0x38(sp)
sw s4,0x34(sp)
sw s3,0x30(sp)
sw s1,0x28(sp)
lw s0,0x10(a0)
beq a1,zero,0x00050608
_lw s2,0x14(a0)
beq a2,zero,0x000504f8
_addiu v0,a2,-0x1
lw t2,0x0(a0)
beq v0,zero,0x000504f4
_lw a3,0x0(a1)
addiu a1,a1,0x4
or v1,t2,zero
addiu v1,v1,0x4
sw a3,-0x4(v1)
addiu a1,a1,0x4
addiu v0,v0,-0x1
bne v0,zero,0x000504d0
_lw a3,-0x4(a1)
sll v0,a2,0x2
addiu v0,v0,-0x4
addu t2,t2,v0
sw a3,0x0(t2)
bltz t1,0x00050580
_sw a2,0x4(a0)
beq t1,zero,0x0005050c
_nop
or t0,s2,zero
blez s0,0x000505bc
_sll v0,s0,0x2
addiu v0,v0,-0x4
addu v1,t0,v0
lw v1,0x0(v1)
bne v1,zero,0x000505c4
_addiu v0,v0,0x4
b 0x0005053c
_addu v0,t0,v0
lw v1,-0x4(v0)
bne v1,zero,0x000505c4
_nop
addiu s0,s0,-0x1
bne s0,zero,0x00050530
_addiu v0,v0,-0x4
beq t1,zero,0x00050554
_nop
subu s0,zero,s0
lw v0,0xc(a0)
sw s0,0x0(v0)
lw ra,0x3c(sp)
lw s5,0x38(sp)
lw s4,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x40
sll v0,s0,0x2
or v1,s0,zero
addu a1,s2,v0
b 0x000505a4
_addu v0,t0,v0
lw a2,-0x4(a1)
lw a3,0x0(v0)
bne a2,a3,0x0005078c
_addiu a1,a1,-0x4
addiu v1,v1,-0x1
bgez v1,0x00050594
_addiu v0,v0,-0x4
addiu v0,v0,0x4
b 0x0005050c
_or t1,zero,zero
beq s0,zero,0x00050548
_nop
addiu v0,s0,-0x1
lw a2,0x8(a0)
beq v0,zero,0x00050600
_lw a1,0x0(t0)
addiu t0,t0,0x4
or v1,a2,zero
addiu v1,v1,0x4
sw a1,-0x4(v1)
addiu t0,t0,0x4
addiu v0,v0,-0x1
bne v0,zero,0x000505dc
_lw a1,-0x4(t0)
sll v0,s0,0x2
addiu v0,v0,-0x4
addu a2,a2,v0
b 0x00050548
_sw a1,0x0(a2)
beq t1,zero,0x00050620
_lui v0,0x3fff
or v0,s2,zero
or s2,t0,zero
or t0,v0,zero
lui v0,0x3fff
lw v1,0x50(sp)
or s4,a0,zero
ori v0,v0,0xffff
addu v1,v1,v0
li a0,0x1
sll v1,v1,0x2
addu v1,a3,v1
lw s3,0x0(v1)
lw v1,0x50(sp)
sltiu s3,s3,0x1
subu s3,v1,s3
beq s3,a0,0x00050730
_or a1,a3,zero
blez s0,0x000508c4
_addu v0,s0,v0
sll v0,v0,0x2
addu v1,t0,v0
lw v1,0x0(v1)
bne v1,zero,0x000508cc
_addiu v0,v0,0x4
or s1,s0,zero
addu v0,t0,v0
addiu s1,s1,-0x1
beq s1,zero,0x0005055c
_addiu v0,v0,-0x4
lw v1,-0x4(v0)
beq v1,zero,0x0005067c
_addiu s1,s1,-0x1
addiu s1,s1,0x1
slt v0,s1,s3
lw t9,-0x7d8c(gp)
beq v0,zero,0x000507b0
_lw s5,0x1c(s4)
or a3,t0,zero
sw s1,0x10(sp)
or a2,s3,zero
jalr t9
_or a0,s5,zero
lw gp,0x18(sp)
addu s1,s3,s1
sll v0,s1,0x2
addu v0,s5,v0
lw v0,-0x4(v0)
sltiu v0,v0,0x1
subu s1,s1,v0
slt v0,s1,s0
bne v0,zero,0x000507a0
_nop
bne s0,zero,0x00050820
_lw t9,-0x7d0c(gp)
beq s2,s5,0x00050724
_nop
slt v0,s0,s1
beq v0,zero,0x00050724
_nop
sll v1,s0,0x2
sll a0,s1,0x2
addu v0,s5,v1
addu v1,s2,v1
addu s5,s5,a0
lw a0,0x0(v0)
addiu v1,v1,0x4
addiu v0,v0,0x4
bne s5,v0,0x00050710
_sw a0,-0x4(v1)
or s0,s1,zero
b 0x00050758
_or v0,zero,zero
lw a3,0x0(a3)
beq a3,s3,0x000508d4
_lw t9,-0x7d0c(gp)
lw t9,-0x7f70(gp)
or a2,s0,zero
or a1,t0,zero
jalr t9
_or a0,s2,zero
sltu s1,zero,v0
addu s1,s1,s0
sll s0,s0,0x2
lw ra,0x3c(sp)
lw s5,0x38(sp)
addu s0,s2,s0
lw s3,0x30(sp)
lw s2,0x2c(sp)
sw v0,0x0(s0)
sw s1,0x10(s4)
lw s0,0x24(sp)
lw s4,0x34(sp)
lw s1,0x28(sp)
jr ra
_addiu sp,sp,0x40
sltu a2,a3,a2
bne a2,zero,0x000505b4
_nop
b 0x00050508
_li t1,0x1
bne s1,zero,0x000507d0
_or v0,zero,zero
b 0x00050758
_or s1,s0,zero
or a3,a1,zero
sw s3,0x10(sp)
or a2,s1,zero
or a1,t0,zero
jalr t9
_or a0,s5,zero
b 0x000506bc
_lw gp,0x18(sp)
lw t9,-0x7d0c(gp)
or a3,s1,zero
or a2,s5,zero
or a1,s2,zero
jalr t9
_or a0,s2,zero
beq v0,zero,0x000507a8
_sll v1,s1,0x2
addu v1,s2,v1
lw v0,0x0(v1)
addiu v1,v1,0x4
addiu s1,s1,0x1
addiu v0,v0,0x1
bne v0,zero,0x000508e4
_sw v0,-0x4(v1)
bne s0,s1,0x000507f4
_nop
addiu s1,s0,0x1
b 0x00050758
_li v0,0x1
or a3,s0,zero
or a2,s2,zero
or a1,s5,zero
jalr t9
_or a0,s2,zero
beq v0,zero,0x000506e8
_nop
beq s0,s1,0x00050814
_addiu a1,s0,0x1
sll v0,s0,0x2
addu a0,s5,v0
addu v1,s2,v0
lw a2,0x0(a0)
addiu a2,a2,0x1
bne a2,zero,0x000508f0
_sw a2,0x0(v1)
slt a1,a1,s1
beq a1,zero,0x000508b4
_addiu v0,v0,0x4
addu a1,s5,v0
addu v0,s2,v0
addiu s0,s0,0x2
lw a1,0x0(a1)
addiu a1,a1,0x1
beq a1,zero,0x000508ac
_sw a1,0x0(v0)
b 0x000506e8
_nop
lw v0,0x8(a0)
addiu v1,v1,0x4
addiu s0,s0,0x1
addiu a0,a0,0x4
addiu v0,v0,0x1
bne v0,zero,0x000506e8
_sw v0,0x4(v1)
bne s1,s0,0x00050890
_nop
or s0,s1,zero
li v0,0x1
b 0x00050758
_addiu s1,s1,0x1
beq s0,zero,0x00050560
_lw ra,0x3c(sp)
b 0x00050694
_or s1,s0,zero
or a3,s0,zero
or a2,t0,zero
b 0x00050748
_or a1,s2,zero
or s1,s0,zero
b 0x00050758
_or v0,zero,zero
b 0x000506e8
_or s0,a1,zero
(translation_unit "void __gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}\n\n" (function_definition "void __gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}" primitive_type (function_declarator "__gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (expression_statement "puVar8 = (undefined4 *)param_1[6];" (assignment_expression "puVar8 = (undefined4 *)param_1[6]" identifier = (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) ;) (expression_statement "puVar10 = (undefined4 *)param_1[4];" (assignment_expression "puVar10 = (undefined4 *)param_1[4]" identifier = (cast_expression "(undefined4 *)param_1[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "puVar12 = (undefined4 *)param_1[5];" (assignment_expression "puVar12 = (undefined4 *)param_1[5]" identifier = (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }" { (expression_statement "puVar9 = puVar8;" (assignment_expression "puVar9 = puVar8" identifier = identifier) ;) (if_statement "if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }" { (expression_statement "puVar9 = puVar12;" (assignment_expression "puVar9 = puVar12" identifier = identifier) ;) (expression_statement "puVar12 = puVar8;" (assignment_expression "puVar12 = puVar8" identifier = identifier) ;) })) (expression_statement "param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);" (assignment_expression "param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0)" identifier = (binary_expression "param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0)" identifier - (call_expression "(uint)(param_4[param_5 + 0x3fffffff] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4[param_5 + 0x3fffffff] == 0)" ( (binary_expression "param_4[param_5 + 0x3fffffff] == 0" (subscript_expression "param_4[param_5 + 0x3fffffff]" identifier [ (binary_expression "param_5 + 0x3fffffff" identifier + number_literal) ]) == number_literal) ))))) ;) (if_statement "if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }" if (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) )) (compound_statement "{\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }" { (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" identifier = identifier) ;) (expression_statement "pcVar14 = (code *)PTR___gmpn_add_n_0009d334;" (assignment_expression "pcVar14 = (code *)PTR___gmpn_add_n_0009d334" identifier = (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" if (parenthesized_expression "((undefined4 *)*param_4 != (undefined4 *)0x1)" ( (binary_expression "(undefined4 *)*param_4 != (undefined4 *)0x1" (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier)) != (cast_expression "(undefined4 *)0x1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" { (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (expression_statement "puVar11 = (undefined4 *)*param_4;" (assignment_expression "puVar11 = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) (expression_statement "pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;" (assignment_expression "pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0" identifier = (cast_expression "(code *)PTR___gmpn_addmul_1_0009d0d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);" (assignment_expression "iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11)" identifier = (call_expression "(*pcVar14)(puVar12,puVar8,puVar9,puVar11)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(puVar12,puVar8,puVar9,puVar11)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);" (assignment_expression "puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10)" identifier = (cast_expression "(undefined4 *)((uint)(iVar4 != 0) + (int)puVar10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(iVar4 != 0) + (int)puVar10)" ( (binary_expression "(uint)(iVar4 != 0) + (int)puVar10" (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) ))) + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" identifier = identifier) ;) (if_statement "if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" if (parenthesized_expression "((int)puVar10 < 1)" ( (binary_expression "(int)puVar10 < 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }" { (if_statement "if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" else (if_statement "if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" if (parenthesized_expression "(puVar9[(int)puVar10 + 0x3fffffff] == 0)" ( (binary_expression "puVar9[(int)puVar10 + 0x3fffffff] == 0" (subscript_expression "puVar9[(int)puVar10 + 0x3fffffff]" identifier [ (binary_expression "(int)puVar10 + 0x3fffffff" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) == number_literal) )) (compound_statement "{\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" { (expression_statement "puVar8 = puVar9 + (int)(puVar10 + 0x10000000);" (assignment_expression "puVar8 = puVar9 + (int)(puVar10 + 0x10000000)" identifier = (binary_expression "puVar9 + (int)(puVar10 + 0x10000000)" identifier + (cast_expression "(int)(puVar10 + 0x10000000)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar10 + 0x10000000)" ( (binary_expression "puVar10 + 0x10000000" identifier + number_literal) ))))) ;) (do_statement "do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);" do (compound_statement "{\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      }" { (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + -1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + -1)" ( (binary_expression "(int)puVar11 + -1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }" if (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" ( (binary_expression "puVar11 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "piVar6 = puVar8 + -2;" (assignment_expression "piVar6 = puVar8 + -2" identifier = (binary_expression "puVar8 + -2" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar8 + -1;" (assignment_expression "puVar8 = puVar8 + -1" identifier = (binary_expression "puVar8 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 == 0)" ( (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" * identifier) == number_literal) )) ;) })))) (expression_statement "puVar13 = (undefined4 *)param_1[7];" (assignment_expression "puVar13 = (undefined4 *)param_1[7]" identifier = (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (if_statement "if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" if (parenthesized_expression "((int)puVar11 < param_5)" ( (binary_expression "(int)puVar11 < param_5" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }" { (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" ( (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" * (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,param_4,param_5,puVar9,puVar11)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" { (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" ( (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" * (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,puVar9,puVar11,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }))) (expression_statement "puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));" (assignment_expression "puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" identifier = (cast_expression "(undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" ( (binary_expression "(int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0))" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0))" ( (binary_expression "param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)" identifier - (call_expression "(uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar13[(int)puVar11 + param_5 + -1] == 0)" ( (binary_expression "puVar13[(int)puVar11 + param_5 + -1] == 0" (subscript_expression "puVar13[(int)puVar11 + param_5 + -1]" identifier [ (binary_expression "(int)puVar11 + param_5 + -1" (binary_expression "(int)puVar11 + param_5" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ]) == number_literal) )))) ))) )))) ;) (if_statement "if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" if (parenthesized_expression "((int)puVar11 < (int)puVar10)" ( (binary_expression "(int)puVar11 < (int)puVar10" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar8 = puVar10;" (assignment_expression "puVar8 = puVar10" identifier = identifier) ;) (if_statement "if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;" if (parenthesized_expression "((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         )" ( (binary_expression "(puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)" (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" ( (binary_expression "puVar11 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12,puVar12,puVar13,puVar11)" ( identifier , identifier , identifier , identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00050758;" goto statement_identifier ;)) (expression_statement "piVar6 = puVar12 + (int)puVar11;" (assignment_expression "piVar6 = puVar12 + (int)puVar11" identifier = (binary_expression "puVar12 + (int)puVar11" identifier + (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);" do (compound_statement "{\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      }" { (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + 1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + 1)" ( (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*piVar6 = iVar4 + 1;" (assignment_expression "*piVar6 = iVar4 + 1" (pointer_expression "*piVar6" * identifier) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" if (parenthesized_expression "(iVar4 + 1 != 0)" ( (binary_expression "iVar4 + 1 != 0" (binary_expression "iVar4 + 1" identifier + number_literal) != number_literal) )) (compound_statement "{\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar10 != puVar11)" ( (binary_expression "puVar10 != puVar11" identifier != identifier) )) ;) (labeled_statement "LAB_00050814:\n      iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 1)" ( (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) (else_clause "else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" else (compound_statement "{\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" { (expression_statement "puVar8 = puVar10;" (assignment_expression "puVar8 = puVar10" identifier = identifier) ;) (if_statement "if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" if (parenthesized_expression "((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         )" ( (binary_expression "(puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)" (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" ( (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)" ( (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12,puVar13,puVar12,puVar10)" ( identifier , identifier , identifier , identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" { (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 1)" ( (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar10 == puVar11) goto LAB_00050814;" if (parenthesized_expression "(puVar10 == puVar11)" ( (binary_expression "puVar10 == puVar11" identifier == identifier) )) (goto_statement "goto LAB_00050814;" goto statement_identifier ;)) (expression_statement "piVar6 = puVar13 + (int)puVar10;" (assignment_expression "piVar6 = puVar13 + (int)puVar10" identifier = (binary_expression "puVar13 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "puVar12[(int)puVar10] = iVar4 + 1;" (assignment_expression "puVar12[(int)puVar10] = iVar4 + 1" (subscript_expression "puVar12[(int)puVar10]" identifier [ (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" if (parenthesized_expression "(iVar4 + 1 == 0)" ( (binary_expression "iVar4 + 1 == 0" (binary_expression "iVar4 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" { (if_statement "if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }" if (parenthesized_expression "((int)puVar11 <= (int)puVar8)" ( (binary_expression "(int)puVar11 <= (int)puVar8" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }" { (labeled_statement "LAB_000508b4:\n            iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" identifier = identifier) ;) (expression_statement "puVar8 = (undefined4 *)((int)puVar11 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar11 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + 1)" ( (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 2);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 2)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 2)" ( (binary_expression "(int)puVar10 + 2" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "iVar4 = puVar13[(int)puVar10 + 1] + 1;" (assignment_expression "iVar4 = puVar13[(int)puVar10 + 1] + 1" identifier = (binary_expression "puVar13[(int)puVar10 + 1] + 1" (subscript_expression "puVar13[(int)puVar10 + 1]" identifier [ (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) + number_literal)) ;) (expression_statement "puVar12[(int)puVar10 + 1] = iVar4;" (assignment_expression "puVar12[(int)puVar10 + 1] = iVar4" (subscript_expression "puVar12[(int)puVar10 + 1]" identifier [ (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) = identifier) ;) (expression_statement "piVar3 = puVar12 + (int)puVar10;" (assignment_expression "piVar3 = puVar12 + (int)puVar10" identifier = (binary_expression "puVar12 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (while_statement "while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" while (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" { (if_statement "if (puVar11 == puVar8) goto LAB_000508b4;" if (parenthesized_expression "(puVar11 == puVar8)" ( (binary_expression "puVar11 == puVar8" identifier == identifier) )) (goto_statement "goto LAB_000508b4;" goto statement_identifier ;)) (expression_statement "piVar2 = piVar6 + 2;" (assignment_expression "piVar2 = piVar6 + 2" identifier = (binary_expression "piVar6 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)((int)puVar8 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar8 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar8 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 1)" ( (binary_expression "(int)puVar8 + 1" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = *piVar2 + 1;" (assignment_expression "iVar4 = *piVar2 + 1" identifier = (binary_expression "*piVar2 + 1" (pointer_expression "*piVar2" * identifier) + number_literal)) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) })) })) })) (if_statement "if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }" if (parenthesized_expression "((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11))" ( (binary_expression "(puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)" (parenthesized_expression "(puVar12 != puVar13)" ( (binary_expression "puVar12 != puVar13" identifier != identifier) )) && (parenthesized_expression "((int)puVar8 < (int)puVar11)" ( (binary_expression "(int)puVar8 < (int)puVar11" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }" { (expression_statement "puVar9 = puVar13 + (int)puVar8;" (assignment_expression "puVar9 = puVar13 + (int)puVar8" identifier = (binary_expression "puVar13 + (int)puVar8" identifier + (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar10 = puVar12 + (int)puVar8;" (assignment_expression "puVar10 = puVar12 + (int)puVar8" identifier = (binary_expression "puVar12 + (int)puVar8" identifier + (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);" do (compound_statement "{\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        }" { (expression_statement "uVar7 = *puVar9;" (assignment_expression "uVar7 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = uVar7;" (assignment_expression "*puVar10 = uVar7" (pointer_expression "*puVar10" * identifier) = identifier) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar13 + (int)puVar11 != puVar9)" ( (binary_expression "puVar13 + (int)puVar11 != puVar9" (binary_expression "puVar13 + (int)puVar11" identifier + (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier)) != identifier) )) ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" identifier = identifier) ;) (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" identifier = identifier) ;) }))) (labeled_statement "LAB_00050758:\n    puVar12[(int)puVar10] = iVar4;" statement_identifier : (expression_statement "puVar12[(int)puVar10] = iVar4;" (assignment_expression "puVar12[(int)puVar10] = iVar4" (subscript_expression "puVar12[(int)puVar10]" identifier [ (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) ]) = identifier) ;)) (expression_statement "param_1[4] = puVar8;" (assignment_expression "param_1[4] = puVar8" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (if_statement "if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }" { (expression_statement "puVar9 = (undefined4 *)*param_1;" (assignment_expression "puVar9 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar7 = *param_2;" (assignment_expression "uVar7 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }" { (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (expression_statement "puVar13 = param_2 + 1;" (assignment_expression "puVar13 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      }" { (expression_statement "*puVar11 = uVar7;" (assignment_expression "*puVar11 = uVar7" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar13;" (assignment_expression "uVar7 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar9 = puVar9 + param_3 + -1;" (assignment_expression "puVar9 = puVar9 + param_3 + -1" identifier = (binary_expression "puVar9 + param_3 + -1" (binary_expression "puVar9 + param_3" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar9 = uVar7;" (assignment_expression "*puVar9 = uVar7" (pointer_expression "*puVar9" * identifier) = identifier) ;) })) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" if (parenthesized_expression "(param_6 < 0)" ( (binary_expression "param_6 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }" { (expression_statement "puVar11 = puVar12 + (int)puVar10;" (assignment_expression "puVar11 = puVar12 + (int)puVar10" identifier = (binary_expression "puVar12 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar5 = puVar8 + (int)puVar10;" (assignment_expression "puVar5 = puVar8 + (int)puVar10" identifier = (binary_expression "puVar8 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (do_statement "do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);" do (compound_statement "{\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    }" { (expression_statement "puVar9 = (undefined4 *)((int)puVar9 + -1);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar9 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar9 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + -1)" ( (binary_expression "(int)puVar9 + -1" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar5 = puVar5 + -1;" (assignment_expression "puVar5 = puVar5 + -1" identifier = (binary_expression "puVar5 + -1" identifier + number_literal)) ;) (if_statement "if ((int)puVar9 < 0) goto LAB_000505b4;" if (parenthesized_expression "((int)puVar9 < 0)" ( (binary_expression "(int)puVar9 < 0" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_000505b4;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar11 + -1;" (assignment_expression "puVar1 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + -1;" (assignment_expression "puVar11 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*puVar1 == *puVar5)" ( (binary_expression "*puVar1 == *puVar5" (pointer_expression "*puVar1" * identifier) == (pointer_expression "*puVar5" * identifier)) )) ;) (if_statement "if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }" if (parenthesized_expression "(*puVar1 <= *puVar5)" ( (binary_expression "*puVar1 <= *puVar5" (pointer_expression "*puVar1" * identifier) <= (pointer_expression "*puVar5" * identifier)) )) (compound_statement "{\n      param_6 = 1;\n      goto LAB_00050508;\n    }" { (expression_statement "param_6 = 1;" (assignment_expression "param_6 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00050508;" goto statement_identifier ;) })) (labeled_statement "LAB_000505b4:\n    param_6 = 0;" statement_identifier : (expression_statement "param_6 = 0;" (assignment_expression "param_6 = 0" identifier = number_literal) ;)) }) (else_clause "else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" else (if_statement "if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00050508:\n    puVar8 = puVar12;\n  }" { (labeled_statement "LAB_00050508:\n    puVar8 = puVar12;" statement_identifier : (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;)) })))) (if_statement "if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" if (parenthesized_expression "((int)puVar10 < 1)" ( (binary_expression "(int)puVar10 < 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }" { (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00050548;" goto statement_identifier ;)) }) (else_clause "else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" else (if_statement "if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" if (parenthesized_expression "(puVar8[(int)puVar10 + -1] == 0)" ( (binary_expression "puVar8[(int)puVar10 + -1] == 0" (subscript_expression "puVar8[(int)puVar10 + -1]" identifier [ (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) == number_literal) )) (compound_statement "{\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" { (expression_statement "puVar12 = puVar8 + (int)puVar10;" (assignment_expression "puVar12 = puVar8 + (int)puVar10" identifier = (binary_expression "puVar8 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);" do (compound_statement "{\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    }" { (expression_statement "puVar10 = (undefined4 *)((int)puVar10 + -1);" (assignment_expression "puVar10 = (undefined4 *)((int)puVar10 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + -1)" ( (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00050548;" goto statement_identifier ;)) (expression_statement "piVar6 = puVar12 + -2;" (assignment_expression "piVar6 = puVar12 + -2" identifier = (binary_expression "puVar12 + -2" identifier + number_literal)) ;) (expression_statement "puVar12 = puVar12 + -1;" (assignment_expression "puVar12 = puVar12 + -1" identifier = (binary_expression "puVar12 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 == 0)" ( (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" * identifier) == number_literal) )) ;) })))) (expression_statement "iVar4 = (int)puVar10 + -1;" (assignment_expression "iVar4 = (int)puVar10 + -1" identifier = (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "puVar9 = (undefined4 *)param_1[2];" (assignment_expression "puVar9 = (undefined4 *)param_1[2]" identifier = (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar7 = *puVar8;" (assignment_expression "uVar7 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar12 = puVar9;" (assignment_expression "puVar12 = puVar9" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }" { (do_statement "do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);" do (compound_statement "{\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    }" { (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar12 = uVar7;" (assignment_expression "*puVar12 = uVar7" (pointer_expression "*puVar12" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar8;" (assignment_expression "uVar7 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar9 = puVar9 + (int)puVar10 + -1;" (assignment_expression "puVar9 = puVar9 + (int)puVar10 + -1" identifier = (binary_expression "puVar9 + (int)puVar10 + -1" (binary_expression "puVar9 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal)) ;) })) (expression_statement "*puVar9 = uVar7;" (assignment_expression "*puVar9 = uVar7" (pointer_expression "*puVar9" * identifier) = identifier) ;) (labeled_statement "LAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" statement_identifier : (if_statement "if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" { (expression_statement "puVar10 = (undefined4 *)-(int)puVar10;" (assignment_expression "puVar10 = (undefined4 *)-(int)puVar10" identifier = (cast_expression "(undefined4 *)-(int)puVar10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)puVar10" - (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) }))) (expression_statement "*(undefined4 **)param_1[3] = puVar10;" (assignment_expression "*(undefined4 **)param_1[3] = puVar10" (pointer_expression "*(undefined4 **)param_1[3]" * (cast_expression "(undefined4 **)param_1[3]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpn_gcdext_hook(void *p,mp_srcptr gp,mp_size_t gn,mp_srcptr qp,mp_size_t qn,int d)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  mp_limb_t *pmVar7;\n  int *piVar8;\n  gcdext_ctx *ctx;\n  mp_limb_t *pmVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  mp_limb_t mVar12;\n  undefined4 *puVar13;\n  mp_limb_t *pmVar14;\n  undefined4 *puVar15;\n  undefined4 *puVar16;\n  undefined4 *puVar17;\n  undefined4 *puVar18;\n  code *pcVar19;\n  \n  puVar13 = *(undefined4 **)((int)p + 0x18);\n  puVar15 = *(undefined4 **)((int)p + 0x10);\n  puVar17 = *(undefined4 **)((int)p + 0x14);\n  if (gp == (mp_srcptr)0x0) {\n    puVar11 = puVar13;\n    if (d != 0) {\n      puVar11 = puVar17;\n      puVar17 = puVar13;\n    }\n    iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0);\n    if (iVar4 == 1) {\n      puVar13 = puVar17;\n      puVar16 = puVar15;\n      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);\n      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);\n      goto LAB_00050758;\n    }\n    puVar16 = puVar15;\n    if ((int)puVar15 < 1) {\n      if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }\n    puVar18 = *(undefined4 **)((int)p + 0x1c);\n    if ((int)puVar16 < iVar4) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }\n    puVar16 = (undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)));\n    if ((int)puVar16 < (int)puVar15) {\n      iVar4 = 0;\n      puVar13 = puVar15;\n      if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar8 = puVar17 + (int)puVar16;\n      do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);\nLAB_00050814:\n      iVar4 = 1;\n      puVar13 = (undefined4 *)((int)puVar15 + 1);\n    }\n    else {\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }\nLAB_00050758:\n    puVar17[(int)puVar15] = iVar4;\n    *(undefined4 **)((int)p + 0x10) = puVar13;\n    return;\n  }\n  iVar4 = gn + -1;\n  if (gn != 0) {\n                    /* WARNING: Load size is inaccurate */\n    pmVar14 = *p;\n    mVar12 = *gp;\n    if (iVar4 != 0) {\n      pmVar7 = pmVar14;\n      pmVar9 = gp + 1;\n      do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);\n      pmVar14 = pmVar14 + gn + -1;\n    }\n    *pmVar14 = mVar12;\n  }\n  *(mp_size_t *)((int)p + 4) = gn;\n  if (d < 0) {\n    puVar16 = puVar17 + (int)puVar15;\n    puVar5 = puVar13 + (int)puVar15;\n    puVar11 = puVar15;\n    do {\n      puVar11 = (undefined4 *)((int)puVar11 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar11 < 0) goto LAB_000505b4;\n      puVar1 = puVar16 + -1;\n      puVar16 = puVar16 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      d = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    d = 0;\n  }\n  else if (d != 0) {\nLAB_00050508:\n    puVar13 = puVar17;\n  }\n  if ((int)puVar15 < 1) {\n    if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar13[(int)((int)puVar15 + -1)] == 0) {\n    puVar17 = puVar13 + (int)puVar15;\n    do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);\n  }\n  puVar6 = (undefined1 *)((int)puVar15 + -1);\n  puVar11 = *(undefined4 **)((int)p + 8);\n  uVar10 = *puVar13;\n  puVar17 = puVar11;\n  if (puVar6 != (undefined1 *)0x0) {\n    do {\n      puVar13 = puVar13 + 1;\n      *puVar17 = uVar10;\n      puVar6 = puVar6 + -1;\n      uVar10 = *puVar13;\n      puVar17 = puVar17 + 1;\n    } while (puVar6 != (undefined1 *)0x0);\n    puVar11 = puVar11 + (int)((int)puVar15 + -1);\n  }\n  *puVar11 = uVar10;\nLAB_00050548:\n  if (d != 0) {\n    puVar15 = (undefined4 *)-(int)puVar15;\n  }\n  **(undefined4 **)((int)p + 0xc) = puVar15;\n  return;\n}\n\n" (function_definition "void __gmpn_gcdext_hook(void *p,mp_srcptr gp,mp_size_t gn,mp_srcptr qp,mp_size_t qn,int d)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  mp_limb_t *pmVar7;\n  int *piVar8;\n  gcdext_ctx *ctx;\n  mp_limb_t *pmVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  mp_limb_t mVar12;\n  undefined4 *puVar13;\n  mp_limb_t *pmVar14;\n  undefined4 *puVar15;\n  undefined4 *puVar16;\n  undefined4 *puVar17;\n  undefined4 *puVar18;\n  code *pcVar19;\n  \n  puVar13 = *(undefined4 **)((int)p + 0x18);\n  puVar15 = *(undefined4 **)((int)p + 0x10);\n  puVar17 = *(undefined4 **)((int)p + 0x14);\n  if (gp == (mp_srcptr)0x0) {\n    puVar11 = puVar13;\n    if (d != 0) {\n      puVar11 = puVar17;\n      puVar17 = puVar13;\n    }\n    iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0);\n    if (iVar4 == 1) {\n      puVar13 = puVar17;\n      puVar16 = puVar15;\n      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);\n      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);\n      goto LAB_00050758;\n    }\n    puVar16 = puVar15;\n    if ((int)puVar15 < 1) {\n      if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }\n    puVar18 = *(undefined4 **)((int)p + 0x1c);\n    if ((int)puVar16 < iVar4) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }\n    puVar16 = (undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)));\n    if ((int)puVar16 < (int)puVar15) {\n      iVar4 = 0;\n      puVar13 = puVar15;\n      if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar8 = puVar17 + (int)puVar16;\n      do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);\nLAB_00050814:\n      iVar4 = 1;\n      puVar13 = (undefined4 *)((int)puVar15 + 1);\n    }\n    else {\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }\nLAB_00050758:\n    puVar17[(int)puVar15] = iVar4;\n    *(undefined4 **)((int)p + 0x10) = puVar13;\n    return;\n  }\n  iVar4 = gn + -1;\n  if (gn != 0) {\n                    /* WARNING: Load size is inaccurate */\n    pmVar14 = *p;\n    mVar12 = *gp;\n    if (iVar4 != 0) {\n      pmVar7 = pmVar14;\n      pmVar9 = gp + 1;\n      do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);\n      pmVar14 = pmVar14 + gn + -1;\n    }\n    *pmVar14 = mVar12;\n  }\n  *(mp_size_t *)((int)p + 4) = gn;\n  if (d < 0) {\n    puVar16 = puVar17 + (int)puVar15;\n    puVar5 = puVar13 + (int)puVar15;\n    puVar11 = puVar15;\n    do {\n      puVar11 = (undefined4 *)((int)puVar11 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar11 < 0) goto LAB_000505b4;\n      puVar1 = puVar16 + -1;\n      puVar16 = puVar16 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      d = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    d = 0;\n  }\n  else if (d != 0) {\nLAB_00050508:\n    puVar13 = puVar17;\n  }\n  if ((int)puVar15 < 1) {\n    if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar13[(int)((int)puVar15 + -1)] == 0) {\n    puVar17 = puVar13 + (int)puVar15;\n    do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);\n  }\n  puVar6 = (undefined1 *)((int)puVar15 + -1);\n  puVar11 = *(undefined4 **)((int)p + 8);\n  uVar10 = *puVar13;\n  puVar17 = puVar11;\n  if (puVar6 != (undefined1 *)0x0) {\n    do {\n      puVar13 = puVar13 + 1;\n      *puVar17 = uVar10;\n      puVar6 = puVar6 + -1;\n      uVar10 = *puVar13;\n      puVar17 = puVar17 + 1;\n    } while (puVar6 != (undefined1 *)0x0);\n    puVar11 = puVar11 + (int)((int)puVar15 + -1);\n  }\n  *puVar11 = uVar10;\nLAB_00050548:\n  if (d != 0) {\n    puVar15 = (undefined4 *)-(int)puVar15;\n  }\n  **(undefined4 **)((int)p + 0xc) = puVar15;\n  return;\n}" primitive_type (function_declarator "__gmpn_gcdext_hook(void *p,mp_srcptr gp,mp_size_t gn,mp_srcptr qp,mp_size_t qn,int d)" identifier (parameter_list "(void *p,mp_srcptr gp,mp_size_t gn,mp_srcptr qp,mp_size_t qn,int d)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "mp_srcptr gp" type_identifier identifier) , (parameter_declaration "mp_size_t gn" type_identifier identifier) , (parameter_declaration "mp_srcptr qp" type_identifier identifier) , (parameter_declaration "mp_size_t qn" type_identifier identifier) , (parameter_declaration "int d" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  mp_limb_t *pmVar7;\n  int *piVar8;\n  gcdext_ctx *ctx;\n  mp_limb_t *pmVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  mp_limb_t mVar12;\n  undefined4 *puVar13;\n  mp_limb_t *pmVar14;\n  undefined4 *puVar15;\n  undefined4 *puVar16;\n  undefined4 *puVar17;\n  undefined4 *puVar18;\n  code *pcVar19;\n  \n  puVar13 = *(undefined4 **)((int)p + 0x18);\n  puVar15 = *(undefined4 **)((int)p + 0x10);\n  puVar17 = *(undefined4 **)((int)p + 0x14);\n  if (gp == (mp_srcptr)0x0) {\n    puVar11 = puVar13;\n    if (d != 0) {\n      puVar11 = puVar17;\n      puVar17 = puVar13;\n    }\n    iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0);\n    if (iVar4 == 1) {\n      puVar13 = puVar17;\n      puVar16 = puVar15;\n      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);\n      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);\n      goto LAB_00050758;\n    }\n    puVar16 = puVar15;\n    if ((int)puVar15 < 1) {\n      if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }\n    puVar18 = *(undefined4 **)((int)p + 0x1c);\n    if ((int)puVar16 < iVar4) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }\n    puVar16 = (undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)));\n    if ((int)puVar16 < (int)puVar15) {\n      iVar4 = 0;\n      puVar13 = puVar15;\n      if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar8 = puVar17 + (int)puVar16;\n      do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);\nLAB_00050814:\n      iVar4 = 1;\n      puVar13 = (undefined4 *)((int)puVar15 + 1);\n    }\n    else {\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }\nLAB_00050758:\n    puVar17[(int)puVar15] = iVar4;\n    *(undefined4 **)((int)p + 0x10) = puVar13;\n    return;\n  }\n  iVar4 = gn + -1;\n  if (gn != 0) {\n                    /* WARNING: Load size is inaccurate */\n    pmVar14 = *p;\n    mVar12 = *gp;\n    if (iVar4 != 0) {\n      pmVar7 = pmVar14;\n      pmVar9 = gp + 1;\n      do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);\n      pmVar14 = pmVar14 + gn + -1;\n    }\n    *pmVar14 = mVar12;\n  }\n  *(mp_size_t *)((int)p + 4) = gn;\n  if (d < 0) {\n    puVar16 = puVar17 + (int)puVar15;\n    puVar5 = puVar13 + (int)puVar15;\n    puVar11 = puVar15;\n    do {\n      puVar11 = (undefined4 *)((int)puVar11 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar11 < 0) goto LAB_000505b4;\n      puVar1 = puVar16 + -1;\n      puVar16 = puVar16 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      d = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    d = 0;\n  }\n  else if (d != 0) {\nLAB_00050508:\n    puVar13 = puVar17;\n  }\n  if ((int)puVar15 < 1) {\n    if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar13[(int)((int)puVar15 + -1)] == 0) {\n    puVar17 = puVar13 + (int)puVar15;\n    do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);\n  }\n  puVar6 = (undefined1 *)((int)puVar15 + -1);\n  puVar11 = *(undefined4 **)((int)p + 8);\n  uVar10 = *puVar13;\n  puVar17 = puVar11;\n  if (puVar6 != (undefined1 *)0x0) {\n    do {\n      puVar13 = puVar13 + 1;\n      *puVar17 = uVar10;\n      puVar6 = puVar6 + -1;\n      uVar10 = *puVar13;\n      puVar17 = puVar17 + 1;\n    } while (puVar6 != (undefined1 *)0x0);\n    puVar11 = puVar11 + (int)((int)puVar15 + -1);\n  }\n  *puVar11 = uVar10;\nLAB_00050548:\n  if (d != 0) {\n    puVar15 = (undefined4 *)-(int)puVar15;\n  }\n  **(undefined4 **)((int)p + 0xc) = puVar15;\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "mp_limb_t *pmVar7;" type_identifier (pointer_declarator "*pmVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "gcdext_ctx *ctx;" type_identifier (pointer_declarator "*ctx" * identifier) ;) (declaration "mp_limb_t *pmVar9;" type_identifier (pointer_declarator "*pmVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "mp_limb_t mVar12;" type_identifier identifier ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "mp_limb_t *pmVar14;" type_identifier (pointer_declarator "*pmVar14" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "undefined4 *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "undefined4 *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "code *pcVar19;" type_identifier (pointer_declarator "*pcVar19" * identifier) ;) (expression_statement "puVar13 = *(undefined4 **)((int)p + 0x18);" (assignment_expression "puVar13 = *(undefined4 **)((int)p + 0x18)" identifier = (pointer_expression "*(undefined4 **)((int)p + 0x18)" * (cast_expression "(undefined4 **)((int)p + 0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 0x18)" ( (binary_expression "(int)p + 0x18" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar15 = *(undefined4 **)((int)p + 0x10);" (assignment_expression "puVar15 = *(undefined4 **)((int)p + 0x10)" identifier = (pointer_expression "*(undefined4 **)((int)p + 0x10)" * (cast_expression "(undefined4 **)((int)p + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 0x10)" ( (binary_expression "(int)p + 0x10" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar17 = *(undefined4 **)((int)p + 0x14);" (assignment_expression "puVar17 = *(undefined4 **)((int)p + 0x14)" identifier = (pointer_expression "*(undefined4 **)((int)p + 0x14)" * (cast_expression "(undefined4 **)((int)p + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 0x14)" ( (binary_expression "(int)p + 0x14" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (gp == (mp_srcptr)0x0) {\n    puVar11 = puVar13;\n    if (d != 0) {\n      puVar11 = puVar17;\n      puVar17 = puVar13;\n    }\n    iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0);\n    if (iVar4 == 1) {\n      puVar13 = puVar17;\n      puVar16 = puVar15;\n      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);\n      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);\n      goto LAB_00050758;\n    }\n    puVar16 = puVar15;\n    if ((int)puVar15 < 1) {\n      if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }\n    puVar18 = *(undefined4 **)((int)p + 0x1c);\n    if ((int)puVar16 < iVar4) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }\n    puVar16 = (undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)));\n    if ((int)puVar16 < (int)puVar15) {\n      iVar4 = 0;\n      puVar13 = puVar15;\n      if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar8 = puVar17 + (int)puVar16;\n      do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);\nLAB_00050814:\n      iVar4 = 1;\n      puVar13 = (undefined4 *)((int)puVar15 + 1);\n    }\n    else {\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }\nLAB_00050758:\n    puVar17[(int)puVar15] = iVar4;\n    *(undefined4 **)((int)p + 0x10) = puVar13;\n    return;\n  }" if (parenthesized_expression "(gp == (mp_srcptr)0x0)" ( (binary_expression "gp == (mp_srcptr)0x0" identifier == (cast_expression "(mp_srcptr)0x0" ( (type_descriptor "mp_srcptr" type_identifier) ) number_literal)) )) (compound_statement "{\n    puVar11 = puVar13;\n    if (d != 0) {\n      puVar11 = puVar17;\n      puVar17 = puVar13;\n    }\n    iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0);\n    if (iVar4 == 1) {\n      puVar13 = puVar17;\n      puVar16 = puVar15;\n      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);\n      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);\n      goto LAB_00050758;\n    }\n    puVar16 = puVar15;\n    if ((int)puVar15 < 1) {\n      if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }\n    puVar18 = *(undefined4 **)((int)p + 0x1c);\n    if ((int)puVar16 < iVar4) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }\n    puVar16 = (undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)));\n    if ((int)puVar16 < (int)puVar15) {\n      iVar4 = 0;\n      puVar13 = puVar15;\n      if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar8 = puVar17 + (int)puVar16;\n      do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);\nLAB_00050814:\n      iVar4 = 1;\n      puVar13 = (undefined4 *)((int)puVar15 + 1);\n    }\n    else {\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }\nLAB_00050758:\n    puVar17[(int)puVar15] = iVar4;\n    *(undefined4 **)((int)p + 0x10) = puVar13;\n    return;\n  }" { (expression_statement "puVar11 = puVar13;" (assignment_expression "puVar11 = puVar13" identifier = identifier) ;) (if_statement "if (d != 0) {\n      puVar11 = puVar17;\n      puVar17 = puVar13;\n    }" if (parenthesized_expression "(d != 0)" ( (binary_expression "d != 0" identifier != number_literal) )) (compound_statement "{\n      puVar11 = puVar17;\n      puVar17 = puVar13;\n    }" { (expression_statement "puVar11 = puVar17;" (assignment_expression "puVar11 = puVar17" identifier = identifier) ;) (expression_statement "puVar17 = puVar13;" (assignment_expression "puVar17 = puVar13" identifier = identifier) ;) })) (expression_statement "iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0);" (assignment_expression "iVar4 = qn - (uint)(qp[qn + 0x3fffffff] == 0)" identifier = (binary_expression "qn - (uint)(qp[qn + 0x3fffffff] == 0)" identifier - (call_expression "(uint)(qp[qn + 0x3fffffff] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(qp[qn + 0x3fffffff] == 0)" ( (binary_expression "qp[qn + 0x3fffffff] == 0" (subscript_expression "qp[qn + 0x3fffffff]" identifier [ (binary_expression "qn + 0x3fffffff" identifier + number_literal) ]) == number_literal) ))))) ;) (if_statement "if (iVar4 == 1) {\n      puVar13 = puVar17;\n      puVar16 = puVar15;\n      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);\n      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);\n      goto LAB_00050758;\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      puVar13 = puVar17;\n      puVar16 = puVar15;\n      pcVar19 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);\n      puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);\n      goto LAB_00050758;\n    }" { (expression_statement "puVar13 = puVar17;" (assignment_expression "puVar13 = puVar17" identifier = identifier) ;) (expression_statement "puVar16 = puVar15;" (assignment_expression "puVar16 = puVar15" identifier = identifier) ;) (expression_statement "pcVar19 = (code *)PTR___gmpn_add_n_0009d334;" (assignment_expression "pcVar19 = (code *)PTR___gmpn_add_n_0009d334" identifier = (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((undefined4 *)*qp != (undefined4 *)&DAT_00000001) {\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" if (parenthesized_expression "((undefined4 *)*qp != (undefined4 *)&DAT_00000001)" ( (binary_expression "(undefined4 *)*qp != (undefined4 *)&DAT_00000001" (cast_expression "(undefined4 *)*qp" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*qp" * identifier)) != (cast_expression "(undefined4 *)&DAT_00000001" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000001" & identifier))) )) (compound_statement "{\n        puVar13 = puVar11;\n        puVar11 = puVar15;\n        puVar16 = (undefined4 *)*qp;\n        pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" { (expression_statement "puVar13 = puVar11;" (assignment_expression "puVar13 = puVar11" identifier = identifier) ;) (expression_statement "puVar11 = puVar15;" (assignment_expression "puVar11 = puVar15" identifier = identifier) ;) (expression_statement "puVar16 = (undefined4 *)*qp;" (assignment_expression "puVar16 = (undefined4 *)*qp" identifier = (cast_expression "(undefined4 *)*qp" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*qp" * identifier))) ;) (expression_statement "pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0;" (assignment_expression "pcVar19 = (code *)PTR___gmpn_addmul_1_0009d0d0" identifier = (cast_expression "(code *)PTR___gmpn_addmul_1_0009d0d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16);" (assignment_expression "iVar4 = (*pcVar19)(puVar17,puVar13,puVar11,puVar16)" identifier = (call_expression "(*pcVar19)(puVar17,puVar13,puVar11,puVar16)" (parenthesized_expression "(*pcVar19)" ( (pointer_expression "*pcVar19" * identifier) )) (argument_list "(puVar17,puVar13,puVar11,puVar16)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15);" (assignment_expression "puVar13 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar15)" identifier = (cast_expression "(undefined4 *)((uint)(iVar4 != 0) + (int)puVar15)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(iVar4 != 0) + (int)puVar15)" ( (binary_expression "(uint)(iVar4 != 0) + (int)puVar15" (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) ))) + (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "puVar16 = puVar15;" (assignment_expression "puVar16 = puVar15" identifier = identifier) ;) (if_statement "if ((int)puVar15 < 1) {\n      if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }" if (parenthesized_expression "((int)puVar15 < 1)" ( (binary_expression "(int)puVar15 < 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }\n    }" { (if_statement "if (puVar15 == (undefined4 *)0x0) {\n        return;\n      }" if (parenthesized_expression "(puVar15 == (undefined4 *)0x0)" ( (binary_expression "puVar15 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }" else (if_statement "if (puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0) {\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }" if (parenthesized_expression "(puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0)" ( (binary_expression "puVar11[(int)((int)puVar15 + 0x3fffffff)] == 0" (subscript_expression "puVar11[(int)((int)puVar15 + 0x3fffffff)]" identifier [ (cast_expression "(int)((int)puVar15 + 0x3fffffff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar15 + 0x3fffffff)" ( (binary_expression "(int)puVar15 + 0x3fffffff" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) ]) == number_literal) )) (compound_statement "{\n      puVar13 = puVar11 + (int)(puVar15 + 0x10000000);\n      do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);\n    }" { (expression_statement "puVar13 = puVar11 + (int)(puVar15 + 0x10000000);" (assignment_expression "puVar13 = puVar11 + (int)(puVar15 + 0x10000000)" identifier = (binary_expression "puVar11 + (int)(puVar15 + 0x10000000)" identifier + (cast_expression "(int)(puVar15 + 0x10000000)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar15 + 0x10000000)" ( (binary_expression "puVar15 + 0x10000000" identifier + number_literal) ))))) ;) (do_statement "do {\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      } while (*piVar8 == 0);" do (compound_statement "{\n        puVar16 = (undefined4 *)((int)puVar16 + -1);\n        if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar8 = puVar13 + -2;\n        puVar13 = puVar13 + -1;\n      }" { (expression_statement "puVar16 = (undefined4 *)((int)puVar16 + -1);" (assignment_expression "puVar16 = (undefined4 *)((int)puVar16 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar16 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar16 + -1)" ( (binary_expression "(int)puVar16 + -1" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar16 == (undefined4 *)0x0) {\n          return;\n        }" if (parenthesized_expression "(puVar16 == (undefined4 *)0x0)" ( (binary_expression "puVar16 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "piVar8 = puVar13 + -2;" (assignment_expression "piVar8 = puVar13 + -2" identifier = (binary_expression "puVar13 + -2" identifier + number_literal)) ;) (expression_statement "puVar13 = puVar13 + -1;" (assignment_expression "puVar13 = puVar13 + -1" identifier = (binary_expression "puVar13 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar8 == 0)" ( (binary_expression "*piVar8 == 0" (pointer_expression "*piVar8" * identifier) == number_literal) )) ;) })))) (expression_statement "puVar18 = *(undefined4 **)((int)p + 0x1c);" (assignment_expression "puVar18 = *(undefined4 **)((int)p + 0x1c)" identifier = (pointer_expression "*(undefined4 **)((int)p + 0x1c)" * (cast_expression "(undefined4 **)((int)p + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 0x1c)" ( (binary_expression "(int)p + 0x1c" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((int)puVar16 < iVar4) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }" if (parenthesized_expression "((int)puVar16 < iVar4)" ( (binary_expression "(int)puVar16 < iVar4" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);\n    }" { (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,qp,iVar4,puVar11,puVar16)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" ( (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" * (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar18,qp,iVar4,puVar11,puVar16)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);\n    }" { (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar18,puVar11,puVar16,qp,iVar4)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" ( (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" * (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar18,puVar11,puVar16,qp,iVar4)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }))) (expression_statement "puVar16 = (undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)));" (assignment_expression "puVar16 = (undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)))" identifier = (cast_expression "(undefined4 *)\n              ((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)))" ( (binary_expression "(int)puVar16 + (iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0))" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0))" ( (binary_expression "iVar4 - (uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)" identifier - (call_expression "(uint)(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0)" ( (binary_expression "puVar18[(int)((int)puVar16 + iVar4 + -1)] == 0" (subscript_expression "puVar18[(int)((int)puVar16 + iVar4 + -1)]" identifier [ (cast_expression "(int)((int)puVar16 + iVar4 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar16 + iVar4 + -1)" ( (binary_expression "(int)puVar16 + iVar4 + -1" (binary_expression "(int)puVar16 + iVar4" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))) ]) == number_literal) )))) ))) )))) ;) (if_statement "if ((int)puVar16 < (int)puVar15) {\n      iVar4 = 0;\n      puVar13 = puVar15;\n      if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar8 = puVar17 + (int)puVar16;\n      do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);\nLAB_00050814:\n      iVar4 = 1;\n      puVar13 = (undefined4 *)((int)puVar15 + 1);\n    }\n    else {\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }" if (parenthesized_expression "((int)puVar16 < (int)puVar15)" ( (binary_expression "(int)puVar16 < (int)puVar15" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar4 = 0;\n      puVar13 = puVar15;\n      if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar8 = puVar17 + (int)puVar16;\n      do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);\nLAB_00050814:\n      iVar4 = 1;\n      puVar13 = (undefined4 *)((int)puVar15 + 1);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar13 = puVar15;" (assignment_expression "puVar13 = puVar15" identifier = identifier) ;) (if_statement "if ((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         ) goto LAB_00050758;" if (parenthesized_expression "((puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)\n         )" ( (binary_expression "(puVar16 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)" (parenthesized_expression "(puVar16 == (undefined4 *)0x0)" ( (binary_expression "puVar16 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar17,puVar18,puVar16)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar17,puVar17,puVar18,puVar16)" ( identifier , identifier , identifier , identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00050758;" goto statement_identifier ;)) (expression_statement "piVar8 = puVar17 + (int)puVar16;" (assignment_expression "piVar8 = puVar17 + (int)puVar16" identifier = (binary_expression "puVar17 + (int)puVar16" identifier + (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      } while (puVar15 != puVar16);" do (compound_statement "{\n        iVar4 = *piVar8;\n        puVar16 = (undefined4 *)((int)puVar16 + 1);\n        *piVar8 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar8 = piVar8 + 1;\n      }" { (expression_statement "iVar4 = *piVar8;" (assignment_expression "iVar4 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "puVar16 = (undefined4 *)((int)puVar16 + 1);" (assignment_expression "puVar16 = (undefined4 *)((int)puVar16 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar16 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar16 + 1)" ( (binary_expression "(int)puVar16 + 1" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*piVar8 = iVar4 + 1;" (assignment_expression "*piVar8 = iVar4 + 1" (pointer_expression "*piVar8" * identifier) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" if (parenthesized_expression "(iVar4 + 1 != 0)" ( (binary_expression "iVar4 + 1 != 0" (binary_expression "iVar4 + 1" identifier + number_literal) != number_literal) )) (compound_statement "{\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "piVar8 = piVar8 + 1;" (assignment_expression "piVar8 = piVar8 + 1" identifier = (binary_expression "piVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar15 != puVar16)" ( (binary_expression "puVar15 != puVar16" identifier != identifier) )) ;) (labeled_statement "LAB_00050814:\n      iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar13 = (undefined4 *)((int)puVar15 + 1);" (assignment_expression "puVar13 = (undefined4 *)((int)puVar15 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar15 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + 1)" ( (binary_expression "(int)puVar15 + 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) (else_clause "else {\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }" else (compound_statement "{\n      puVar13 = puVar15;\n      if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }\n      iVar4 = 0;\n      puVar15 = puVar16;\n      puVar13 = puVar16;\n    }" { (expression_statement "puVar13 = puVar15;" (assignment_expression "puVar13 = puVar15" identifier = identifier) ;) (if_statement "if ((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         ) {\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" if (parenthesized_expression "((puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)\n         )" ( (binary_expression "(puVar15 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)" (parenthesized_expression "(puVar15 != (undefined4 *)0x0)" ( (binary_expression "puVar15 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0)" ( (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar17,puVar18,puVar17,puVar15)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar17,puVar18,puVar17,puVar15)" ( identifier , identifier , identifier , identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        puVar13 = (undefined4 *)((int)puVar15 + 1);\n        if (puVar15 == puVar16) goto LAB_00050814;\n        piVar8 = puVar18 + (int)puVar15;\n        iVar4 = *piVar8;\n        puVar17[(int)puVar15] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" { (expression_statement "puVar13 = (undefined4 *)((int)puVar15 + 1);" (assignment_expression "puVar13 = (undefined4 *)((int)puVar15 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar15 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + 1)" ( (binary_expression "(int)puVar15 + 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar15 == puVar16) goto LAB_00050814;" if (parenthesized_expression "(puVar15 == puVar16)" ( (binary_expression "puVar15 == puVar16" identifier == identifier) )) (goto_statement "goto LAB_00050814;" goto statement_identifier ;)) (expression_statement "piVar8 = puVar18 + (int)puVar15;" (assignment_expression "piVar8 = puVar18 + (int)puVar15" identifier = (binary_expression "puVar18 + (int)puVar15" identifier + (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar4 = *piVar8;" (assignment_expression "iVar4 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (expression_statement "puVar17[(int)puVar15] = iVar4 + 1;" (assignment_expression "puVar17[(int)puVar15] = iVar4 + 1" (subscript_expression "puVar17[(int)puVar15]" identifier [ (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 + 1 == 0) {\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" if (parenthesized_expression "(iVar4 + 1 == 0)" ( (binary_expression "iVar4 + 1 == 0" (binary_expression "iVar4 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n          if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }\n          puVar13 = (undefined4 *)((int)puVar15 + 2);\n          iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;\n          puVar17[(int)((int)puVar15 + 1)] = iVar4;\n          piVar3 = puVar17 + (int)puVar15;\n          while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" { (if_statement "if ((int)puVar16 <= (int)puVar13) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }" if (parenthesized_expression "((int)puVar16 <= (int)puVar13)" ( (binary_expression "(int)puVar16 <= (int)puVar13" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_000508b4:\n            iVar4 = 1;\n            puVar15 = puVar16;\n            puVar13 = (undefined4 *)((int)puVar16 + 1);\n            goto LAB_00050758;\n          }" { (labeled_statement "LAB_000508b4:\n            iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar15 = puVar16;" (assignment_expression "puVar15 = puVar16" identifier = identifier) ;) (expression_statement "puVar13 = (undefined4 *)((int)puVar16 + 1);" (assignment_expression "puVar13 = (undefined4 *)((int)puVar16 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar16 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar16 + 1)" ( (binary_expression "(int)puVar16 + 1" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "puVar13 = (undefined4 *)((int)puVar15 + 2);" (assignment_expression "puVar13 = (undefined4 *)((int)puVar15 + 2)" identifier = (cast_expression "(undefined4 *)((int)puVar15 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + 2)" ( (binary_expression "(int)puVar15 + 2" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1;" (assignment_expression "iVar4 = puVar18[(int)((int)puVar15 + 1)] + 1" identifier = (binary_expression "puVar18[(int)((int)puVar15 + 1)] + 1" (subscript_expression "puVar18[(int)((int)puVar15 + 1)]" identifier [ (cast_expression "(int)((int)puVar15 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar15 + 1)" ( (binary_expression "(int)puVar15 + 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) ]) + number_literal)) ;) (expression_statement "puVar17[(int)((int)puVar15 + 1)] = iVar4;" (assignment_expression "puVar17[(int)((int)puVar15 + 1)] = iVar4" (subscript_expression "puVar17[(int)((int)puVar15 + 1)]" identifier [ (cast_expression "(int)((int)puVar15 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar15 + 1)" ( (binary_expression "(int)puVar15 + 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) ]) = identifier) ;) (expression_statement "piVar3 = puVar17 + (int)puVar15;" (assignment_expression "piVar3 = puVar17 + (int)puVar15" identifier = (binary_expression "puVar17 + (int)puVar15" identifier + (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (while_statement "while (iVar4 == 0) {\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" while (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            if (puVar16 == puVar13) goto LAB_000508b4;\n            piVar2 = piVar8 + 2;\n            puVar13 = (undefined4 *)((int)puVar13 + 1);\n            piVar8 = piVar8 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" { (if_statement "if (puVar16 == puVar13) goto LAB_000508b4;" if (parenthesized_expression "(puVar16 == puVar13)" ( (binary_expression "puVar16 == puVar13" identifier == identifier) )) (goto_statement "goto LAB_000508b4;" goto statement_identifier ;)) (expression_statement "piVar2 = piVar8 + 2;" (assignment_expression "piVar2 = piVar8 + 2" identifier = (binary_expression "piVar8 + 2" identifier + number_literal)) ;) (expression_statement "puVar13 = (undefined4 *)((int)puVar13 + 1);" (assignment_expression "puVar13 = (undefined4 *)((int)puVar13 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar13 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar13 + 1)" ( (binary_expression "(int)puVar13 + 1" (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "piVar8 = piVar8 + 1;" (assignment_expression "piVar8 = piVar8 + 1" identifier = (binary_expression "piVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = *piVar2 + 1;" (assignment_expression "iVar4 = *piVar2 + 1" identifier = (binary_expression "*piVar2 + 1" (pointer_expression "*piVar2" * identifier) + number_literal)) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) })) })) })) (if_statement "if ((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)) {\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }" if (parenthesized_expression "((puVar17 != puVar18) && ((int)puVar13 < (int)puVar16))" ( (binary_expression "(puVar17 != puVar18) && ((int)puVar13 < (int)puVar16)" (parenthesized_expression "(puVar17 != puVar18)" ( (binary_expression "puVar17 != puVar18" identifier != identifier) )) && (parenthesized_expression "((int)puVar13 < (int)puVar16)" ( (binary_expression "(int)puVar13 < (int)puVar16" (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n        puVar11 = puVar18 + (int)puVar13;\n        puVar15 = puVar17 + (int)puVar13;\n        do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);\n      }" { (expression_statement "puVar11 = puVar18 + (int)puVar13;" (assignment_expression "puVar11 = puVar18 + (int)puVar13" identifier = (binary_expression "puVar18 + (int)puVar13" identifier + (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar15 = puVar17 + (int)puVar13;" (assignment_expression "puVar15 = puVar17 + (int)puVar13" identifier = (binary_expression "puVar17 + (int)puVar13" identifier + (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        } while (puVar18 + (int)puVar16 != puVar11);" do (compound_statement "{\n          uVar10 = *puVar11;\n          puVar11 = puVar11 + 1;\n          *puVar15 = uVar10;\n          puVar15 = puVar15 + 1;\n        }" { (expression_statement "uVar10 = *puVar11;" (assignment_expression "uVar10 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "*puVar15 = uVar10;" (assignment_expression "*puVar15 = uVar10" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "puVar15 = puVar15 + 1;" (assignment_expression "puVar15 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar18 + (int)puVar16 != puVar11)" ( (binary_expression "puVar18 + (int)puVar16 != puVar11" (binary_expression "puVar18 + (int)puVar16" identifier + (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier)) != identifier) )) ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar15 = puVar16;" (assignment_expression "puVar15 = puVar16" identifier = identifier) ;) (expression_statement "puVar13 = puVar16;" (assignment_expression "puVar13 = puVar16" identifier = identifier) ;) }))) (labeled_statement "LAB_00050758:\n    puVar17[(int)puVar15] = iVar4;" statement_identifier : (expression_statement "puVar17[(int)puVar15] = iVar4;" (assignment_expression "puVar17[(int)puVar15] = iVar4" (subscript_expression "puVar17[(int)puVar15]" identifier [ (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) ]) = identifier) ;)) (expression_statement "*(undefined4 **)((int)p + 0x10) = puVar13;" (assignment_expression "*(undefined4 **)((int)p + 0x10) = puVar13" (pointer_expression "*(undefined4 **)((int)p + 0x10)" * (cast_expression "(undefined4 **)((int)p + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 0x10)" ( (binary_expression "(int)p + 0x10" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = gn + -1;" (assignment_expression "iVar4 = gn + -1" identifier = (binary_expression "gn + -1" identifier + number_literal)) ;) (if_statement "if (gn != 0) {\n                    /* WARNING: Load size is inaccurate */\n    pmVar14 = *p;\n    mVar12 = *gp;\n    if (iVar4 != 0) {\n      pmVar7 = pmVar14;\n      pmVar9 = gp + 1;\n      do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);\n      pmVar14 = pmVar14 + gn + -1;\n    }\n    *pmVar14 = mVar12;\n  }" if (parenthesized_expression "(gn != 0)" ( (binary_expression "gn != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    pmVar14 = *p;\n    mVar12 = *gp;\n    if (iVar4 != 0) {\n      pmVar7 = pmVar14;\n      pmVar9 = gp + 1;\n      do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);\n      pmVar14 = pmVar14 + gn + -1;\n    }\n    *pmVar14 = mVar12;\n  }" { comment (expression_statement "pmVar14 = *p;" (assignment_expression "pmVar14 = *p" identifier = (pointer_expression "*p" * identifier)) ;) (expression_statement "mVar12 = *gp;" (assignment_expression "mVar12 = *gp" identifier = (pointer_expression "*gp" * identifier)) ;) (if_statement "if (iVar4 != 0) {\n      pmVar7 = pmVar14;\n      pmVar9 = gp + 1;\n      do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);\n      pmVar14 = pmVar14 + gn + -1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      pmVar7 = pmVar14;\n      pmVar9 = gp + 1;\n      do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);\n      pmVar14 = pmVar14 + gn + -1;\n    }" { (expression_statement "pmVar7 = pmVar14;" (assignment_expression "pmVar7 = pmVar14" identifier = identifier) ;) (expression_statement "pmVar9 = gp + 1;" (assignment_expression "pmVar9 = gp + 1" identifier = (binary_expression "gp + 1" identifier + number_literal)) ;) (do_statement "do {\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        *pmVar7 = mVar12;\n        iVar4 = iVar4 + -1;\n        mVar12 = *pmVar9;\n        pmVar7 = pmVar7 + 1;\n        pmVar9 = pmVar9 + 1;\n      }" { (expression_statement "*pmVar7 = mVar12;" (assignment_expression "*pmVar7 = mVar12" (pointer_expression "*pmVar7" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "mVar12 = *pmVar9;" (assignment_expression "mVar12 = *pmVar9" identifier = (pointer_expression "*pmVar9" * identifier)) ;) (expression_statement "pmVar7 = pmVar7 + 1;" (assignment_expression "pmVar7 = pmVar7 + 1" identifier = (binary_expression "pmVar7 + 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 "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "pmVar14 = pmVar14 + gn + -1;" (assignment_expression "pmVar14 = pmVar14 + gn + -1" identifier = (binary_expression "pmVar14 + gn + -1" (binary_expression "pmVar14 + gn" identifier + identifier) + number_literal)) ;) })) (expression_statement "*pmVar14 = mVar12;" (assignment_expression "*pmVar14 = mVar12" (pointer_expression "*pmVar14" * identifier) = identifier) ;) })) (expression_statement "*(mp_size_t *)((int)p + 4) = gn;" (assignment_expression "*(mp_size_t *)((int)p + 4) = gn" (pointer_expression "*(mp_size_t *)((int)p + 4)" * (cast_expression "(mp_size_t *)((int)p + 4)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 4)" ( (binary_expression "(int)p + 4" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (d < 0) {\n    puVar16 = puVar17 + (int)puVar15;\n    puVar5 = puVar13 + (int)puVar15;\n    puVar11 = puVar15;\n    do {\n      puVar11 = (undefined4 *)((int)puVar11 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar11 < 0) goto LAB_000505b4;\n      puVar1 = puVar16 + -1;\n      puVar16 = puVar16 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      d = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    d = 0;\n  }\n  else if (d != 0) {\nLAB_00050508:\n    puVar13 = puVar17;\n  }" if (parenthesized_expression "(d < 0)" ( (binary_expression "d < 0" identifier < number_literal) )) (compound_statement "{\n    puVar16 = puVar17 + (int)puVar15;\n    puVar5 = puVar13 + (int)puVar15;\n    puVar11 = puVar15;\n    do {\n      puVar11 = (undefined4 *)((int)puVar11 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar11 < 0) goto LAB_000505b4;\n      puVar1 = puVar16 + -1;\n      puVar16 = puVar16 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      d = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    d = 0;\n  }" { (expression_statement "puVar16 = puVar17 + (int)puVar15;" (assignment_expression "puVar16 = puVar17 + (int)puVar15" identifier = (binary_expression "puVar17 + (int)puVar15" identifier + (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar5 = puVar13 + (int)puVar15;" (assignment_expression "puVar5 = puVar13 + (int)puVar15" identifier = (binary_expression "puVar13 + (int)puVar15" identifier + (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar11 = puVar15;" (assignment_expression "puVar11 = puVar15" identifier = identifier) ;) (do_statement "do {\n      puVar11 = (undefined4 *)((int)puVar11 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar11 < 0) goto LAB_000505b4;\n      puVar1 = puVar16 + -1;\n      puVar16 = puVar16 + -1;\n    } while (*puVar1 == *puVar5);" do (compound_statement "{\n      puVar11 = (undefined4 *)((int)puVar11 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar11 < 0) goto LAB_000505b4;\n      puVar1 = puVar16 + -1;\n      puVar16 = puVar16 + -1;\n    }" { (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + -1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + -1)" ( (binary_expression "(int)puVar11 + -1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar5 = puVar5 + -1;" (assignment_expression "puVar5 = puVar5 + -1" identifier = (binary_expression "puVar5 + -1" identifier + number_literal)) ;) (if_statement "if ((int)puVar11 < 0) goto LAB_000505b4;" if (parenthesized_expression "((int)puVar11 < 0)" ( (binary_expression "(int)puVar11 < 0" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_000505b4;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar16 + -1;" (assignment_expression "puVar1 = puVar16 + -1" identifier = (binary_expression "puVar16 + -1" identifier + number_literal)) ;) (expression_statement "puVar16 = puVar16 + -1;" (assignment_expression "puVar16 = puVar16 + -1" identifier = (binary_expression "puVar16 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*puVar1 == *puVar5)" ( (binary_expression "*puVar1 == *puVar5" (pointer_expression "*puVar1" * identifier) == (pointer_expression "*puVar5" * identifier)) )) ;) (if_statement "if (*puVar1 <= *puVar5) {\n      d = 1;\n      goto LAB_00050508;\n    }" if (parenthesized_expression "(*puVar1 <= *puVar5)" ( (binary_expression "*puVar1 <= *puVar5" (pointer_expression "*puVar1" * identifier) <= (pointer_expression "*puVar5" * identifier)) )) (compound_statement "{\n      d = 1;\n      goto LAB_00050508;\n    }" { (expression_statement "d = 1;" (assignment_expression "d = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00050508;" goto statement_identifier ;) })) (labeled_statement "LAB_000505b4:\n    d = 0;" statement_identifier : (expression_statement "d = 0;" (assignment_expression "d = 0" identifier = number_literal) ;)) }) (else_clause "else if (d != 0) {\nLAB_00050508:\n    puVar13 = puVar17;\n  }" else (if_statement "if (d != 0) {\nLAB_00050508:\n    puVar13 = puVar17;\n  }" if (parenthesized_expression "(d != 0)" ( (binary_expression "d != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00050508:\n    puVar13 = puVar17;\n  }" { (labeled_statement "LAB_00050508:\n    puVar13 = puVar17;" statement_identifier : (expression_statement "puVar13 = puVar17;" (assignment_expression "puVar13 = puVar17" identifier = identifier) ;)) })))) (if_statement "if ((int)puVar15 < 1) {\n    if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar13[(int)((int)puVar15 + -1)] == 0) {\n    puVar17 = puVar13 + (int)puVar15;\n    do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);\n  }" if (parenthesized_expression "((int)puVar15 < 1)" ( (binary_expression "(int)puVar15 < 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n  }" { (if_statement "if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;" if (parenthesized_expression "(puVar15 == (undefined4 *)0x0)" ( (binary_expression "puVar15 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00050548;" goto statement_identifier ;)) }) (else_clause "else if (puVar13[(int)((int)puVar15 + -1)] == 0) {\n    puVar17 = puVar13 + (int)puVar15;\n    do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);\n  }" else (if_statement "if (puVar13[(int)((int)puVar15 + -1)] == 0) {\n    puVar17 = puVar13 + (int)puVar15;\n    do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);\n  }" if (parenthesized_expression "(puVar13[(int)((int)puVar15 + -1)] == 0)" ( (binary_expression "puVar13[(int)((int)puVar15 + -1)] == 0" (subscript_expression "puVar13[(int)((int)puVar15 + -1)]" identifier [ (cast_expression "(int)((int)puVar15 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar15 + -1)" ( (binary_expression "(int)puVar15 + -1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) ]) == number_literal) )) (compound_statement "{\n    puVar17 = puVar13 + (int)puVar15;\n    do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);\n  }" { (expression_statement "puVar17 = puVar13 + (int)puVar15;" (assignment_expression "puVar17 = puVar13 + (int)puVar15" identifier = (binary_expression "puVar13 + (int)puVar15" identifier + (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    } while (*piVar8 == 0);" do (compound_statement "{\n      puVar15 = (undefined4 *)((int)puVar15 + -1);\n      if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar8 = puVar17 + -2;\n      puVar17 = puVar17 + -1;\n    }" { (expression_statement "puVar15 = (undefined4 *)((int)puVar15 + -1);" (assignment_expression "puVar15 = (undefined4 *)((int)puVar15 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar15 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + -1)" ( (binary_expression "(int)puVar15 + -1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar15 == (undefined4 *)0x0) goto LAB_00050548;" if (parenthesized_expression "(puVar15 == (undefined4 *)0x0)" ( (binary_expression "puVar15 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00050548;" goto statement_identifier ;)) (expression_statement "piVar8 = puVar17 + -2;" (assignment_expression "piVar8 = puVar17 + -2" identifier = (binary_expression "puVar17 + -2" identifier + number_literal)) ;) (expression_statement "puVar17 = puVar17 + -1;" (assignment_expression "puVar17 = puVar17 + -1" identifier = (binary_expression "puVar17 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar8 == 0)" ( (binary_expression "*piVar8 == 0" (pointer_expression "*piVar8" * identifier) == number_literal) )) ;) })))) (expression_statement "puVar6 = (undefined1 *)((int)puVar15 + -1);" (assignment_expression "puVar6 = (undefined1 *)((int)puVar15 + -1)" identifier = (cast_expression "(undefined1 *)((int)puVar15 + -1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + -1)" ( (binary_expression "(int)puVar15 + -1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar11 = *(undefined4 **)((int)p + 8);" (assignment_expression "puVar11 = *(undefined4 **)((int)p + 8)" identifier = (pointer_expression "*(undefined4 **)((int)p + 8)" * (cast_expression "(undefined4 **)((int)p + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar10 = *puVar13;" (assignment_expression "uVar10 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar17 = puVar11;" (assignment_expression "puVar17 = puVar11" identifier = identifier) ;) (if_statement "if (puVar6 != (undefined1 *)0x0) {\n    do {\n      puVar13 = puVar13 + 1;\n      *puVar17 = uVar10;\n      puVar6 = puVar6 + -1;\n      uVar10 = *puVar13;\n      puVar17 = puVar17 + 1;\n    } while (puVar6 != (undefined1 *)0x0);\n    puVar11 = puVar11 + (int)((int)puVar15 + -1);\n  }" if (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" ( (binary_expression "puVar6 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      puVar13 = puVar13 + 1;\n      *puVar17 = uVar10;\n      puVar6 = puVar6 + -1;\n      uVar10 = *puVar13;\n      puVar17 = puVar17 + 1;\n    } while (puVar6 != (undefined1 *)0x0);\n    puVar11 = puVar11 + (int)((int)puVar15 + -1);\n  }" { (do_statement "do {\n      puVar13 = puVar13 + 1;\n      *puVar17 = uVar10;\n      puVar6 = puVar6 + -1;\n      uVar10 = *puVar13;\n      puVar17 = puVar17 + 1;\n    } while (puVar6 != (undefined1 *)0x0);" do (compound_statement "{\n      puVar13 = puVar13 + 1;\n      *puVar17 = uVar10;\n      puVar6 = puVar6 + -1;\n      uVar10 = *puVar13;\n      puVar17 = puVar17 + 1;\n    }" { (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) (expression_statement "*puVar17 = uVar10;" (assignment_expression "*puVar17 = uVar10" (pointer_expression "*puVar17" * identifier) = identifier) ;) (expression_statement "puVar6 = puVar6 + -1;" (assignment_expression "puVar6 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar10 = *puVar13;" (assignment_expression "uVar10 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar17 = puVar17 + 1;" (assignment_expression "puVar17 = puVar17 + 1" identifier = (binary_expression "puVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" ( (binary_expression "puVar6 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar11 = puVar11 + (int)((int)puVar15 + -1);" (assignment_expression "puVar11 = puVar11 + (int)((int)puVar15 + -1)" identifier = (binary_expression "puVar11 + (int)((int)puVar15 + -1)" identifier + (cast_expression "(int)((int)puVar15 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar15 + -1)" ( (binary_expression "(int)puVar15 + -1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "*puVar11 = uVar10;" (assignment_expression "*puVar11 = uVar10" (pointer_expression "*puVar11" * identifier) = identifier) ;) (labeled_statement "LAB_00050548:\n  if (d != 0) {\n    puVar15 = (undefined4 *)-(int)puVar15;\n  }" statement_identifier : (if_statement "if (d != 0) {\n    puVar15 = (undefined4 *)-(int)puVar15;\n  }" if (parenthesized_expression "(d != 0)" ( (binary_expression "d != 0" identifier != number_literal) )) (compound_statement "{\n    puVar15 = (undefined4 *)-(int)puVar15;\n  }" { (expression_statement "puVar15 = (undefined4 *)-(int)puVar15;" (assignment_expression "puVar15 = (undefined4 *)-(int)puVar15" identifier = (cast_expression "(undefined4 *)-(int)puVar15" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)puVar15" - (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) }))) (expression_statement "**(undefined4 **)((int)p + 0xc) = puVar15;" (assignment_expression "**(undefined4 **)((int)p + 0xc) = puVar15" (pointer_expression "**(undefined4 **)((int)p + 0xc)" * (pointer_expression "*(undefined4 **)((int)p + 0xc)" * (cast_expression "(undefined4 **)((int)p + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p + 0xc)" ( (binary_expression "(int)p + 0xc" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}\n\n" (function_definition "void __gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}" primitive_type (function_declarator "__gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (expression_statement "puVar8 = (undefined4 *)param_1[6];" (assignment_expression "puVar8 = (undefined4 *)param_1[6]" identifier = (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) ;) (expression_statement "puVar10 = (undefined4 *)param_1[4];" (assignment_expression "puVar10 = (undefined4 *)param_1[4]" identifier = (cast_expression "(undefined4 *)param_1[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "puVar12 = (undefined4 *)param_1[5];" (assignment_expression "puVar12 = (undefined4 *)param_1[5]" identifier = (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }" { (expression_statement "puVar9 = puVar8;" (assignment_expression "puVar9 = puVar8" identifier = identifier) ;) (if_statement "if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }" { (expression_statement "puVar9 = puVar12;" (assignment_expression "puVar9 = puVar12" identifier = identifier) ;) (expression_statement "puVar12 = puVar8;" (assignment_expression "puVar12 = puVar8" identifier = identifier) ;) })) (expression_statement "param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);" (assignment_expression "param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0)" identifier = (binary_expression "param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0)" identifier - (call_expression "(uint)(param_4[param_5 + 0x3fffffff] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4[param_5 + 0x3fffffff] == 0)" ( (binary_expression "param_4[param_5 + 0x3fffffff] == 0" (subscript_expression "param_4[param_5 + 0x3fffffff]" identifier [ (binary_expression "param_5 + 0x3fffffff" identifier + number_literal) ]) == number_literal) ))))) ;) (if_statement "if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }" if (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) )) (compound_statement "{\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }" { (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" identifier = identifier) ;) (expression_statement "pcVar14 = (code *)PTR___gmpn_add_n_0009d334;" (assignment_expression "pcVar14 = (code *)PTR___gmpn_add_n_0009d334" identifier = (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" if (parenthesized_expression "((undefined4 *)*param_4 != (undefined4 *)0x1)" ( (binary_expression "(undefined4 *)*param_4 != (undefined4 *)0x1" (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier)) != (cast_expression "(undefined4 *)0x1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" { (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (expression_statement "puVar11 = (undefined4 *)*param_4;" (assignment_expression "puVar11 = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) (expression_statement "pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;" (assignment_expression "pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0" identifier = (cast_expression "(code *)PTR___gmpn_addmul_1_0009d0d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);" (assignment_expression "iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11)" identifier = (call_expression "(*pcVar14)(puVar12,puVar8,puVar9,puVar11)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(puVar12,puVar8,puVar9,puVar11)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);" (assignment_expression "puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10)" identifier = (cast_expression "(undefined4 *)((uint)(iVar4 != 0) + (int)puVar10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(iVar4 != 0) + (int)puVar10)" ( (binary_expression "(uint)(iVar4 != 0) + (int)puVar10" (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) ))) + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" identifier = identifier) ;) (if_statement "if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" if (parenthesized_expression "((int)puVar10 < 1)" ( (binary_expression "(int)puVar10 < 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }" { (if_statement "if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" else (if_statement "if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" if (parenthesized_expression "(puVar9[(int)puVar10 + 0x3fffffff] == 0)" ( (binary_expression "puVar9[(int)puVar10 + 0x3fffffff] == 0" (subscript_expression "puVar9[(int)puVar10 + 0x3fffffff]" identifier [ (binary_expression "(int)puVar10 + 0x3fffffff" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) == number_literal) )) (compound_statement "{\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" { (expression_statement "puVar8 = puVar9 + (int)(puVar10 + 0x10000000);" (assignment_expression "puVar8 = puVar9 + (int)(puVar10 + 0x10000000)" identifier = (binary_expression "puVar9 + (int)(puVar10 + 0x10000000)" identifier + (cast_expression "(int)(puVar10 + 0x10000000)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar10 + 0x10000000)" ( (binary_expression "puVar10 + 0x10000000" identifier + number_literal) ))))) ;) (do_statement "do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);" do (compound_statement "{\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      }" { (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + -1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + -1)" ( (binary_expression "(int)puVar11 + -1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }" if (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" ( (binary_expression "puVar11 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "piVar6 = puVar8 + -2;" (assignment_expression "piVar6 = puVar8 + -2" identifier = (binary_expression "puVar8 + -2" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar8 + -1;" (assignment_expression "puVar8 = puVar8 + -1" identifier = (binary_expression "puVar8 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 == 0)" ( (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" * identifier) == number_literal) )) ;) })))) (expression_statement "puVar13 = (undefined4 *)param_1[7];" (assignment_expression "puVar13 = (undefined4 *)param_1[7]" identifier = (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (if_statement "if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" if (parenthesized_expression "((int)puVar11 < param_5)" ( (binary_expression "(int)puVar11 < param_5" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }" { (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" ( (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" * (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,param_4,param_5,puVar9,puVar11)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" { (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" ( (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" * (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13,puVar9,puVar11,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }))) (expression_statement "puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));" (assignment_expression "puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" identifier = (cast_expression "(undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" ( (binary_expression "(int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0))" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0))" ( (binary_expression "param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)" identifier - (call_expression "(uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar13[(int)puVar11 + param_5 + -1] == 0)" ( (binary_expression "puVar13[(int)puVar11 + param_5 + -1] == 0" (subscript_expression "puVar13[(int)puVar11 + param_5 + -1]" identifier [ (binary_expression "(int)puVar11 + param_5 + -1" (binary_expression "(int)puVar11 + param_5" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ]) == number_literal) )))) ))) )))) ;) (if_statement "if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" if (parenthesized_expression "((int)puVar11 < (int)puVar10)" ( (binary_expression "(int)puVar11 < (int)puVar10" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar8 = puVar10;" (assignment_expression "puVar8 = puVar10" identifier = identifier) ;) (if_statement "if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;" if (parenthesized_expression "((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         )" ( (binary_expression "(puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)" (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" ( (binary_expression "puVar11 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12,puVar12,puVar13,puVar11)" ( identifier , identifier , identifier , identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00050758;" goto statement_identifier ;)) (expression_statement "piVar6 = puVar12 + (int)puVar11;" (assignment_expression "piVar6 = puVar12 + (int)puVar11" identifier = (binary_expression "puVar12 + (int)puVar11" identifier + (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);" do (compound_statement "{\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      }" { (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + 1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + 1)" ( (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*piVar6 = iVar4 + 1;" (assignment_expression "*piVar6 = iVar4 + 1" (pointer_expression "*piVar6" * identifier) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" if (parenthesized_expression "(iVar4 + 1 != 0)" ( (binary_expression "iVar4 + 1 != 0" (binary_expression "iVar4 + 1" identifier + number_literal) != number_literal) )) (compound_statement "{\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar10 != puVar11)" ( (binary_expression "puVar10 != puVar11" identifier != identifier) )) ;) (labeled_statement "LAB_00050814:\n      iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 1)" ( (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) (else_clause "else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" else (compound_statement "{\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" { (expression_statement "puVar8 = puVar10;" (assignment_expression "puVar8 = puVar10" identifier = identifier) ;) (if_statement "if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" if (parenthesized_expression "((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         )" ( (binary_expression "(puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)" (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" ( (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)" ( (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12,puVar13,puVar12,puVar10)" ( identifier , identifier , identifier , identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" { (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 1)" ( (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar10 == puVar11) goto LAB_00050814;" if (parenthesized_expression "(puVar10 == puVar11)" ( (binary_expression "puVar10 == puVar11" identifier == identifier) )) (goto_statement "goto LAB_00050814;" goto statement_identifier ;)) (expression_statement "piVar6 = puVar13 + (int)puVar10;" (assignment_expression "piVar6 = puVar13 + (int)puVar10" identifier = (binary_expression "puVar13 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "puVar12[(int)puVar10] = iVar4 + 1;" (assignment_expression "puVar12[(int)puVar10] = iVar4 + 1" (subscript_expression "puVar12[(int)puVar10]" identifier [ (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" if (parenthesized_expression "(iVar4 + 1 == 0)" ( (binary_expression "iVar4 + 1 == 0" (binary_expression "iVar4 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" { (if_statement "if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }" if (parenthesized_expression "((int)puVar11 <= (int)puVar8)" ( (binary_expression "(int)puVar11 <= (int)puVar8" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }" { (labeled_statement "LAB_000508b4:\n            iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" identifier = identifier) ;) (expression_statement "puVar8 = (undefined4 *)((int)puVar11 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar11 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + 1)" ( (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (goto_statement "goto LAB_00050758;" goto statement_identifier ;) })) (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 2);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 2)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 2)" ( (binary_expression "(int)puVar10 + 2" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "iVar4 = puVar13[(int)puVar10 + 1] + 1;" (assignment_expression "iVar4 = puVar13[(int)puVar10 + 1] + 1" identifier = (binary_expression "puVar13[(int)puVar10 + 1] + 1" (subscript_expression "puVar13[(int)puVar10 + 1]" identifier [ (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) + number_literal)) ;) (expression_statement "puVar12[(int)puVar10 + 1] = iVar4;" (assignment_expression "puVar12[(int)puVar10 + 1] = iVar4" (subscript_expression "puVar12[(int)puVar10 + 1]" identifier [ (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) = identifier) ;) (expression_statement "piVar3 = puVar12 + (int)puVar10;" (assignment_expression "piVar3 = puVar12 + (int)puVar10" identifier = (binary_expression "puVar12 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (while_statement "while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" while (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" { (if_statement "if (puVar11 == puVar8) goto LAB_000508b4;" if (parenthesized_expression "(puVar11 == puVar8)" ( (binary_expression "puVar11 == puVar8" identifier == identifier) )) (goto_statement "goto LAB_000508b4;" goto statement_identifier ;)) (expression_statement "piVar2 = piVar6 + 2;" (assignment_expression "piVar2 = piVar6 + 2" identifier = (binary_expression "piVar6 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)((int)puVar8 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar8 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar8 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 1)" ( (binary_expression "(int)puVar8 + 1" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = *piVar2 + 1;" (assignment_expression "iVar4 = *piVar2 + 1" identifier = (binary_expression "*piVar2 + 1" (pointer_expression "*piVar2" * identifier) + number_literal)) ;) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) })) })) })) (if_statement "if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }" if (parenthesized_expression "((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11))" ( (binary_expression "(puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)" (parenthesized_expression "(puVar12 != puVar13)" ( (binary_expression "puVar12 != puVar13" identifier != identifier) )) && (parenthesized_expression "((int)puVar8 < (int)puVar11)" ( (binary_expression "(int)puVar8 < (int)puVar11" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }" { (expression_statement "puVar9 = puVar13 + (int)puVar8;" (assignment_expression "puVar9 = puVar13 + (int)puVar8" identifier = (binary_expression "puVar13 + (int)puVar8" identifier + (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar10 = puVar12 + (int)puVar8;" (assignment_expression "puVar10 = puVar12 + (int)puVar8" identifier = (binary_expression "puVar12 + (int)puVar8" identifier + (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);" do (compound_statement "{\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        }" { (expression_statement "uVar7 = *puVar9;" (assignment_expression "uVar7 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = uVar7;" (assignment_expression "*puVar10 = uVar7" (pointer_expression "*puVar10" * identifier) = identifier) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar13 + (int)puVar11 != puVar9)" ( (binary_expression "puVar13 + (int)puVar11 != puVar9" (binary_expression "puVar13 + (int)puVar11" identifier + (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier)) != identifier) )) ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" identifier = identifier) ;) (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" identifier = identifier) ;) }))) (labeled_statement "LAB_00050758:\n    puVar12[(int)puVar10] = iVar4;" statement_identifier : (expression_statement "puVar12[(int)puVar10] = iVar4;" (assignment_expression "puVar12[(int)puVar10] = iVar4" (subscript_expression "puVar12[(int)puVar10]" identifier [ (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) ]) = identifier) ;)) (expression_statement "param_1[4] = puVar8;" (assignment_expression "param_1[4] = puVar8" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (if_statement "if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }" { (expression_statement "puVar9 = (undefined4 *)*param_1;" (assignment_expression "puVar9 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar7 = *param_2;" (assignment_expression "uVar7 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }" { (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" identifier = identifier) ;) (expression_statement "puVar13 = param_2 + 1;" (assignment_expression "puVar13 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      }" { (expression_statement "*puVar11 = uVar7;" (assignment_expression "*puVar11 = uVar7" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar13;" (assignment_expression "uVar7 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar9 = puVar9 + param_3 + -1;" (assignment_expression "puVar9 = puVar9 + param_3 + -1" identifier = (binary_expression "puVar9 + param_3 + -1" (binary_expression "puVar9 + param_3" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar9 = uVar7;" (assignment_expression "*puVar9 = uVar7" (pointer_expression "*puVar9" * identifier) = identifier) ;) })) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" if (parenthesized_expression "(param_6 < 0)" ( (binary_expression "param_6 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }" { (expression_statement "puVar11 = puVar12 + (int)puVar10;" (assignment_expression "puVar11 = puVar12 + (int)puVar10" identifier = (binary_expression "puVar12 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar5 = puVar8 + (int)puVar10;" (assignment_expression "puVar5 = puVar8 + (int)puVar10" identifier = (binary_expression "puVar8 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (do_statement "do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);" do (compound_statement "{\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    }" { (expression_statement "puVar9 = (undefined4 *)((int)puVar9 + -1);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar9 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar9 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + -1)" ( (binary_expression "(int)puVar9 + -1" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar5 = puVar5 + -1;" (assignment_expression "puVar5 = puVar5 + -1" identifier = (binary_expression "puVar5 + -1" identifier + number_literal)) ;) (if_statement "if ((int)puVar9 < 0) goto LAB_000505b4;" if (parenthesized_expression "((int)puVar9 < 0)" ( (binary_expression "(int)puVar9 < 0" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_000505b4;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar11 + -1;" (assignment_expression "puVar1 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + -1;" (assignment_expression "puVar11 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*puVar1 == *puVar5)" ( (binary_expression "*puVar1 == *puVar5" (pointer_expression "*puVar1" * identifier) == (pointer_expression "*puVar5" * identifier)) )) ;) (if_statement "if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }" if (parenthesized_expression "(*puVar1 <= *puVar5)" ( (binary_expression "*puVar1 <= *puVar5" (pointer_expression "*puVar1" * identifier) <= (pointer_expression "*puVar5" * identifier)) )) (compound_statement "{\n      param_6 = 1;\n      goto LAB_00050508;\n    }" { (expression_statement "param_6 = 1;" (assignment_expression "param_6 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00050508;" goto statement_identifier ;) })) (labeled_statement "LAB_000505b4:\n    param_6 = 0;" statement_identifier : (expression_statement "param_6 = 0;" (assignment_expression "param_6 = 0" identifier = number_literal) ;)) }) (else_clause "else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" else (if_statement "if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00050508:\n    puVar8 = puVar12;\n  }" { (labeled_statement "LAB_00050508:\n    puVar8 = puVar12;" statement_identifier : (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;)) })))) (if_statement "if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" if (parenthesized_expression "((int)puVar10 < 1)" ( (binary_expression "(int)puVar10 < 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }" { (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00050548;" goto statement_identifier ;)) }) (else_clause "else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" else (if_statement "if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" if (parenthesized_expression "(puVar8[(int)puVar10 + -1] == 0)" ( (binary_expression "puVar8[(int)puVar10 + -1] == 0" (subscript_expression "puVar8[(int)puVar10 + -1]" identifier [ (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) == number_literal) )) (compound_statement "{\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" { (expression_statement "puVar12 = puVar8 + (int)puVar10;" (assignment_expression "puVar12 = puVar8 + (int)puVar10" identifier = (binary_expression "puVar8 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);" do (compound_statement "{\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    }" { (expression_statement "puVar10 = (undefined4 *)((int)puVar10 + -1);" (assignment_expression "puVar10 = (undefined4 *)((int)puVar10 + -1)" identifier = (cast_expression "(undefined4 *)((int)puVar10 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + -1)" ( (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00050548;" goto statement_identifier ;)) (expression_statement "piVar6 = puVar12 + -2;" (assignment_expression "piVar6 = puVar12 + -2" identifier = (binary_expression "puVar12 + -2" identifier + number_literal)) ;) (expression_statement "puVar12 = puVar12 + -1;" (assignment_expression "puVar12 = puVar12 + -1" identifier = (binary_expression "puVar12 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 == 0)" ( (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" * identifier) == number_literal) )) ;) })))) (expression_statement "iVar4 = (int)puVar10 + -1;" (assignment_expression "iVar4 = (int)puVar10 + -1" identifier = (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "puVar9 = (undefined4 *)param_1[2];" (assignment_expression "puVar9 = (undefined4 *)param_1[2]" identifier = (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar7 = *puVar8;" (assignment_expression "uVar7 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar12 = puVar9;" (assignment_expression "puVar12 = puVar9" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }" { (do_statement "do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);" do (compound_statement "{\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    }" { (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar12 = uVar7;" (assignment_expression "*puVar12 = uVar7" (pointer_expression "*puVar12" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar8;" (assignment_expression "uVar7 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar9 = puVar9 + (int)puVar10 + -1;" (assignment_expression "puVar9 = puVar9 + (int)puVar10 + -1" identifier = (binary_expression "puVar9 + (int)puVar10 + -1" (binary_expression "puVar9 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal)) ;) })) (expression_statement "*puVar9 = uVar7;" (assignment_expression "*puVar9 = uVar7" (pointer_expression "*puVar9" * identifier) = identifier) ;) (labeled_statement "LAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" statement_identifier : (if_statement "if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" { (expression_statement "puVar10 = (undefined4 *)-(int)puVar10;" (assignment_expression "puVar10 = (undefined4 *)-(int)puVar10" identifier = (cast_expression "(undefined4 *)-(int)puVar10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)puVar10" - (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) }))) (expression_statement "*(undefined4 **)param_1[3] = puVar10;" (assignment_expression "*(undefined4 **)param_1[3] = puVar10" (pointer_expression "*(undefined4 **)param_1[3]" * (cast_expression "(undefined4 **)param_1[3]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) = identifier) ;) (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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) ))) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) ;) })))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) }) (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 , IDENT , IDENT , IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ]) == LIT) )))) ))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (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 { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) 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 (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ]) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) <= (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) })))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_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 { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}" (primitive_type "void") (function_declarator "__gmpn_gcdext_hook(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)" (identifier "__gmpn_gcdext_hook") (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3,undefined4 *param_4,\n                       int param_5,int param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  undefined4 *puVar13;\n  code *pcVar14;\n  \n  puVar8 = (undefined4 *)param_1[6];\n  puVar10 = (undefined4 *)param_1[4];\n  puVar12 = (undefined4 *)param_1[5];\n  if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }\n  iVar4 = param_3 + -1;\n  if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }\n  param_1[1] = param_3;\n  if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }\n  if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }\n  iVar4 = (int)puVar10 + -1;\n  puVar9 = (undefined4 *)param_1[2];\n  uVar7 = *puVar8;\n  puVar12 = puVar9;\n  if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }\n  *puVar9 = uVar7;\nLAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }\n  *(undefined4 **)param_1[3] = puVar10;\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined4 *puVar13;" (type_identifier "undefined4") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "code *pcVar14;" (type_identifier "code") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (expression_statement "puVar8 = (undefined4 *)param_1[6];" (assignment_expression "puVar8 = (undefined4 *)param_1[6]" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)param_1[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) (; ";")) (expression_statement "puVar10 = (undefined4 *)param_1[4];" (assignment_expression "puVar10 = (undefined4 *)param_1[4]" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)param_1[4]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "puVar12 = (undefined4 *)param_1[5];" (assignment_expression "puVar12 = (undefined4 *)param_1[5]" (identifier "puVar12") (= "=") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (; ";")) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar9 = puVar8;\n    if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }\n    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);\n    if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }\n    puVar11 = puVar10;\n    if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }\n    puVar13 = (undefined4 *)param_1[7];\n    if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }\n    puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));\n    if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }\nLAB_00050758:\n    puVar12[(int)puVar10] = iVar4;\n    param_1[4] = puVar8;\n    return;\n  }" ({ "{") (expression_statement "puVar9 = puVar8;" (assignment_expression "puVar9 = puVar8" (identifier "puVar9") (= "=") (identifier "puVar8")) (; ";")) (if_statement "if (param_6 != 0) {\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar9 = puVar12;\n      puVar12 = puVar8;\n    }" ({ "{") (expression_statement "puVar9 = puVar12;" (assignment_expression "puVar9 = puVar12" (identifier "puVar9") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "puVar12 = puVar8;" (assignment_expression "puVar12 = puVar8" (identifier "puVar12") (= "=") (identifier "puVar8")) (; ";")) (} "}"))) (expression_statement "param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);" (assignment_expression "param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0)" (identifier "param_5") (= "=") (binary_expression "param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0)" (identifier "param_5") (- "-") (call_expression "(uint)(param_4[param_5 + 0x3fffffff] == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4[param_5 + 0x3fffffff] == 0)" (( "(") (binary_expression "param_4[param_5 + 0x3fffffff] == 0" (subscript_expression "param_4[param_5 + 0x3fffffff]" (identifier "param_4") ([ "[") (binary_expression "param_5 + 0x3fffffff" (identifier "param_5") (+ "+") (number_literal "0x3fffffff")) (] "]")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (if_statement "if (param_5 == 1) {\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }" (if "if") (parenthesized_expression "(param_5 == 1)" (( "(") (binary_expression "param_5 == 1" (identifier "param_5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      puVar8 = puVar12;\n      puVar11 = puVar10;\n      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;\n      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }\n      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);\n      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);\n      goto LAB_00050758;\n    }" ({ "{") (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" (identifier "puVar8") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" (identifier "puVar11") (= "=") (identifier "puVar10")) (; ";")) (expression_statement "pcVar14 = (code *)PTR___gmpn_add_n_0009d334;" (assignment_expression "pcVar14 = (code *)PTR___gmpn_add_n_0009d334" (identifier "pcVar14") (= "=") (cast_expression "(code *)PTR___gmpn_add_n_0009d334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_add_n_0009d334"))) (; ";")) (if_statement "if ((undefined4 *)*param_4 != (undefined4 *)0x1) {\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" (if "if") (parenthesized_expression "((undefined4 *)*param_4 != (undefined4 *)0x1)" (( "(") (binary_expression "(undefined4 *)*param_4 != (undefined4 *)0x1" (cast_expression "(undefined4 *)*param_4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (!= "!=") (cast_expression "(undefined4 *)0x1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) () ")")) (compound_statement "{\n        puVar8 = puVar9;\n        puVar9 = puVar10;\n        puVar11 = (undefined4 *)*param_4;\n        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;\n      }" ({ "{") (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" (identifier "puVar9") (= "=") (identifier "puVar10")) (; ";")) (expression_statement "puVar11 = (undefined4 *)*param_4;" (assignment_expression "puVar11 = (undefined4 *)*param_4" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)*param_4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (expression_statement "pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;" (assignment_expression "pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0" (identifier "pcVar14") (= "=") (cast_expression "(code *)PTR___gmpn_addmul_1_0009d0d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_addmul_1_0009d0d0"))) (; ";")) (} "}"))) (expression_statement "iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);" (assignment_expression "iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11)" (identifier "iVar4") (= "=") (call_expression "(*pcVar14)(puVar12,puVar8,puVar9,puVar11)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(puVar12,puVar8,puVar9,puVar11)" (( "(") (identifier "puVar12") (, ",") (identifier "puVar8") (, ",") (identifier "puVar9") (, ",") (identifier "puVar11") () ")")))) (; ";")) (expression_statement "puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);" (assignment_expression "puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((uint)(iVar4 != 0) + (int)puVar10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(iVar4 != 0) + (int)puVar10)" (( "(") (binary_expression "(uint)(iVar4 != 0) + (int)puVar10" (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")"))) (+ "+") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10"))) () ")")))) (; ";")) (goto_statement "goto LAB_00050758;" (goto "goto") (statement_identifier "LAB_00050758") (; ";")) (} "}"))) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" (identifier "puVar11") (= "=") (identifier "puVar10")) (; ";")) (if_statement "if ((int)puVar10 < 1) {\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }\n    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" (if "if") (parenthesized_expression "((int)puVar10 < 1)" (( "(") (binary_expression "(int)puVar10 < 1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }\n    }" ({ "{") (if_statement "if (puVar10 == (undefined4 *)0x0) {\n        return;\n      }" (if "if") (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 == (undefined4 *)0x0" (identifier "puVar10") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" (else "else") (if_statement "if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" (if "if") (parenthesized_expression "(puVar9[(int)puVar10 + 0x3fffffff] == 0)" (( "(") (binary_expression "puVar9[(int)puVar10 + 0x3fffffff] == 0" (subscript_expression "puVar9[(int)puVar10 + 0x3fffffff]" (identifier "puVar9") ([ "[") (binary_expression "(int)puVar10 + 0x3fffffff" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "0x3fffffff")) (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);\n      do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);\n    }" ({ "{") (expression_statement "puVar8 = puVar9 + (int)(puVar10 + 0x10000000);" (assignment_expression "puVar8 = puVar9 + (int)(puVar10 + 0x10000000)" (identifier "puVar8") (= "=") (binary_expression "puVar9 + (int)(puVar10 + 0x10000000)" (identifier "puVar9") (+ "+") (cast_expression "(int)(puVar10 + 0x10000000)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar10 + 0x10000000)" (( "(") (binary_expression "puVar10 + 0x10000000" (identifier "puVar10") (+ "+") (number_literal "0x10000000")) () ")"))))) (; ";")) (do_statement "do {\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      } while (*piVar6 == 0);" (do "do") (compound_statement "{\n        puVar11 = (undefined4 *)((int)puVar11 + -1);\n        if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }\n        piVar6 = puVar8 + -2;\n        puVar8 = puVar8 + -1;\n      }" ({ "{") (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + -1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + -1)" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)((int)puVar11 + -1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar11 + -1)" (( "(") (binary_expression "(int)puVar11 + -1" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (+ "+") (number_literal "-1")) () ")")))) (; ";")) (if_statement "if (puVar11 == (undefined4 *)0x0) {\n          return;\n        }" (if "if") (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar11 == (undefined4 *)0x0" (identifier "puVar11") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar6 = puVar8 + -2;" (assignment_expression "piVar6 = puVar8 + -2" (identifier "piVar6") (= "=") (binary_expression "puVar8 + -2" (identifier "puVar8") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "puVar8 = puVar8 + -1;" (assignment_expression "puVar8 = puVar8 + -1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + -1" (identifier "puVar8") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar6 == 0)" (( "(") (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))))) (expression_statement "puVar13 = (undefined4 *)param_1[7];" (assignment_expression "puVar13 = (undefined4 *)param_1[7]" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)param_1[7]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) (; ";")) (if_statement "if ((int)puVar11 < param_5) {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }\n    else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" (if "if") (parenthesized_expression "((int)puVar11 < param_5)" (( "(") (binary_expression "(int)puVar11 < param_5" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (< "<") (identifier "param_5")) () ")")) (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);\n    }" ({ "{") (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" (( "(") (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" (* "*") (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_mul_0009d2b4"))) () ")")) (argument_list "(puVar13,param_4,param_5,puVar9,puVar11)" (( "(") (identifier "puVar13") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "puVar9") (, ",") (identifier "puVar11") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);\n    }" ({ "{") (expression_statement "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);" (call_expression "(*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_mul_0009d2b4)" (( "(") (pointer_expression "*(code *)PTR___gmpn_mul_0009d2b4" (* "*") (cast_expression "(code *)PTR___gmpn_mul_0009d2b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_mul_0009d2b4"))) () ")")) (argument_list "(puVar13,puVar9,puVar11,param_4,param_5)" (( "(") (identifier "puVar13") (, ",") (identifier "puVar9") (, ",") (identifier "puVar11") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")"))) (; ";")) (} "}")))) (expression_statement "puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));" (assignment_expression "puVar11 = (undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)\n              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)))" (( "(") (binary_expression "(int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0))" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (+ "+") (parenthesized_expression "(param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0))" (( "(") (binary_expression "param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)" (identifier "param_5") (- "-") (call_expression "(uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar13[(int)puVar11 + param_5 + -1] == 0)" (( "(") (binary_expression "puVar13[(int)puVar11 + param_5 + -1] == 0" (subscript_expression "puVar13[(int)puVar11 + param_5 + -1]" (identifier "puVar13") ([ "[") (binary_expression "(int)puVar11 + param_5 + -1" (binary_expression "(int)puVar11 + param_5" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (+ "+") (identifier "param_5")) (+ "+") (number_literal "-1")) (] "]")) (== "==") (number_literal "0")) () ")")))) () ")"))) () ")")))) (; ";")) (if_statement "if ((int)puVar11 < (int)puVar10) {\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }\n    else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" (if "if") (parenthesized_expression "((int)puVar11 < (int)puVar10)" (( "(") (binary_expression "(int)puVar11 < (int)puVar10" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (< "<") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10"))) () ")")) (compound_statement "{\n      iVar4 = 0;\n      puVar8 = puVar10;\n      if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;\n      piVar6 = puVar12 + (int)puVar11;\n      do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);\nLAB_00050814:\n      iVar4 = 1;\n      puVar8 = (undefined4 *)((int)puVar10 + 1);\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar8 = puVar10;" (assignment_expression "puVar8 = puVar10" (identifier "puVar8") (= "=") (identifier "puVar10")) (; ";")) (if_statement "if ((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         ) goto LAB_00050758;" (if "if") (parenthesized_expression "((puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)\n         )" (( "(") (binary_expression "(puVar11 == (undefined4 *)0x0) ||\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)" (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar11 == (undefined4 *)0x0" (identifier "puVar11") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)" (( "(") (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" (( "(") (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" (* "*") (cast_expression "(code *)PTR___gmpn_add_n_0009d334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_add_n_0009d334"))) () ")")) (argument_list "(puVar12,puVar12,puVar13,puVar11)" (( "(") (identifier "puVar12") (, ",") (identifier "puVar12") (, ",") (identifier "puVar13") (, ",") (identifier "puVar11") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00050758;" (goto "goto") (statement_identifier "LAB_00050758") (; ";"))) (expression_statement "piVar6 = puVar12 + (int)puVar11;" (assignment_expression "piVar6 = puVar12 + (int)puVar11" (identifier "piVar6") (= "=") (binary_expression "puVar12 + (int)puVar11" (identifier "puVar12") (+ "+") (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")))) (; ";")) (do_statement "do {\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      } while (puVar10 != puVar11);" (do "do") (compound_statement "{\n        iVar4 = *piVar6;\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n        *piVar6 = iVar4 + 1;\n        if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }\n        piVar6 = piVar6 + 1;\n      }" ({ "{") (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" (identifier "iVar4") (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + 1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + 1)" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)((int)puVar11 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar11 + 1)" (( "(") (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*piVar6 = iVar4 + 1;" (assignment_expression "*piVar6 = iVar4 + 1" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar4 + 1 != 0) {\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" (if "if") (parenthesized_expression "(iVar4 + 1 != 0)" (( "(") (binary_expression "iVar4 + 1 != 0" (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar4 = 0;\n          goto LAB_00050758;\n        }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00050758;" (goto "goto") (statement_identifier "LAB_00050758") (; ";")) (} "}"))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar10 != puVar11)" (( "(") (binary_expression "puVar10 != puVar11" (identifier "puVar10") (!= "!=") (identifier "puVar11")) () ")")) (; ";")) (labeled_statement "LAB_00050814:\n      iVar4 = 1;" (statement_identifier "LAB_00050814") (: ":") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";"))) (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 1)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((int)puVar10 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar10 + 1)" (( "(") (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" (else "else") (compound_statement "{\n      puVar8 = puVar10;\n      if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }\n      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }\n      iVar4 = 0;\n      puVar10 = puVar11;\n      puVar8 = puVar11;\n    }" ({ "{") (expression_statement "puVar8 = puVar10;" (assignment_expression "puVar8 = puVar10" (identifier "puVar8") (= "=") (identifier "puVar10")) (; ";")) (if_statement "if ((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         ) {\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" (if "if") (parenthesized_expression "((puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)\n         )" (( "(") (binary_expression "(puVar10 != (undefined4 *)0x0) &&\n         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)" (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 != (undefined4 *)0x0" (identifier "puVar10") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)" (( "(") (comma_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" (( "(") (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" (* "*") (cast_expression "(code *)PTR___gmpn_add_n_0009d334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_add_n_0009d334"))) () ")")) (argument_list "(puVar12,puVar13,puVar12,puVar10)" (( "(") (identifier "puVar12") (, ",") (identifier "puVar13") (, ",") (identifier "puVar12") (, ",") (identifier "puVar10") () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        puVar8 = (undefined4 *)((int)puVar10 + 1);\n        if (puVar10 == puVar11) goto LAB_00050814;\n        piVar6 = puVar13 + (int)puVar10;\n        iVar4 = *piVar6;\n        puVar12[(int)puVar10] = iVar4 + 1;\n        if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }\n      }" ({ "{") (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 1)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((int)puVar10 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar10 + 1)" (( "(") (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (puVar10 == puVar11) goto LAB_00050814;" (if "if") (parenthesized_expression "(puVar10 == puVar11)" (( "(") (binary_expression "puVar10 == puVar11" (identifier "puVar10") (== "==") (identifier "puVar11")) () ")")) (goto_statement "goto LAB_00050814;" (goto "goto") (statement_identifier "LAB_00050814") (; ";"))) (expression_statement "piVar6 = puVar13 + (int)puVar10;" (assignment_expression "piVar6 = puVar13 + (int)puVar10" (identifier "piVar6") (= "=") (binary_expression "puVar13 + (int)puVar10" (identifier "puVar13") (+ "+") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")))) (; ";")) (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" (identifier "iVar4") (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "puVar12[(int)puVar10] = iVar4 + 1;" (assignment_expression "puVar12[(int)puVar10] = iVar4 + 1" (subscript_expression "puVar12[(int)puVar10]" (identifier "puVar12") ([ "[") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (] "]")) (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar4 + 1 == 0) {\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" (if "if") (parenthesized_expression "(iVar4 + 1 == 0)" (( "(") (binary_expression "iVar4 + 1 == 0" (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }\n          puVar8 = (undefined4 *)((int)puVar10 + 2);\n          iVar4 = puVar13[(int)puVar10 + 1] + 1;\n          puVar12[(int)puVar10 + 1] = iVar4;\n          piVar3 = puVar12 + (int)puVar10;\n          while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }\n        }" ({ "{") (if_statement "if ((int)puVar11 <= (int)puVar8) {\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }" (if "if") (parenthesized_expression "((int)puVar11 <= (int)puVar8)" (( "(") (binary_expression "(int)puVar11 <= (int)puVar8" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (<= "<=") (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8"))) () ")")) (compound_statement "{\nLAB_000508b4:\n            iVar4 = 1;\n            puVar10 = puVar11;\n            puVar8 = (undefined4 *)((int)puVar11 + 1);\n            goto LAB_00050758;\n          }" ({ "{") (labeled_statement "LAB_000508b4:\n            iVar4 = 1;" (statement_identifier "LAB_000508b4") (: ":") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";"))) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" (identifier "puVar10") (= "=") (identifier "puVar11")) (; ";")) (expression_statement "puVar8 = (undefined4 *)((int)puVar11 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar11 + 1)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((int)puVar11 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar11 + 1)" (( "(") (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (goto_statement "goto LAB_00050758;" (goto "goto") (statement_identifier "LAB_00050758") (; ";")) (} "}"))) (expression_statement "puVar8 = (undefined4 *)((int)puVar10 + 2);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar10 + 2)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((int)puVar10 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar10 + 2)" (( "(") (binary_expression "(int)puVar10 + 2" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "iVar4 = puVar13[(int)puVar10 + 1] + 1;" (assignment_expression "iVar4 = puVar13[(int)puVar10 + 1] + 1" (identifier "iVar4") (= "=") (binary_expression "puVar13[(int)puVar10 + 1] + 1" (subscript_expression "puVar13[(int)puVar10 + 1]" (identifier "puVar13") ([ "[") (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "1")) (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar12[(int)puVar10 + 1] = iVar4;" (assignment_expression "puVar12[(int)puVar10 + 1] = iVar4" (subscript_expression "puVar12[(int)puVar10 + 1]" (identifier "puVar12") ([ "[") (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "1")) (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar3 = puVar12 + (int)puVar10;" (assignment_expression "piVar3 = puVar12 + (int)puVar10" (identifier "piVar3") (= "=") (binary_expression "puVar12 + (int)puVar10" (identifier "puVar12") (+ "+") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")))) (; ";")) (while_statement "while (iVar4 == 0) {\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" (while "while") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if (puVar11 == puVar8) goto LAB_000508b4;\n            piVar2 = piVar6 + 2;\n            puVar8 = (undefined4 *)((int)puVar8 + 1);\n            piVar6 = piVar6 + 1;\n            iVar4 = *piVar2 + 1;\n            piVar3[2] = iVar4;\n            piVar3 = piVar3 + 1;\n          }" ({ "{") (if_statement "if (puVar11 == puVar8) goto LAB_000508b4;" (if "if") (parenthesized_expression "(puVar11 == puVar8)" (( "(") (binary_expression "puVar11 == puVar8" (identifier "puVar11") (== "==") (identifier "puVar8")) () ")")) (goto_statement "goto LAB_000508b4;" (goto "goto") (statement_identifier "LAB_000508b4") (; ";"))) (expression_statement "piVar2 = piVar6 + 2;" (assignment_expression "piVar2 = piVar6 + 2" (identifier "piVar2") (= "=") (binary_expression "piVar6 + 2" (identifier "piVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar8 = (undefined4 *)((int)puVar8 + 1);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar8 + 1)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((int)puVar8 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 1)" (( "(") (binary_expression "(int)puVar8 + 1" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = *piVar2 + 1;" (assignment_expression "iVar4 = *piVar2 + 1" (identifier "iVar4") (= "=") (binary_expression "*piVar2 + 1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3[2] = iVar4;" (assignment_expression "piVar3[2] = iVar4" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (if_statement "if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }" (if "if") (parenthesized_expression "((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11))" (( "(") (binary_expression "(puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)" (parenthesized_expression "(puVar12 != puVar13)" (( "(") (binary_expression "puVar12 != puVar13" (identifier "puVar12") (!= "!=") (identifier "puVar13")) () ")")) (&& "&&") (parenthesized_expression "((int)puVar8 < (int)puVar11)" (( "(") (binary_expression "(int)puVar8 < (int)puVar11" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (< "<") (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11"))) () ")"))) () ")")) (compound_statement "{\n        puVar9 = puVar13 + (int)puVar8;\n        puVar10 = puVar12 + (int)puVar8;\n        do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);\n      }" ({ "{") (expression_statement "puVar9 = puVar13 + (int)puVar8;" (assignment_expression "puVar9 = puVar13 + (int)puVar8" (identifier "puVar9") (= "=") (binary_expression "puVar13 + (int)puVar8" (identifier "puVar13") (+ "+") (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")))) (; ";")) (expression_statement "puVar10 = puVar12 + (int)puVar8;" (assignment_expression "puVar10 = puVar12 + (int)puVar8" (identifier "puVar10") (= "=") (binary_expression "puVar12 + (int)puVar8" (identifier "puVar12") (+ "+") (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")))) (; ";")) (do_statement "do {\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        } while (puVar13 + (int)puVar11 != puVar9);" (do "do") (compound_statement "{\n          uVar7 = *puVar9;\n          puVar9 = puVar9 + 1;\n          *puVar10 = uVar7;\n          puVar10 = puVar10 + 1;\n        }" ({ "{") (expression_statement "uVar7 = *puVar9;" (assignment_expression "uVar7 = *puVar9" (identifier "uVar7") (= "=") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar10 = uVar7;" (assignment_expression "*puVar10 = uVar7" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (identifier "uVar7")) (; ";")) (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 "(puVar13 + (int)puVar11 != puVar9)" (( "(") (binary_expression "puVar13 + (int)puVar11 != puVar9" (binary_expression "puVar13 + (int)puVar11" (identifier "puVar13") (+ "+") (cast_expression "(int)puVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar11"))) (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" (identifier "puVar10") (= "=") (identifier "puVar11")) (; ";")) (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" (identifier "puVar8") (= "=") (identifier "puVar11")) (; ";")) (} "}")))) (labeled_statement "LAB_00050758:\n    puVar12[(int)puVar10] = iVar4;" (statement_identifier "LAB_00050758") (: ":") (expression_statement "puVar12[(int)puVar10] = iVar4;" (assignment_expression "puVar12[(int)puVar10] = iVar4" (subscript_expression "puVar12[(int)puVar10]" (identifier "puVar12") ([ "[") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (] "]")) (= "=") (identifier "iVar4")) (; ";"))) (expression_statement "param_1[4] = puVar8;" (assignment_expression "param_1[4] = puVar8" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "puVar8")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" (identifier "iVar4") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (param_3 != 0) {\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar9 = (undefined4 *)*param_1;\n    uVar7 = *param_2;\n    if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }\n    *puVar9 = uVar7;\n  }" ({ "{") (expression_statement "puVar9 = (undefined4 *)*param_1;" (assignment_expression "puVar9 = (undefined4 *)*param_1" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar7 = *param_2;" (assignment_expression "uVar7 = *param_2" (identifier "uVar7") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar4 != 0) {\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar11 = puVar9;\n      puVar13 = param_2 + 1;\n      do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);\n      puVar9 = puVar9 + param_3 + -1;\n    }" ({ "{") (expression_statement "puVar11 = puVar9;" (assignment_expression "puVar11 = puVar9" (identifier "puVar11") (= "=") (identifier "puVar9")) (; ";")) (expression_statement "puVar13 = param_2 + 1;" (assignment_expression "puVar13 = param_2 + 1" (identifier "puVar13") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      } while (iVar4 != 0);" (do "do") (compound_statement "{\n        *puVar11 = uVar7;\n        iVar4 = iVar4 + -1;\n        uVar7 = *puVar13;\n        puVar11 = puVar11 + 1;\n        puVar13 = puVar13 + 1;\n      }" ({ "{") (expression_statement "*puVar11 = uVar7;" (assignment_expression "*puVar11 = uVar7" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar7 = *puVar13;" (assignment_expression "uVar7 = *puVar13" (identifier "uVar7") (= "=") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) (; ";")) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" (identifier "puVar13") (= "=") (binary_expression "puVar13 + 1" (identifier "puVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar9 = puVar9 + param_3 + -1;" (assignment_expression "puVar9 = puVar9 + param_3 + -1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + param_3 + -1" (binary_expression "puVar9 + param_3" (identifier "puVar9") (+ "+") (identifier "param_3")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar9 = uVar7;" (assignment_expression "*puVar9 = uVar7" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_6 < 0) {\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }\n  else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" (if "if") (parenthesized_expression "(param_6 < 0)" (( "(") (binary_expression "param_6 < 0" (identifier "param_6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    puVar11 = puVar12 + (int)puVar10;\n    puVar5 = puVar8 + (int)puVar10;\n    puVar9 = puVar10;\n    do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);\n    if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }\nLAB_000505b4:\n    param_6 = 0;\n  }" ({ "{") (expression_statement "puVar11 = puVar12 + (int)puVar10;" (assignment_expression "puVar11 = puVar12 + (int)puVar10" (identifier "puVar11") (= "=") (binary_expression "puVar12 + (int)puVar10" (identifier "puVar12") (+ "+") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")))) (; ";")) (expression_statement "puVar5 = puVar8 + (int)puVar10;" (assignment_expression "puVar5 = puVar8 + (int)puVar10" (identifier "puVar5") (= "=") (binary_expression "puVar8 + (int)puVar10" (identifier "puVar8") (+ "+") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")))) (; ";")) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" (identifier "puVar9") (= "=") (identifier "puVar10")) (; ";")) (do_statement "do {\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    } while (*puVar1 == *puVar5);" (do "do") (compound_statement "{\n      puVar9 = (undefined4 *)((int)puVar9 + -1);\n      puVar5 = puVar5 + -1;\n      if ((int)puVar9 < 0) goto LAB_000505b4;\n      puVar1 = puVar11 + -1;\n      puVar11 = puVar11 + -1;\n    }" ({ "{") (expression_statement "puVar9 = (undefined4 *)((int)puVar9 + -1);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar9 + -1)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)((int)puVar9 + -1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar9 + -1)" (( "(") (binary_expression "(int)puVar9 + -1" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (+ "+") (number_literal "-1")) () ")")))) (; ";")) (expression_statement "puVar5 = puVar5 + -1;" (assignment_expression "puVar5 = puVar5 + -1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + -1" (identifier "puVar5") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if ((int)puVar9 < 0) goto LAB_000505b4;" (if "if") (parenthesized_expression "((int)puVar9 < 0)" (( "(") (binary_expression "(int)puVar9 < 0" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_000505b4;" (goto "goto") (statement_identifier "LAB_000505b4") (; ";"))) (expression_statement "puVar1 = puVar11 + -1;" (assignment_expression "puVar1 = puVar11 + -1" (identifier "puVar1") (= "=") (binary_expression "puVar11 + -1" (identifier "puVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar11 = puVar11 + -1;" (assignment_expression "puVar11 = puVar11 + -1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + -1" (identifier "puVar11") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*puVar1 == *puVar5)" (( "(") (binary_expression "*puVar1 == *puVar5" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (== "==") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) () ")")) (; ";")) (if_statement "if (*puVar1 <= *puVar5) {\n      param_6 = 1;\n      goto LAB_00050508;\n    }" (if "if") (parenthesized_expression "(*puVar1 <= *puVar5)" (( "(") (binary_expression "*puVar1 <= *puVar5" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (<= "<=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) () ")")) (compound_statement "{\n      param_6 = 1;\n      goto LAB_00050508;\n    }" ({ "{") (expression_statement "param_6 = 1;" (assignment_expression "param_6 = 1" (identifier "param_6") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00050508;" (goto "goto") (statement_identifier "LAB_00050508") (; ";")) (} "}"))) (labeled_statement "LAB_000505b4:\n    param_6 = 0;" (statement_identifier "LAB_000505b4") (: ":") (expression_statement "param_6 = 0;" (assignment_expression "param_6 = 0" (identifier "param_6") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" (else "else") (if_statement "if (param_6 != 0) {\nLAB_00050508:\n    puVar8 = puVar12;\n  }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00050508:\n    puVar8 = puVar12;\n  }" ({ "{") (labeled_statement "LAB_00050508:\n    puVar8 = puVar12;" (statement_identifier "LAB_00050508") (: ":") (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" (identifier "puVar8") (= "=") (identifier "puVar12")) (; ";"))) (} "}"))))) (if_statement "if ((int)puVar10 < 1) {\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }\n  else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" (if "if") (parenthesized_expression "((int)puVar10 < 1)" (( "(") (binary_expression "(int)puVar10 < 1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n  }" ({ "{") (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;" (if "if") (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 == (undefined4 *)0x0" (identifier "puVar10") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00050548;" (goto "goto") (statement_identifier "LAB_00050548") (; ";"))) (} "}")) (else_clause "else if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" (else "else") (if_statement "if (puVar8[(int)puVar10 + -1] == 0) {\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" (if "if") (parenthesized_expression "(puVar8[(int)puVar10 + -1] == 0)" (( "(") (binary_expression "puVar8[(int)puVar10 + -1] == 0" (subscript_expression "puVar8[(int)puVar10 + -1]" (identifier "puVar8") ([ "[") (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "-1")) (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar12 = puVar8 + (int)puVar10;\n    do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);\n  }" ({ "{") (expression_statement "puVar12 = puVar8 + (int)puVar10;" (assignment_expression "puVar12 = puVar8 + (int)puVar10" (identifier "puVar12") (= "=") (binary_expression "puVar8 + (int)puVar10" (identifier "puVar8") (+ "+") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")))) (; ";")) (do_statement "do {\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    } while (*piVar6 == 0);" (do "do") (compound_statement "{\n      puVar10 = (undefined4 *)((int)puVar10 + -1);\n      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;\n      piVar6 = puVar12 + -2;\n      puVar12 = puVar12 + -1;\n    }" ({ "{") (expression_statement "puVar10 = (undefined4 *)((int)puVar10 + -1);" (assignment_expression "puVar10 = (undefined4 *)((int)puVar10 + -1)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)((int)puVar10 + -1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar10 + -1)" (( "(") (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "-1")) () ")")))) (; ";")) (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;" (if "if") (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 == (undefined4 *)0x0" (identifier "puVar10") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00050548;" (goto "goto") (statement_identifier "LAB_00050548") (; ";"))) (expression_statement "piVar6 = puVar12 + -2;" (assignment_expression "piVar6 = puVar12 + -2" (identifier "piVar6") (= "=") (binary_expression "puVar12 + -2" (identifier "puVar12") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "puVar12 = puVar12 + -1;" (assignment_expression "puVar12 = puVar12 + -1" (identifier "puVar12") (= "=") (binary_expression "puVar12 + -1" (identifier "puVar12") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar6 == 0)" (( "(") (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))))) (expression_statement "iVar4 = (int)puVar10 + -1;" (assignment_expression "iVar4 = (int)puVar10 + -1" (identifier "iVar4") (= "=") (binary_expression "(int)puVar10 + -1" (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar9 = (undefined4 *)param_1[2];" (assignment_expression "puVar9 = (undefined4 *)param_1[2]" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)param_1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "uVar7 = *puVar8;" (assignment_expression "uVar7 = *puVar8" (identifier "uVar7") (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar12 = puVar9;" (assignment_expression "puVar12 = puVar9" (identifier "puVar12") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (iVar4 != 0) {\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);\n    puVar9 = puVar9 + (int)puVar10 + -1;\n  }" ({ "{") (do_statement "do {\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    } while (iVar4 != 0);" (do "do") (compound_statement "{\n      puVar8 = puVar8 + 1;\n      *puVar12 = uVar7;\n      iVar4 = iVar4 + -1;\n      uVar7 = *puVar8;\n      puVar12 = puVar12 + 1;\n    }" ({ "{") (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar12 = uVar7;" (assignment_expression "*puVar12 = uVar7" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar7 = *puVar8;" (assignment_expression "uVar7 = *puVar8" (identifier "uVar7") (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 1" (identifier "puVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar9 = puVar9 + (int)puVar10 + -1;" (assignment_expression "puVar9 = puVar9 + (int)puVar10 + -1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (int)puVar10 + -1" (binary_expression "puVar9 + (int)puVar10" (identifier "puVar9") (+ "+") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10"))) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar9 = uVar7;" (assignment_expression "*puVar9 = uVar7" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (identifier "uVar7")) (; ";")) (labeled_statement "LAB_00050548:\n  if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" (statement_identifier "LAB_00050548") (: ":") (if_statement "if (param_6 != 0) {\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar10 = (undefined4 *)-(int)puVar10;\n  }" ({ "{") (expression_statement "puVar10 = (undefined4 *)-(int)puVar10;" (assignment_expression "puVar10 = (undefined4 *)-(int)puVar10" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)-(int)puVar10" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (unary_expression "-(int)puVar10" (- "-") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10"))))) (; ";")) (} "}")))) (expression_statement "*(undefined4 **)param_1[3] = puVar10;" (assignment_expression "*(undefined4 **)param_1[3] = puVar10" (pointer_expression "*(undefined4 **)param_1[3]" (* "*") (cast_expression "(undefined4 **)param_1[3]" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (= "=") (identifier "puVar10")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *p,type_1 var_1,type_2 var_13,type_1 qp,type_2 var_3,int var_2)

{
  type_3 *puVar1;
  int *piVar2;
  int *var_12;
  int var_4;
  type_3 *var_17;
  type_4 *var_18;
  type_5 *var_14;
  int *var_10;
  type_6 *ctx;
  type_5 *var_15;
  type_7 uVar10;
  type_7 *var_6;
  type_5 mVar12;
  type_7 *var_8;
  type_5 *var_16;
  type_7 *var_5;
  type_7 *var_7;
  type_7 *var_9;
  type_7 *var_11;
  type_8 *pcVar19;
  
  var_8 = *(type_7 **)((int)p + 0x18);
  var_5 = *(type_7 **)((int)p + 0x10);
  var_9 = *(type_7 **)((int)p + 0x14);
  if (var_1 == (type_1)0x0) {
    var_6 = var_8;
    if (var_2 != 0) {
      var_6 = var_9;
      var_9 = var_8;
    }
    var_4 = var_3 - (type_3)(qp[var_3 + 0x3fffffff] == 0);
    if (var_4 == 1) {
      var_8 = var_9;
      var_7 = var_5;
      pcVar19 = (type_8 *)PTR___gmpn_add_n_0009d334;
      if ((type_7 *)*qp != (type_7 *)&DAT_00000001) {
        var_8 = var_6;
        var_6 = var_5;
        var_7 = (type_7 *)*qp;
        pcVar19 = (type_8 *)PTR___gmpn_addmul_1_0009d0d0;
      }
      var_4 = (*pcVar19)(var_9,var_8,var_6,var_7);
      var_8 = (type_7 *)((type_3)(var_4 != 0) + (int)var_5);
      goto LAB_00050758;
    }
    var_7 = var_5;
    if ((int)var_5 < 1) {
      if (var_5 == (type_7 *)0x0) {
        return;
      }
    }
    else if (var_6[(int)((int)var_5 + 0x3fffffff)] == 0) {
      var_8 = var_6 + (int)(var_5 + 0x10000000);
      do {
        var_7 = (type_7 *)((int)var_7 + -1);
        if (var_7 == (type_7 *)0x0) {
          return;
        }
        var_10 = var_8 + -2;
        var_8 = var_8 + -1;
      } while (*var_10 == 0);
    }
    var_11 = *(type_7 **)((int)p + 0x1c);
    if ((int)var_7 < var_4) {
      (*(type_8 *)PTR___gmpn_mul_0009d2b4)(var_11,qp,var_4,var_6,var_7);
    }
    else {
      (*(type_8 *)PTR___gmpn_mul_0009d2b4)(var_11,var_6,var_7,qp,var_4);
    }
    var_7 = (type_7 *)
              ((int)var_7 + (var_4 - (type_3)(var_11[(int)((int)var_7 + var_4 + -1)] == 0)));
    if ((int)var_7 < (int)var_5) {
      var_4 = 0;
      var_8 = var_5;
      if ((var_7 == (type_7 *)0x0) ||
         (var_4 = (*(type_8 *)PTR___gmpn_add_n_0009d334)(var_9,var_9,var_11,var_7), var_4 == 0)
         ) goto LAB_00050758;
      var_10 = var_9 + (int)var_7;
      do {
        var_4 = *var_10;
        var_7 = (type_7 *)((int)var_7 + 1);
        *var_10 = var_4 + 1;
        if (var_4 + 1 != 0) {
          var_4 = 0;
          goto LAB_00050758;
        }
        var_10 = var_10 + 1;
      } while (var_5 != var_7);
LAB_00050814:
      var_4 = 1;
      var_8 = (type_7 *)((int)var_5 + 1);
    }
    else {
      var_8 = var_5;
      if ((var_5 != (type_7 *)0x0) &&
         (var_4 = (*(type_8 *)PTR___gmpn_add_n_0009d334)(var_9,var_11,var_9,var_5), var_4 != 0)
         ) {
        var_8 = (type_7 *)((int)var_5 + 1);
        if (var_5 == var_7) goto LAB_00050814;
        var_10 = var_11 + (int)var_5;
        var_4 = *var_10;
        var_9[(int)var_5] = var_4 + 1;
        if (var_4 + 1 == 0) {
          if ((int)var_7 <= (int)var_8) {
LAB_000508b4:
            var_4 = 1;
            var_5 = var_7;
            var_8 = (type_7 *)((int)var_7 + 1);
            goto LAB_00050758;
          }
          var_8 = (type_7 *)((int)var_5 + 2);
          var_4 = var_11[(int)((int)var_5 + 1)] + 1;
          var_9[(int)((int)var_5 + 1)] = var_4;
          var_12 = var_9 + (int)var_5;
          while (var_4 == 0) {
            if (var_7 == var_8) goto LAB_000508b4;
            piVar2 = var_10 + 2;
            var_8 = (type_7 *)((int)var_8 + 1);
            var_10 = var_10 + 1;
            var_4 = *piVar2 + 1;
            var_12[2] = var_4;
            var_12 = var_12 + 1;
          }
        }
      }
      if ((var_9 != var_11) && ((int)var_8 < (int)var_7)) {
        var_6 = var_11 + (int)var_8;
        var_5 = var_9 + (int)var_8;
        do {
          uVar10 = *var_6;
          var_6 = var_6 + 1;
          *var_5 = uVar10;
          var_5 = var_5 + 1;
        } while (var_11 + (int)var_7 != var_6);
      }
      var_4 = 0;
      var_5 = var_7;
      var_8 = var_7;
    }
LAB_00050758:
    var_9[(int)var_5] = var_4;
    *(type_7 **)((int)p + 0x10) = var_8;
    return;
  }
  var_4 = var_13 + -1;
  if (var_13 != 0) {
                    /* WARNING: Load size is inaccurate */
    var_16 = *p;
    mVar12 = *var_1;
    if (var_4 != 0) {
      var_14 = var_16;
      var_15 = var_1 + 1;
      do {
        *var_14 = mVar12;
        var_4 = var_4 + -1;
        mVar12 = *var_15;
        var_14 = var_14 + 1;
        var_15 = var_15 + 1;
      } while (var_4 != 0);
      var_16 = var_16 + var_13 + -1;
    }
    *var_16 = mVar12;
  }
  *(type_2 *)((int)p + 4) = var_13;
  if (var_2 < 0) {
    var_7 = var_9 + (int)var_5;
    var_17 = var_8 + (int)var_5;
    var_6 = var_5;
    do {
      var_6 = (type_7 *)((int)var_6 + -1);
      var_17 = var_17 + -1;
      if ((int)var_6 < 0) goto LAB_000505b4;
      puVar1 = var_7 + -1;
      var_7 = var_7 + -1;
    } while (*puVar1 == *var_17);
    if (*puVar1 <= *var_17) {
      var_2 = 1;
      goto LAB_00050508;
    }
LAB_000505b4:
    var_2 = 0;
  }
  else if (var_2 != 0) {
LAB_00050508:
    var_8 = var_9;
  }
  if ((int)var_5 < 1) {
    if (var_5 == (type_7 *)0x0) goto LAB_00050548;
  }
  else if (var_8[(int)((int)var_5 + -1)] == 0) {
    var_9 = var_8 + (int)var_5;
    do {
      var_5 = (type_7 *)((int)var_5 + -1);
      if (var_5 == (type_7 *)0x0) goto LAB_00050548;
      var_10 = var_9 + -2;
      var_9 = var_9 + -1;
    } while (*var_10 == 0);
  }
  var_18 = (type_4 *)((int)var_5 + -1);
  var_6 = *(type_7 **)((int)p + 8);
  uVar10 = *var_8;
  var_9 = var_6;
  if (var_18 != (type_4 *)0x0) {
    do {
      var_8 = var_8 + 1;
      *var_9 = uVar10;
      var_18 = var_18 + -1;
      uVar10 = *var_8;
      var_9 = var_9 + 1;
    } while (var_18 != (type_4 *)0x0);
    var_6 = var_6 + (int)((int)var_5 + -1);
  }
  *var_6 = uVar10;
LAB_00050548:
  if (var_2 != 0) {
    var_5 = (type_7 *)-(int)var_5;
  }
  **(type_7 **)((int)p + 0xc) = var_5;
  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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))) 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) (identifier) (identifier) (identifier) (identifier))))) 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) (identifier) (identifier) (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))) right: (number_literal))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (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: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (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 (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (identifier))) (return_statement))))

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

{
  uint *puVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  uint *puVar5;
  int *piVar6;
  undefined4 uVar7;
  undefined4 *puVar8;
  undefined4 *puVar9;
  undefined4 *puVar10;
  undefined4 *puVar11;
  undefined4 *puVar12;
  undefined4 *puVar13;
  code *pcVar14;
  
  puVar8 = (undefined4 *)param_1[6];
  puVar10 = (undefined4 *)param_1[4];
  puVar12 = (undefined4 *)param_1[5];
  if (param_2 == (undefined4 *)0x0) {
    puVar9 = puVar8;
    if (param_6 != 0) {
      puVar9 = puVar12;
      puVar12 = puVar8;
    }
    param_5 = param_5 - (uint)(param_4[param_5 + 0x3fffffff] == 0);
    if (param_5 == 1) {
      puVar8 = puVar12;
      puVar11 = puVar10;
      pcVar14 = (code *)PTR___gmpn_add_n_0009d334;
      if ((undefined4 *)*param_4 != (undefined4 *)0x1) {
        puVar8 = puVar9;
        puVar9 = puVar10;
        puVar11 = (undefined4 *)*param_4;
        pcVar14 = (code *)PTR___gmpn_addmul_1_0009d0d0;
      }
      iVar4 = (*pcVar14)(puVar12,puVar8,puVar9,puVar11);
      puVar8 = (undefined4 *)((uint)(iVar4 != 0) + (int)puVar10);
      goto LAB_00050758;
    }
    puVar11 = puVar10;
    if ((int)puVar10 < 1) {
      if (puVar10 == (undefined4 *)0x0) {
        return;
      }
    }
    else if (puVar9[(int)puVar10 + 0x3fffffff] == 0) {
      puVar8 = puVar9 + (int)(puVar10 + 0x10000000);
      do {
        puVar11 = (undefined4 *)((int)puVar11 + -1);
        if (puVar11 == (undefined4 *)0x0) {
          return;
        }
        piVar6 = puVar8 + -2;
        puVar8 = puVar8 + -1;
      } while (*piVar6 == 0);
    }
    puVar13 = (undefined4 *)param_1[7];
    if ((int)puVar11 < param_5) {
      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,param_4,param_5,puVar9,puVar11);
    }
    else {
      (*(code *)PTR___gmpn_mul_0009d2b4)(puVar13,puVar9,puVar11,param_4,param_5);
    }
    puVar11 = (undefined4 *)
              ((int)puVar11 + (param_5 - (uint)(puVar13[(int)puVar11 + param_5 + -1] == 0)));
    if ((int)puVar11 < (int)puVar10) {
      iVar4 = 0;
      puVar8 = puVar10;
      if ((puVar11 == (undefined4 *)0x0) ||
         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar12,puVar13,puVar11), iVar4 == 0)
         ) goto LAB_00050758;
      piVar6 = puVar12 + (int)puVar11;
      do {
        iVar4 = *piVar6;
        puVar11 = (undefined4 *)((int)puVar11 + 1);
        *piVar6 = iVar4 + 1;
        if (iVar4 + 1 != 0) {
          iVar4 = 0;
          goto LAB_00050758;
        }
        piVar6 = piVar6 + 1;
      } while (puVar10 != puVar11);
LAB_00050814:
      iVar4 = 1;
      puVar8 = (undefined4 *)((int)puVar10 + 1);
    }
    else {
      puVar8 = puVar10;
      if ((puVar10 != (undefined4 *)0x0) &&
         (iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar12,puVar13,puVar12,puVar10), iVar4 != 0)
         ) {
        puVar8 = (undefined4 *)((int)puVar10 + 1);
        if (puVar10 == puVar11) goto LAB_00050814;
        piVar6 = puVar13 + (int)puVar10;
        iVar4 = *piVar6;
        puVar12[(int)puVar10] = iVar4 + 1;
        if (iVar4 + 1 == 0) {
          if ((int)puVar11 <= (int)puVar8) {
LAB_000508b4:
            iVar4 = 1;
            puVar10 = puVar11;
            puVar8 = (undefined4 *)((int)puVar11 + 1);
            goto LAB_00050758;
          }
          puVar8 = (undefined4 *)((int)puVar10 + 2);
          iVar4 = puVar13[(int)puVar10 + 1] + 1;
          puVar12[(int)puVar10 + 1] = iVar4;
          piVar3 = puVar12 + (int)puVar10;
          while (iVar4 == 0) {
            if (puVar11 == puVar8) goto LAB_000508b4;
            piVar2 = piVar6 + 2;
            puVar8 = (undefined4 *)((int)puVar8 + 1);
            piVar6 = piVar6 + 1;
            iVar4 = *piVar2 + 1;
            piVar3[2] = iVar4;
            piVar3 = piVar3 + 1;
          }
        }
      }
      if ((puVar12 != puVar13) && ((int)puVar8 < (int)puVar11)) {
        puVar9 = puVar13 + (int)puVar8;
        puVar10 = puVar12 + (int)puVar8;
        do {
          uVar7 = *puVar9;
          puVar9 = puVar9 + 1;
          *puVar10 = uVar7;
          puVar10 = puVar10 + 1;
        } while (puVar13 + (int)puVar11 != puVar9);
      }
      iVar4 = 0;
      puVar10 = puVar11;
      puVar8 = puVar11;
    }
LAB_00050758:
    puVar12[(int)puVar10] = iVar4;
    param_1[4] = puVar8;
    return;
  }
  iVar4 = param_3 + -1;
  if (param_3 != 0) {
    puVar9 = (undefined4 *)*param_1;
    uVar7 = *param_2;
    if (iVar4 != 0) {
      puVar11 = puVar9;
      puVar13 = param_2 + 1;
      do {
        *puVar11 = uVar7;
        iVar4 = iVar4 + -1;
        uVar7 = *puVar13;
        puVar11 = puVar11 + 1;
        puVar13 = puVar13 + 1;
      } while (iVar4 != 0);
      puVar9 = puVar9 + param_3 + -1;
    }
    *puVar9 = uVar7;
  }
  param_1[1] = param_3;
  if (param_6 < 0) {
    puVar11 = puVar12 + (int)puVar10;
    puVar5 = puVar8 + (int)puVar10;
    puVar9 = puVar10;
    do {
      puVar9 = (undefined4 *)((int)puVar9 + -1);
      puVar5 = puVar5 + -1;
      if ((int)puVar9 < 0) goto LAB_000505b4;
      puVar1 = puVar11 + -1;
      puVar11 = puVar11 + -1;
    } while (*puVar1 == *puVar5);
    if (*puVar1 <= *puVar5) {
      param_6 = 1;
      goto LAB_00050508;
    }
LAB_000505b4:
    param_6 = 0;
  }
  else if (param_6 != 0) {
LAB_00050508:
    puVar8 = puVar12;
  }
  if ((int)puVar10 < 1) {
    if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;
  }
  else if (puVar8[(int)puVar10 + -1] == 0) {
    puVar12 = puVar8 + (int)puVar10;
    do {
      puVar10 = (undefined4 *)((int)puVar10 + -1);
      if (puVar10 == (undefined4 *)0x0) goto LAB_00050548;
      piVar6 = puVar12 + -2;
      puVar12 = puVar12 + -1;
    } while (*piVar6 == 0);
  }
  iVar4 = (int)puVar10 + -1;
  puVar9 = (undefined4 *)param_1[2];
  uVar7 = *puVar8;
  puVar12 = puVar9;
  if (iVar4 != 0) {
    do {
      puVar8 = puVar8 + 1;
      *puVar12 = uVar7;
      iVar4 = iVar4 + -1;
      uVar7 = *puVar8;
      puVar12 = puVar12 + 1;
    } while (iVar4 != 0);
    puVar9 = puVar9 + (int)puVar10 + -1;
  }
  *puVar9 = uVar7;
LAB_00050548:
  if (param_6 != 0) {
    puVar10 = (undefined4 *)-(int)puVar10;
  }
  *(undefined4 **)param_1[3] = puVar10;
  return;
}

