
size_t __gmpz_out_str(FILE *stream,int base,mpz_srcptr x)

{
  int iVar1;
  size_t sVar2;
  byte *pbVar3;
  byte *pbVar4;
  byte *pbVar5;
  mp_limb_t *pmVar6;
  mp_limb_t *pmVar7;
  mp_limb_t *pmVar8;
  uint uVar9;
  byte *pbVar10;
  mp_limb_t mVar11;
  int iVar12;
  undefined *puVar13;
  uint uVar14;
  uint uVar15;
  undefined *puVar16;
  undefined1 *puVar17;
  int iVar18;
  undefined1 auStack_50 [16];
  tmp_reentrant_t *__tmp_marker;
  int local_2c;
  
  puVar16 = PTR___stack_chk_guard_00097540;
  puVar17 = auStack_50;
  uVar9 = x->_mp_size;
  local_2c = *(int *)PTR___stack_chk_guard_00097540;
  if (stream == (FILE *)0x0) {
    stream = *(FILE **)PTR_stdout_00097290;
  }
  if (base < 0) {
    if (base == -1) {
      uVar15 = 8;
      uVar14 = 10;
      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;
      goto LAB_0002ee94;
    }
    puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;
    if (-0x25 < base) {
      uVar14 = -base;
      uVar15 = ~base & uVar14;
      goto LAB_0002ee94;
    }
  }
  else {
    if (base < 2) {
      uVar15 = 8;
      uVar14 = 10;
      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;
LAB_0002ee94:
      if ((int)uVar9 < 0) goto LAB_0002ee58;
LAB_0002ee9c:
      iVar12 = 0;
    }
    else {
      uVar14 = base;
      if (base < 0x25) {
        uVar15 = base - 1U & base;
        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;
        goto LAB_0002ee94;
      }
      if (0x3e < base) goto LAB_0002efb4;
      uVar15 = base - 1U & base;
      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;
      if (-1 < (int)uVar9) goto LAB_0002ee9c;
LAB_0002ee58:
      uVar9 = -uVar9;
      iVar12 = 1;
      (*(code *)PTR_fputc_00097200)(0x2d,stream);
    }
    iVar18 = (int)((ulonglong)(uVar9 << 5) *
                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);
    __tmp_marker = (tmp_reentrant_t *)0x0;
    if (iVar18 + 3U < 0x7f01) {
      iVar18 = -(iVar18 + 10U & 0xfffffff8);
      puVar17 = auStack_50 + iVar18;
      pbVar3 = &stack0xffffffc0 + iVar18;
    }
    else {
      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);
    }
    if (uVar15 == 0) {
      pmVar8 = x->_mp_d;
    }
    else {
      uVar15 = (uVar9 | 1) * 4;
      if (uVar15 < 0x7f01) {
        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));
      }
      else {
        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);
      }
      if (uVar9 != 0) {
        pmVar6 = x->_mp_d;
        iVar18 = uVar9 - 1;
        mVar11 = *pmVar6;
        pmVar7 = pmVar8;
        if (iVar18 == 0) {
          *pmVar8 = mVar11;
        }
        else {
          do {
            pmVar6 = pmVar6 + 1;
            *pmVar7 = mVar11;
            iVar18 = iVar18 + -1;
            mVar11 = *pmVar6;
            pmVar7 = pmVar7 + 1;
          } while (iVar18 != 0);
          pmVar8[uVar9 - 1] = mVar11;
        }
      }
    }
    iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);
    pbVar10 = pbVar3;
    if (iVar18 != 0) {
      pbVar4 = pbVar3;
      do {
        pbVar5 = pbVar4 + 1;
        *pbVar4 = puVar13[*pbVar4];
        pbVar4 = pbVar5;
        pbVar10 = pbVar3 + iVar18;
      } while (pbVar3 + iVar18 != pbVar5);
    }
    *pbVar10 = 0;
    iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);
    if (__tmp_marker != (tmp_reentrant_t *)0x0) {
      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();
    }
    iVar1 = (*(code *)PTR_ferror_00097530)(stream);
    if (iVar1 == 0) {
      sVar2 = iVar12 + iVar18;
      goto LAB_0002ef70;
    }
  }
LAB_0002efb4:
  sVar2 = 0;
LAB_0002ef70:
  if (local_2c != *(int *)puVar16) {
    iVar12 = local_2c;
    puVar16 = PTR___stack_chk_fail_000974d0;
    (*(code *)PTR___stack_chk_fail_000974d0)();
                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    sVar2 = (**(code **)(puVar16 + 0x68444))
                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));
    return sVar2;
  }
  return sVar2;
}



int __gmpz_out_str(int param_1,uint param_2,int param_3)

{
  int iVar1;
  byte *pbVar2;
  byte *pbVar3;
  byte *pbVar4;
  undefined4 *puVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  uint uVar9;
  byte *pbVar10;
  undefined4 uVar11;
  int iVar12;
  undefined *puVar13;
  uint uVar14;
  undefined *puVar15;
  undefined1 *puVar16;
  int iVar17;
  undefined1 auStack_50 [16];
  int local_30;
  int local_2c;
  
  puVar15 = PTR___stack_chk_guard_00097540;
  puVar16 = auStack_50;
  uVar9 = *(uint *)(param_3 + 4);
  local_2c = *(int *)PTR___stack_chk_guard_00097540;
  if (param_1 == 0) {
    param_1 = *(int *)PTR_stdout_00097290;
  }
  if ((int)param_2 < 0) {
    if (param_2 == 0xffffffff) {
      param_2 = 8;
      uVar14 = 10;
      puVar13 = PTR_DAT_0009706c + -0x2cd8;
      goto LAB_0002ee94;
    }
    puVar13 = PTR_DAT_0009706c + -0x2cd8;
    if (-0x25 < (int)param_2) {
      uVar14 = -param_2;
      param_2 = ~param_2 & uVar14;
      goto LAB_0002ee94;
    }
  }
  else {
    if ((int)param_2 < 2) {
      param_2 = 8;
      uVar14 = 10;
      puVar13 = PTR_DAT_0009706c + -0x2cb0;
LAB_0002ee94:
      if ((int)uVar9 < 0) goto LAB_0002ee58;
LAB_0002ee9c:
      iVar12 = 0;
    }
    else {
      uVar14 = param_2;
      if ((int)param_2 < 0x25) {
        param_2 = param_2 - 1 & param_2;
        puVar13 = PTR_DAT_0009706c + -0x2cb0;
        goto LAB_0002ee94;
      }
      if (0x3e < (int)param_2) goto LAB_0002efb4;
      param_2 = param_2 - 1 & param_2;
      puVar13 = PTR_DAT_0009706c + -0x2d18;
      if (-1 < (int)uVar9) goto LAB_0002ee9c;
LAB_0002ee58:
      uVar9 = -uVar9;
      iVar12 = 1;
      (*(code *)PTR_fputc_00097200)(0x2d,param_1);
    }
    iVar17 = (int)((ulonglong)(uVar9 << 5) *
                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);
    local_30 = 0;
    if (iVar17 + 3U < 0x7f01) {
      iVar17 = -(iVar17 + 10U & 0xfffffff8);
      puVar16 = auStack_50 + iVar17;
      pbVar2 = &stack0xffffffc0 + iVar17;
    }
    else {
      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);
    }
    if (param_2 == 0) {
      puVar8 = *(undefined4 **)(param_3 + 8);
    }
    else {
      uVar6 = (uVar9 | 1) * 4;
      if (uVar6 < 0x7f01) {
        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));
      }
      else {
        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);
      }
      if (uVar9 != 0) {
        puVar5 = *(undefined4 **)(param_3 + 8);
        iVar17 = uVar9 - 1;
        uVar11 = *puVar5;
        puVar7 = puVar8;
        if (iVar17 == 0) {
          *puVar8 = uVar11;
        }
        else {
          do {
            puVar5 = puVar5 + 1;
            *puVar7 = uVar11;
            iVar17 = iVar17 + -1;
            uVar11 = *puVar5;
            puVar7 = puVar7 + 1;
          } while (iVar17 != 0);
          puVar8[uVar9 - 1] = uVar11;
        }
      }
    }
    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);
    pbVar10 = pbVar2;
    if (iVar17 != 0) {
      pbVar3 = pbVar2;
      do {
        pbVar4 = pbVar3 + 1;
        *pbVar3 = puVar13[*pbVar3];
        pbVar3 = pbVar4;
        pbVar10 = pbVar2 + iVar17;
      } while (pbVar2 + iVar17 != pbVar4);
    }
    *pbVar10 = 0;
    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);
    if (local_30 != 0) {
      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();
    }
    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);
    if (iVar1 == 0) {
      iVar12 = iVar12 + iVar17;
      goto LAB_0002ef70;
    }
  }
LAB_0002efb4:
  iVar12 = 0;
LAB_0002ef70:
  if (local_2c != *(int *)puVar15) {
    iVar12 = local_2c;
    puVar15 = PTR___stack_chk_fail_000974d0;
    (*(code *)PTR___stack_chk_fail_000974d0)();
                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar12 = (**(code **)(puVar15 + 0x68444))
                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));
    return iVar12;
  }
  return iVar12;
}


lui gp,0x7
addiu gp,gp,0x280
addu gp,gp,t9
addiu sp,sp,-0x50
lw a3,0x4(a2)
sw s2,0x30(sp)
lw s2,-0x7b00(gp)
sw s8,0x48(sp)
or s8,sp,zero
sw s5,0x3c(sp)
or s5,a2,zero
sw s4,0x38(sp)
or s4,a1,zero
sw ra,0x4c(sp)
sw s7,0x44(sp)
sw s6,0x40(sp)
sw s3,0x34(sp)
sw s1,0x2c(sp)
sw s0,0x28(sp)
sw gp,0x10(sp)
lw v0,0x0(s2)
sw v0,0x24(s8)
beq a0,zero,0x0002f044
_lw v0,-0x7db0(gp)
or s0,a0,zero
bltz s4,0x0002f028
_slti v0,s4,0x2
bne v0,zero,0x0002ee84
_slti v0,s4,0x25
bne v0,zero,0x0002f04c
_lw s3,-0x7fd4(gp)
slti v0,s4,0x3f
beq v0,zero,0x0002efb4
_lw s3,-0x7fd4(gp)
addiu s7,s4,-0x1
and s7,s7,s4
bgez a3,0x0002ee9c
_addiu s3,s3,-0x2d18
subu a3,zero,a3
lw t9,-0x7e40(gp)
li a0,0x2d
sw a3,0x1c(s8)
or a1,s0,zero
sw a3,0x18(s8)
jalr t9
_li s1,0x1
lw gp,0x10(s8)
b 0x0002eea0
_lw a3,0x1c(s8)
lw s3,-0x7fd4(gp)
li s7,0x8
li s4,0xa
addiu s3,s3,-0x2cb0
bltz a3,0x0002ee58
_nop
or s1,zero,zero
sll v1,s4,0x2
lw a0,-0x7d08(gp)
sll v0,a3,0x5
addu v1,v1,s4
sll v1,v1,0x2
addu v1,a0,v1
lw v1,0x4(v1)
multu v0,v1
mfhi v0
addiu a1,v0,0x3
sltiu a0,a1,0x7f01
beq a0,zero,0x0002f090
_sw zero,0x20(s8)
addiu v0,v0,0xa
srl v0,v0,0x3
sll v0,v0,0x3
subu sp,sp,v0
addiu s6,sp,0x10
bne s7,zero,0x0002efbc
_ori a1,a3,0x1
lw a2,0x8(s5)
lw t9,-0x7d14(gp)
or a1,s4,zero
jalr t9
_or a0,s6,zero
beq v0,zero,0x0002f088
_lw gp,0x10(s8)
addu a3,v0,s6
or v1,s6,zero
lbu a0,0x0(v1)
addiu v1,v1,0x1
addu a0,s3,a0
lbu a0,0x0(a0)
bne a3,v1,0x0002ef14
_sb a0,-0x1(v1)
lw t9,-0x7bfc(gp)
li a1,0x1
sb zero,0x0(a3)
or a0,s6,zero
or a3,s0,zero
jalr t9
_or a2,v0,zero
lw a0,0x20(s8)
or s3,v0,zero
bne a0,zero,0x0002f0b0
_lw gp,0x10(s8)
lw t9,-0x7b10(gp)
jalr t9
_or a0,s0,zero
bne v0,zero,0x0002efb4
_lw gp,0x10(s8)
addu v0,s1,s3
lw a0,0x24(s8)
lw v1,0x0(s2)
bne a0,v1,0x0002f0e4
_lw t9,-0x7b70(gp)
or sp,s8,zero
lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
b 0x0002ef70
_or v0,zero,zero
sll a1,a1,0x2
sltiu v0,a1,0x7f01
beq v0,zero,0x0002f0c4
_addiu v0,a1,0x7
srl v0,v0,0x3
sll v0,v0,0x3
subu sp,sp,v0
addiu a2,sp,0x10
beq a3,zero,0x0002eef8
_lw t9,-0x7d14(gp)
lw v1,0x8(s5)
addiu a0,a3,-0x1
beq a0,zero,0x0002f05c
_lw t0,0x0(v1)
addiu v1,v1,0x4
or a1,a2,zero
addiu a1,a1,0x4
sw t0,-0x4(a1)
addiu v1,v1,0x4
addiu a0,a0,-0x1
bne a0,zero,0x0002effc
_lw t0,-0x4(v1)
sll v0,a3,0x2
addiu v0,v0,-0x4
addu v0,a2,v0
b 0x0002eef4
_sw t0,0x0(v0)
li v0,-0x1
bne s4,v0,0x0002f068
_lw s3,-0x7fd4(gp)
li s7,0x8
li s4,0xa
b 0x0002ee94
_addiu s3,s3,-0x2cd8
b 0x0002ee24
_lw s0,0x0(v0)
addiu s7,s4,-0x1
and s7,s7,s4
b 0x0002ee94
_addiu s3,s3,-0x2cb0
or v0,a2,zero
b 0x0002eef4
_sw t0,0x0(v0)
slti v0,s4,-0x24
bne v0,zero,0x0002efb4
_addiu s3,s3,-0x2cd8
subu v0,zero,s4
nor s4,zero,s4
and s7,s4,v0
b 0x0002ee94
_or s4,v0,zero
b 0x0002ef2c
_or a3,s6,zero
lw t9,-0x7d50(gp)
addiu a0,s8,0x20
jalr t9
_sw a3,0x1c(s8)
lw gp,0x10(s8)
or s6,v0,zero
b 0x0002eee8
_lw a3,0x1c(s8)
lw t9,-0x7a2c(gp)
jalr t9
_nop
b 0x0002ef58
_lw gp,0x10(s8)
lw t9,-0x7d50(gp)
addiu a0,s8,0x20
jalr t9
_sw a3,0x1c(s8)
lw gp,0x10(s8)
or a2,v0,zero
b 0x0002efdc
_lw a3,0x1c(s8)
jalr t9
_nop
nop
(translation_unit "int __gmpz_out_str(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}\n\n" (function_definition "int __gmpz_out_str(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}" primitive_type (function_declarator "__gmpz_out_str(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined1 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "undefined1 auStack_50 [16];" type_identifier (array_declarator "auStack_50 [16]" identifier [ number_literal ]) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar16 = auStack_50;" (assignment_expression "puVar16 = auStack_50" identifier = identifier) ;) (expression_statement "uVar9 = *(uint *)(param_3 + 4);" (assignment_expression "uVar9 = *(uint *)(param_3 + 4)" identifier = (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" * (cast_expression "(int *)PTR___stack_chk_guard_00097540" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1 = *(int *)PTR_stdout_00097290;\n  }" { (expression_statement "param_1 = *(int *)PTR_stdout_00097290;" (assignment_expression "param_1 = *(int *)PTR_stdout_00097290" identifier = (pointer_expression "*(int *)PTR_stdout_00097290" * (cast_expression "(int *)PTR_stdout_00097290" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (if_statement "if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" if (parenthesized_expression "((int)param_2 < 0)" ( (binary_expression "(int)param_2 < 0" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }" { (if_statement "if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" if (parenthesized_expression "(param_2 == 0xffffffff)" ( (binary_expression "param_2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" { (expression_statement "param_2 = 8;" (assignment_expression "param_2 = 8" identifier = number_literal) ;) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" identifier = number_literal) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cd8" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cd8" identifier + number_literal)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cd8" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cd8" identifier + number_literal)) ;) (if_statement "if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }" if (parenthesized_expression "(-0x25 < (int)param_2)" ( (binary_expression "-0x25 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }" { (expression_statement "uVar14 = -param_2;" (assignment_expression "uVar14 = -param_2" identifier = (unary_expression "-param_2" - identifier)) ;) (expression_statement "param_2 = ~param_2 & uVar14;" (assignment_expression "param_2 = ~param_2 & uVar14" identifier = (binary_expression "~param_2 & uVar14" (unary_expression "~param_2" ~ identifier) & identifier)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) }) (else_clause "else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" else (compound_statement "{\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" { (if_statement "if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" if (parenthesized_expression "((int)param_2 < 2)" ( (binary_expression "(int)param_2 < 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }" { (expression_statement "param_2 = 8;" (assignment_expression "param_2 = 8" identifier = number_literal) ;) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" identifier = number_literal) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cb0" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cb0" identifier + number_literal)) ;) (labeled_statement "LAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;" statement_identifier : (if_statement "if ((int)uVar9 < 0) goto LAB_0002ee58;" if (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0002ee58;" goto statement_identifier ;))) (labeled_statement "LAB_0002ee9c:\n      iVar12 = 0;" statement_identifier : (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" else (compound_statement "{\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" { (expression_statement "uVar14 = param_2;" (assignment_expression "uVar14 = param_2" identifier = identifier) ;) (if_statement "if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" if (parenthesized_expression "((int)param_2 < 0x25)" ( (binary_expression "(int)param_2 < 0x25" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" { (expression_statement "param_2 = param_2 - 1 & param_2;" (assignment_expression "param_2 = param_2 - 1 & param_2" identifier = (binary_expression "param_2 - 1 & param_2" (binary_expression "param_2 - 1" identifier - number_literal) & identifier)) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cb0" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cb0" identifier + number_literal)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) (if_statement "if (0x3e < (int)param_2) goto LAB_0002efb4;" if (parenthesized_expression "(0x3e < (int)param_2)" ( (binary_expression "0x3e < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0002efb4;" goto statement_identifier ;)) (expression_statement "param_2 = param_2 - 1 & param_2;" (assignment_expression "param_2 = param_2 - 1 & param_2" identifier = (binary_expression "param_2 - 1 & param_2" (binary_expression "param_2 - 1" identifier - number_literal) & identifier)) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2d18;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2d18" identifier = (binary_expression "PTR_DAT_0009706c + -0x2d18" identifier + number_literal)) ;) (if_statement "if (-1 < (int)uVar9) goto LAB_0002ee9c;" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0002ee9c;" goto statement_identifier ;)) (labeled_statement "LAB_0002ee58:\n      uVar9 = -uVar9;" statement_identifier : (expression_statement "uVar9 = -uVar9;" (assignment_expression "uVar9 = -uVar9" identifier = (unary_expression "-uVar9" - identifier)) ;)) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_fputc_00097200)(0x2d,param_1);" (call_expression "(*(code *)PTR_fputc_00097200)(0x2d,param_1)" (parenthesized_expression "(*(code *)PTR_fputc_00097200)" ( (pointer_expression "*(code *)PTR_fputc_00097200" * (cast_expression "(code *)PTR_fputc_00097200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x2d,param_1)" ( number_literal , identifier ))) ;) }))) (expression_statement "iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);" (assignment_expression "iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" ( (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)" (call_expression "(ulonglong)(uVar9 << 5)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(uVar9 << 5)" ( (binary_expression "uVar9 << 5" identifier << number_literal) ))) * (parenthesized_expression "(ulonglong)" ( identifier ))) * (cast_expression "(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" ( (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4" (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14" identifier + (binary_expression "uVar14 * 0x14" identifier * number_literal)) + number_literal) )))) >> number_literal) )))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" if (parenthesized_expression "(iVar17 + 3U < 0x7f01)" ( (binary_expression "iVar17 + 3U < 0x7f01" (binary_expression "iVar17 + 3U" identifier + number_literal) < number_literal) )) (compound_statement "{\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }" { (expression_statement "iVar17 = -(iVar17 + 10U & 0xfffffff8);" (assignment_expression "iVar17 = -(iVar17 + 10U & 0xfffffff8)" identifier = (unary_expression "-(iVar17 + 10U & 0xfffffff8)" - (parenthesized_expression "(iVar17 + 10U & 0xfffffff8)" ( (binary_expression "iVar17 + 10U & 0xfffffff8" (binary_expression "iVar17 + 10U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar16 = auStack_50 + iVar17;" (assignment_expression "puVar16 = auStack_50 + iVar17" identifier = (binary_expression "auStack_50 + iVar17" identifier + identifier)) ;) (expression_statement "pbVar2 = &stack0xffffffc0 + iVar17;" (assignment_expression "pbVar2 = &stack0xffffffc0 + iVar17" identifier = (binary_expression "&stack0xffffffc0 + iVar17" (pointer_expression "&stack0xffffffc0" & identifier) + identifier)) ;) }) (else_clause "else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" else (compound_statement "{\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" { (expression_statement "pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);" (assignment_expression "pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" identifier = (cast_expression "(byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) }))) (if_statement "if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }" { (expression_statement "puVar8 = *(undefined4 **)(param_3 + 8);" (assignment_expression "puVar8 = *(undefined4 **)(param_3 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_3 + 8)" * (cast_expression "(undefined4 **)(param_3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" else (compound_statement "{\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" { (expression_statement "uVar6 = (uVar9 | 1) * 4;" (assignment_expression "uVar6 = (uVar9 | 1) * 4" identifier = (binary_expression "(uVar9 | 1) * 4" (parenthesized_expression "(uVar9 | 1)" ( (binary_expression "uVar9 | 1" identifier | number_literal) )) * number_literal)) ;) (if_statement "if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" if (parenthesized_expression "(uVar6 < 0x7f01)" ( (binary_expression "uVar6 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }" { (expression_statement "puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));" (assignment_expression "puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" identifier = (cast_expression "(undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" ( (binary_expression "puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8))" identifier + (parenthesized_expression "(0x10 - (uVar6 + 7 & 0xfffffff8))" ( (binary_expression "0x10 - (uVar6 + 7 & 0xfffffff8)" number_literal - (parenthesized_expression "(uVar6 + 7 & 0xfffffff8)" ( (binary_expression "uVar6 + 7 & 0xfffffff8" (binary_expression "uVar6 + 7" identifier + number_literal) & number_literal) ))) ))) )))) ;) }) (else_clause "else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" else (compound_statement "{\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" { (expression_statement "puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);" (assignment_expression "puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) }))) (if_statement "if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }" { (expression_statement "puVar5 = *(undefined4 **)(param_3 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(param_3 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_3 + 8)" * (cast_expression "(undefined4 **)(param_3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = uVar9 - 1;" (assignment_expression "iVar17 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (if_statement "if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n          *puVar8 = uVar11;\n        }" { (expression_statement "*puVar8 = uVar11;" (assignment_expression "*puVar8 = uVar11" (pointer_expression "*puVar8" * identifier) = identifier) ;) }) (else_clause "else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" else (compound_statement "{\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" { (do_statement "do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);" do (compound_statement "{\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar11;" (assignment_expression "*puVar7 = uVar11" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "iVar17 = iVar17 + -1;" (assignment_expression "iVar17 = iVar17 + -1" identifier = (binary_expression "iVar17 + -1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar17 != 0)" ( (binary_expression "iVar17 != 0" identifier != number_literal) )) ;) (expression_statement "puVar8[uVar9 - 1] = uVar11;" (assignment_expression "puVar8[uVar9 - 1] = uVar11" (subscript_expression "puVar8[uVar9 - 1]" identifier [ (binary_expression "uVar9 - 1" identifier - number_literal) ]) = identifier) ;) }))) })) }))) (expression_statement "iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);" (assignment_expression "iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8)" identifier = (call_expression "(*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8)" (parenthesized_expression "(*(code *)PTR___gmpn_get_str_0009732c)" ( (pointer_expression "*(code *)PTR___gmpn_get_str_0009732c" * (cast_expression "(code *)PTR___gmpn_get_str_0009732c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar2,uVar14,puVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "pbVar10 = pbVar2;" (assignment_expression "pbVar10 = pbVar2" identifier = identifier) ;) (if_statement "if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }" if (parenthesized_expression "(iVar17 != 0)" ( (binary_expression "iVar17 != 0" identifier != number_literal) )) (compound_statement "{\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }" { (expression_statement "pbVar3 = pbVar2;" (assignment_expression "pbVar3 = pbVar2" identifier = identifier) ;) (do_statement "do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);" do (compound_statement "{\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      }" { (expression_statement "pbVar4 = pbVar3 + 1;" (assignment_expression "pbVar4 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar3 = puVar13[*pbVar3];" (assignment_expression "*pbVar3 = puVar13[*pbVar3]" (pointer_expression "*pbVar3" * identifier) = (subscript_expression "puVar13[*pbVar3]" identifier [ (pointer_expression "*pbVar3" * identifier) ])) ;) (expression_statement "pbVar3 = pbVar4;" (assignment_expression "pbVar3 = pbVar4" identifier = identifier) ;) (expression_statement "pbVar10 = pbVar2 + iVar17;" (assignment_expression "pbVar10 = pbVar2 + iVar17" identifier = (binary_expression "pbVar2 + iVar17" identifier + identifier)) ;) }) while (parenthesized_expression "(pbVar2 + iVar17 != pbVar4)" ( (binary_expression "pbVar2 + iVar17 != pbVar4" (binary_expression "pbVar2 + iVar17" identifier + identifier) != identifier) )) ;) })) (expression_statement "*pbVar10 = 0;" (assignment_expression "*pbVar10 = 0" (pointer_expression "*pbVar10" * identifier) = number_literal) ;) (expression_statement "iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);" (assignment_expression "iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1)" identifier = (call_expression "(*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1)" (parenthesized_expression "(*(code *)PTR_fwrite_00097444)" ( (pointer_expression "*(code *)PTR_fwrite_00097444" * (cast_expression "(code *)PTR_fwrite_00097444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar2,1,iVar17,param_1)" ( identifier , number_literal , identifier , identifier )))) ;) (if_statement "if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_ferror_00097530)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_ferror_00097530)(param_1)" identifier = (call_expression "(*(code *)PTR_ferror_00097530)(param_1)" (parenthesized_expression "(*(code *)PTR_ferror_00097530)" ( (pointer_expression "*(code *)PTR_ferror_00097530" * (cast_expression "(code *)PTR_ferror_00097530" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }" { (expression_statement "iVar12 = iVar12 + iVar17;" (assignment_expression "iVar12 = iVar12 + iVar17" identifier = (binary_expression "iVar12 + iVar17" identifier + identifier)) ;) (goto_statement "goto LAB_0002ef70;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0002efb4:\n  iVar12 = 0;" statement_identifier : (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar15)" ( (binary_expression "local_2c != *(int *)puVar15" identifier != (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" { (expression_statement "iVar12 = local_2c;" (assignment_expression "iVar12 = local_2c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar15 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) comment comment (expression_statement "iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));" (assignment_expression "iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" identifier = (call_expression "(**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" (parenthesized_expression "(**(code **)(puVar15 + 0x68444))" ( (pointer_expression "**(code **)(puVar15 + 0x68444)" * (pointer_expression "*(code **)(puVar15 + 0x68444)" * (cast_expression "(code **)(puVar15 + 0x68444)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x68444)" ( (binary_expression "puVar15 + 0x68444" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" ( (pointer_expression "*(undefined4 *)(iVar12 + 8)" * (cast_expression "(undefined4 *)(iVar12 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 8)" ( (binary_expression "iVar12 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar12 + 4)" * (cast_expression "(undefined4 *)(iVar12 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 4)" ( (binary_expression "iVar12 + 4" identifier + number_literal) )))) )))) ;) (return_statement "return iVar12;" return identifier ;) }))) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit "size_t __gmpz_out_str(FILE *stream,int base,mpz_srcptr x)\n\n{\n  int iVar1;\n  size_t sVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  mp_limb_t *pmVar6;\n  mp_limb_t *pmVar7;\n  mp_limb_t *pmVar8;\n  uint uVar9;\n  byte *pbVar10;\n  mp_limb_t mVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  uint uVar15;\n  undefined *puVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  undefined1 auStack_50 [16];\n  tmp_reentrant_t *__tmp_marker;\n  int local_2c;\n  \n  puVar16 = PTR___stack_chk_guard_00097540;\n  puVar17 = auStack_50;\n  uVar9 = x->_mp_size;\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdout_00097290;\n  }\n  if (base < 0) {\n    if (base == -1) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n    if (-0x25 < base) {\n      uVar14 = -base;\n      uVar15 = ~base & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if (base < 2) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }\n    iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if (iVar18 + 3U < 0x7f01) {\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }\n    else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    if (uVar15 == 0) {\n      pmVar8 = x->_mp_d;\n    }\n    else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }\n    iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);\n    pbVar10 = pbVar3;\n    if (iVar18 != 0) {\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }\n    *pbVar10 = 0;\n    iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(stream);\n    if (iVar1 == 0) {\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  sVar2 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar16) {\n    iVar12 = local_2c;\n    puVar16 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return sVar2;\n  }\n  return sVar2;\n}\n\n" (function_definition "size_t __gmpz_out_str(FILE *stream,int base,mpz_srcptr x)\n\n{\n  int iVar1;\n  size_t sVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  mp_limb_t *pmVar6;\n  mp_limb_t *pmVar7;\n  mp_limb_t *pmVar8;\n  uint uVar9;\n  byte *pbVar10;\n  mp_limb_t mVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  uint uVar15;\n  undefined *puVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  undefined1 auStack_50 [16];\n  tmp_reentrant_t *__tmp_marker;\n  int local_2c;\n  \n  puVar16 = PTR___stack_chk_guard_00097540;\n  puVar17 = auStack_50;\n  uVar9 = x->_mp_size;\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdout_00097290;\n  }\n  if (base < 0) {\n    if (base == -1) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n    if (-0x25 < base) {\n      uVar14 = -base;\n      uVar15 = ~base & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if (base < 2) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }\n    iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if (iVar18 + 3U < 0x7f01) {\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }\n    else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    if (uVar15 == 0) {\n      pmVar8 = x->_mp_d;\n    }\n    else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }\n    iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);\n    pbVar10 = pbVar3;\n    if (iVar18 != 0) {\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }\n    *pbVar10 = 0;\n    iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(stream);\n    if (iVar1 == 0) {\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  sVar2 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar16) {\n    iVar12 = local_2c;\n    puVar16 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return sVar2;\n  }\n  return sVar2;\n}" primitive_type (function_declarator "__gmpz_out_str(FILE *stream,int base,mpz_srcptr x)" identifier (parameter_list "(FILE *stream,int base,mpz_srcptr x)" ( (parameter_declaration "FILE *stream" type_identifier (pointer_declarator "*stream" * identifier)) , (parameter_declaration "int base" primitive_type identifier) , (parameter_declaration "mpz_srcptr x" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  mp_limb_t *pmVar6;\n  mp_limb_t *pmVar7;\n  mp_limb_t *pmVar8;\n  uint uVar9;\n  byte *pbVar10;\n  mp_limb_t mVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  uint uVar15;\n  undefined *puVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  undefined1 auStack_50 [16];\n  tmp_reentrant_t *__tmp_marker;\n  int local_2c;\n  \n  puVar16 = PTR___stack_chk_guard_00097540;\n  puVar17 = auStack_50;\n  uVar9 = x->_mp_size;\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdout_00097290;\n  }\n  if (base < 0) {\n    if (base == -1) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n    if (-0x25 < base) {\n      uVar14 = -base;\n      uVar15 = ~base & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if (base < 2) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }\n    iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if (iVar18 + 3U < 0x7f01) {\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }\n    else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    if (uVar15 == 0) {\n      pmVar8 = x->_mp_d;\n    }\n    else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }\n    iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);\n    pbVar10 = pbVar3;\n    if (iVar18 != 0) {\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }\n    *pbVar10 = 0;\n    iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(stream);\n    if (iVar1 == 0) {\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  sVar2 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar16) {\n    iVar12 = local_2c;\n    puVar16 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return sVar2;\n  }\n  return sVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "mp_limb_t *pmVar6;" type_identifier (pointer_declarator "*pmVar6" * identifier) ;) (declaration "mp_limb_t *pmVar7;" type_identifier (pointer_declarator "*pmVar7" * identifier) ;) (declaration "mp_limb_t *pmVar8;" type_identifier (pointer_declarator "*pmVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "mp_limb_t mVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "undefined1 *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "undefined1 auStack_50 [16];" type_identifier (array_declarator "auStack_50 [16]" identifier [ number_literal ]) ;) (declaration "tmp_reentrant_t *__tmp_marker;" type_identifier (pointer_declarator "*__tmp_marker" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar16 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar16 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar17 = auStack_50;" (assignment_expression "puVar17 = auStack_50" identifier = identifier) ;) (expression_statement "uVar9 = x->_mp_size;" (assignment_expression "uVar9 = x->_mp_size" identifier = (field_expression "x->_mp_size" identifier -> field_identifier)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" * (cast_expression "(int *)PTR___stack_chk_guard_00097540" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdout_00097290;\n  }" if (parenthesized_expression "(stream == (FILE *)0x0)" ( (binary_expression "stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    stream = *(FILE **)PTR_stdout_00097290;\n  }" { (expression_statement "stream = *(FILE **)PTR_stdout_00097290;" (assignment_expression "stream = *(FILE **)PTR_stdout_00097290" identifier = (pointer_expression "*(FILE **)PTR_stdout_00097290" * (cast_expression "(FILE **)PTR_stdout_00097290" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (if_statement "if (base < 0) {\n    if (base == -1) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n    if (-0x25 < base) {\n      uVar14 = -base;\n      uVar15 = ~base & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if (base < 2) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }\n    iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if (iVar18 + 3U < 0x7f01) {\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }\n    else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    if (uVar15 == 0) {\n      pmVar8 = x->_mp_d;\n    }\n    else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }\n    iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);\n    pbVar10 = pbVar3;\n    if (iVar18 != 0) {\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }\n    *pbVar10 = 0;\n    iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(stream);\n    if (iVar1 == 0) {\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }\n  }" if (parenthesized_expression "(base < 0)" ( (binary_expression "base < 0" identifier < number_literal) )) (compound_statement "{\n    if (base == -1) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n    if (-0x25 < base) {\n      uVar14 = -base;\n      uVar15 = ~base & uVar14;\n      goto LAB_0002ee94;\n    }\n  }" { (if_statement "if (base == -1) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" if (parenthesized_expression "(base == -1)" ( (binary_expression "base == -1" identifier == number_literal) )) (compound_statement "{\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" { (expression_statement "uVar15 = 8;" (assignment_expression "uVar15 = 8" identifier = number_literal) ;) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" identifier = number_literal) ;) (expression_statement "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8" identifier = (binary_expression "PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8" identifier + number_literal)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) (expression_statement "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8" identifier = (binary_expression "PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cd8" identifier + number_literal)) ;) (if_statement "if (-0x25 < base) {\n      uVar14 = -base;\n      uVar15 = ~base & uVar14;\n      goto LAB_0002ee94;\n    }" if (parenthesized_expression "(-0x25 < base)" ( (binary_expression "-0x25 < base" number_literal < identifier) )) (compound_statement "{\n      uVar14 = -base;\n      uVar15 = ~base & uVar14;\n      goto LAB_0002ee94;\n    }" { (expression_statement "uVar14 = -base;" (assignment_expression "uVar14 = -base" identifier = (unary_expression "-base" - identifier)) ;) (expression_statement "uVar15 = ~base & uVar14;" (assignment_expression "uVar15 = ~base & uVar14" identifier = (binary_expression "~base & uVar14" (unary_expression "~base" ~ identifier) & identifier)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (base < 2) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }\n    iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if (iVar18 + 3U < 0x7f01) {\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }\n    else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    if (uVar15 == 0) {\n      pmVar8 = x->_mp_d;\n    }\n    else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }\n    iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);\n    pbVar10 = pbVar3;\n    if (iVar18 != 0) {\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }\n    *pbVar10 = 0;\n    iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(stream);\n    if (iVar1 == 0) {\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }\n  }" else (compound_statement "{\n    if (base < 2) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }\n    iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if (iVar18 + 3U < 0x7f01) {\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }\n    else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    if (uVar15 == 0) {\n      pmVar8 = x->_mp_d;\n    }\n    else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }\n    iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);\n    pbVar10 = pbVar3;\n    if (iVar18 != 0) {\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }\n    *pbVar10 = 0;\n    iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(stream);\n    if (iVar1 == 0) {\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }\n  }" { (if_statement "if (base < 2) {\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }" if (parenthesized_expression "(base < 2)" ( (binary_expression "base < 2" identifier < number_literal) )) (compound_statement "{\n      uVar15 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }" { (expression_statement "uVar15 = 8;" (assignment_expression "uVar15 = 8" identifier = number_literal) ;) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" identifier = number_literal) ;) (expression_statement "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0" identifier = (binary_expression "PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0" identifier + number_literal)) ;) (labeled_statement "LAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;" statement_identifier : (if_statement "if ((int)uVar9 < 0) goto LAB_0002ee58;" if (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0002ee58;" goto statement_identifier ;))) (labeled_statement "LAB_0002ee9c:\n      iVar12 = 0;" statement_identifier : (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }" else (compound_statement "{\n      uVar14 = base;\n      if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < base) goto LAB_0002efb4;\n      uVar15 = base - 1U & base;\n      puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,stream);\n    }" { (expression_statement "uVar14 = base;" (assignment_expression "uVar14 = base" identifier = identifier) ;) (if_statement "if (base < 0x25) {\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" if (parenthesized_expression "(base < 0x25)" ( (binary_expression "base < 0x25" identifier < number_literal) )) (compound_statement "{\n        uVar15 = base - 1U & base;\n        puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" { (expression_statement "uVar15 = base - 1U & base;" (assignment_expression "uVar15 = base - 1U & base" identifier = (binary_expression "base - 1U & base" (binary_expression "base - 1U" identifier - number_literal) & identifier)) ;) (expression_statement "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0" identifier = (binary_expression "PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2cb0" identifier + number_literal)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) (if_statement "if (0x3e < base) goto LAB_0002efb4;" if (parenthesized_expression "(0x3e < base)" ( (binary_expression "0x3e < base" number_literal < identifier) )) (goto_statement "goto LAB_0002efb4;" goto statement_identifier ;)) (expression_statement "uVar15 = base - 1U & base;" (assignment_expression "uVar15 = base - 1U & base" identifier = (binary_expression "base - 1U & base" (binary_expression "base - 1U" identifier - number_literal) & identifier)) ;) (expression_statement "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18;" (assignment_expression "puVar13 = PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18" identifier = (binary_expression "PTR_gmp_primes_ptab_92__ppp_0009706c + -0x2d18" identifier + number_literal)) ;) (if_statement "if (-1 < (int)uVar9) goto LAB_0002ee9c;" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0002ee9c;" goto statement_identifier ;)) (labeled_statement "LAB_0002ee58:\n      uVar9 = -uVar9;" statement_identifier : (expression_statement "uVar9 = -uVar9;" (assignment_expression "uVar9 = -uVar9" identifier = (unary_expression "-uVar9" - identifier)) ;)) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_fputc_00097200)(0x2d,stream);" (call_expression "(*(code *)PTR_fputc_00097200)(0x2d,stream)" (parenthesized_expression "(*(code *)PTR_fputc_00097200)" ( (pointer_expression "*(code *)PTR_fputc_00097200" * (cast_expression "(code *)PTR_fputc_00097200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x2d,stream)" ( number_literal , identifier ))) ;) }))) (expression_statement "iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);" (assignment_expression "iVar18 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" ( (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)" (call_expression "(ulonglong)(uVar9 << 5)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(uVar9 << 5)" ( (binary_expression "uVar9 << 5" identifier << number_literal) ))) * (parenthesized_expression "(ulonglong)" ( identifier ))) * (cast_expression "(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" ( (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4" (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14" identifier + (binary_expression "uVar14 * 0x14" identifier * number_literal)) + number_literal) )))) >> number_literal) )))) ;) (expression_statement "__tmp_marker = (tmp_reentrant_t *)0x0;" (assignment_expression "__tmp_marker = (tmp_reentrant_t *)0x0" identifier = (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar18 + 3U < 0x7f01) {\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }\n    else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }" if (parenthesized_expression "(iVar18 + 3U < 0x7f01)" ( (binary_expression "iVar18 + 3U < 0x7f01" (binary_expression "iVar18 + 3U" identifier + number_literal) < number_literal) )) (compound_statement "{\n      iVar18 = -(iVar18 + 10U & 0xfffffff8);\n      puVar17 = auStack_50 + iVar18;\n      pbVar3 = &stack0xffffffc0 + iVar18;\n    }" { (expression_statement "iVar18 = -(iVar18 + 10U & 0xfffffff8);" (assignment_expression "iVar18 = -(iVar18 + 10U & 0xfffffff8)" identifier = (unary_expression "-(iVar18 + 10U & 0xfffffff8)" - (parenthesized_expression "(iVar18 + 10U & 0xfffffff8)" ( (binary_expression "iVar18 + 10U & 0xfffffff8" (binary_expression "iVar18 + 10U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar17 = auStack_50 + iVar18;" (assignment_expression "puVar17 = auStack_50 + iVar18" identifier = (binary_expression "auStack_50 + iVar18" identifier + identifier)) ;) (expression_statement "pbVar3 = &stack0xffffffc0 + iVar18;" (assignment_expression "pbVar3 = &stack0xffffffc0 + iVar18" identifier = (binary_expression "&stack0xffffffc0 + iVar18" (pointer_expression "&stack0xffffffc0" & identifier) + identifier)) ;) }) (else_clause "else {\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }" else (compound_statement "{\n      pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }" { (expression_statement "pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);" (assignment_expression "pbVar3 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" identifier = (cast_expression "(byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&__tmp_marker)" ( (pointer_expression "&__tmp_marker" & identifier) ))))) ;) }))) (if_statement "if (uVar15 == 0) {\n      pmVar8 = x->_mp_d;\n    }\n    else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }" if (parenthesized_expression "(uVar15 == 0)" ( (binary_expression "uVar15 == 0" identifier == number_literal) )) (compound_statement "{\n      pmVar8 = x->_mp_d;\n    }" { (expression_statement "pmVar8 = x->_mp_d;" (assignment_expression "pmVar8 = x->_mp_d" identifier = (field_expression "x->_mp_d" identifier -> field_identifier)) ;) }) (else_clause "else {\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }" else (compound_statement "{\n      uVar15 = (uVar9 | 1) * 4;\n      if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }\n      if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }\n    }" { (expression_statement "uVar15 = (uVar9 | 1) * 4;" (assignment_expression "uVar15 = (uVar9 | 1) * 4" identifier = (binary_expression "(uVar9 | 1) * 4" (parenthesized_expression "(uVar9 | 1)" ( (binary_expression "uVar9 | 1" identifier | number_literal) )) * number_literal)) ;) (if_statement "if (uVar15 < 0x7f01) {\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }\n      else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }" if (parenthesized_expression "(uVar15 < 0x7f01)" ( (binary_expression "uVar15 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n        pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));\n      }" { (expression_statement "pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)));" (assignment_expression "pmVar8 = (mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)))" identifier = (cast_expression "(mp_limb_t *)(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)))" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8)))" ( (binary_expression "puVar17 + (0x10 - (uVar15 + 7 & 0xfffffff8))" identifier + (parenthesized_expression "(0x10 - (uVar15 + 7 & 0xfffffff8))" ( (binary_expression "0x10 - (uVar15 + 7 & 0xfffffff8)" number_literal - (parenthesized_expression "(uVar15 + 7 & 0xfffffff8)" ( (binary_expression "uVar15 + 7 & 0xfffffff8" (binary_expression "uVar15 + 7" identifier + number_literal) & number_literal) ))) ))) )))) ;) }) (else_clause "else {\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }" else (compound_statement "{\n        pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n      }" { (expression_statement "pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);" (assignment_expression "pmVar8 = (mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" identifier = (cast_expression "(mp_limb_t *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&__tmp_marker)" ( (pointer_expression "&__tmp_marker" & identifier) ))))) ;) }))) (if_statement "if (uVar9 != 0) {\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        pmVar6 = x->_mp_d;\n        iVar18 = uVar9 - 1;\n        mVar11 = *pmVar6;\n        pmVar7 = pmVar8;\n        if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }\n      }" { (expression_statement "pmVar6 = x->_mp_d;" (assignment_expression "pmVar6 = x->_mp_d" identifier = (field_expression "x->_mp_d" identifier -> field_identifier)) ;) (expression_statement "iVar18 = uVar9 - 1;" (assignment_expression "iVar18 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "mVar11 = *pmVar6;" (assignment_expression "mVar11 = *pmVar6" identifier = (pointer_expression "*pmVar6" * identifier)) ;) (expression_statement "pmVar7 = pmVar8;" (assignment_expression "pmVar7 = pmVar8" identifier = identifier) ;) (if_statement "if (iVar18 == 0) {\n          *pmVar8 = mVar11;\n        }\n        else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n          *pmVar8 = mVar11;\n        }" { (expression_statement "*pmVar8 = mVar11;" (assignment_expression "*pmVar8 = mVar11" (pointer_expression "*pmVar8" * identifier) = identifier) ;) }) (else_clause "else {\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }" else (compound_statement "{\n          do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);\n          pmVar8[uVar9 - 1] = mVar11;\n        }" { (do_statement "do {\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          } while (iVar18 != 0);" do (compound_statement "{\n            pmVar6 = pmVar6 + 1;\n            *pmVar7 = mVar11;\n            iVar18 = iVar18 + -1;\n            mVar11 = *pmVar6;\n            pmVar7 = pmVar7 + 1;\n          }" { (expression_statement "pmVar6 = pmVar6 + 1;" (assignment_expression "pmVar6 = pmVar6 + 1" identifier = (binary_expression "pmVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar7 = mVar11;" (assignment_expression "*pmVar7 = mVar11" (pointer_expression "*pmVar7" * identifier) = identifier) ;) (expression_statement "iVar18 = iVar18 + -1;" (assignment_expression "iVar18 = iVar18 + -1" identifier = (binary_expression "iVar18 + -1" identifier + number_literal)) ;) (expression_statement "mVar11 = *pmVar6;" (assignment_expression "mVar11 = *pmVar6" identifier = (pointer_expression "*pmVar6" * identifier)) ;) (expression_statement "pmVar7 = pmVar7 + 1;" (assignment_expression "pmVar7 = pmVar7 + 1" identifier = (binary_expression "pmVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) ;) (expression_statement "pmVar8[uVar9 - 1] = mVar11;" (assignment_expression "pmVar8[uVar9 - 1] = mVar11" (subscript_expression "pmVar8[uVar9 - 1]" identifier [ (binary_expression "uVar9 - 1" identifier - number_literal) ]) = identifier) ;) }))) })) }))) (expression_statement "iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8);" (assignment_expression "iVar18 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8)" identifier = (call_expression "(*(code *)PTR___gmpn_get_str_0009732c)(pbVar3,uVar14,pmVar8)" (parenthesized_expression "(*(code *)PTR___gmpn_get_str_0009732c)" ( (pointer_expression "*(code *)PTR___gmpn_get_str_0009732c" * (cast_expression "(code *)PTR___gmpn_get_str_0009732c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar3,uVar14,pmVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "pbVar10 = pbVar3;" (assignment_expression "pbVar10 = pbVar3" identifier = identifier) ;) (if_statement "if (iVar18 != 0) {\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (compound_statement "{\n      pbVar4 = pbVar3;\n      do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);\n    }" { (expression_statement "pbVar4 = pbVar3;" (assignment_expression "pbVar4 = pbVar3" identifier = identifier) ;) (do_statement "do {\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      } while (pbVar3 + iVar18 != pbVar5);" do (compound_statement "{\n        pbVar5 = pbVar4 + 1;\n        *pbVar4 = puVar13[*pbVar4];\n        pbVar4 = pbVar5;\n        pbVar10 = pbVar3 + iVar18;\n      }" { (expression_statement "pbVar5 = pbVar4 + 1;" (assignment_expression "pbVar5 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar4 = puVar13[*pbVar4];" (assignment_expression "*pbVar4 = puVar13[*pbVar4]" (pointer_expression "*pbVar4" * identifier) = (subscript_expression "puVar13[*pbVar4]" identifier [ (pointer_expression "*pbVar4" * identifier) ])) ;) (expression_statement "pbVar4 = pbVar5;" (assignment_expression "pbVar4 = pbVar5" identifier = identifier) ;) (expression_statement "pbVar10 = pbVar3 + iVar18;" (assignment_expression "pbVar10 = pbVar3 + iVar18" identifier = (binary_expression "pbVar3 + iVar18" identifier + identifier)) ;) }) while (parenthesized_expression "(pbVar3 + iVar18 != pbVar5)" ( (binary_expression "pbVar3 + iVar18 != pbVar5" (binary_expression "pbVar3 + iVar18" identifier + identifier) != identifier) )) ;) })) (expression_statement "*pbVar10 = 0;" (assignment_expression "*pbVar10 = 0" (pointer_expression "*pbVar10" * identifier) = number_literal) ;) (expression_statement "iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream);" (assignment_expression "iVar18 = (*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream)" identifier = (call_expression "(*(code *)PTR_fwrite_00097444)(pbVar3,1,iVar18,stream)" (parenthesized_expression "(*(code *)PTR_fwrite_00097444)" ( (pointer_expression "*(code *)PTR_fwrite_00097444" * (cast_expression "(code *)PTR_fwrite_00097444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar3,1,iVar18,stream)" ( identifier , number_literal , identifier , identifier )))) ;) (if_statement "if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" if (parenthesized_expression "(__tmp_marker != (tmp_reentrant_t *)0x0)" ( (binary_expression "__tmp_marker != (tmp_reentrant_t *)0x0" identifier != (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_ferror_00097530)(stream);" (assignment_expression "iVar1 = (*(code *)PTR_ferror_00097530)(stream)" identifier = (call_expression "(*(code *)PTR_ferror_00097530)(stream)" (parenthesized_expression "(*(code *)PTR_ferror_00097530)" ( (pointer_expression "*(code *)PTR_ferror_00097530" * (cast_expression "(code *)PTR_ferror_00097530" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(stream)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      sVar2 = iVar12 + iVar18;\n      goto LAB_0002ef70;\n    }" { (expression_statement "sVar2 = iVar12 + iVar18;" (assignment_expression "sVar2 = iVar12 + iVar18" identifier = (binary_expression "iVar12 + iVar18" identifier + identifier)) ;) (goto_statement "goto LAB_0002ef70;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0002efb4:\n  sVar2 = 0;" statement_identifier : (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0002ef70:\n  if (local_2c != *(int *)puVar16) {\n    iVar12 = local_2c;\n    puVar16 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return sVar2;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)puVar16) {\n    iVar12 = local_2c;\n    puVar16 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return sVar2;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar16)" ( (binary_expression "local_2c != *(int *)puVar16" identifier != (pointer_expression "*(int *)puVar16" * (cast_expression "(int *)puVar16" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar12 = local_2c;\n    puVar16 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return sVar2;\n  }" { (expression_statement "iVar12 = local_2c;" (assignment_expression "iVar12 = local_2c" identifier = identifier) ;) (expression_statement "puVar16 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar16 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) comment comment (expression_statement "sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));" (assignment_expression "sVar2 = (**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" identifier = (call_expression "(**(code **)(puVar16 + 0x68444))\n                      (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" (parenthesized_expression "(**(code **)(puVar16 + 0x68444))" ( (pointer_expression "**(code **)(puVar16 + 0x68444)" * (pointer_expression "*(code **)(puVar16 + 0x68444)" * (cast_expression "(code **)(puVar16 + 0x68444)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x68444)" ( (binary_expression "puVar16 + 0x68444" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" ( (pointer_expression "*(undefined4 *)(iVar12 + 8)" * (cast_expression "(undefined4 *)(iVar12 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 8)" ( (binary_expression "iVar12 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar12 + 4)" * (cast_expression "(undefined4 *)(iVar12 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 4)" ( (binary_expression "iVar12 + 4" identifier + number_literal) )))) )))) ;) (return_statement "return sVar2;" return identifier ;) }))) (return_statement "return sVar2;" return identifier ;) })))
(translation_unit "int __gmpz_out_str(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}\n\n" (function_definition "int __gmpz_out_str(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}" primitive_type (function_declarator "__gmpz_out_str(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined1 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "undefined1 auStack_50 [16];" type_identifier (array_declarator "auStack_50 [16]" identifier [ number_literal ]) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar16 = auStack_50;" (assignment_expression "puVar16 = auStack_50" identifier = identifier) ;) (expression_statement "uVar9 = *(uint *)(param_3 + 4);" (assignment_expression "uVar9 = *(uint *)(param_3 + 4)" identifier = (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" * (cast_expression "(int *)PTR___stack_chk_guard_00097540" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1 = *(int *)PTR_stdout_00097290;\n  }" { (expression_statement "param_1 = *(int *)PTR_stdout_00097290;" (assignment_expression "param_1 = *(int *)PTR_stdout_00097290" identifier = (pointer_expression "*(int *)PTR_stdout_00097290" * (cast_expression "(int *)PTR_stdout_00097290" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (if_statement "if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" if (parenthesized_expression "((int)param_2 < 0)" ( (binary_expression "(int)param_2 < 0" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }" { (if_statement "if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" if (parenthesized_expression "(param_2 == 0xffffffff)" ( (binary_expression "param_2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" { (expression_statement "param_2 = 8;" (assignment_expression "param_2 = 8" identifier = number_literal) ;) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" identifier = number_literal) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cd8" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cd8" identifier + number_literal)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cd8" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cd8" identifier + number_literal)) ;) (if_statement "if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }" if (parenthesized_expression "(-0x25 < (int)param_2)" ( (binary_expression "-0x25 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }" { (expression_statement "uVar14 = -param_2;" (assignment_expression "uVar14 = -param_2" identifier = (unary_expression "-param_2" - identifier)) ;) (expression_statement "param_2 = ~param_2 & uVar14;" (assignment_expression "param_2 = ~param_2 & uVar14" identifier = (binary_expression "~param_2 & uVar14" (unary_expression "~param_2" ~ identifier) & identifier)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) }) (else_clause "else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" else (compound_statement "{\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" { (if_statement "if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" if (parenthesized_expression "((int)param_2 < 2)" ( (binary_expression "(int)param_2 < 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }" { (expression_statement "param_2 = 8;" (assignment_expression "param_2 = 8" identifier = number_literal) ;) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" identifier = number_literal) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cb0" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cb0" identifier + number_literal)) ;) (labeled_statement "LAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;" statement_identifier : (if_statement "if ((int)uVar9 < 0) goto LAB_0002ee58;" if (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0002ee58;" goto statement_identifier ;))) (labeled_statement "LAB_0002ee9c:\n      iVar12 = 0;" statement_identifier : (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" else (compound_statement "{\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" { (expression_statement "uVar14 = param_2;" (assignment_expression "uVar14 = param_2" identifier = identifier) ;) (if_statement "if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" if (parenthesized_expression "((int)param_2 < 0x25)" ( (binary_expression "(int)param_2 < 0x25" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" { (expression_statement "param_2 = param_2 - 1 & param_2;" (assignment_expression "param_2 = param_2 - 1 & param_2" identifier = (binary_expression "param_2 - 1 & param_2" (binary_expression "param_2 - 1" identifier - number_literal) & identifier)) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cb0" identifier = (binary_expression "PTR_DAT_0009706c + -0x2cb0" identifier + number_literal)) ;) (goto_statement "goto LAB_0002ee94;" goto statement_identifier ;) })) (if_statement "if (0x3e < (int)param_2) goto LAB_0002efb4;" if (parenthesized_expression "(0x3e < (int)param_2)" ( (binary_expression "0x3e < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0002efb4;" goto statement_identifier ;)) (expression_statement "param_2 = param_2 - 1 & param_2;" (assignment_expression "param_2 = param_2 - 1 & param_2" identifier = (binary_expression "param_2 - 1 & param_2" (binary_expression "param_2 - 1" identifier - number_literal) & identifier)) ;) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2d18;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2d18" identifier = (binary_expression "PTR_DAT_0009706c + -0x2d18" identifier + number_literal)) ;) (if_statement "if (-1 < (int)uVar9) goto LAB_0002ee9c;" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0002ee9c;" goto statement_identifier ;)) (labeled_statement "LAB_0002ee58:\n      uVar9 = -uVar9;" statement_identifier : (expression_statement "uVar9 = -uVar9;" (assignment_expression "uVar9 = -uVar9" identifier = (unary_expression "-uVar9" - identifier)) ;)) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_fputc_00097200)(0x2d,param_1);" (call_expression "(*(code *)PTR_fputc_00097200)(0x2d,param_1)" (parenthesized_expression "(*(code *)PTR_fputc_00097200)" ( (pointer_expression "*(code *)PTR_fputc_00097200" * (cast_expression "(code *)PTR_fputc_00097200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x2d,param_1)" ( number_literal , identifier ))) ;) }))) (expression_statement "iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);" (assignment_expression "iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" ( (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)" (call_expression "(ulonglong)(uVar9 << 5)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(uVar9 << 5)" ( (binary_expression "uVar9 << 5" identifier << number_literal) ))) * (parenthesized_expression "(ulonglong)" ( identifier ))) * (cast_expression "(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" ( (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4" (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14" identifier + (binary_expression "uVar14 * 0x14" identifier * number_literal)) + number_literal) )))) >> number_literal) )))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" if (parenthesized_expression "(iVar17 + 3U < 0x7f01)" ( (binary_expression "iVar17 + 3U < 0x7f01" (binary_expression "iVar17 + 3U" identifier + number_literal) < number_literal) )) (compound_statement "{\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }" { (expression_statement "iVar17 = -(iVar17 + 10U & 0xfffffff8);" (assignment_expression "iVar17 = -(iVar17 + 10U & 0xfffffff8)" identifier = (unary_expression "-(iVar17 + 10U & 0xfffffff8)" - (parenthesized_expression "(iVar17 + 10U & 0xfffffff8)" ( (binary_expression "iVar17 + 10U & 0xfffffff8" (binary_expression "iVar17 + 10U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar16 = auStack_50 + iVar17;" (assignment_expression "puVar16 = auStack_50 + iVar17" identifier = (binary_expression "auStack_50 + iVar17" identifier + identifier)) ;) (expression_statement "pbVar2 = &stack0xffffffc0 + iVar17;" (assignment_expression "pbVar2 = &stack0xffffffc0 + iVar17" identifier = (binary_expression "&stack0xffffffc0 + iVar17" (pointer_expression "&stack0xffffffc0" & identifier) + identifier)) ;) }) (else_clause "else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" else (compound_statement "{\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" { (expression_statement "pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);" (assignment_expression "pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" identifier = (cast_expression "(byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) }))) (if_statement "if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }" { (expression_statement "puVar8 = *(undefined4 **)(param_3 + 8);" (assignment_expression "puVar8 = *(undefined4 **)(param_3 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_3 + 8)" * (cast_expression "(undefined4 **)(param_3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" else (compound_statement "{\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" { (expression_statement "uVar6 = (uVar9 | 1) * 4;" (assignment_expression "uVar6 = (uVar9 | 1) * 4" identifier = (binary_expression "(uVar9 | 1) * 4" (parenthesized_expression "(uVar9 | 1)" ( (binary_expression "uVar9 | 1" identifier | number_literal) )) * number_literal)) ;) (if_statement "if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" if (parenthesized_expression "(uVar6 < 0x7f01)" ( (binary_expression "uVar6 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }" { (expression_statement "puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));" (assignment_expression "puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" identifier = (cast_expression "(undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" ( (binary_expression "puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8))" identifier + (parenthesized_expression "(0x10 - (uVar6 + 7 & 0xfffffff8))" ( (binary_expression "0x10 - (uVar6 + 7 & 0xfffffff8)" number_literal - (parenthesized_expression "(uVar6 + 7 & 0xfffffff8)" ( (binary_expression "uVar6 + 7 & 0xfffffff8" (binary_expression "uVar6 + 7" identifier + number_literal) & number_literal) ))) ))) )))) ;) }) (else_clause "else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" else (compound_statement "{\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" { (expression_statement "puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);" (assignment_expression "puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))))) ;) }))) (if_statement "if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }" { (expression_statement "puVar5 = *(undefined4 **)(param_3 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(param_3 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_3 + 8)" * (cast_expression "(undefined4 **)(param_3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = uVar9 - 1;" (assignment_expression "iVar17 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (if_statement "if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n          *puVar8 = uVar11;\n        }" { (expression_statement "*puVar8 = uVar11;" (assignment_expression "*puVar8 = uVar11" (pointer_expression "*puVar8" * identifier) = identifier) ;) }) (else_clause "else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" else (compound_statement "{\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" { (do_statement "do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);" do (compound_statement "{\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar11;" (assignment_expression "*puVar7 = uVar11" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "iVar17 = iVar17 + -1;" (assignment_expression "iVar17 = iVar17 + -1" identifier = (binary_expression "iVar17 + -1" identifier + number_literal)) ;) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar17 != 0)" ( (binary_expression "iVar17 != 0" identifier != number_literal) )) ;) (expression_statement "puVar8[uVar9 - 1] = uVar11;" (assignment_expression "puVar8[uVar9 - 1] = uVar11" (subscript_expression "puVar8[uVar9 - 1]" identifier [ (binary_expression "uVar9 - 1" identifier - number_literal) ]) = identifier) ;) }))) })) }))) (expression_statement "iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);" (assignment_expression "iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8)" identifier = (call_expression "(*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8)" (parenthesized_expression "(*(code *)PTR___gmpn_get_str_0009732c)" ( (pointer_expression "*(code *)PTR___gmpn_get_str_0009732c" * (cast_expression "(code *)PTR___gmpn_get_str_0009732c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar2,uVar14,puVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "pbVar10 = pbVar2;" (assignment_expression "pbVar10 = pbVar2" identifier = identifier) ;) (if_statement "if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }" if (parenthesized_expression "(iVar17 != 0)" ( (binary_expression "iVar17 != 0" identifier != number_literal) )) (compound_statement "{\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }" { (expression_statement "pbVar3 = pbVar2;" (assignment_expression "pbVar3 = pbVar2" identifier = identifier) ;) (do_statement "do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);" do (compound_statement "{\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      }" { (expression_statement "pbVar4 = pbVar3 + 1;" (assignment_expression "pbVar4 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar3 = puVar13[*pbVar3];" (assignment_expression "*pbVar3 = puVar13[*pbVar3]" (pointer_expression "*pbVar3" * identifier) = (subscript_expression "puVar13[*pbVar3]" identifier [ (pointer_expression "*pbVar3" * identifier) ])) ;) (expression_statement "pbVar3 = pbVar4;" (assignment_expression "pbVar3 = pbVar4" identifier = identifier) ;) (expression_statement "pbVar10 = pbVar2 + iVar17;" (assignment_expression "pbVar10 = pbVar2 + iVar17" identifier = (binary_expression "pbVar2 + iVar17" identifier + identifier)) ;) }) while (parenthesized_expression "(pbVar2 + iVar17 != pbVar4)" ( (binary_expression "pbVar2 + iVar17 != pbVar4" (binary_expression "pbVar2 + iVar17" identifier + identifier) != identifier) )) ;) })) (expression_statement "*pbVar10 = 0;" (assignment_expression "*pbVar10 = 0" (pointer_expression "*pbVar10" * identifier) = number_literal) ;) (expression_statement "iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);" (assignment_expression "iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1)" identifier = (call_expression "(*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1)" (parenthesized_expression "(*(code *)PTR_fwrite_00097444)" ( (pointer_expression "*(code *)PTR_fwrite_00097444" * (cast_expression "(code *)PTR_fwrite_00097444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar2,1,iVar17,param_1)" ( identifier , number_literal , identifier , identifier )))) ;) (if_statement "if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_ferror_00097530)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_ferror_00097530)(param_1)" identifier = (call_expression "(*(code *)PTR_ferror_00097530)(param_1)" (parenthesized_expression "(*(code *)PTR_ferror_00097530)" ( (pointer_expression "*(code *)PTR_ferror_00097530" * (cast_expression "(code *)PTR_ferror_00097530" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }" { (expression_statement "iVar12 = iVar12 + iVar17;" (assignment_expression "iVar12 = iVar12 + iVar17" identifier = (binary_expression "iVar12 + iVar17" identifier + identifier)) ;) (goto_statement "goto LAB_0002ef70;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0002efb4:\n  iVar12 = 0;" statement_identifier : (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar15)" ( (binary_expression "local_2c != *(int *)puVar15" identifier != (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" { (expression_statement "iVar12 = local_2c;" (assignment_expression "iVar12 = local_2c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar15 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));" (assignment_expression "iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" identifier = (call_expression "(**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" (parenthesized_expression "(**(code **)(puVar15 + 0x68444))" ( (pointer_expression "**(code **)(puVar15 + 0x68444)" * (pointer_expression "*(code **)(puVar15 + 0x68444)" * (cast_expression "(code **)(puVar15 + 0x68444)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x68444)" ( (binary_expression "puVar15 + 0x68444" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" ( (pointer_expression "*(undefined4 *)(iVar12 + 8)" * (cast_expression "(undefined4 *)(iVar12 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 8)" ( (binary_expression "iVar12 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar12 + 4)" * (cast_expression "(undefined4 *)(iVar12 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 4)" ( (binary_expression "iVar12 + 4" identifier + number_literal) )))) )))) ;) (return_statement "return iVar12;" return identifier ;) }))) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ IDENT) & IDENT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT << LIT) ))) * (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT | LIT) )) * 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 *)) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) ))) ))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) = IDENT) ;) }))) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ (pointer_expression * IDENT) ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) }))) (return_statement return IDENT ;) })))
(function_definition "int __gmpz_out_str(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}" (primitive_type "int") (function_declarator "__gmpz_out_str(int param_1,uint param_2,int param_3)" (identifier "__gmpz_out_str") (parameter_list "(int param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  undefined4 *puVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  byte *pbVar10;\n  undefined4 uVar11;\n  int iVar12;\n  undefined *puVar13;\n  uint uVar14;\n  undefined *puVar15;\n  undefined1 *puVar16;\n  int iVar17;\n  undefined1 auStack_50 [16];\n  int local_30;\n  int local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_00097540;\n  puVar16 = auStack_50;\n  uVar9 = *(uint *)(param_3 + 4);\n  local_2c = *(int *)PTR___stack_chk_guard_00097540;\n  if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }\n  if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }\nLAB_0002efb4:\n  iVar12 = 0;\nLAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }\n  return iVar12;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "undefined *puVar13;" (type_identifier "undefined") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "undefined1 *puVar16;" (type_identifier "undefined1") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "undefined1 auStack_50 [16];" (type_identifier "undefined1") (array_declarator "auStack_50 [16]" (identifier "auStack_50") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar15 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00097540" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_guard_00097540")) (; ";")) (expression_statement "puVar16 = auStack_50;" (assignment_expression "puVar16 = auStack_50" (identifier "puVar16") (= "=") (identifier "auStack_50")) (; ";")) (expression_statement "uVar9 = *(uint *)(param_3 + 4);" (assignment_expression "uVar9 = *(uint *)(param_3 + 4)" (identifier "uVar9") (= "=") (pointer_expression "*(uint *)(param_3 + 4)" (* "*") (cast_expression "(uint *)(param_3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00097540" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00097540" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00097540")))) (; ";")) (if_statement "if (param_1 == 0) {\n    param_1 = *(int *)PTR_stdout_00097290;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = *(int *)PTR_stdout_00097290;\n  }" ({ "{") (expression_statement "param_1 = *(int *)PTR_stdout_00097290;" (assignment_expression "param_1 = *(int *)PTR_stdout_00097290" (identifier "param_1") (= "=") (pointer_expression "*(int *)PTR_stdout_00097290" (* "*") (cast_expression "(int *)PTR_stdout_00097290" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_00097290")))) (; ";")) (} "}"))) (if_statement "if ((int)param_2 < 0) {\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }\n  else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" (if "if") (parenthesized_expression "((int)param_2 < 0)" (( "(") (binary_expression "(int)param_2 < 0" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }\n    puVar13 = PTR_DAT_0009706c + -0x2cd8;\n    if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }\n  }" ({ "{") (if_statement "if (param_2 == 0xffffffff) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" (if "if") (parenthesized_expression "(param_2 == 0xffffffff)" (( "(") (binary_expression "param_2 == 0xffffffff" (identifier "param_2") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cd8;\n      goto LAB_0002ee94;\n    }" ({ "{") (expression_statement "param_2 = 8;" (assignment_expression "param_2 = 8" (identifier "param_2") (= "=") (number_literal "8")) (; ";")) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" (identifier "uVar14") (= "=") (number_literal "10")) (; ";")) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cd8" (identifier "puVar13") (= "=") (binary_expression "PTR_DAT_0009706c + -0x2cd8" (identifier "PTR_DAT_0009706c") (+ "+") (number_literal "-0x2cd8"))) (; ";")) (goto_statement "goto LAB_0002ee94;" (goto "goto") (statement_identifier "LAB_0002ee94") (; ";")) (} "}"))) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cd8;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cd8" (identifier "puVar13") (= "=") (binary_expression "PTR_DAT_0009706c + -0x2cd8" (identifier "PTR_DAT_0009706c") (+ "+") (number_literal "-0x2cd8"))) (; ";")) (if_statement "if (-0x25 < (int)param_2) {\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }" (if "if") (parenthesized_expression "(-0x25 < (int)param_2)" (( "(") (binary_expression "-0x25 < (int)param_2" (number_literal "-0x25") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n      uVar14 = -param_2;\n      param_2 = ~param_2 & uVar14;\n      goto LAB_0002ee94;\n    }" ({ "{") (expression_statement "uVar14 = -param_2;" (assignment_expression "uVar14 = -param_2" (identifier "uVar14") (= "=") (unary_expression "-param_2" (- "-") (identifier "param_2"))) (; ";")) (expression_statement "param_2 = ~param_2 & uVar14;" (assignment_expression "param_2 = ~param_2 & uVar14" (identifier "param_2") (= "=") (binary_expression "~param_2 & uVar14" (unary_expression "~param_2" (~ "~") (identifier "param_2")) (& "&") (identifier "uVar14"))) (; ";")) (goto_statement "goto LAB_0002ee94;" (goto "goto") (statement_identifier "LAB_0002ee94") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" (else "else") (compound_statement "{\n    if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }\n    iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);\n    local_30 = 0;\n    if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }\n    if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }\n    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);\n    pbVar10 = pbVar2;\n    if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }\n    *pbVar10 = 0;\n    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);\n    if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);\n    if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }\n  }" ({ "{") (if_statement "if ((int)param_2 < 2) {\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }\n    else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" (if "if") (parenthesized_expression "((int)param_2 < 2)" (( "(") (binary_expression "(int)param_2 < 2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      param_2 = 8;\n      uVar14 = 10;\n      puVar13 = PTR_DAT_0009706c + -0x2cb0;\nLAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;\nLAB_0002ee9c:\n      iVar12 = 0;\n    }" ({ "{") (expression_statement "param_2 = 8;" (assignment_expression "param_2 = 8" (identifier "param_2") (= "=") (number_literal "8")) (; ";")) (expression_statement "uVar14 = 10;" (assignment_expression "uVar14 = 10" (identifier "uVar14") (= "=") (number_literal "10")) (; ";")) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cb0" (identifier "puVar13") (= "=") (binary_expression "PTR_DAT_0009706c + -0x2cb0" (identifier "PTR_DAT_0009706c") (+ "+") (number_literal "-0x2cb0"))) (; ";")) (labeled_statement "LAB_0002ee94:\n      if ((int)uVar9 < 0) goto LAB_0002ee58;" (statement_identifier "LAB_0002ee94") (: ":") (if_statement "if ((int)uVar9 < 0) goto LAB_0002ee58;" (if "if") (parenthesized_expression "((int)uVar9 < 0)" (( "(") (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002ee58;" (goto "goto") (statement_identifier "LAB_0002ee58") (; ";")))) (labeled_statement "LAB_0002ee9c:\n      iVar12 = 0;" (statement_identifier "LAB_0002ee9c") (: ":") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" (else "else") (compound_statement "{\n      uVar14 = param_2;\n      if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }\n      if (0x3e < (int)param_2) goto LAB_0002efb4;\n      param_2 = param_2 - 1 & param_2;\n      puVar13 = PTR_DAT_0009706c + -0x2d18;\n      if (-1 < (int)uVar9) goto LAB_0002ee9c;\nLAB_0002ee58:\n      uVar9 = -uVar9;\n      iVar12 = 1;\n      (*(code *)PTR_fputc_00097200)(0x2d,param_1);\n    }" ({ "{") (expression_statement "uVar14 = param_2;" (assignment_expression "uVar14 = param_2" (identifier "uVar14") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((int)param_2 < 0x25) {\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" (if "if") (parenthesized_expression "((int)param_2 < 0x25)" (( "(") (binary_expression "(int)param_2 < 0x25" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (< "<") (number_literal "0x25")) () ")")) (compound_statement "{\n        param_2 = param_2 - 1 & param_2;\n        puVar13 = PTR_DAT_0009706c + -0x2cb0;\n        goto LAB_0002ee94;\n      }" ({ "{") (expression_statement "param_2 = param_2 - 1 & param_2;" (assignment_expression "param_2 = param_2 - 1 & param_2" (identifier "param_2") (= "=") (binary_expression "param_2 - 1 & param_2" (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (& "&") (identifier "param_2"))) (; ";")) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2cb0;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2cb0" (identifier "puVar13") (= "=") (binary_expression "PTR_DAT_0009706c + -0x2cb0" (identifier "PTR_DAT_0009706c") (+ "+") (number_literal "-0x2cb0"))) (; ";")) (goto_statement "goto LAB_0002ee94;" (goto "goto") (statement_identifier "LAB_0002ee94") (; ";")) (} "}"))) (if_statement "if (0x3e < (int)param_2) goto LAB_0002efb4;" (if "if") (parenthesized_expression "(0x3e < (int)param_2)" (( "(") (binary_expression "0x3e < (int)param_2" (number_literal "0x3e") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (goto_statement "goto LAB_0002efb4;" (goto "goto") (statement_identifier "LAB_0002efb4") (; ";"))) (expression_statement "param_2 = param_2 - 1 & param_2;" (assignment_expression "param_2 = param_2 - 1 & param_2" (identifier "param_2") (= "=") (binary_expression "param_2 - 1 & param_2" (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (& "&") (identifier "param_2"))) (; ";")) (expression_statement "puVar13 = PTR_DAT_0009706c + -0x2d18;" (assignment_expression "puVar13 = PTR_DAT_0009706c + -0x2d18" (identifier "puVar13") (= "=") (binary_expression "PTR_DAT_0009706c + -0x2d18" (identifier "PTR_DAT_0009706c") (+ "+") (number_literal "-0x2d18"))) (; ";")) (if_statement "if (-1 < (int)uVar9) goto LAB_0002ee9c;" (if "if") (parenthesized_expression "(-1 < (int)uVar9)" (( "(") (binary_expression "-1 < (int)uVar9" (number_literal "-1") (< "<") (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9"))) () ")")) (goto_statement "goto LAB_0002ee9c;" (goto "goto") (statement_identifier "LAB_0002ee9c") (; ";"))) (labeled_statement "LAB_0002ee58:\n      uVar9 = -uVar9;" (statement_identifier "LAB_0002ee58") (: ":") (expression_statement "uVar9 = -uVar9;" (assignment_expression "uVar9 = -uVar9" (identifier "uVar9") (= "=") (unary_expression "-uVar9" (- "-") (identifier "uVar9"))) (; ";"))) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" (identifier "iVar12") (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)PTR_fputc_00097200)(0x2d,param_1);" (call_expression "(*(code *)PTR_fputc_00097200)(0x2d,param_1)" (parenthesized_expression "(*(code *)PTR_fputc_00097200)" (( "(") (pointer_expression "*(code *)PTR_fputc_00097200" (* "*") (cast_expression "(code *)PTR_fputc_00097200" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_00097200"))) () ")")) (argument_list "(0x2d,param_1)" (( "(") (number_literal "0x2d") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);" (assignment_expression "iVar17 = (int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" (identifier "iVar17") (= "=") (cast_expression "(int)((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20)" (( "(") (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" (binary_expression "(ulonglong)(uVar9 << 5) *\n                   (ulonglong)" (call_expression "(ulonglong)(uVar9 << 5)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "(uVar9 << 5)" (( "(") (binary_expression "uVar9 << 5" (identifier "uVar9") (<< "<<") (number_literal "5")) () ")"))) (* "*") (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")"))) (* "*") (cast_expression "(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4)" (( "(") (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4" (binary_expression "PTR___gmpn_bases_00097338 + uVar14 * 0x14" (identifier "PTR___gmpn_bases_00097338") (+ "+") (binary_expression "uVar14 * 0x14" (identifier "uVar14") (* "*") (number_literal "0x14"))) (+ "+") (number_literal "4")) () ")")))) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar17 + 3U < 0x7f01) {\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }\n    else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" (if "if") (parenthesized_expression "(iVar17 + 3U < 0x7f01)" (( "(") (binary_expression "iVar17 + 3U < 0x7f01" (binary_expression "iVar17 + 3U" (identifier "iVar17") (+ "+") (number_literal "3U")) (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n      iVar17 = -(iVar17 + 10U & 0xfffffff8);\n      puVar16 = auStack_50 + iVar17;\n      pbVar2 = &stack0xffffffc0 + iVar17;\n    }" ({ "{") (expression_statement "iVar17 = -(iVar17 + 10U & 0xfffffff8);" (assignment_expression "iVar17 = -(iVar17 + 10U & 0xfffffff8)" (identifier "iVar17") (= "=") (unary_expression "-(iVar17 + 10U & 0xfffffff8)" (- "-") (parenthesized_expression "(iVar17 + 10U & 0xfffffff8)" (( "(") (binary_expression "iVar17 + 10U & 0xfffffff8" (binary_expression "iVar17 + 10U" (identifier "iVar17") (+ "+") (number_literal "10U")) (& "&") (number_literal "0xfffffff8")) () ")")))) (; ";")) (expression_statement "puVar16 = auStack_50 + iVar17;" (assignment_expression "puVar16 = auStack_50 + iVar17" (identifier "puVar16") (= "=") (binary_expression "auStack_50 + iVar17" (identifier "auStack_50") (+ "+") (identifier "iVar17"))) (; ";")) (expression_statement "pbVar2 = &stack0xffffffc0 + iVar17;" (assignment_expression "pbVar2 = &stack0xffffffc0 + iVar17" (identifier "pbVar2") (= "=") (binary_expression "&stack0xffffffc0 + iVar17" (pointer_expression "&stack0xffffffc0" (& "&") (identifier "stack0xffffffc0")) (+ "+") (identifier "iVar17"))) (; ";")) (} "}")) (else_clause "else {\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" (else "else") (compound_statement "{\n      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n    }" ({ "{") (expression_statement "pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);" (assignment_expression "pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (identifier "pbVar2") (= "=") (cast_expression "(byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_alloc_000972f0"))) () ")")) (argument_list "(&local_30)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (param_2 == 0) {\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }\n    else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar8 = *(undefined4 **)(param_3 + 8);\n    }" ({ "{") (expression_statement "puVar8 = *(undefined4 **)(param_3 + 8);" (assignment_expression "puVar8 = *(undefined4 **)(param_3 + 8)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined4 **)(param_3 + 8)" (* "*") (cast_expression "(undefined4 **)(param_3 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" (else "else") (compound_statement "{\n      uVar6 = (uVar9 | 1) * 4;\n      if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }\n      if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }\n    }" ({ "{") (expression_statement "uVar6 = (uVar9 | 1) * 4;" (assignment_expression "uVar6 = (uVar9 | 1) * 4" (identifier "uVar6") (= "=") (binary_expression "(uVar9 | 1) * 4" (parenthesized_expression "(uVar9 | 1)" (( "(") (binary_expression "uVar9 | 1" (identifier "uVar9") (| "|") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) (; ";")) (if_statement "if (uVar6 < 0x7f01) {\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }\n      else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" (if "if") (parenthesized_expression "(uVar6 < 0x7f01)" (( "(") (binary_expression "uVar6 < 0x7f01" (identifier "uVar6") (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));\n      }" ({ "{") (expression_statement "puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));" (assignment_expression "puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)))" (( "(") (binary_expression "puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8))" (identifier "puVar16") (+ "+") (parenthesized_expression "(0x10 - (uVar6 + 7 & 0xfffffff8))" (( "(") (binary_expression "0x10 - (uVar6 + 7 & 0xfffffff8)" (number_literal "0x10") (- "-") (parenthesized_expression "(uVar6 + 7 & 0xfffffff8)" (( "(") (binary_expression "uVar6 + 7 & 0xfffffff8" (binary_expression "uVar6 + 7" (identifier "uVar6") (+ "+") (number_literal "7")) (& "&") (number_literal "0xfffffff8")) () ")"))) () ")"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" (else "else") (compound_statement "{\n        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);\n      }" ({ "{") (expression_statement "puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);" (assignment_expression "puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_alloc_000972f0"))) () ")")) (argument_list "(&local_30)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (uVar9 != 0) {\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar5 = *(undefined4 **)(param_3 + 8);\n        iVar17 = uVar9 - 1;\n        uVar11 = *puVar5;\n        puVar7 = puVar8;\n        if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }\n      }" ({ "{") (expression_statement "puVar5 = *(undefined4 **)(param_3 + 8);" (assignment_expression "puVar5 = *(undefined4 **)(param_3 + 8)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(param_3 + 8)" (* "*") (cast_expression "(undefined4 **)(param_3 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar17 = uVar9 - 1;" (assignment_expression "iVar17 = uVar9 - 1" (identifier "iVar17") (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" (identifier "puVar7") (= "=") (identifier "puVar8")) (; ";")) (if_statement "if (iVar17 == 0) {\n          *puVar8 = uVar11;\n        }\n        else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *puVar8 = uVar11;\n        }" ({ "{") (expression_statement "*puVar8 = uVar11;" (assignment_expression "*puVar8 = uVar11" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (identifier "uVar11")) (; ";")) (} "}")) (else_clause "else {\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" (else "else") (compound_statement "{\n          do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);\n          puVar8[uVar9 - 1] = uVar11;\n        }" ({ "{") (do_statement "do {\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          } while (iVar17 != 0);" (do "do") (compound_statement "{\n            puVar5 = puVar5 + 1;\n            *puVar7 = uVar11;\n            iVar17 = iVar17 + -1;\n            uVar11 = *puVar5;\n            puVar7 = puVar7 + 1;\n          }" ({ "{") (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = uVar11;" (assignment_expression "*puVar7 = uVar11" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "iVar17 = iVar17 + -1;" (assignment_expression "iVar17 = iVar17 + -1" (identifier "iVar17") (= "=") (binary_expression "iVar17 + -1" (identifier "iVar17") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar11 = *puVar5;" (assignment_expression "uVar11 = *puVar5" (identifier "uVar11") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar17 != 0)" (( "(") (binary_expression "iVar17 != 0" (identifier "iVar17") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar8[uVar9 - 1] = uVar11;" (assignment_expression "puVar8[uVar9 - 1] = uVar11" (subscript_expression "puVar8[uVar9 - 1]" (identifier "puVar8") ([ "[") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1")) (] "]")) (= "=") (identifier "uVar11")) (; ";")) (} "}")))) (} "}"))) (} "}")))) (expression_statement "iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);" (assignment_expression "iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8)" (identifier "iVar17") (= "=") (call_expression "(*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8)" (parenthesized_expression "(*(code *)PTR___gmpn_get_str_0009732c)" (( "(") (pointer_expression "*(code *)PTR___gmpn_get_str_0009732c" (* "*") (cast_expression "(code *)PTR___gmpn_get_str_0009732c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_get_str_0009732c"))) () ")")) (argument_list "(pbVar2,uVar14,puVar8)" (( "(") (identifier "pbVar2") (, ",") (identifier "uVar14") (, ",") (identifier "puVar8") () ")")))) (; ";")) (expression_statement "pbVar10 = pbVar2;" (assignment_expression "pbVar10 = pbVar2" (identifier "pbVar10") (= "=") (identifier "pbVar2")) (; ";")) (if_statement "if (iVar17 != 0) {\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }" (if "if") (parenthesized_expression "(iVar17 != 0)" (( "(") (binary_expression "iVar17 != 0" (identifier "iVar17") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pbVar3 = pbVar2;\n      do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);\n    }" ({ "{") (expression_statement "pbVar3 = pbVar2;" (assignment_expression "pbVar3 = pbVar2" (identifier "pbVar3") (= "=") (identifier "pbVar2")) (; ";")) (do_statement "do {\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      } while (pbVar2 + iVar17 != pbVar4);" (do "do") (compound_statement "{\n        pbVar4 = pbVar3 + 1;\n        *pbVar3 = puVar13[*pbVar3];\n        pbVar3 = pbVar4;\n        pbVar10 = pbVar2 + iVar17;\n      }" ({ "{") (expression_statement "pbVar4 = pbVar3 + 1;" (assignment_expression "pbVar4 = pbVar3 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar3 = puVar13[*pbVar3];" (assignment_expression "*pbVar3 = puVar13[*pbVar3]" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (= "=") (subscript_expression "puVar13[*pbVar3]" (identifier "puVar13") ([ "[") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (] "]"))) (; ";")) (expression_statement "pbVar3 = pbVar4;" (assignment_expression "pbVar3 = pbVar4" (identifier "pbVar3") (= "=") (identifier "pbVar4")) (; ";")) (expression_statement "pbVar10 = pbVar2 + iVar17;" (assignment_expression "pbVar10 = pbVar2 + iVar17" (identifier "pbVar10") (= "=") (binary_expression "pbVar2 + iVar17" (identifier "pbVar2") (+ "+") (identifier "iVar17"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar2 + iVar17 != pbVar4)" (( "(") (binary_expression "pbVar2 + iVar17 != pbVar4" (binary_expression "pbVar2 + iVar17" (identifier "pbVar2") (+ "+") (identifier "iVar17")) (!= "!=") (identifier "pbVar4")) () ")")) (; ";")) (} "}"))) (expression_statement "*pbVar10 = 0;" (assignment_expression "*pbVar10 = 0" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);" (assignment_expression "iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1)" (identifier "iVar17") (= "=") (call_expression "(*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1)" (parenthesized_expression "(*(code *)PTR_fwrite_00097444)" (( "(") (pointer_expression "*(code *)PTR_fwrite_00097444" (* "*") (cast_expression "(code *)PTR_fwrite_00097444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fwrite_00097444"))) () ")")) (argument_list "(pbVar2,1,iVar17,param_1)" (( "(") (identifier "pbVar2") (, ",") (number_literal "1") (, ",") (identifier "iVar17") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (local_30 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" ({ "{") (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_free_00097614"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_ferror_00097530)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_ferror_00097530)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_ferror_00097530)(param_1)" (parenthesized_expression "(*(code *)PTR_ferror_00097530)" (( "(") (pointer_expression "*(code *)PTR_ferror_00097530" (* "*") (cast_expression "(code *)PTR_ferror_00097530" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ferror_00097530"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar12 = iVar12 + iVar17;\n      goto LAB_0002ef70;\n    }" ({ "{") (expression_statement "iVar12 = iVar12 + iVar17;" (assignment_expression "iVar12 = iVar12 + iVar17" (identifier "iVar12") (= "=") (binary_expression "iVar12 + iVar17" (identifier "iVar12") (+ "+") (identifier "iVar17"))) (; ";")) (goto_statement "goto LAB_0002ef70;" (goto "goto") (statement_identifier "LAB_0002ef70") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0002efb4:\n  iVar12 = 0;" (statement_identifier "LAB_0002efb4") (: ":") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_0002ef70:\n  if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" (statement_identifier "LAB_0002ef70") (: ":") (if_statement "if (local_2c != *(int *)puVar15) {\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" (if "if") (parenthesized_expression "(local_2c != *(int *)puVar15)" (( "(") (binary_expression "local_2c != *(int *)puVar15" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)puVar15" (* "*") (cast_expression "(int *)puVar15" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar15")))) () ")")) (compound_statement "{\n    iVar12 = local_2c;\n    puVar15 = PTR___stack_chk_fail_000974d0;\n    (*(code *)PTR___stack_chk_fail_000974d0)();\n                    \n                    \n    iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));\n    return iVar12;\n  }" ({ "{") (expression_statement "iVar12 = local_2c;" (assignment_expression "iVar12 = local_2c" (identifier "iVar12") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar15 = PTR___stack_chk_fail_000974d0" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_000974d0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000974d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000974d0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));" (assignment_expression "iVar12 = (**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" (identifier "iVar12") (= "=") (call_expression "(**(code **)(puVar15 + 0x68444))\n                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" (parenthesized_expression "(**(code **)(puVar15 + 0x68444))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x68444)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x68444)" (* "*") (cast_expression "(code **)(puVar15 + 0x68444)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x68444)" (( "(") (binary_expression "puVar15 + 0x68444" (identifier "puVar15") (+ "+") (number_literal "0x68444")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4))" (( "(") (pointer_expression "*(undefined4 *)(iVar12 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar12 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 8)" (( "(") (binary_expression "iVar12 + 8" (identifier "iVar12") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar12 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar12 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 4)" (( "(") (binary_expression "iVar12 + 4" (identifier "iVar12") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (return_statement "return iVar12;" (return "return") (identifier "iVar12") (; ";")) (} "}")))) (return_statement "return iVar12;" (return "return") (identifier "iVar12") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (identifier)) right: (identifier)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (number_literal) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_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: (unary_expression argument: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (identifier))))))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))) (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))) (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: (subscript_expression argument: (identifier) index: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (identifier))))) (return_statement (identifier)))))

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

{
  int iVar1;
  byte *pbVar2;
  byte *pbVar3;
  byte *pbVar4;
  undefined4 *puVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  uint uVar9;
  byte *pbVar10;
  undefined4 uVar11;
  int iVar12;
  undefined *puVar13;
  uint uVar14;
  undefined *puVar15;
  undefined1 *puVar16;
  int iVar17;
  undefined1 auStack_50 [16];
  int local_30;
  int local_2c;
  
  puVar15 = PTR___stack_chk_guard_00097540;
  puVar16 = auStack_50;
  uVar9 = *(uint *)(param_3 + 4);
  local_2c = *(int *)PTR___stack_chk_guard_00097540;
  if (param_1 == 0) {
    param_1 = *(int *)PTR_stdout_00097290;
  }
  if ((int)param_2 < 0) {
    if (param_2 == 0xffffffff) {
      param_2 = 8;
      uVar14 = 10;
      puVar13 = PTR_DAT_0009706c + -0x2cd8;
      goto LAB_0002ee94;
    }
    puVar13 = PTR_DAT_0009706c + -0x2cd8;
    if (-0x25 < (int)param_2) {
      uVar14 = -param_2;
      param_2 = ~param_2 & uVar14;
      goto LAB_0002ee94;
    }
  }
  else {
    if ((int)param_2 < 2) {
      param_2 = 8;
      uVar14 = 10;
      puVar13 = PTR_DAT_0009706c + -0x2cb0;
LAB_0002ee94:
      if ((int)uVar9 < 0) goto LAB_0002ee58;
LAB_0002ee9c:
      iVar12 = 0;
    }
    else {
      uVar14 = param_2;
      if ((int)param_2 < 0x25) {
        param_2 = param_2 - 1 & param_2;
        puVar13 = PTR_DAT_0009706c + -0x2cb0;
        goto LAB_0002ee94;
      }
      if (0x3e < (int)param_2) goto LAB_0002efb4;
      param_2 = param_2 - 1 & param_2;
      puVar13 = PTR_DAT_0009706c + -0x2d18;
      if (-1 < (int)uVar9) goto LAB_0002ee9c;
LAB_0002ee58:
      uVar9 = -uVar9;
      iVar12 = 1;
      (*(code *)PTR_fputc_00097200)(0x2d,param_1);
    }
    iVar17 = (int)((ulonglong)(uVar9 << 5) *
                   (ulonglong)*(uint *)(PTR___gmpn_bases_00097338 + uVar14 * 0x14 + 4) >> 0x20);
    local_30 = 0;
    if (iVar17 + 3U < 0x7f01) {
      iVar17 = -(iVar17 + 10U & 0xfffffff8);
      puVar16 = auStack_50 + iVar17;
      pbVar2 = &stack0xffffffc0 + iVar17;
    }
    else {
      pbVar2 = (byte *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);
    }
    if (param_2 == 0) {
      puVar8 = *(undefined4 **)(param_3 + 8);
    }
    else {
      uVar6 = (uVar9 | 1) * 4;
      if (uVar6 < 0x7f01) {
        puVar8 = (undefined4 *)(puVar16 + (0x10 - (uVar6 + 7 & 0xfffffff8)));
      }
      else {
        puVar8 = (undefined4 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_30);
      }
      if (uVar9 != 0) {
        puVar5 = *(undefined4 **)(param_3 + 8);
        iVar17 = uVar9 - 1;
        uVar11 = *puVar5;
        puVar7 = puVar8;
        if (iVar17 == 0) {
          *puVar8 = uVar11;
        }
        else {
          do {
            puVar5 = puVar5 + 1;
            *puVar7 = uVar11;
            iVar17 = iVar17 + -1;
            uVar11 = *puVar5;
            puVar7 = puVar7 + 1;
          } while (iVar17 != 0);
          puVar8[uVar9 - 1] = uVar11;
        }
      }
    }
    iVar17 = (*(code *)PTR___gmpn_get_str_0009732c)(pbVar2,uVar14,puVar8);
    pbVar10 = pbVar2;
    if (iVar17 != 0) {
      pbVar3 = pbVar2;
      do {
        pbVar4 = pbVar3 + 1;
        *pbVar3 = puVar13[*pbVar3];
        pbVar3 = pbVar4;
        pbVar10 = pbVar2 + iVar17;
      } while (pbVar2 + iVar17 != pbVar4);
    }
    *pbVar10 = 0;
    iVar17 = (*(code *)PTR_fwrite_00097444)(pbVar2,1,iVar17,param_1);
    if (local_30 != 0) {
      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();
    }
    iVar1 = (*(code *)PTR_ferror_00097530)(param_1);
    if (iVar1 == 0) {
      iVar12 = iVar12 + iVar17;
      goto LAB_0002ef70;
    }
  }
LAB_0002efb4:
  iVar12 = 0;
LAB_0002ef70:
  if (local_2c != *(int *)puVar15) {
    iVar12 = local_2c;
    puVar15 = PTR___stack_chk_fail_000974d0;
    (*(code *)PTR___stack_chk_fail_000974d0)();
                    /* WARNING: Could not recover jumptable at 0x0002f104. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar12 = (**(code **)(puVar15 + 0x68444))
                       (*(undefined4 *)(iVar12 + 8),*(undefined4 *)(iVar12 + 4));
    return iVar12;
  }
  return iVar12;
}

