
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void __gmpz_sqrtrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr op)

{
  uint size;
  int new_alloc;
  code *pcVar1;
  mpz_ptr p_Var2;
  int iVar3;
  mpz_ptr p_Var4;
  mp_ptr sp;
  mp_limb_t *pmVar5;
  int *piVar6;
  int in_GS_OFFSET;
  int local_3c;
  mpz_ptr local_38;
  mp_limb_t *local_34;
  mpz_ptr local_30 [3];
  tmp_reentrant_t *__tmp_marker;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3280b;
  piVar6 = &local_3c;
  local_30[0] = rem;
  new_alloc = op->_mp_size;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (new_alloc < 1) {
    if (new_alloc != 0) {
                    /* WARNING: Subroutine does not return */
      __gmp_sqrt_of_negative();
    }
    root->_mp_size = 0;
    rem->_mp_size = 0;
  }
  else {
    if (rem->_mp_alloc < new_alloc) {
      local_38 = op;
      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);
      op = local_38;
    }
    else {
      local_34 = rem->_mp_d;
    }
    piVar6 = &local_3c;
    iVar3 = new_alloc + 1 >> 1;
    root->_mp_size = iVar3;
    local_38 = (mpz_ptr)op->_mp_d;
    if (op == root) {
      size = iVar3 * 4;
      __tmp_marker = (tmp_reentrant_t *)0x0;
      local_3c = iVar3;
      if (size < 0x7f01) {
        iVar3 = -(size + 0x1b & 0xfffffff0);
        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);
        piVar6 = (int *)((int)&local_3c + iVar3);
      }
      else {
        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);
        piVar6 = &local_3c;
      }
      *(int *)((int)piVar6 + -4) = new_alloc;
      p_Var2 = local_38;
      *(mpz_ptr *)((int)piVar6 + -8) = local_38;
      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;
      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;
      local_34 = pmVar5;
      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;
      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),
                                       *(mp_ptr *)((int)piVar6 + -0xc),
                                       *(mp_srcptr *)((int)piVar6 + -8),
                                       *(mp_size_t *)((int)piVar6 + -4));
      pmVar5 = local_34;
      if (root != local_30[0]) {
        local_38 = p_Var4;
        *(int *)((int)piVar6 + -8) = local_3c;
        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;
        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;
        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);
        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;
        (*pcVar1)();
        p_Var4 = local_38;
      }
      if (__tmp_marker != (tmp_reentrant_t *)0x0) {
        local_34 = (mp_limb_t *)p_Var4;
        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;
        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;
        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));
        p_Var4 = (mpz_ptr)local_34;
      }
    }
    else {
      if (root->_mp_alloc < iVar3) {
        sp = (mp_ptr)__gmpz_realloc(root,iVar3);
      }
      else {
        sp = root->_mp_d;
      }
      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);
    }
    local_30[0]->_mp_size = (int)p_Var4;
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined4 *)((int)piVar6 + -4) = 0x3299a;
  __stack_chk_fail_local();
}



void __gmpz_sqrtrem(void)

{
  uint uVar1;
  int *piVar2;
  int iVar3;
  int *piVar4;
  undefined4 uVar5;
  code *pcVar6;
  int iVar7;
  int iVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  undefined1 *puVar11;
  int *piVar12;
  int unaff_EBX;
  undefined1 *puVar13;
  undefined1 *puVar14;
  int in_GS_OFFSET;
  undefined1 auStack_40 [44];
  undefined4 uStack_14;
  
  puVar14 = &stack0xfffffffc;
  uStack_14 = 0x3280b;
  entry();
  puVar13 = auStack_40;
  piVar12 = *(int **)(puVar14 + 0x10);
  piVar2 = *(int **)(puVar14 + 8);
  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);
  iVar3 = piVar12[1];
  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);
  if (iVar3 < 1) {
    if (iVar3 != 0) {
                    /* WARNING: Subroutine does not return */
      __gmp_sqrt_of_negative();
    }
    iVar3 = *(int *)(puVar14 + -0x2c);
    piVar2[1] = 0;
    *(undefined4 *)(iVar3 + 4) = 0;
  }
  else {
    piVar4 = *(int **)(puVar14 + -0x2c);
    if (*piVar4 < iVar3) {
      *(int **)(puVar14 + -0x34) = piVar12;
      uVar10 = __gmpz_realloc(piVar4,iVar3);
      piVar12 = *(int **)(puVar14 + -0x34);
      *(undefined4 *)(puVar14 + -0x30) = uVar10;
    }
    else {
      *(int *)(puVar14 + -0x30) = piVar4[2];
    }
    puVar13 = auStack_40;
    iVar8 = iVar3 + 1 >> 1;
    piVar2[1] = iVar8;
    *(int *)(puVar14 + -0x34) = piVar12[2];
    if (piVar12 == piVar2) {
      uVar1 = iVar8 * 4;
      *(undefined4 *)(puVar14 + -0x20) = 0;
      if (uVar1 < 0x7f01) {
        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);
        puVar11 = auStack_40 + iVar7;
        puVar13 = auStack_40 + iVar7;
      }
      else {
        *(int *)(puVar14 + -0x38) = iVar8;
        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);
        iVar8 = *(int *)(puVar14 + -0x38);
        puVar13 = auStack_40;
      }
      *(int *)(puVar13 + -4) = iVar3;
      uVar10 = *(undefined4 *)(puVar14 + -0x34);
      *(int *)(puVar14 + -0x38) = iVar8;
      *(undefined4 *)(puVar13 + -8) = uVar10;
      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);
      *(undefined1 **)(puVar13 + -0x10) = puVar11;
      *(undefined1 **)(puVar14 + -0x30) = puVar11;
      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;
      uVar9 = __gmpn_sqrtrem();
      if (piVar2 != *(int **)(puVar14 + -0x2c)) {
        uVar5 = *(undefined4 *)(puVar14 + -0x30);
        *(undefined4 *)(puVar14 + -0x34) = uVar9;
        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);
        *(undefined4 *)(puVar13 + -0xc) = uVar5;
        iVar3 = *(int *)(unaff_EBX + 0x6b589);
        *(undefined4 *)(puVar13 + -0x10) = uVar10;
        pcVar6 = *(code **)(iVar3 + 0x28);
        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;
        (*pcVar6)();
        uVar9 = *(undefined4 *)(puVar14 + -0x34);
      }
      if (*(int *)(puVar14 + -0x20) != 0) {
        *(undefined4 *)(puVar14 + -0x30) = uVar9;
        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);
        *(undefined4 *)(puVar13 + -0x14) = 0x32911;
        __gmp_tmp_reentrant_free();
        uVar9 = *(undefined4 *)(puVar14 + -0x30);
      }
    }
    else {
      if (*piVar2 < iVar8) {
        iVar8 = __gmpz_realloc(piVar2,iVar8);
      }
      else {
        iVar8 = piVar2[2];
      }
      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)
                             ,iVar3);
    }
    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;
  }
  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined4 *)(puVar13 + -4) = 0x3299a;
  FUN_0007ebe0();
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c340
ADD EBX,0x6b7f5
SUB ESP,0x2c
MOV EAX,dword ptr [EBP + 0xc]
MOV ECX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x2c],EAX
MOV ESI,dword ptr [ECX + 0x4]
MOV EAX,GS:[0x14]
MOV dword ptr [EBP + -0x1c],EAX
XOR EAX,EAX
TEST ESI,ESI
JLE 0x00032920
MOV EAX,dword ptr [EBP + -0x2c]
CMP dword ptr [EAX],ESI
JL 0x00032940
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EBP + -0x30],EAX
LEA EAX,[ESI + 0x1]
SAR EAX,0x1
MOV EDX,EAX
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ECX + 0x8]
MOV dword ptr [EBP + -0x34],EAX
CMP ECX,EDI
JZ 0x00032898
CMP dword ptr [EDI],EDX
JL 0x00032960
MOV EAX,dword ptr [EDI + 0x8]
PUSH ESI
PUSH dword ptr [EBP + -0x34]
PUSH dword ptr [EBP + -0x30]
PUSH EAX
CALL 0x0001c220
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x2c]
MOV dword ptr [EBX + 0x4],EAX
MOV EAX,dword ptr [EBP + -0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00032995
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EDX*0x4 + 0x0]
MOV dword ptr [EBP + -0x20],0x0
CMP EAX,0x7f00
JA 0x00032978
ADD EAX,0x1b
AND EAX,0xfffffff0
SUB ESP,EAX
LEA ECX,[ESP + 0xf]
AND ECX,0xfffffff0
PUSH ESI
MOV ESI,dword ptr [EBP + -0x34]
MOV dword ptr [EBP + -0x38],EDX
PUSH ESI
PUSH dword ptr [EBP + -0x30]
PUSH ECX
MOV dword ptr [EBP + -0x30],ECX
CALL 0x0001c220
ADD ESP,0x10
CMP EDI,dword ptr [EBP + -0x2c]
JZ 0x000328fa
MOV ECX,dword ptr [EBP + -0x30]
MOV EDX,dword ptr [EBP + -0x38]
SUB ESP,0x4
MOV dword ptr [EBP + -0x34],EAX
PUSH EDX
PUSH ECX
MOV ECX,dword ptr [EBX + 0xfffffd94]
PUSH ESI
CALL dword ptr [ECX + 0x28]
MOV EAX,dword ptr [EBP + -0x34]
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x20]
TEST ECX,ECX
JZ 0x00032876
SUB ESP,0xc
MOV dword ptr [EBP + -0x30],EAX
PUSH ECX
CALL 0x0001b050
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x30]
JMP 0x00032876
JNZ 0x0003299a
MOV EAX,dword ptr [EBP + -0x2c]
MOV dword ptr [EDI + 0x4],0x0
MOV dword ptr [EAX + 0x4],0x0
JMP 0x0003287c
SUB ESP,0x8
MOV dword ptr [EBP + -0x34],ECX
PUSH ESI
PUSH EAX
CALL 0x0001b190
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x34]
MOV dword ptr [EBP + -0x30],EAX
JMP 0x00032847
SUB ESP,0x8
PUSH EDX
PUSH EDI
CALL 0x0001b190
ADD ESP,0x10
JMP 0x00032866
SUB ESP,0x8
MOV dword ptr [EBP + -0x38],EDX
PUSH EAX
LEA EAX,[EBP + -0x20]
PUSH EAX
CALL 0x0001bb00
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x38]
MOV ECX,EAX
JMP 0x000328c0
CALL 0x0007ebe0
CALL 0x0001bee0
(translation_unit "void __gmpz_sqrtrem(void)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}\n\n" (function_definition "void __gmpz_sqrtrem(void)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}" primitive_type (function_declarator "__gmpz_sqrtrem(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined1 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined1 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_40 [44];" type_identifier (array_declarator "auStack_40 [44]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar14 = &stack0xfffffffc;" (assignment_expression "puVar14 = &stack0xfffffffc" identifier = (pointer_expression "&stack0xfffffffc" & identifier)) ;) (expression_statement "uStack_14 = 0x3280b;" (assignment_expression "uStack_14 = 0x3280b" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" identifier = identifier) ;) (expression_statement "piVar12 = *(int **)(puVar14 + 0x10);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0x10)" identifier = (pointer_expression "*(int **)(puVar14 + 0x10)" * (cast_expression "(int **)(puVar14 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x10)" ( (binary_expression "puVar14 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(puVar14 + 8);" (assignment_expression "piVar2 = *(int **)(puVar14 + 8)" identifier = (pointer_expression "*(int **)(puVar14 + 8)" * (cast_expression "(int **)(puVar14 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 8)" ( (binary_expression "puVar14 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);" (assignment_expression "*(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc)" (pointer_expression "*(undefined4 *)(puVar14 + -0x2c)" * (cast_expression "(undefined4 *)(puVar14 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar14 + 0xc)" * (cast_expression "(undefined4 *)(puVar14 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0xc)" ( (binary_expression "puVar14 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = piVar12[1];" (assignment_expression "iVar3 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar14 + -0x1c)" * (cast_expression "(undefined4 *)(puVar14 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x1c)" ( (binary_expression "puVar14 + -0x1c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (compound_statement "{\n    if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }" { (if_statement "if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }" { comment (expression_statement "__gmp_sqrt_of_negative();" (call_expression "__gmp_sqrt_of_negative()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar3 = *(int *)(puVar14 + -0x2c);" (assignment_expression "iVar3 = *(int *)(puVar14 + -0x2c)" identifier = (pointer_expression "*(int *)(puVar14 + -0x2c)" * (cast_expression "(int *)(puVar14 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) ))))) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 4)" * (cast_expression "(undefined4 *)(iVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" else (compound_statement "{\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" { (expression_statement "piVar4 = *(int **)(puVar14 + -0x2c);" (assignment_expression "piVar4 = *(int **)(puVar14 + -0x2c)" identifier = (pointer_expression "*(int **)(puVar14 + -0x2c)" * (cast_expression "(int **)(puVar14 + -0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) ))))) ;) (if_statement "if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" if (parenthesized_expression "(*piVar4 < iVar3)" ( (binary_expression "*piVar4 < iVar3" (pointer_expression "*piVar4" * identifier) < identifier) )) (compound_statement "{\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }" { (expression_statement "*(int **)(puVar14 + -0x34) = piVar12;" (assignment_expression "*(int **)(puVar14 + -0x34) = piVar12" (pointer_expression "*(int **)(puVar14 + -0x34)" * (cast_expression "(int **)(puVar14 + -0x34)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar10 = __gmpz_realloc(piVar4,iVar3);" (assignment_expression "uVar10 = __gmpz_realloc(piVar4,iVar3)" identifier = (call_expression "__gmpz_realloc(piVar4,iVar3)" identifier (argument_list "(piVar4,iVar3)" ( identifier , identifier )))) ;) (expression_statement "piVar12 = *(int **)(puVar14 + -0x34);" (assignment_expression "piVar12 = *(int **)(puVar14 + -0x34)" identifier = (pointer_expression "*(int **)(puVar14 + -0x34)" * (cast_expression "(int **)(puVar14 + -0x34)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x30) = uVar10;" (assignment_expression "*(undefined4 *)(puVar14 + -0x30) = uVar10" (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" else (compound_statement "{\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" { (expression_statement "*(int *)(puVar14 + -0x30) = piVar4[2];" (assignment_expression "*(int *)(puVar14 + -0x30) = piVar4[2]" (pointer_expression "*(int *)(puVar14 + -0x30)" * (cast_expression "(int *)(puVar14 + -0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) }))) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" identifier = identifier) ;) (expression_statement "iVar8 = iVar3 + 1 >> 1;" (assignment_expression "iVar8 = iVar3 + 1 >> 1" identifier = (binary_expression "iVar3 + 1 >> 1" (binary_expression "iVar3 + 1" identifier + number_literal) >> number_literal)) ;) (expression_statement "piVar2[1] = iVar8;" (assignment_expression "piVar2[1] = iVar8" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int *)(puVar14 + -0x34) = piVar12[2];" (assignment_expression "*(int *)(puVar14 + -0x34) = piVar12[2]" (pointer_expression "*(int *)(puVar14 + -0x34)" * (cast_expression "(int *)(puVar14 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) = (subscript_expression "piVar12[2]" identifier [ number_literal ])) ;) (if_statement "if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" if (parenthesized_expression "(piVar12 == piVar2)" ( (binary_expression "piVar12 == piVar2" identifier == identifier) )) (compound_statement "{\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }" { (expression_statement "uVar1 = iVar8 * 4;" (assignment_expression "uVar1 = iVar8 * 4" identifier = (binary_expression "iVar8 * 4" identifier * number_literal)) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x20) = 0;" (assignment_expression "*(undefined4 *)(puVar14 + -0x20) = 0" (pointer_expression "*(undefined4 *)(puVar14 + -0x20)" * (cast_expression "(undefined4 *)(puVar14 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x20)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" if (parenthesized_expression "(uVar1 < 0x7f01)" ( (binary_expression "uVar1 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }" { (expression_statement "iVar7 = -(uVar1 + 0x1b & 0xfffffff0);" (assignment_expression "iVar7 = -(uVar1 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(uVar1 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(uVar1 + 0x1b & 0xfffffff0)" ( (binary_expression "uVar1 + 0x1b & 0xfffffff0" (binary_expression "uVar1 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar11 = auStack_40 + iVar7;" (assignment_expression "puVar11 = auStack_40 + iVar7" identifier = (binary_expression "auStack_40 + iVar7" identifier + identifier)) ;) (expression_statement "puVar13 = auStack_40 + iVar7;" (assignment_expression "puVar13 = auStack_40 + iVar7" identifier = (binary_expression "auStack_40 + iVar7" identifier + identifier)) ;) }) (else_clause "else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" else (compound_statement "{\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" { (expression_statement "*(int *)(puVar14 + -0x38) = iVar8;" (assignment_expression "*(int *)(puVar14 + -0x38) = iVar8" (pointer_expression "*(int *)(puVar14 + -0x38)" * (cast_expression "(int *)(puVar14 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);" (assignment_expression "puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" identifier = (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" identifier (argument_list "(puVar14 + -0x20,uVar1)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) , identifier ))))) ;) (expression_statement "iVar8 = *(int *)(puVar14 + -0x38);" (assignment_expression "iVar8 = *(int *)(puVar14 + -0x38)" identifier = (pointer_expression "*(int *)(puVar14 + -0x38)" * (cast_expression "(int *)(puVar14 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) ))))) ;) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" identifier = identifier) ;) }))) (expression_statement "*(int *)(puVar13 + -4) = iVar3;" (assignment_expression "*(int *)(puVar13 + -4) = iVar3" (pointer_expression "*(int *)(puVar13 + -4)" * (cast_expression "(int *)(puVar13 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -4)" ( (binary_expression "puVar13 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar10 = *(undefined4 *)(puVar14 + -0x34);" (assignment_expression "uVar10 = *(undefined4 *)(puVar14 + -0x34)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar14 + -0x38) = iVar8;" (assignment_expression "*(int *)(puVar14 + -0x38) = iVar8" (pointer_expression "*(int *)(puVar14 + -0x38)" * (cast_expression "(int *)(puVar14 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -8) = uVar10;" (assignment_expression "*(undefined4 *)(puVar13 + -8) = uVar10" (pointer_expression "*(undefined4 *)(puVar13 + -8)" * (cast_expression "(undefined4 *)(puVar13 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -8)" ( (binary_expression "puVar13 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "*(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30)" (pointer_expression "*(undefined4 *)(puVar13 + -0xc)" * (cast_expression "(undefined4 *)(puVar13 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0xc)" ( (binary_expression "puVar13 + -0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 **)(puVar13 + -0x10) = puVar11;" (assignment_expression "*(undefined1 **)(puVar13 + -0x10) = puVar11" (pointer_expression "*(undefined1 **)(puVar13 + -0x10)" * (cast_expression "(undefined1 **)(puVar13 + -0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + -0x10)" ( (binary_expression "puVar13 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar14 + -0x30) = puVar11;" (assignment_expression "*(undefined1 **)(puVar14 + -0x30) = puVar11" (pointer_expression "*(undefined1 **)(puVar14 + -0x30)" * (cast_expression "(undefined1 **)(puVar14 + -0x30)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x328d4;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x328d4" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" * (cast_expression "(undefined4 *)(puVar13 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x14)" ( (binary_expression "puVar13 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar9 = __gmpn_sqrtrem();" (assignment_expression "uVar9 = __gmpn_sqrtrem()" identifier = (call_expression "__gmpn_sqrtrem()" identifier (argument_list "()" ( )))) ;) (if_statement "if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }" if (parenthesized_expression "(piVar2 != *(int **)(puVar14 + -0x2c))" ( (binary_expression "piVar2 != *(int **)(puVar14 + -0x2c)" identifier != (pointer_expression "*(int **)(puVar14 + -0x2c)" * (cast_expression "(int **)(puVar14 + -0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }" { (expression_statement "uVar5 = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "uVar5 = *(undefined4 *)(puVar14 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x34) = uVar9;" (assignment_expression "*(undefined4 *)(puVar14 + -0x34) = uVar9" (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);" (assignment_expression "*(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38)" (pointer_expression "*(undefined4 *)(puVar13 + -8)" * (cast_expression "(undefined4 *)(puVar13 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -8)" ( (binary_expression "puVar13 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar14 + -0x38)" * (cast_expression "(undefined4 *)(puVar14 + -0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0xc) = uVar5;" (assignment_expression "*(undefined4 *)(puVar13 + -0xc) = uVar5" (pointer_expression "*(undefined4 *)(puVar13 + -0xc)" * (cast_expression "(undefined4 *)(puVar13 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0xc)" ( (binary_expression "puVar13 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = *(int *)(unaff_EBX + 0x6b589);" (assignment_expression "iVar3 = *(int *)(unaff_EBX + 0x6b589)" identifier = (pointer_expression "*(int *)(unaff_EBX + 0x6b589)" * (cast_expression "(int *)(unaff_EBX + 0x6b589)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x6b589)" ( (binary_expression "unaff_EBX + 0x6b589" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x10) = uVar10;" (assignment_expression "*(undefined4 *)(puVar13 + -0x10) = uVar10" (pointer_expression "*(undefined4 *)(puVar13 + -0x10)" * (cast_expression "(undefined4 *)(puVar13 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x10)" ( (binary_expression "puVar13 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar6 = *(code **)(iVar3 + 0x28);" (assignment_expression "pcVar6 = *(code **)(iVar3 + 0x28)" identifier = (pointer_expression "*(code **)(iVar3 + 0x28)" * (cast_expression "(code **)(iVar3 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x328f4;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x328f4" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" * (cast_expression "(undefined4 *)(puVar13 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x14)" ( (binary_expression "puVar13 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar9 = *(undefined4 *)(puVar14 + -0x34);" (assignment_expression "uVar9 = *(undefined4 *)(puVar14 + -0x34)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }" if (parenthesized_expression "(*(int *)(puVar14 + -0x20) != 0)" ( (binary_expression "*(int *)(puVar14 + -0x20) != 0" (pointer_expression "*(int *)(puVar14 + -0x20)" * (cast_expression "(int *)(puVar14 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x20)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }" { (expression_statement "*(undefined4 *)(puVar14 + -0x30) = uVar9;" (assignment_expression "*(undefined4 *)(puVar14 + -0x30) = uVar9" (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);" (assignment_expression "*(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20)" (pointer_expression "*(int *)(puVar13 + -0x10)" * (cast_expression "(int *)(puVar13 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x10)" ( (binary_expression "puVar13 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(int *)(puVar14 + -0x20)" * (cast_expression "(int *)(puVar14 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x20)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x32911;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x32911" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" * (cast_expression "(undefined4 *)(puVar13 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x14)" ( (binary_expression "puVar13 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar9 = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "uVar9 = *(undefined4 *)(puVar14 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" else (compound_statement "{\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" { (if_statement "if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }" if (parenthesized_expression "(*piVar2 < iVar8)" ( (binary_expression "*piVar2 < iVar8" (pointer_expression "*piVar2" * identifier) < identifier) )) (compound_statement "{\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }" { (expression_statement "iVar8 = __gmpz_realloc(piVar2,iVar8);" (assignment_expression "iVar8 = __gmpz_realloc(piVar2,iVar8)" identifier = (call_expression "__gmpz_realloc(piVar2,iVar8)" identifier (argument_list "(piVar2,iVar8)" ( identifier , identifier )))) ;) }) (else_clause "else {\n        iVar8 = piVar2[2];\n      }" else (compound_statement "{\n        iVar8 = piVar2[2];\n      }" { (expression_statement "iVar8 = piVar2[2];" (assignment_expression "iVar8 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) }))) (expression_statement "uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);" (assignment_expression "uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" identifier = (call_expression "__gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" identifier (argument_list "(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" ( identifier , (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) , identifier )))) ;) }))) (expression_statement "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;" (assignment_expression "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9" (pointer_expression "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4)" * (cast_expression "(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + -0x2c) + 4)" ( (binary_expression "*(int *)(puVar14 + -0x2c) + 4" (pointer_expression "*(int *)(puVar14 + -0x2c)" * (cast_expression "(int *)(puVar14 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (if_statement "if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar14 + -0x1c)" * (cast_expression "(int *)(puVar14 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x1c)" ( (binary_expression "puVar14 + -0x1c" identifier + number_literal) )))) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined4 *)(puVar13 + -4) = 0x3299a;" (assignment_expression "*(undefined4 *)(puVar13 + -4) = 0x3299a" (pointer_expression "*(undefined4 *)(puVar13 + -4)" * (cast_expression "(undefined4 *)(puVar13 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -4)" ( (binary_expression "puVar13 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid __gmpz_sqrtrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr op)\n\n{\n  uint size;\n  int new_alloc;\n  code *pcVar1;\n  mpz_ptr p_Var2;\n  int iVar3;\n  mpz_ptr p_Var4;\n  mp_ptr sp;\n  mp_limb_t *pmVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  int local_3c;\n  mpz_ptr local_38;\n  mp_limb_t *local_34;\n  mpz_ptr local_30 [3];\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3280b;\n  piVar6 = &local_3c;\n  local_30[0] = rem;\n  new_alloc = op->_mp_size;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (new_alloc < 1) {\n    if (new_alloc != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    root->_mp_size = 0;\n    rem->_mp_size = 0;\n  }\n  else {\n    if (rem->_mp_alloc < new_alloc) {\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }\n    else {\n      local_34 = rem->_mp_d;\n    }\n    piVar6 = &local_3c;\n    iVar3 = new_alloc + 1 >> 1;\n    root->_mp_size = iVar3;\n    local_38 = (mpz_ptr)op->_mp_d;\n    if (op == root) {\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }\n    else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }\n    local_30[0]->_mp_size = (int)p_Var4;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)((int)piVar6 + -4) = 0x3299a;\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void __gmpz_sqrtrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr op)\n\n{\n  uint size;\n  int new_alloc;\n  code *pcVar1;\n  mpz_ptr p_Var2;\n  int iVar3;\n  mpz_ptr p_Var4;\n  mp_ptr sp;\n  mp_limb_t *pmVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  int local_3c;\n  mpz_ptr local_38;\n  mp_limb_t *local_34;\n  mpz_ptr local_30 [3];\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3280b;\n  piVar6 = &local_3c;\n  local_30[0] = rem;\n  new_alloc = op->_mp_size;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (new_alloc < 1) {\n    if (new_alloc != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    root->_mp_size = 0;\n    rem->_mp_size = 0;\n  }\n  else {\n    if (rem->_mp_alloc < new_alloc) {\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }\n    else {\n      local_34 = rem->_mp_d;\n    }\n    piVar6 = &local_3c;\n    iVar3 = new_alloc + 1 >> 1;\n    root->_mp_size = iVar3;\n    local_38 = (mpz_ptr)op->_mp_d;\n    if (op == root) {\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }\n    else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }\n    local_30[0]->_mp_size = (int)p_Var4;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)((int)piVar6 + -4) = 0x3299a;\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "__gmpz_sqrtrem(mpz_ptr root,mpz_ptr rem,mpz_srcptr op)" identifier (parameter_list "(mpz_ptr root,mpz_ptr rem,mpz_srcptr op)" ( (parameter_declaration "mpz_ptr root" type_identifier identifier) , (parameter_declaration "mpz_ptr rem" type_identifier identifier) , (parameter_declaration "mpz_srcptr op" type_identifier identifier) ))) (compound_statement "{\n  uint size;\n  int new_alloc;\n  code *pcVar1;\n  mpz_ptr p_Var2;\n  int iVar3;\n  mpz_ptr p_Var4;\n  mp_ptr sp;\n  mp_limb_t *pmVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  int local_3c;\n  mpz_ptr local_38;\n  mp_limb_t *local_34;\n  mpz_ptr local_30 [3];\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3280b;\n  piVar6 = &local_3c;\n  local_30[0] = rem;\n  new_alloc = op->_mp_size;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (new_alloc < 1) {\n    if (new_alloc != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    root->_mp_size = 0;\n    rem->_mp_size = 0;\n  }\n  else {\n    if (rem->_mp_alloc < new_alloc) {\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }\n    else {\n      local_34 = rem->_mp_d;\n    }\n    piVar6 = &local_3c;\n    iVar3 = new_alloc + 1 >> 1;\n    root->_mp_size = iVar3;\n    local_38 = (mpz_ptr)op->_mp_d;\n    if (op == root) {\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }\n    else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }\n    local_30[0]->_mp_size = (int)p_Var4;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)((int)piVar6 + -4) = 0x3299a;\n  __stack_chk_fail_local();\n}" { (declaration "uint size;" type_identifier identifier ;) (declaration "int new_alloc;" primitive_type identifier ;) (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "mpz_ptr p_Var2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "mpz_ptr p_Var4;" type_identifier identifier ;) (declaration "mp_ptr sp;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar5;" type_identifier (pointer_declarator "*pmVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "mpz_ptr local_38;" type_identifier identifier ;) (declaration "mp_limb_t *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "mpz_ptr local_30 [3];" type_identifier (array_declarator "local_30 [3]" identifier [ number_literal ]) ;) (declaration "tmp_reentrant_t *__tmp_marker;" type_identifier (pointer_declarator "*__tmp_marker" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3280b;" (assignment_expression "uStack_14 = 0x3280b" identifier = number_literal) ;) (expression_statement "piVar6 = &local_3c;" (assignment_expression "piVar6 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (expression_statement "local_30[0] = rem;" (assignment_expression "local_30[0] = rem" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "new_alloc = op->_mp_size;" (assignment_expression "new_alloc = op->_mp_size" identifier = (field_expression "op->_mp_size" identifier -> field_identifier)) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (new_alloc < 1) {\n    if (new_alloc != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    root->_mp_size = 0;\n    rem->_mp_size = 0;\n  }\n  else {\n    if (rem->_mp_alloc < new_alloc) {\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }\n    else {\n      local_34 = rem->_mp_d;\n    }\n    piVar6 = &local_3c;\n    iVar3 = new_alloc + 1 >> 1;\n    root->_mp_size = iVar3;\n    local_38 = (mpz_ptr)op->_mp_d;\n    if (op == root) {\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }\n    else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }\n    local_30[0]->_mp_size = (int)p_Var4;\n  }" if (parenthesized_expression "(new_alloc < 1)" ( (binary_expression "new_alloc < 1" identifier < number_literal) )) (compound_statement "{\n    if (new_alloc != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }\n    root->_mp_size = 0;\n    rem->_mp_size = 0;\n  }" { (if_statement "if (new_alloc != 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }" if (parenthesized_expression "(new_alloc != 0)" ( (binary_expression "new_alloc != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __gmp_sqrt_of_negative();\n    }" { comment (expression_statement "__gmp_sqrt_of_negative();" (call_expression "__gmp_sqrt_of_negative()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "root->_mp_size = 0;" (assignment_expression "root->_mp_size = 0" (field_expression "root->_mp_size" identifier -> field_identifier) = number_literal) ;) (expression_statement "rem->_mp_size = 0;" (assignment_expression "rem->_mp_size = 0" (field_expression "rem->_mp_size" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n    if (rem->_mp_alloc < new_alloc) {\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }\n    else {\n      local_34 = rem->_mp_d;\n    }\n    piVar6 = &local_3c;\n    iVar3 = new_alloc + 1 >> 1;\n    root->_mp_size = iVar3;\n    local_38 = (mpz_ptr)op->_mp_d;\n    if (op == root) {\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }\n    else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }\n    local_30[0]->_mp_size = (int)p_Var4;\n  }" else (compound_statement "{\n    if (rem->_mp_alloc < new_alloc) {\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }\n    else {\n      local_34 = rem->_mp_d;\n    }\n    piVar6 = &local_3c;\n    iVar3 = new_alloc + 1 >> 1;\n    root->_mp_size = iVar3;\n    local_38 = (mpz_ptr)op->_mp_d;\n    if (op == root) {\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }\n    else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }\n    local_30[0]->_mp_size = (int)p_Var4;\n  }" { (if_statement "if (rem->_mp_alloc < new_alloc) {\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }\n    else {\n      local_34 = rem->_mp_d;\n    }" if (parenthesized_expression "(rem->_mp_alloc < new_alloc)" ( (binary_expression "rem->_mp_alloc < new_alloc" (field_expression "rem->_mp_alloc" identifier -> field_identifier) < identifier) )) (compound_statement "{\n      local_38 = op;\n      local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);\n      op = local_38;\n    }" { (expression_statement "local_38 = op;" (assignment_expression "local_38 = op" identifier = identifier) ;) (expression_statement "local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc);" (assignment_expression "local_34 = (mp_limb_t *)__gmpz_realloc(rem,new_alloc)" identifier = (cast_expression "(mp_limb_t *)__gmpz_realloc(rem,new_alloc)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmpz_realloc(rem,new_alloc)" identifier (argument_list "(rem,new_alloc)" ( identifier , identifier ))))) ;) (expression_statement "op = local_38;" (assignment_expression "op = local_38" identifier = identifier) ;) }) (else_clause "else {\n      local_34 = rem->_mp_d;\n    }" else (compound_statement "{\n      local_34 = rem->_mp_d;\n    }" { (expression_statement "local_34 = rem->_mp_d;" (assignment_expression "local_34 = rem->_mp_d" identifier = (field_expression "rem->_mp_d" identifier -> field_identifier)) ;) }))) (expression_statement "piVar6 = &local_3c;" (assignment_expression "piVar6 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (expression_statement "iVar3 = new_alloc + 1 >> 1;" (assignment_expression "iVar3 = new_alloc + 1 >> 1" identifier = (binary_expression "new_alloc + 1 >> 1" (binary_expression "new_alloc + 1" identifier + number_literal) >> number_literal)) ;) (expression_statement "root->_mp_size = iVar3;" (assignment_expression "root->_mp_size = iVar3" (field_expression "root->_mp_size" identifier -> field_identifier) = identifier) ;) (expression_statement "local_38 = (mpz_ptr)op->_mp_d;" (assignment_expression "local_38 = (mpz_ptr)op->_mp_d" identifier = (cast_expression "(mpz_ptr)op->_mp_d" ( (type_descriptor "mpz_ptr" type_identifier) ) (field_expression "op->_mp_d" identifier -> field_identifier))) ;) (if_statement "if (op == root) {\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }\n    else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }" if (parenthesized_expression "(op == root)" ( (binary_expression "op == root" identifier == identifier) )) (compound_statement "{\n      size = iVar3 * 4;\n      __tmp_marker = (tmp_reentrant_t *)0x0;\n      local_3c = iVar3;\n      if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }\n      *(int *)((int)piVar6 + -4) = new_alloc;\n      p_Var2 = local_38;\n      *(mpz_ptr *)((int)piVar6 + -8) = local_38;\n      *(mp_limb_t **)((int)piVar6 + -0xc) = local_34;\n      *(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;\n      local_34 = pmVar5;\n      *(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));\n      pmVar5 = local_34;\n      if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }\n      if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }\n    }" { (expression_statement "size = iVar3 * 4;" (assignment_expression "size = iVar3 * 4" identifier = (binary_expression "iVar3 * 4" identifier * number_literal)) ;) (expression_statement "__tmp_marker = (tmp_reentrant_t *)0x0;" (assignment_expression "__tmp_marker = (tmp_reentrant_t *)0x0" identifier = (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_3c = iVar3;" (assignment_expression "local_3c = iVar3" identifier = identifier) ;) (if_statement "if (size < 0x7f01) {\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }\n      else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }" if (parenthesized_expression "(size < 0x7f01)" ( (binary_expression "size < 0x7f01" identifier < number_literal) )) (compound_statement "{\n        iVar3 = -(size + 0x1b & 0xfffffff0);\n        pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);\n        piVar6 = (int *)((int)&local_3c + iVar3);\n      }" { (expression_statement "iVar3 = -(size + 0x1b & 0xfffffff0);" (assignment_expression "iVar3 = -(size + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(size + 0x1b & 0xfffffff0)" - (parenthesized_expression "(size + 0x1b & 0xfffffff0)" ( (binary_expression "size + 0x1b & 0xfffffff0" (binary_expression "size + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "pmVar5 = (mp_limb_t *)((int)local_30 + iVar3);" (assignment_expression "pmVar5 = (mp_limb_t *)((int)local_30 + iVar3)" identifier = (cast_expression "(mp_limb_t *)((int)local_30 + iVar3)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + iVar3)" ( (binary_expression "(int)local_30 + iVar3" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "piVar6 = (int *)((int)&local_3c + iVar3);" (assignment_expression "piVar6 = (int *)((int)&local_3c + iVar3)" identifier = (cast_expression "(int *)((int)&local_3c + iVar3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_3c + iVar3)" ( (binary_expression "(int)&local_3c + iVar3" (cast_expression "(int)&local_3c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_3c" & identifier)) + identifier) )))) ;) }) (else_clause "else {\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }" else (compound_statement "{\n        pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n        piVar6 = &local_3c;\n      }" { (expression_statement "pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);" (assignment_expression "pmVar5 = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size)" identifier = (cast_expression "(mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(&__tmp_marker,size)" identifier (argument_list "(&__tmp_marker,size)" ( (pointer_expression "&__tmp_marker" & identifier) , identifier ))))) ;) (expression_statement "piVar6 = &local_3c;" (assignment_expression "piVar6 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) }))) (expression_statement "*(int *)((int)piVar6 + -4) = new_alloc;" (assignment_expression "*(int *)((int)piVar6 + -4) = new_alloc" (pointer_expression "*(int *)((int)piVar6 + -4)" * (cast_expression "(int *)((int)piVar6 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -4)" ( (binary_expression "(int)piVar6 + -4" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "p_Var2 = local_38;" (assignment_expression "p_Var2 = local_38" identifier = identifier) ;) (expression_statement "*(mpz_ptr *)((int)piVar6 + -8) = local_38;" (assignment_expression "*(mpz_ptr *)((int)piVar6 + -8) = local_38" (pointer_expression "*(mpz_ptr *)((int)piVar6 + -8)" * (cast_expression "(mpz_ptr *)((int)piVar6 + -8)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -8)" ( (binary_expression "(int)piVar6 + -8" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(mp_limb_t **)((int)piVar6 + -0xc) = local_34;" (assignment_expression "*(mp_limb_t **)((int)piVar6 + -0xc) = local_34" (pointer_expression "*(mp_limb_t **)((int)piVar6 + -0xc)" * (cast_expression "(mp_limb_t **)((int)piVar6 + -0xc)" ( (type_descriptor "mp_limb_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar6 + -0xc)" ( (binary_expression "(int)piVar6 + -0xc" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5;" (assignment_expression "*(mp_limb_t **)((int)piVar6 + -0x10) = pmVar5" (pointer_expression "*(mp_limb_t **)((int)piVar6 + -0x10)" * (cast_expression "(mp_limb_t **)((int)piVar6 + -0x10)" ( (type_descriptor "mp_limb_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar6 + -0x10)" ( (binary_expression "(int)piVar6 + -0x10" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "local_34 = pmVar5;" (assignment_expression "local_34 = pmVar5" identifier = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar6 + -0x14) = 0x328d4;" (assignment_expression "*(undefined4 *)((int)piVar6 + -0x14) = 0x328d4" (pointer_expression "*(undefined4 *)((int)piVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)piVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -0x14)" ( (binary_expression "(int)piVar6 + -0x14" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4));" (assignment_expression "p_Var4 = (mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4))" identifier = (cast_expression "(mpz_ptr)__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4))" ( (type_descriptor "mpz_ptr" type_identifier) ) (call_expression "__gmpn_sqrtrem(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4))" identifier (argument_list "(*(mp_ptr *)((int)piVar6 + -0x10),\n                                       *(mp_ptr *)((int)piVar6 + -0xc),\n                                       *(mp_srcptr *)((int)piVar6 + -8),\n                                       *(mp_size_t *)((int)piVar6 + -4))" ( (pointer_expression "*(mp_ptr *)((int)piVar6 + -0x10)" * (cast_expression "(mp_ptr *)((int)piVar6 + -0x10)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -0x10)" ( (binary_expression "(int)piVar6 + -0x10" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(mp_ptr *)((int)piVar6 + -0xc)" * (cast_expression "(mp_ptr *)((int)piVar6 + -0xc)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -0xc)" ( (binary_expression "(int)piVar6 + -0xc" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(mp_srcptr *)((int)piVar6 + -8)" * (cast_expression "(mp_srcptr *)((int)piVar6 + -8)" ( (type_descriptor "mp_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -8)" ( (binary_expression "(int)piVar6 + -8" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(mp_size_t *)((int)piVar6 + -4)" * (cast_expression "(mp_size_t *)((int)piVar6 + -4)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -4)" ( (binary_expression "(int)piVar6 + -4" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))))) ;) (expression_statement "pmVar5 = local_34;" (assignment_expression "pmVar5 = local_34" identifier = identifier) ;) (if_statement "if (root != local_30[0]) {\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }" if (parenthesized_expression "(root != local_30[0])" ( (binary_expression "root != local_30[0]" identifier != (subscript_expression "local_30[0]" identifier [ number_literal ])) )) (compound_statement "{\n        local_38 = p_Var4;\n        *(int *)((int)piVar6 + -8) = local_3c;\n        *(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;\n        *(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;\n        pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;\n        (*pcVar1)();\n        p_Var4 = local_38;\n      }" { (expression_statement "local_38 = p_Var4;" (assignment_expression "local_38 = p_Var4" identifier = identifier) ;) (expression_statement "*(int *)((int)piVar6 + -8) = local_3c;" (assignment_expression "*(int *)((int)piVar6 + -8) = local_3c" (pointer_expression "*(int *)((int)piVar6 + -8)" * (cast_expression "(int *)((int)piVar6 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -8)" ( (binary_expression "(int)piVar6 + -8" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5;" (assignment_expression "*(mp_limb_t **)((int)piVar6 + -0xc) = pmVar5" (pointer_expression "*(mp_limb_t **)((int)piVar6 + -0xc)" * (cast_expression "(mp_limb_t **)((int)piVar6 + -0xc)" ( (type_descriptor "mp_limb_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar6 + -0xc)" ( (binary_expression "(int)piVar6 + -0xc" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2;" (assignment_expression "*(mpz_ptr *)((int)piVar6 + -0x10) = p_Var2" (pointer_expression "*(mpz_ptr *)((int)piVar6 + -0x10)" * (cast_expression "(mpz_ptr *)((int)piVar6 + -0x10)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -0x10)" ( (binary_expression "(int)piVar6 + -0x10" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28);" (assignment_expression "pcVar1 = *(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" identifier = (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)piVar6 + -0x14) = 0x328f4;" (assignment_expression "*(undefined4 *)((int)piVar6 + -0x14) = 0x328f4" (pointer_expression "*(undefined4 *)((int)piVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)piVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -0x14)" ( (binary_expression "(int)piVar6 + -0x14" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "p_Var4 = local_38;" (assignment_expression "p_Var4 = local_38" identifier = identifier) ;) })) (if_statement "if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\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        local_34 = (mp_limb_t *)p_Var4;\n        *(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;\n        *(undefined4 *)((int)piVar6 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));\n        p_Var4 = (mpz_ptr)local_34;\n      }" { (expression_statement "local_34 = (mp_limb_t *)p_Var4;" (assignment_expression "local_34 = (mp_limb_t *)p_Var4" identifier = (cast_expression "(mp_limb_t *)p_Var4" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "*(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker;" (assignment_expression "*(tmp_reentrant_t **)((int)piVar6 + -0x10) = __tmp_marker" (pointer_expression "*(tmp_reentrant_t **)((int)piVar6 + -0x10)" * (cast_expression "(tmp_reentrant_t **)((int)piVar6 + -0x10)" ( (type_descriptor "tmp_reentrant_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar6 + -0x10)" ( (binary_expression "(int)piVar6 + -0x10" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar6 + -0x14) = 0x32911;" (assignment_expression "*(undefined4 *)((int)piVar6 + -0x14) = 0x32911" (pointer_expression "*(undefined4 *)((int)piVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)piVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -0x14)" ( (binary_expression "(int)piVar6 + -0x14" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10));" (call_expression "__gmp_tmp_reentrant_free(*(tmp_reentrant_t **)((int)piVar6 + -0x10))" identifier (argument_list "(*(tmp_reentrant_t **)((int)piVar6 + -0x10))" ( (pointer_expression "*(tmp_reentrant_t **)((int)piVar6 + -0x10)" * (cast_expression "(tmp_reentrant_t **)((int)piVar6 + -0x10)" ( (type_descriptor "tmp_reentrant_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar6 + -0x10)" ( (binary_expression "(int)piVar6 + -0x10" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "p_Var4 = (mpz_ptr)local_34;" (assignment_expression "p_Var4 = (mpz_ptr)local_34" identifier = (cast_expression "(mpz_ptr)local_34" ( (type_descriptor "mpz_ptr" type_identifier) ) identifier)) ;) })) }) (else_clause "else {\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }" else (compound_statement "{\n      if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }\n      p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);\n    }" { (if_statement "if (root->_mp_alloc < iVar3) {\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }\n      else {\n        sp = root->_mp_d;\n      }" if (parenthesized_expression "(root->_mp_alloc < iVar3)" ( (binary_expression "root->_mp_alloc < iVar3" (field_expression "root->_mp_alloc" identifier -> field_identifier) < identifier) )) (compound_statement "{\n        sp = (mp_ptr)__gmpz_realloc(root,iVar3);\n      }" { (expression_statement "sp = (mp_ptr)__gmpz_realloc(root,iVar3);" (assignment_expression "sp = (mp_ptr)__gmpz_realloc(root,iVar3)" identifier = (cast_expression "(mp_ptr)__gmpz_realloc(root,iVar3)" ( (type_descriptor "mp_ptr" type_identifier) ) (call_expression "__gmpz_realloc(root,iVar3)" identifier (argument_list "(root,iVar3)" ( identifier , identifier ))))) ;) }) (else_clause "else {\n        sp = root->_mp_d;\n      }" else (compound_statement "{\n        sp = root->_mp_d;\n      }" { (expression_statement "sp = root->_mp_d;" (assignment_expression "sp = root->_mp_d" identifier = (field_expression "root->_mp_d" identifier -> field_identifier)) ;) }))) (expression_statement "p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc);" (assignment_expression "p_Var4 = (mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc)" identifier = (cast_expression "(mpz_ptr)__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc)" ( (type_descriptor "mpz_ptr" type_identifier) ) (call_expression "__gmpn_sqrtrem(sp,local_34,(mp_srcptr)local_38,new_alloc)" identifier (argument_list "(sp,local_34,(mp_srcptr)local_38,new_alloc)" ( identifier , identifier , (cast_expression "(mp_srcptr)local_38" ( (type_descriptor "mp_srcptr" type_identifier) ) identifier) , identifier ))))) ;) }))) (expression_statement "local_30[0]->_mp_size = (int)p_Var4;" (assignment_expression "local_30[0]->_mp_size = (int)p_Var4" (field_expression "local_30[0]->_mp_size" (subscript_expression "local_30[0]" identifier [ number_literal ]) -> field_identifier) = (cast_expression "(int)p_Var4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined4 *)((int)piVar6 + -4) = 0x3299a;" (assignment_expression "*(undefined4 *)((int)piVar6 + -4) = 0x3299a" (pointer_expression "*(undefined4 *)((int)piVar6 + -4)" * (cast_expression "(undefined4 *)((int)piVar6 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + -4)" ( (binary_expression "(int)piVar6 + -4" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __gmpz_sqrtrem(void)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}\n\n" (function_definition "void __gmpz_sqrtrem(void)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}" primitive_type (function_declarator "__gmpz_sqrtrem(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined1 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined1 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_40 [44];" type_identifier (array_declarator "auStack_40 [44]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar14 = &stack0xfffffffc;" (assignment_expression "puVar14 = &stack0xfffffffc" identifier = (pointer_expression "&stack0xfffffffc" & identifier)) ;) (expression_statement "uStack_14 = 0x3280b;" (assignment_expression "uStack_14 = 0x3280b" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" identifier = identifier) ;) (expression_statement "piVar12 = *(int **)(puVar14 + 0x10);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0x10)" identifier = (pointer_expression "*(int **)(puVar14 + 0x10)" * (cast_expression "(int **)(puVar14 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x10)" ( (binary_expression "puVar14 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(puVar14 + 8);" (assignment_expression "piVar2 = *(int **)(puVar14 + 8)" identifier = (pointer_expression "*(int **)(puVar14 + 8)" * (cast_expression "(int **)(puVar14 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 8)" ( (binary_expression "puVar14 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);" (assignment_expression "*(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc)" (pointer_expression "*(undefined4 *)(puVar14 + -0x2c)" * (cast_expression "(undefined4 *)(puVar14 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar14 + 0xc)" * (cast_expression "(undefined4 *)(puVar14 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0xc)" ( (binary_expression "puVar14 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = piVar12[1];" (assignment_expression "iVar3 = piVar12[1]" identifier = (subscript_expression "piVar12[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar14 + -0x1c)" * (cast_expression "(undefined4 *)(puVar14 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x1c)" ( (binary_expression "puVar14 + -0x1c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (compound_statement "{\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }" { (if_statement "if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      __gmp_sqrt_of_negative();\n    }" { (expression_statement "__gmp_sqrt_of_negative();" (call_expression "__gmp_sqrt_of_negative()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar3 = *(int *)(puVar14 + -0x2c);" (assignment_expression "iVar3 = *(int *)(puVar14 + -0x2c)" identifier = (pointer_expression "*(int *)(puVar14 + -0x2c)" * (cast_expression "(int *)(puVar14 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) ))))) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 4)" * (cast_expression "(undefined4 *)(iVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" else (compound_statement "{\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" { (expression_statement "piVar4 = *(int **)(puVar14 + -0x2c);" (assignment_expression "piVar4 = *(int **)(puVar14 + -0x2c)" identifier = (pointer_expression "*(int **)(puVar14 + -0x2c)" * (cast_expression "(int **)(puVar14 + -0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) ))))) ;) (if_statement "if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" if (parenthesized_expression "(*piVar4 < iVar3)" ( (binary_expression "*piVar4 < iVar3" (pointer_expression "*piVar4" * identifier) < identifier) )) (compound_statement "{\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }" { (expression_statement "*(int **)(puVar14 + -0x34) = piVar12;" (assignment_expression "*(int **)(puVar14 + -0x34) = piVar12" (pointer_expression "*(int **)(puVar14 + -0x34)" * (cast_expression "(int **)(puVar14 + -0x34)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar10 = __gmpz_realloc(piVar4,iVar3);" (assignment_expression "uVar10 = __gmpz_realloc(piVar4,iVar3)" identifier = (call_expression "__gmpz_realloc(piVar4,iVar3)" identifier (argument_list "(piVar4,iVar3)" ( identifier , identifier )))) ;) (expression_statement "piVar12 = *(int **)(puVar14 + -0x34);" (assignment_expression "piVar12 = *(int **)(puVar14 + -0x34)" identifier = (pointer_expression "*(int **)(puVar14 + -0x34)" * (cast_expression "(int **)(puVar14 + -0x34)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x30) = uVar10;" (assignment_expression "*(undefined4 *)(puVar14 + -0x30) = uVar10" (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" else (compound_statement "{\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" { (expression_statement "*(int *)(puVar14 + -0x30) = piVar4[2];" (assignment_expression "*(int *)(puVar14 + -0x30) = piVar4[2]" (pointer_expression "*(int *)(puVar14 + -0x30)" * (cast_expression "(int *)(puVar14 + -0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) }))) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" identifier = identifier) ;) (expression_statement "iVar8 = iVar3 + 1 >> 1;" (assignment_expression "iVar8 = iVar3 + 1 >> 1" identifier = (binary_expression "iVar3 + 1 >> 1" (binary_expression "iVar3 + 1" identifier + number_literal) >> number_literal)) ;) (expression_statement "piVar2[1] = iVar8;" (assignment_expression "piVar2[1] = iVar8" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int *)(puVar14 + -0x34) = piVar12[2];" (assignment_expression "*(int *)(puVar14 + -0x34) = piVar12[2]" (pointer_expression "*(int *)(puVar14 + -0x34)" * (cast_expression "(int *)(puVar14 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) = (subscript_expression "piVar12[2]" identifier [ number_literal ])) ;) (if_statement "if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" if (parenthesized_expression "(piVar12 == piVar2)" ( (binary_expression "piVar12 == piVar2" identifier == identifier) )) (compound_statement "{\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }" { (expression_statement "uVar1 = iVar8 * 4;" (assignment_expression "uVar1 = iVar8 * 4" identifier = (binary_expression "iVar8 * 4" identifier * number_literal)) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x20) = 0;" (assignment_expression "*(undefined4 *)(puVar14 + -0x20) = 0" (pointer_expression "*(undefined4 *)(puVar14 + -0x20)" * (cast_expression "(undefined4 *)(puVar14 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x20)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" if (parenthesized_expression "(uVar1 < 0x7f01)" ( (binary_expression "uVar1 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }" { (expression_statement "iVar7 = -(uVar1 + 0x1b & 0xfffffff0);" (assignment_expression "iVar7 = -(uVar1 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(uVar1 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(uVar1 + 0x1b & 0xfffffff0)" ( (binary_expression "uVar1 + 0x1b & 0xfffffff0" (binary_expression "uVar1 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar11 = auStack_40 + iVar7;" (assignment_expression "puVar11 = auStack_40 + iVar7" identifier = (binary_expression "auStack_40 + iVar7" identifier + identifier)) ;) (expression_statement "puVar13 = auStack_40 + iVar7;" (assignment_expression "puVar13 = auStack_40 + iVar7" identifier = (binary_expression "auStack_40 + iVar7" identifier + identifier)) ;) }) (else_clause "else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" else (compound_statement "{\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" { (expression_statement "*(int *)(puVar14 + -0x38) = iVar8;" (assignment_expression "*(int *)(puVar14 + -0x38) = iVar8" (pointer_expression "*(int *)(puVar14 + -0x38)" * (cast_expression "(int *)(puVar14 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);" (assignment_expression "puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" identifier = (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" identifier (argument_list "(puVar14 + -0x20,uVar1)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) , identifier ))))) ;) (expression_statement "iVar8 = *(int *)(puVar14 + -0x38);" (assignment_expression "iVar8 = *(int *)(puVar14 + -0x38)" identifier = (pointer_expression "*(int *)(puVar14 + -0x38)" * (cast_expression "(int *)(puVar14 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) ))))) ;) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" identifier = identifier) ;) }))) (expression_statement "*(int *)(puVar13 + -4) = iVar3;" (assignment_expression "*(int *)(puVar13 + -4) = iVar3" (pointer_expression "*(int *)(puVar13 + -4)" * (cast_expression "(int *)(puVar13 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -4)" ( (binary_expression "puVar13 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar10 = *(undefined4 *)(puVar14 + -0x34);" (assignment_expression "uVar10 = *(undefined4 *)(puVar14 + -0x34)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar14 + -0x38) = iVar8;" (assignment_expression "*(int *)(puVar14 + -0x38) = iVar8" (pointer_expression "*(int *)(puVar14 + -0x38)" * (cast_expression "(int *)(puVar14 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -8) = uVar10;" (assignment_expression "*(undefined4 *)(puVar13 + -8) = uVar10" (pointer_expression "*(undefined4 *)(puVar13 + -8)" * (cast_expression "(undefined4 *)(puVar13 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -8)" ( (binary_expression "puVar13 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "*(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30)" (pointer_expression "*(undefined4 *)(puVar13 + -0xc)" * (cast_expression "(undefined4 *)(puVar13 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0xc)" ( (binary_expression "puVar13 + -0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 **)(puVar13 + -0x10) = puVar11;" (assignment_expression "*(undefined1 **)(puVar13 + -0x10) = puVar11" (pointer_expression "*(undefined1 **)(puVar13 + -0x10)" * (cast_expression "(undefined1 **)(puVar13 + -0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + -0x10)" ( (binary_expression "puVar13 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar14 + -0x30) = puVar11;" (assignment_expression "*(undefined1 **)(puVar14 + -0x30) = puVar11" (pointer_expression "*(undefined1 **)(puVar14 + -0x30)" * (cast_expression "(undefined1 **)(puVar14 + -0x30)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x328d4;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x328d4" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" * (cast_expression "(undefined4 *)(puVar13 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x14)" ( (binary_expression "puVar13 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar9 = __gmpn_sqrtrem();" (assignment_expression "uVar9 = __gmpn_sqrtrem()" identifier = (call_expression "__gmpn_sqrtrem()" identifier (argument_list "()" ( )))) ;) (if_statement "if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }" if (parenthesized_expression "(piVar2 != *(int **)(puVar14 + -0x2c))" ( (binary_expression "piVar2 != *(int **)(puVar14 + -0x2c)" identifier != (pointer_expression "*(int **)(puVar14 + -0x2c)" * (cast_expression "(int **)(puVar14 + -0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }" { (expression_statement "uVar5 = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "uVar5 = *(undefined4 *)(puVar14 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar14 + -0x34) = uVar9;" (assignment_expression "*(undefined4 *)(puVar14 + -0x34) = uVar9" (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);" (assignment_expression "*(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38)" (pointer_expression "*(undefined4 *)(puVar13 + -8)" * (cast_expression "(undefined4 *)(puVar13 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -8)" ( (binary_expression "puVar13 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar14 + -0x38)" * (cast_expression "(undefined4 *)(puVar14 + -0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x38)" ( (binary_expression "puVar14 + -0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0xc) = uVar5;" (assignment_expression "*(undefined4 *)(puVar13 + -0xc) = uVar5" (pointer_expression "*(undefined4 *)(puVar13 + -0xc)" * (cast_expression "(undefined4 *)(puVar13 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0xc)" ( (binary_expression "puVar13 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = *(int *)(unaff_EBX + 0x6b589);" (assignment_expression "iVar3 = *(int *)(unaff_EBX + 0x6b589)" identifier = (pointer_expression "*(int *)(unaff_EBX + 0x6b589)" * (cast_expression "(int *)(unaff_EBX + 0x6b589)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x6b589)" ( (binary_expression "unaff_EBX + 0x6b589" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x10) = uVar10;" (assignment_expression "*(undefined4 *)(puVar13 + -0x10) = uVar10" (pointer_expression "*(undefined4 *)(puVar13 + -0x10)" * (cast_expression "(undefined4 *)(puVar13 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x10)" ( (binary_expression "puVar13 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar6 = *(code **)(iVar3 + 0x28);" (assignment_expression "pcVar6 = *(code **)(iVar3 + 0x28)" identifier = (pointer_expression "*(code **)(iVar3 + 0x28)" * (cast_expression "(code **)(iVar3 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x328f4;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x328f4" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" * (cast_expression "(undefined4 *)(puVar13 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x14)" ( (binary_expression "puVar13 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar9 = *(undefined4 *)(puVar14 + -0x34);" (assignment_expression "uVar9 = *(undefined4 *)(puVar14 + -0x34)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }" if (parenthesized_expression "(*(int *)(puVar14 + -0x20) != 0)" ( (binary_expression "*(int *)(puVar14 + -0x20) != 0" (pointer_expression "*(int *)(puVar14 + -0x20)" * (cast_expression "(int *)(puVar14 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x20)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }" { (expression_statement "*(undefined4 *)(puVar14 + -0x30) = uVar9;" (assignment_expression "*(undefined4 *)(puVar14 + -0x30) = uVar9" (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);" (assignment_expression "*(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20)" (pointer_expression "*(int *)(puVar13 + -0x10)" * (cast_expression "(int *)(puVar13 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x10)" ( (binary_expression "puVar13 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(int *)(puVar14 + -0x20)" * (cast_expression "(int *)(puVar14 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x20)" ( (binary_expression "puVar14 + -0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x32911;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x32911" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" * (cast_expression "(undefined4 *)(puVar13 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -0x14)" ( (binary_expression "puVar13 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar9 = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "uVar9 = *(undefined4 *)(puVar14 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" else (compound_statement "{\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" { (if_statement "if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }" if (parenthesized_expression "(*piVar2 < iVar8)" ( (binary_expression "*piVar2 < iVar8" (pointer_expression "*piVar2" * identifier) < identifier) )) (compound_statement "{\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }" { (expression_statement "iVar8 = __gmpz_realloc(piVar2,iVar8);" (assignment_expression "iVar8 = __gmpz_realloc(piVar2,iVar8)" identifier = (call_expression "__gmpz_realloc(piVar2,iVar8)" identifier (argument_list "(piVar2,iVar8)" ( identifier , identifier )))) ;) }) (else_clause "else {\n        iVar8 = piVar2[2];\n      }" else (compound_statement "{\n        iVar8 = piVar2[2];\n      }" { (expression_statement "iVar8 = piVar2[2];" (assignment_expression "iVar8 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) }))) (expression_statement "uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);" (assignment_expression "uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" identifier = (call_expression "__gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" identifier (argument_list "(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" ( identifier , (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" * (cast_expression "(undefined4 *)(puVar14 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x30)" ( (binary_expression "puVar14 + -0x30" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" * (cast_expression "(undefined4 *)(puVar14 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x34)" ( (binary_expression "puVar14 + -0x34" identifier + number_literal) )))) , identifier )))) ;) }))) (expression_statement "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;" (assignment_expression "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9" (pointer_expression "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4)" * (cast_expression "(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + -0x2c) + 4)" ( (binary_expression "*(int *)(puVar14 + -0x2c) + 4" (pointer_expression "*(int *)(puVar14 + -0x2c)" * (cast_expression "(int *)(puVar14 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x2c)" ( (binary_expression "puVar14 + -0x2c" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (if_statement "if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar14 + -0x1c)" * (cast_expression "(int *)(puVar14 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x1c)" ( (binary_expression "puVar14 + -0x1c" identifier + number_literal) )))) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(puVar13 + -4) = 0x3299a;" (assignment_expression "*(undefined4 *)(puVar13 + -4) = 0x3299a" (pointer_expression "*(undefined4 *)(puVar13 + -4)" * (cast_expression "(undefined4 *)(puVar13 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + -4)" ( (binary_expression "puVar13 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) >> LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < 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 IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , 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 = IDENT) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (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) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (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) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __gmpz_sqrtrem(void)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}" (primitive_type "void") (function_declarator "__gmpz_sqrtrem(void)" (identifier "__gmpz_sqrtrem") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  code *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined1 *puVar11;\n  int *piVar12;\n  int unaff_EBX;\n  undefined1 *puVar13;\n  undefined1 *puVar14;\n  int in_GS_OFFSET;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar14 = &stack0xfffffffc;\n  uStack_14 = 0x3280b;\n  entry();\n  puVar13 = auStack_40;\n  piVar12 = *(int **)(puVar14 + 0x10);\n  piVar2 = *(int **)(puVar14 + 8);\n  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);\n  iVar3 = piVar12[1];\n  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }\n  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined4 *)(puVar13 + -4) = 0x3299a;\n  FUN_0007ebe0();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "undefined1 *puVar11;" (type_identifier "undefined1") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "undefined1 *puVar13;" (type_identifier "undefined1") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "undefined1 *puVar14;" (type_identifier "undefined1") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 auStack_40 [44];" (type_identifier "undefined1") (array_declarator "auStack_40 [44]" (identifier "auStack_40") ([ "[") (number_literal "44") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "puVar14 = &stack0xfffffffc;" (assignment_expression "puVar14 = &stack0xfffffffc" (identifier "puVar14") (= "=") (pointer_expression "&stack0xfffffffc" (& "&") (identifier "stack0xfffffffc"))) (; ";")) (expression_statement "uStack_14 = 0x3280b;" (assignment_expression "uStack_14 = 0x3280b" (identifier "uStack_14") (= "=") (number_literal "0x3280b")) (; ";")) (expression_statement "entry();" (call_expression "entry()" (identifier "entry") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" (identifier "puVar13") (= "=") (identifier "auStack_40")) (; ";")) (expression_statement "piVar12 = *(int **)(puVar14 + 0x10);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0x10)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(puVar14 + 0x10)" (* "*") (cast_expression "(int **)(puVar14 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x10)" (( "(") (binary_expression "puVar14 + 0x10" (identifier "puVar14") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "piVar2 = *(int **)(puVar14 + 8);" (assignment_expression "piVar2 = *(int **)(puVar14 + 8)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(puVar14 + 8)" (* "*") (cast_expression "(int **)(puVar14 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 8)" (( "(") (binary_expression "puVar14 + 8" (identifier "puVar14") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);" (assignment_expression "*(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc)" (pointer_expression "*(undefined4 *)(puVar14 + -0x2c)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x2c)" (( "(") (binary_expression "puVar14 + -0x2c" (identifier "puVar14") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar14 + 0xc)" (* "*") (cast_expression "(undefined4 *)(puVar14 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0xc)" (( "(") (binary_expression "puVar14 + 0xc" (identifier "puVar14") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar3 = piVar12[1];" (assignment_expression "iVar3 = piVar12[1]" (identifier "iVar3") (= "=") (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar14 + -0x1c)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x1c)" (( "(") (binary_expression "puVar14 + -0x1c" (identifier "puVar14") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar3 < 1) {\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }\n  else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" (if "if") (parenthesized_expression "(iVar3 < 1)" (( "(") (binary_expression "iVar3 < 1" (identifier "iVar3") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }\n    iVar3 = *(int *)(puVar14 + -0x2c);\n    piVar2[1] = 0;\n    *(undefined4 *)(iVar3 + 4) = 0;\n  }" ({ "{") (if_statement "if (iVar3 != 0) {\n                    \n      __gmp_sqrt_of_negative();\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      __gmp_sqrt_of_negative();\n    }" ({ "{") (expression_statement "__gmp_sqrt_of_negative();" (call_expression "__gmp_sqrt_of_negative()" (identifier "__gmp_sqrt_of_negative") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(puVar14 + -0x2c);" (assignment_expression "iVar3 = *(int *)(puVar14 + -0x2c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar14 + -0x2c)" (* "*") (cast_expression "(int *)(puVar14 + -0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x2c)" (( "(") (binary_expression "puVar14 + -0x2c" (identifier "puVar14") (+ "+") (number_literal "-0x2c")) () ")"))))) (; ";")) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" (else "else") (compound_statement "{\n    piVar4 = *(int **)(puVar14 + -0x2c);\n    if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }\n    puVar13 = auStack_40;\n    iVar8 = iVar3 + 1 >> 1;\n    piVar2[1] = iVar8;\n    *(int *)(puVar14 + -0x34) = piVar12[2];\n    if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }\n    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;\n  }" ({ "{") (expression_statement "piVar4 = *(int **)(puVar14 + -0x2c);" (assignment_expression "piVar4 = *(int **)(puVar14 + -0x2c)" (identifier "piVar4") (= "=") (pointer_expression "*(int **)(puVar14 + -0x2c)" (* "*") (cast_expression "(int **)(puVar14 + -0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + -0x2c)" (( "(") (binary_expression "puVar14 + -0x2c" (identifier "puVar14") (+ "+") (number_literal "-0x2c")) () ")"))))) (; ";")) (if_statement "if (*piVar4 < iVar3) {\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }\n    else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" (if "if") (parenthesized_expression "(*piVar4 < iVar3)" (( "(") (binary_expression "*piVar4 < iVar3" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n      *(int **)(puVar14 + -0x34) = piVar12;\n      uVar10 = __gmpz_realloc(piVar4,iVar3);\n      piVar12 = *(int **)(puVar14 + -0x34);\n      *(undefined4 *)(puVar14 + -0x30) = uVar10;\n    }" ({ "{") (expression_statement "*(int **)(puVar14 + -0x34) = piVar12;" (assignment_expression "*(int **)(puVar14 + -0x34) = piVar12" (pointer_expression "*(int **)(puVar14 + -0x34)" (* "*") (cast_expression "(int **)(puVar14 + -0x34)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + -0x34)" (( "(") (binary_expression "puVar14 + -0x34" (identifier "puVar14") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (identifier "piVar12")) (; ";")) (expression_statement "uVar10 = __gmpz_realloc(piVar4,iVar3);" (assignment_expression "uVar10 = __gmpz_realloc(piVar4,iVar3)" (identifier "uVar10") (= "=") (call_expression "__gmpz_realloc(piVar4,iVar3)" (identifier "__gmpz_realloc") (argument_list "(piVar4,iVar3)" (( "(") (identifier "piVar4") (, ",") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "piVar12 = *(int **)(puVar14 + -0x34);" (assignment_expression "piVar12 = *(int **)(puVar14 + -0x34)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(puVar14 + -0x34)" (* "*") (cast_expression "(int **)(puVar14 + -0x34)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + -0x34)" (( "(") (binary_expression "puVar14 + -0x34" (identifier "puVar14") (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar14 + -0x30) = uVar10;" (assignment_expression "*(undefined4 *)(puVar14 + -0x30) = uVar10" (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (} "}")) (else_clause "else {\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" (else "else") (compound_statement "{\n      *(int *)(puVar14 + -0x30) = piVar4[2];\n    }" ({ "{") (expression_statement "*(int *)(puVar14 + -0x30) = piVar4[2];" (assignment_expression "*(int *)(puVar14 + -0x30) = piVar4[2]" (pointer_expression "*(int *)(puVar14 + -0x30)" (* "*") (cast_expression "(int *)(puVar14 + -0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" (identifier "puVar13") (= "=") (identifier "auStack_40")) (; ";")) (expression_statement "iVar8 = iVar3 + 1 >> 1;" (assignment_expression "iVar8 = iVar3 + 1 >> 1" (identifier "iVar8") (= "=") (binary_expression "iVar3 + 1 >> 1" (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "piVar2[1] = iVar8;" (assignment_expression "piVar2[1] = iVar8" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(int *)(puVar14 + -0x34) = piVar12[2];" (assignment_expression "*(int *)(puVar14 + -0x34) = piVar12[2]" (pointer_expression "*(int *)(puVar14 + -0x34)" (* "*") (cast_expression "(int *)(puVar14 + -0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x34)" (( "(") (binary_expression "puVar14 + -0x34" (identifier "puVar14") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (piVar12 == piVar2) {\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }\n    else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" (if "if") (parenthesized_expression "(piVar12 == piVar2)" (( "(") (binary_expression "piVar12 == piVar2" (identifier "piVar12") (== "==") (identifier "piVar2")) () ")")) (compound_statement "{\n      uVar1 = iVar8 * 4;\n      *(undefined4 *)(puVar14 + -0x20) = 0;\n      if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }\n      *(int *)(puVar13 + -4) = iVar3;\n      uVar10 = *(undefined4 *)(puVar14 + -0x34);\n      *(int *)(puVar14 + -0x38) = iVar8;\n      *(undefined4 *)(puVar13 + -8) = uVar10;\n      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);\n      *(undefined1 **)(puVar13 + -0x10) = puVar11;\n      *(undefined1 **)(puVar14 + -0x30) = puVar11;\n      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;\n      uVar9 = __gmpn_sqrtrem();\n      if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }\n      if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }\n    }" ({ "{") (expression_statement "uVar1 = iVar8 * 4;" (assignment_expression "uVar1 = iVar8 * 4" (identifier "uVar1") (= "=") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) (; ";")) (expression_statement "*(undefined4 *)(puVar14 + -0x20) = 0;" (assignment_expression "*(undefined4 *)(puVar14 + -0x20) = 0" (pointer_expression "*(undefined4 *)(puVar14 + -0x20)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x20)" (( "(") (binary_expression "puVar14 + -0x20" (identifier "puVar14") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar1 < 0x7f01) {\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }\n      else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" (if "if") (parenthesized_expression "(uVar1 < 0x7f01)" (( "(") (binary_expression "uVar1 < 0x7f01" (identifier "uVar1") (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);\n        puVar11 = auStack_40 + iVar7;\n        puVar13 = auStack_40 + iVar7;\n      }" ({ "{") (expression_statement "iVar7 = -(uVar1 + 0x1b & 0xfffffff0);" (assignment_expression "iVar7 = -(uVar1 + 0x1b & 0xfffffff0)" (identifier "iVar7") (= "=") (unary_expression "-(uVar1 + 0x1b & 0xfffffff0)" (- "-") (parenthesized_expression "(uVar1 + 0x1b & 0xfffffff0)" (( "(") (binary_expression "uVar1 + 0x1b & 0xfffffff0" (binary_expression "uVar1 + 0x1b" (identifier "uVar1") (+ "+") (number_literal "0x1b")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "puVar11 = auStack_40 + iVar7;" (assignment_expression "puVar11 = auStack_40 + iVar7" (identifier "puVar11") (= "=") (binary_expression "auStack_40 + iVar7" (identifier "auStack_40") (+ "+") (identifier "iVar7"))) (; ";")) (expression_statement "puVar13 = auStack_40 + iVar7;" (assignment_expression "puVar13 = auStack_40 + iVar7" (identifier "puVar13") (= "=") (binary_expression "auStack_40 + iVar7" (identifier "auStack_40") (+ "+") (identifier "iVar7"))) (; ";")) (} "}")) (else_clause "else {\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" (else "else") (compound_statement "{\n        *(int *)(puVar14 + -0x38) = iVar8;\n        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);\n        iVar8 = *(int *)(puVar14 + -0x38);\n        puVar13 = auStack_40;\n      }" ({ "{") (expression_statement "*(int *)(puVar14 + -0x38) = iVar8;" (assignment_expression "*(int *)(puVar14 + -0x38) = iVar8" (pointer_expression "*(int *)(puVar14 + -0x38)" (* "*") (cast_expression "(int *)(puVar14 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x38)" (( "(") (binary_expression "puVar14 + -0x38" (identifier "puVar14") (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);" (assignment_expression "puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" (identifier "puVar11") (= "=") (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1)" (identifier "__gmp_tmp_reentrant_alloc") (argument_list "(puVar14 + -0x20,uVar1)" (( "(") (binary_expression "puVar14 + -0x20" (identifier "puVar14") (+ "+") (number_literal "-0x20")) (, ",") (identifier "uVar1") () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(puVar14 + -0x38);" (assignment_expression "iVar8 = *(int *)(puVar14 + -0x38)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(puVar14 + -0x38)" (* "*") (cast_expression "(int *)(puVar14 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x38)" (( "(") (binary_expression "puVar14 + -0x38" (identifier "puVar14") (+ "+") (number_literal "-0x38")) () ")"))))) (; ";")) (expression_statement "puVar13 = auStack_40;" (assignment_expression "puVar13 = auStack_40" (identifier "puVar13") (= "=") (identifier "auStack_40")) (; ";")) (} "}")))) (expression_statement "*(int *)(puVar13 + -4) = iVar3;" (assignment_expression "*(int *)(puVar13 + -4) = iVar3" (pointer_expression "*(int *)(puVar13 + -4)" (* "*") (cast_expression "(int *)(puVar13 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -4)" (( "(") (binary_expression "puVar13 + -4" (identifier "puVar13") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "uVar10 = *(undefined4 *)(puVar14 + -0x34);" (assignment_expression "uVar10 = *(undefined4 *)(puVar14 + -0x34)" (identifier "uVar10") (= "=") (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x34)" (( "(") (binary_expression "puVar14 + -0x34" (identifier "puVar14") (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (expression_statement "*(int *)(puVar14 + -0x38) = iVar8;" (assignment_expression "*(int *)(puVar14 + -0x38) = iVar8" (pointer_expression "*(int *)(puVar14 + -0x38)" (* "*") (cast_expression "(int *)(puVar14 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x38)" (( "(") (binary_expression "puVar14 + -0x38" (identifier "puVar14") (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -8) = uVar10;" (assignment_expression "*(undefined4 *)(puVar13 + -8) = uVar10" (pointer_expression "*(undefined4 *)(puVar13 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -8)" (( "(") (binary_expression "puVar13 + -8" (identifier "puVar13") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "*(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30)" (pointer_expression "*(undefined4 *)(puVar13 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -0xc)" (( "(") (binary_expression "puVar13 + -0xc" (identifier "puVar13") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined1 **)(puVar13 + -0x10) = puVar11;" (assignment_expression "*(undefined1 **)(puVar13 + -0x10) = puVar11" (pointer_expression "*(undefined1 **)(puVar13 + -0x10)" (* "*") (cast_expression "(undefined1 **)(puVar13 + -0x10)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + -0x10)" (( "(") (binary_expression "puVar13 + -0x10" (identifier "puVar13") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "puVar11")) (; ";")) (expression_statement "*(undefined1 **)(puVar14 + -0x30) = puVar11;" (assignment_expression "*(undefined1 **)(puVar14 + -0x30) = puVar11" (pointer_expression "*(undefined1 **)(puVar14 + -0x30)" (* "*") (cast_expression "(undefined1 **)(puVar14 + -0x30)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (identifier "puVar11")) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x328d4;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x328d4" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -0x14)" (( "(") (binary_expression "puVar13 + -0x14" (identifier "puVar13") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x328d4")) (; ";")) (expression_statement "uVar9 = __gmpn_sqrtrem();" (assignment_expression "uVar9 = __gmpn_sqrtrem()" (identifier "uVar9") (= "=") (call_expression "__gmpn_sqrtrem()" (identifier "__gmpn_sqrtrem") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (piVar2 != *(int **)(puVar14 + -0x2c)) {\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }" (if "if") (parenthesized_expression "(piVar2 != *(int **)(puVar14 + -0x2c))" (( "(") (binary_expression "piVar2 != *(int **)(puVar14 + -0x2c)" (identifier "piVar2") (!= "!=") (pointer_expression "*(int **)(puVar14 + -0x2c)" (* "*") (cast_expression "(int **)(puVar14 + -0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + -0x2c)" (( "(") (binary_expression "puVar14 + -0x2c" (identifier "puVar14") (+ "+") (number_literal "-0x2c")) () ")"))))) () ")")) (compound_statement "{\n        uVar5 = *(undefined4 *)(puVar14 + -0x30);\n        *(undefined4 *)(puVar14 + -0x34) = uVar9;\n        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);\n        *(undefined4 *)(puVar13 + -0xc) = uVar5;\n        iVar3 = *(int *)(unaff_EBX + 0x6b589);\n        *(undefined4 *)(puVar13 + -0x10) = uVar10;\n        pcVar6 = *(code **)(iVar3 + 0x28);\n        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;\n        (*pcVar6)();\n        uVar9 = *(undefined4 *)(puVar14 + -0x34);\n      }" ({ "{") (expression_statement "uVar5 = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "uVar5 = *(undefined4 *)(puVar14 + -0x30)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar14 + -0x34) = uVar9;" (assignment_expression "*(undefined4 *)(puVar14 + -0x34) = uVar9" (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x34)" (( "(") (binary_expression "puVar14 + -0x34" (identifier "puVar14") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);" (assignment_expression "*(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38)" (pointer_expression "*(undefined4 *)(puVar13 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -8)" (( "(") (binary_expression "puVar13 + -8" (identifier "puVar13") (+ "+") (number_literal "-8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar14 + -0x38)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x38)" (( "(") (binary_expression "puVar14 + -0x38" (identifier "puVar14") (+ "+") (number_literal "-0x38")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -0xc) = uVar5;" (assignment_expression "*(undefined4 *)(puVar13 + -0xc) = uVar5" (pointer_expression "*(undefined4 *)(puVar13 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -0xc)" (( "(") (binary_expression "puVar13 + -0xc" (identifier "puVar13") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar3 = *(int *)(unaff_EBX + 0x6b589);" (assignment_expression "iVar3 = *(int *)(unaff_EBX + 0x6b589)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(unaff_EBX + 0x6b589)" (* "*") (cast_expression "(int *)(unaff_EBX + 0x6b589)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBX + 0x6b589)" (( "(") (binary_expression "unaff_EBX + 0x6b589" (identifier "unaff_EBX") (+ "+") (number_literal "0x6b589")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -0x10) = uVar10;" (assignment_expression "*(undefined4 *)(puVar13 + -0x10) = uVar10" (pointer_expression "*(undefined4 *)(puVar13 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -0x10)" (( "(") (binary_expression "puVar13 + -0x10" (identifier "puVar13") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "pcVar6 = *(code **)(iVar3 + 0x28);" (assignment_expression "pcVar6 = *(code **)(iVar3 + 0x28)" (identifier "pcVar6") (= "=") (pointer_expression "*(code **)(iVar3 + 0x28)" (* "*") (cast_expression "(code **)(iVar3 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x28)" (( "(") (binary_expression "iVar3 + 0x28" (identifier "iVar3") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x328f4;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x328f4" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -0x14)" (( "(") (binary_expression "puVar13 + -0x14" (identifier "puVar13") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x328f4")) (; ";")) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar9 = *(undefined4 *)(puVar14 + -0x34);" (assignment_expression "uVar9 = *(undefined4 *)(puVar14 + -0x34)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x34)" (( "(") (binary_expression "puVar14 + -0x34" (identifier "puVar14") (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(puVar14 + -0x20) != 0) {\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }" (if "if") (parenthesized_expression "(*(int *)(puVar14 + -0x20) != 0)" (( "(") (binary_expression "*(int *)(puVar14 + -0x20) != 0" (pointer_expression "*(int *)(puVar14 + -0x20)" (* "*") (cast_expression "(int *)(puVar14 + -0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x20)" (( "(") (binary_expression "puVar14 + -0x20" (identifier "puVar14") (+ "+") (number_literal "-0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(undefined4 *)(puVar14 + -0x30) = uVar9;\n        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);\n        *(undefined4 *)(puVar13 + -0x14) = 0x32911;\n        __gmp_tmp_reentrant_free();\n        uVar9 = *(undefined4 *)(puVar14 + -0x30);\n      }" ({ "{") (expression_statement "*(undefined4 *)(puVar14 + -0x30) = uVar9;" (assignment_expression "*(undefined4 *)(puVar14 + -0x30) = uVar9" (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "*(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);" (assignment_expression "*(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20)" (pointer_expression "*(int *)(puVar13 + -0x10)" (* "*") (cast_expression "(int *)(puVar13 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -0x10)" (( "(") (binary_expression "puVar13 + -0x10" (identifier "puVar13") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "*(int *)(puVar14 + -0x20)" (* "*") (cast_expression "(int *)(puVar14 + -0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x20)" (( "(") (binary_expression "puVar14 + -0x20" (identifier "puVar14") (+ "+") (number_literal "-0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar13 + -0x14) = 0x32911;" (assignment_expression "*(undefined4 *)(puVar13 + -0x14) = 0x32911" (pointer_expression "*(undefined4 *)(puVar13 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -0x14)" (( "(") (binary_expression "puVar13 + -0x14" (identifier "puVar13") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x32911")) (; ";")) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" (identifier "__gmp_tmp_reentrant_free") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar9 = *(undefined4 *)(puVar14 + -0x30);" (assignment_expression "uVar9 = *(undefined4 *)(puVar14 + -0x30)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" (else "else") (compound_statement "{\n      if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }\n      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);\n    }" ({ "{") (if_statement "if (*piVar2 < iVar8) {\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }\n      else {\n        iVar8 = piVar2[2];\n      }" (if "if") (parenthesized_expression "(*piVar2 < iVar8)" (( "(") (binary_expression "*piVar2 < iVar8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n        iVar8 = __gmpz_realloc(piVar2,iVar8);\n      }" ({ "{") (expression_statement "iVar8 = __gmpz_realloc(piVar2,iVar8);" (assignment_expression "iVar8 = __gmpz_realloc(piVar2,iVar8)" (identifier "iVar8") (= "=") (call_expression "__gmpz_realloc(piVar2,iVar8)" (identifier "__gmpz_realloc") (argument_list "(piVar2,iVar8)" (( "(") (identifier "piVar2") (, ",") (identifier "iVar8") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        iVar8 = piVar2[2];\n      }" (else "else") (compound_statement "{\n        iVar8 = piVar2[2];\n      }" ({ "{") (expression_statement "iVar8 = piVar2[2];" (assignment_expression "iVar8 = piVar2[2]" (identifier "iVar8") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (expression_statement "uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3);" (assignment_expression "uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" (identifier "uVar9") (= "=") (call_expression "__gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" (identifier "__gmpn_sqrtrem") (argument_list "(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)\n                             ,iVar3)" (( "(") (identifier "iVar8") (, ",") (pointer_expression "*(undefined4 *)(puVar14 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x30)" (( "(") (binary_expression "puVar14 + -0x30" (identifier "puVar14") (+ "+") (number_literal "-0x30")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(puVar14 + -0x34)" (* "*") (cast_expression "(undefined4 *)(puVar14 + -0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x34)" (( "(") (binary_expression "puVar14 + -0x34" (identifier "puVar14") (+ "+") (number_literal "-0x34")) () ")")))) (, ",") (identifier "iVar3") () ")")))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;" (assignment_expression "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9" (pointer_expression "*(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar14 + -0x2c) + 4)" (( "(") (binary_expression "*(int *)(puVar14 + -0x2c) + 4" (pointer_expression "*(int *)(puVar14 + -0x2c)" (* "*") (cast_expression "(int *)(puVar14 + -0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x2c)" (( "(") (binary_expression "puVar14 + -0x2c" (identifier "puVar14") (+ "+") (number_literal "-0x2c")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (} "}")))) (if_statement "if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar14 + -0x1c)" (* "*") (cast_expression "(int *)(puVar14 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x1c)" (( "(") (binary_expression "puVar14 + -0x1c" (identifier "puVar14") (+ "+") (number_literal "-0x1c")) () ")")))) (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(puVar13 + -4) = 0x3299a;" (assignment_expression "*(undefined4 *)(puVar13 + -4) = 0x3299a" (pointer_expression "*(undefined4 *)(puVar13 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar13 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + -4)" (( "(") (binary_expression "puVar13 + -4" (identifier "puVar13") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x3299a")) (; ";")) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" (identifier "FUN_0007ebe0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 var_6,type_1 rem,type_2 var_5)

{
  type_3 var_8;
  int var_2;
  type_4 *pcVar1;
  type_1 p_Var2;
  int var_7;
  type_1 p_Var4;
  type_5 sp;
  type_6 *pmVar5;
  int *piVar6;
  int var_1;
  int local_3c;
  type_1 local_38;
  type_6 *local_34;
  type_1 local_30 [3];
  type_7 *var_12;
  int var_14;
  type_8 uStack_14;
  
  uStack_14 = 0x3280b;
  piVar6 = &local_3c;
  local_30[0] = rem;
  var_2 = var_5->_mp_size;
  var_14 = *(int *)(var_1 + 0x14);
  if (var_2 < 1) {
    if (var_2 != 0) {
                    /* WARNING: Subroutine does not return */
      var_3();
    }
    var_6->_mp_size = 0;
    rem->_mp_size = 0;
  }
  else {
    if (rem->_mp_alloc < var_2) {
      local_38 = var_5;
      local_34 = (type_6 *)var_4(rem,var_2);
      var_5 = local_38;
    }
    else {
      local_34 = rem->_mp_d;
    }
    piVar6 = &local_3c;
    var_7 = var_2 + 1 >> 1;
    var_6->_mp_size = var_7;
    local_38 = (type_1)var_5->_mp_d;
    if (var_5 == var_6) {
      var_8 = var_7 * 4;
      var_12 = (type_7 *)0x0;
      local_3c = var_7;
      if (var_8 < 0x7f01) {
        var_7 = -(var_8 + 0x1b & 0xfffffff0);
        pmVar5 = (type_6 *)((int)local_30 + var_7);
        piVar6 = (int *)((int)&local_3c + var_7);
      }
      else {
        pmVar5 = (type_6 *)var_9(&var_12,var_8);
        piVar6 = &local_3c;
      }
      *(int *)((int)piVar6 + -4) = var_2;
      p_Var2 = local_38;
      *(type_1 *)((int)piVar6 + -8) = local_38;
      *(type_6 **)((int)piVar6 + -0xc) = local_34;
      *(type_6 **)((int)piVar6 + -0x10) = pmVar5;
      local_34 = pmVar5;
      *(type_8 *)((int)piVar6 + -0x14) = 0x328d4;
      p_Var4 = (type_1)var_10(*(type_5 *)((int)piVar6 + -0x10),
                                       *(type_5 *)((int)piVar6 + -0xc),
                                       *(type_9 *)((int)piVar6 + -8),
                                       *(type_10 *)((int)piVar6 + -4));
      pmVar5 = local_34;
      if (var_6 != local_30[0]) {
        local_38 = p_Var4;
        *(int *)((int)piVar6 + -8) = local_3c;
        *(type_6 **)((int)piVar6 + -0xc) = pmVar5;
        *(type_1 *)((int)piVar6 + -0x10) = p_Var2;
        pcVar1 = *(type_4 **)(var_11 + 0x28);
        *(type_8 *)((int)piVar6 + -0x14) = 0x328f4;
        (*pcVar1)();
        p_Var4 = local_38;
      }
      if (var_12 != (type_7 *)0x0) {
        local_34 = (type_6 *)p_Var4;
        *(type_7 **)((int)piVar6 + -0x10) = var_12;
        *(type_8 *)((int)piVar6 + -0x14) = 0x32911;
        var_13(*(type_7 **)((int)piVar6 + -0x10));
        p_Var4 = (type_1)local_34;
      }
    }
    else {
      if (var_6->_mp_alloc < var_7) {
        sp = (type_5)var_4(var_6,var_7);
      }
      else {
        sp = var_6->_mp_d;
      }
      p_Var4 = (type_1)var_10(sp,local_34,(type_9)local_38,var_2);
    }
    local_30[0]->_mp_size = (int)p_Var4;
  }
  if (var_14 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(type_8 *)((int)piVar6 + -4) = 0x3299a;
  var_15();
}


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

void MASKED(void)

{
  uint uVar1;
  int *piVar2;
  int iVar3;
  int *piVar4;
  undefined4 uVar5;
  code *pcVar6;
  int iVar7;
  int iVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  undefined1 *puVar11;
  int *piVar12;
  int unaff_EBX;
  undefined1 *puVar13;
  undefined1 *puVar14;
  int in_GS_OFFSET;
  undefined1 auStack_40 [44];
  undefined4 uStack_14;
  
  puVar14 = &stack0xfffffffc;
  uStack_14 = 0x3280b;
  entry();
  puVar13 = auStack_40;
  piVar12 = *(int **)(puVar14 + 0x10);
  piVar2 = *(int **)(puVar14 + 8);
  *(undefined4 *)(puVar14 + -0x2c) = *(undefined4 *)(puVar14 + 0xc);
  iVar3 = piVar12[1];
  *(undefined4 *)(puVar14 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);
  if (iVar3 < 1) {
    if (iVar3 != 0) {
                    /* WARNING: Subroutine does not return */
      __gmp_sqrt_of_negative();
    }
    iVar3 = *(int *)(puVar14 + -0x2c);
    piVar2[1] = 0;
    *(undefined4 *)(iVar3 + 4) = 0;
  }
  else {
    piVar4 = *(int **)(puVar14 + -0x2c);
    if (*piVar4 < iVar3) {
      *(int **)(puVar14 + -0x34) = piVar12;
      uVar10 = __gmpz_realloc(piVar4,iVar3);
      piVar12 = *(int **)(puVar14 + -0x34);
      *(undefined4 *)(puVar14 + -0x30) = uVar10;
    }
    else {
      *(int *)(puVar14 + -0x30) = piVar4[2];
    }
    puVar13 = auStack_40;
    iVar8 = iVar3 + 1 >> 1;
    piVar2[1] = iVar8;
    *(int *)(puVar14 + -0x34) = piVar12[2];
    if (piVar12 == piVar2) {
      uVar1 = iVar8 * 4;
      *(undefined4 *)(puVar14 + -0x20) = 0;
      if (uVar1 < 0x7f01) {
        iVar7 = -(uVar1 + 0x1b & 0xfffffff0);
        puVar11 = auStack_40 + iVar7;
        puVar13 = auStack_40 + iVar7;
      }
      else {
        *(int *)(puVar14 + -0x38) = iVar8;
        puVar11 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar14 + -0x20,uVar1);
        iVar8 = *(int *)(puVar14 + -0x38);
        puVar13 = auStack_40;
      }
      *(int *)(puVar13 + -4) = iVar3;
      uVar10 = *(undefined4 *)(puVar14 + -0x34);
      *(int *)(puVar14 + -0x38) = iVar8;
      *(undefined4 *)(puVar13 + -8) = uVar10;
      *(undefined4 *)(puVar13 + -0xc) = *(undefined4 *)(puVar14 + -0x30);
      *(undefined1 **)(puVar13 + -0x10) = puVar11;
      *(undefined1 **)(puVar14 + -0x30) = puVar11;
      *(undefined4 *)(puVar13 + -0x14) = 0x328d4;
      uVar9 = __gmpn_sqrtrem();
      if (piVar2 != *(int **)(puVar14 + -0x2c)) {
        uVar5 = *(undefined4 *)(puVar14 + -0x30);
        *(undefined4 *)(puVar14 + -0x34) = uVar9;
        *(undefined4 *)(puVar13 + -8) = *(undefined4 *)(puVar14 + -0x38);
        *(undefined4 *)(puVar13 + -0xc) = uVar5;
        iVar3 = *(int *)(unaff_EBX + 0x6b589);
        *(undefined4 *)(puVar13 + -0x10) = uVar10;
        pcVar6 = *(code **)(iVar3 + 0x28);
        *(undefined4 *)(puVar13 + -0x14) = 0x328f4;
        (*pcVar6)();
        uVar9 = *(undefined4 *)(puVar14 + -0x34);
      }
      if (*(int *)(puVar14 + -0x20) != 0) {
        *(undefined4 *)(puVar14 + -0x30) = uVar9;
        *(int *)(puVar13 + -0x10) = *(int *)(puVar14 + -0x20);
        *(undefined4 *)(puVar13 + -0x14) = 0x32911;
        __gmp_tmp_reentrant_free();
        uVar9 = *(undefined4 *)(puVar14 + -0x30);
      }
    }
    else {
      if (*piVar2 < iVar8) {
        iVar8 = __gmpz_realloc(piVar2,iVar8);
      }
      else {
        iVar8 = piVar2[2];
      }
      uVar9 = __gmpn_sqrtrem(iVar8,*(undefined4 *)(puVar14 + -0x30),*(undefined4 *)(puVar14 + -0x34)
                             ,iVar3);
    }
    *(undefined4 *)(*(int *)(puVar14 + -0x2c) + 4) = uVar9;
  }
  if (*(int *)(puVar14 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined4 *)(puVar13 + -4) = 0x3299a;
  FUN_0007ebe0();
}

