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

mp_bitcnt_t __gmpz_remove(mpz_ptr dest,mpz_srcptr src,mpz_srcptr f)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  mp_size_t mVar4;
  uint uVar5;
  uint uVar6;
  mp_ptr wp;
  uint *vp;
  uint vn;
  mpz_ptr p_Var7;
  int in_GS_OFFSET;
  mp_bitcnt_t local_1cc;
  int local_1c4;
  mp_size_t dn;
  mpz_t x;
  mpz_t rem;
  __mpz_struct fpow [32] [1];
  
  uVar5 = f->_mp_size;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  uVar6 = src->_mp_size;
  vp = f->_mp_d;
  vn = ((int)uVar5 >> 0x1f ^ uVar5) - ((int)uVar5 >> 0x1f);
  uVar2 = *vp;
  if (((int)(uint)(uVar2 == 1) < (int)vn) && (uVar6 != 0)) {
    if ((uVar2 & 1) == 0) {
      if ((uVar2 == 2) == vn) {
        local_1cc = __gmpz_scan1(src,0);
        __gmpz_fdiv_q_2exp(dest,src,local_1cc);
        if ((local_1cc & uVar5 >> 0x1f) != 0) {
          dest->_mp_size = -dest->_mp_size;
        }
      }
      else {
        __gmpz_init(rem);
        __gmpz_init(x);
        __gmpz_tdiv_qr(x,rem,src,f);
        if (rem[0]._mp_size == 0) {
          __gmpz_init_set(fpow[0],f);
          __gmpz_swap(dest,x);
          uVar5 = dest->_mp_size >> 0x1f;
          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <
              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))
              * 2 + -1) {
            local_1cc = 1;
            local_1c4 = 0;
          }
          else {
            p_Var7 = fpow[0];
            local_1c4 = 1;
            iVar3 = local_1c4;
            do {
              local_1c4 = iVar3;
              p_Var7 = p_Var7 + 1;
              __gmpz_init(p_Var7);
              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);
              __gmpz_tdiv_qr(x,rem,dest,p_Var7);
              if (rem[0]._mp_size != 0) {
                __gmpz_clear(p_Var7);
                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;
                local_1c4 = local_1c4 + -1;
                goto LAB_00030a14;
              }
              __gmpz_swap(dest,x);
              uVar5 = dest->_mp_size >> 0x1f;
              uVar6 = p_Var7->_mp_size >> 0x1f;
              iVar3 = local_1c4 + 1;
            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=
                     (int)((dest->_mp_size ^ uVar5) - uVar5));
            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;
          }
LAB_00030a14:
          do {
            p_Var7 = fpow[0] + local_1c4;
            __gmpz_tdiv_qr(x,rem,dest,p_Var7);
            if (rem[0]._mp_size == 0) {
              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));
              __gmpz_swap(dest,x);
            }
            local_1c4 = local_1c4 + -1;
            __gmpz_clear(p_Var7);
          } while (local_1c4 != -1);
        }
        else {
          __gmpz_set(dest,src);
          local_1cc = 0;
        }
        __gmpz_clear(x);
        __gmpz_clear(rem);
      }
    }
    else {
      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);
      if (dest->_mp_alloc < dn) {
        wp = (mp_ptr)__gmpz_realloc(dest,dn);
        vp = f->_mp_d;
      }
      else {
        wp = dest->_mp_d;
      }
      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);
      mVar4 = dn;
      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {
        mVar4 = -dn;
      }
      dest->_mp_size = mVar4;
    }
  }
  else {
    if (uVar5 == 0) {
                    /* WARNING: Subroutine does not return */
      __gmp_divide_by_zero();
    }
    __gmpz_set(dest,src);
    local_1cc = 0;
  }
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return local_1cc;
}



uint __gmpz_remove(int param_1,int param_2)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  uint *puVar6;
  uint uVar7;
  undefined1 *puVar8;
  int in_GS_OFFSET;
  int *unaff_retaddr;
  uint local_1d0;
  int local_1c8;
  int local_1c0;
  undefined1 local_1bc [12];
  undefined1 local_1b0 [4];
  int local_1ac;
  undefined1 local_1a4 [4];
  uint local_1a0;
  undefined1 local_198 [372];
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x307a9;
  entry();
  uVar2 = *(uint *)(param_2 + 4);
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  uVar3 = *(uint *)(param_1 + 4);
  puVar6 = *(uint **)(param_2 + 8);
  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);
  uVar4 = *puVar6;
  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {
    if ((uVar4 & 1) == 0) {
      if ((uVar4 == 2) == uVar7) {
        local_1d0 = __gmpz_scan1(param_1,0);
        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);
        if ((local_1d0 & uVar2 >> 0x1f) != 0) {
          unaff_retaddr[1] = -unaff_retaddr[1];
        }
      }
      else {
        __gmpz_init(local_1b0);
        __gmpz_init(local_1bc);
        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);
        if (local_1ac == 0) {
          __gmpz_init_set(local_1a4,param_2);
          __gmpz_swap(unaff_retaddr,local_1bc);
          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <
              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {
            local_1d0 = 1;
            local_1c8 = 0;
          }
          else {
            local_1c8 = 1;
            puVar8 = local_198;
            iVar5 = local_1c8;
            do {
              local_1c8 = iVar5;
              __gmpz_init(puVar8);
              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);
              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);
              if (local_1ac != 0) {
                __gmpz_clear(puVar8);
                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;
                local_1c8 = local_1c8 + -1;
                goto LAB_00030a14;
              }
              __gmpz_swap(unaff_retaddr,local_1bc);
              puVar6 = (uint *)(puVar8 + 4);
              piVar1 = (int *)(puVar8 + 4);
              puVar8 = puVar8 + 0xc;
              iVar5 = local_1c8 + 1;
            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=
                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));
            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;
          }
LAB_00030a14:
          do {
            puVar8 = local_1a4 + local_1c8 * 0xc;
            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);
            if (local_1ac == 0) {
              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));
              __gmpz_swap(unaff_retaddr,local_1bc);
            }
            local_1c8 = local_1c8 + -1;
            __gmpz_clear(puVar8);
          } while (local_1c8 != -1);
        }
        else {
          __gmpz_set(unaff_retaddr,param_1);
          local_1d0 = 0;
        }
        __gmpz_clear(local_1bc);
        __gmpz_clear(local_1b0);
      }
    }
    else {
      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);
      if (*unaff_retaddr < local_1c0) {
        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);
        puVar6 = *(uint **)(param_2 + 8);
      }
      else {
        iVar5 = unaff_retaddr[2];
      }
      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7
                                ,0xffffffff);
      iVar5 = local_1c0;
      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {
        iVar5 = -local_1c0;
      }
      unaff_retaddr[1] = iVar5;
    }
  }
  else {
    if (uVar2 == 0) {
                    /* WARNING: Subroutine does not return */
      __gmp_divide_by_zero();
    }
    __gmpz_set(unaff_retaddr,param_1);
    local_1d0 = 0;
  }
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00079d30();
  }
  return local_1d0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c340
ADD EBX,0x68857
SUB ESP,0x1cc
MOV EAX,dword ptr [ESP + 0x1e8]
MOV ECX,dword ptr [ESP + 0x1e4]
MOV ESI,dword ptr [ESP + 0x1e0]
MOV dword ptr [ESP + 0x18],ECX
MOV EDI,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x1c],EAX
MOV EDX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x1bc],EDX
XOR EDX,EDX
MOV EDX,dword ptr [ECX + 0x4]
XOR ECX,ECX
MOV dword ptr [ESP + 0xc],EDX
MOV EDX,dword ptr [EAX + 0x8]
MOV EAX,EDI
SAR EAX,0x1f
MOV EBP,EAX
XOR EBP,EDI
SUB EBP,EAX
MOV EAX,dword ptr [EDX]
CMP EAX,0x1
SETZ CL
CMP ECX,EBP
JGE 0x00030ad0
MOV ECX,dword ptr [ESP + 0xc]
TEST ECX,ECX
JZ 0x00030ad0
MOV ECX,EAX
AND ECX,0x1
MOV dword ptr [ESP + 0x10],ECX
JZ 0x000308a0
MOV ECX,dword ptr [ESP + 0xc]
MOV EAX,ECX
SAR EAX,0x1f
XOR ECX,EAX
SUB ECX,EAX
MOV dword ptr [ESP + 0x20],ECX
CMP ECX,dword ptr [ESI]
JG 0x00030b18
MOV EAX,dword ptr [ESI + 0x8]
SUB ESP,0x4
SHR EDI,0x1f
PUSH -0x1
PUSH EBP
PUSH EDX
PUSH ECX
MOV EDX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EDX + 0x8]
LEA EDX,[ESP + 0x38]
PUSH EDX
PUSH EAX
CALL 0x0001bc30
MOV dword ptr [ESP + 0x30],EAX
AND EDI,EAX
MOV EAX,dword ptr [ESP + 0x2c]
ADD ESP,0x20
SHR EAX,0x1f
CMP EDI,EAX
MOV EAX,dword ptr [ESP + 0x20]
JZ 0x00030876
NEG EAX
MOV dword ptr [ESI + 0x4],EAX
MOV ESI,dword ptr [ESP + 0x1bc]
XOR ESI,dword ptr GS:[0x14]
MOV EAX,dword ptr [ESP + 0x10]
JNZ 0x00030b42
ADD ESP,0x1cc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EAX,0x2
SETZ AL
MOVZX EAX,AL
CMP EAX,EBP
JZ 0x00030a90
SUB ESP,0xc
LEA EDI,[ESP + 0x3c]
MOV dword ptr [ESP + 0x20],EDI
PUSH EDI
CALL 0x0001c0e0
POP ECX
LEA EBP,[ESP + 0x30]
MOV dword ptr [ESP + 0x18],EBP
PUSH EBP
CALL 0x0001c0e0
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH EDI
PUSH EBP
CALL 0x0001b140
MOV EDI,dword ptr [ESP + 0x54]
ADD ESP,0x20
TEST EDI,EDI
JNZ 0x00030a60
SUB ESP,0x8
PUSH dword ptr [ESP + 0x24]
LEA EAX,[ESP + 0x48]
MOV dword ptr [ESP + 0x28],EAX
PUSH EAX
CALL 0x0001b100
POP EAX
POP EDX
PUSH EBP
PUSH ESI
CALL 0x0001b600
MOV EAX,dword ptr [ESP + 0x50]
MOV EDX,dword ptr [ESP + 0x50]
ADD ESP,0x10
SAR EAX,0x1f
XOR EDX,EAX
SUB EDX,EAX
MOV EAX,dword ptr [ESI + 0x4]
LEA ECX,[EDX + EDX*0x1 + -0x1]
MOV EDX,dword ptr [ESI + 0x4]
SAR EAX,0x1f
XOR EDX,EAX
SUB EDX,EAX
CMP ECX,EDX
JG 0x00030b35
LEA EDI,[ESP + 0x48]
MOV dword ptr [ESP + 0x18],0x1
JMP 0x0003099e
SUB ESP,0x8
ADD EDI,0xc
PUSH dword ptr [ESP + 0x14]
PUSH ESI
CALL 0x0001b600
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [ESI + 0x4]
MOV ECX,dword ptr [EBP + 0x4]
ADD EAX,0x1
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0x10
SAR EAX,0x1f
XOR EDX,EAX
SUB EDX,EAX
MOV EAX,dword ptr [EBP + 0x4]
SAR EAX,0x1f
XOR ECX,EAX
MOV EBP,ECX
SUB EBP,EAX
LEA EAX,[EBP + EBP*0x1 + -0x1]
CMP EDX,EAX
JL 0x00030af8
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x18],EAX
SUB ESP,0xc
MOV EBP,EDI
PUSH EDI
CALL 0x0001c0e0
ADD ESP,0xc
LEA EAX,[EDI + -0xc]
PUSH EAX
PUSH EAX
PUSH EDI
CALL 0x0001b550
PUSH EDI
PUSH ESI
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x28]
CALL 0x0001b140
ADD ESP,0x20
MOV ECX,dword ptr [ESP + 0x34]
TEST ECX,ECX
JZ 0x00030950
SUB ESP,0xc
PUSH EDI
CALL 0x0001bab0
MOV EDX,dword ptr [ESP + 0x28]
MOV EAX,0x1
MOV ECX,EDX
LEA EDI,[EDX + -0x1]
SHL EAX,CL
SUB EAX,0x1
MOV dword ptr [ESP + 0x20],EAX
ADD ESP,0x10
JMP 0x00030a14
SUB ESP,0xc
SUB EDI,0x1
PUSH EBP
CALL 0x0001bab0
ADD ESP,0x10
CMP EDI,-0x1
JZ 0x00030a70
MOV EDX,dword ptr [ESP + 0x1c]
LEA EAX,[EDI + EDI*0x2]
LEA EBP,[EDX + EAX*0x4]
PUSH EBP
PUSH ESI
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x18]
CALL 0x0001b140
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x34]
TEST EDX,EDX
JNZ 0x00030a00
MOV ECX,EDI
MOV EDX,0x1
SHL EDX,CL
ADD dword ptr [ESP + 0x10],EDX
SUB ESP,0x8
PUSH dword ptr [ESP + 0x14]
PUSH ESI
CALL 0x0001b600
ADD ESP,0x10
JMP 0x00030a00
SUB ESP,0x8
PUSH dword ptr [ESP + 0x20]
PUSH ESI
CALL 0x0001b4d0
ADD ESP,0x10
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x0001bab0
POP EAX
PUSH dword ptr [ESP + 0x20]
CALL 0x0001bab0
ADD ESP,0x10
JMP 0x00030879
SUB ESP,0x8
SHR EDI,0x1f
PUSH 0x0
PUSH dword ptr [ESP + 0x24]
CALL 0x0001b080
ADD ESP,0xc
MOV dword ptr [ESP + 0x14],EAX
MOV EBP,EAX
PUSH EAX
PUSH dword ptr [ESP + 0x20]
PUSH ESI
CALL 0x0001b6c0
ADD ESP,0x10
TEST EBP,EDI
JZ 0x00030879
NEG dword ptr [ESI + 0x4]
JMP 0x00030879
TEST EDI,EDI
JZ 0x00030b47
SUB ESP,0x8
PUSH dword ptr [ESP + 0x20]
PUSH ESI
CALL 0x0001b4d0
ADD ESP,0x10
MOV dword ptr [ESP + 0x10],0x0
JMP 0x00030879
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,0x1
MOV EDI,dword ptr [ESP + 0x18]
SHL EAX,CL
SUB EAX,0x1
MOV dword ptr [ESP + 0x10],EAX
JMP 0x00030a14
SUB ESP,0x8
PUSH ECX
PUSH ESI
CALL 0x0001b190
MOV EDX,dword ptr [ESP + 0x2c]
MOV ECX,dword ptr [ESP + 0x30]
ADD ESP,0x10
MOV EDX,dword ptr [EDX + 0x8]
JMP 0x0003083f
MOV dword ptr [ESP + 0x10],0x1
JMP 0x00030a14
CALL 0x00079d30
CALL 0x0001b120
(translation_unit "uint __gmpz_remove(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00079d30();\n  }\n  return local_1d0;\n}\n\n" (function_definition "uint __gmpz_remove(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00079d30();\n  }\n  return local_1d0;\n}" type_identifier (function_declarator "__gmpz_remove(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00079d30();\n  }\n  return local_1d0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int *unaff_retaddr;" primitive_type (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "uint local_1d0;" type_identifier identifier ;) (declaration "int local_1c8;" primitive_type identifier ;) (declaration "int local_1c0;" primitive_type identifier ;) (declaration "undefined1 local_1bc [12];" type_identifier (array_declarator "local_1bc [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1b0 [4];" type_identifier (array_declarator "local_1b0 [4]" identifier [ number_literal ]) ;) (declaration "int local_1ac;" primitive_type identifier ;) (declaration "undefined1 local_1a4 [4];" type_identifier (array_declarator "local_1a4 [4]" identifier [ number_literal ]) ;) (declaration "uint local_1a0;" type_identifier identifier ;) (declaration "undefined1 local_198 [372];" type_identifier (array_declarator "local_198 [372]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x307a9;" (assignment_expression "uStack_14 = 0x307a9" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = *(uint *)(param_2 + 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(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) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_1 + 4);" (assignment_expression "uVar3 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = *(uint **)(param_2 + 8);" (assignment_expression "puVar6 = *(uint **)(param_2 + 8)" identifier = (pointer_expression "*(uint **)(param_2 + 8)" * (cast_expression "(uint **)(param_2 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);" (assignment_expression "uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" identifier = (binary_expression "((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (parenthesized_expression "((int)uVar2 >> 0x1f ^ uVar2)" ( (binary_expression "(int)uVar2 >> 0x1f ^ uVar2" (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar4 = *puVar6;" (assignment_expression "uVar4 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (if_statement "if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" if (parenthesized_expression "(((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0))" ( (binary_expression "((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)" (parenthesized_expression "((int)(uint)(uVar4 == 1) < (int)uVar7)" ( (binary_expression "(int)(uint)(uVar4 == 1) < (int)uVar7" (cast_expression "(int)(uint)(uVar4 == 1)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(uVar4 == 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 == 1)" ( (binary_expression "uVar4 == 1" identifier == number_literal) )))) < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }" { (if_statement "if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" if (parenthesized_expression "((uVar4 & 1) == 0)" ( (binary_expression "(uVar4 & 1) == 0" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }" { (if_statement "if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" if (parenthesized_expression "((uVar4 == 2) == uVar7)" ( (binary_expression "(uVar4 == 2) == uVar7" (parenthesized_expression "(uVar4 == 2)" ( (binary_expression "uVar4 == 2" identifier == number_literal) )) == identifier) )) (compound_statement "{\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }" { (expression_statement "local_1d0 = __gmpz_scan1(param_1,0);" (assignment_expression "local_1d0 = __gmpz_scan1(param_1,0)" identifier = (call_expression "__gmpz_scan1(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (expression_statement "__gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);" (call_expression "__gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0)" identifier (argument_list "(unaff_retaddr,param_1,local_1d0)" ( identifier , identifier , identifier ))) ;) (if_statement "if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }" if (parenthesized_expression "((local_1d0 & uVar2 >> 0x1f) != 0)" ( (binary_expression "(local_1d0 & uVar2 >> 0x1f) != 0" (parenthesized_expression "(local_1d0 & uVar2 >> 0x1f)" ( (binary_expression "local_1d0 & uVar2 >> 0x1f" identifier & (binary_expression "uVar2 >> 0x1f" identifier >> number_literal)) )) != number_literal) )) (compound_statement "{\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }" { (expression_statement "unaff_retaddr[1] = -unaff_retaddr[1];" (assignment_expression "unaff_retaddr[1] = -unaff_retaddr[1]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (unary_expression "-unaff_retaddr[1]" - (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]))) ;) })) }) (else_clause "else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" else (compound_statement "{\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" { (expression_statement "__gmpz_init(local_1b0);" (call_expression "__gmpz_init(local_1b0)" identifier (argument_list "(local_1b0)" ( identifier ))) ;) (expression_statement "__gmpz_init(local_1bc);" (call_expression "__gmpz_init(local_1bc)" identifier (argument_list "(local_1bc)" ( identifier ))) ;) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2)" identifier (argument_list "(local_1bc,local_1b0,param_1,param_2)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" if (parenthesized_expression "(local_1ac == 0)" ( (binary_expression "local_1ac == 0" identifier == number_literal) )) (compound_statement "{\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }" { (expression_statement "__gmpz_init_set(local_1a4,param_2);" (call_expression "__gmpz_init_set(local_1a4,param_2)" identifier (argument_list "(local_1a4,param_2)" ( identifier , identifier ))) ;) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" identifier (argument_list "(unaff_retaddr,local_1bc)" ( identifier , identifier ))) ;) (if_statement "if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" if (parenthesized_expression "((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1))" ( (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (parenthesized_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) ^ (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal)) )) - (parenthesized_expression "(unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal) ))) < (cast_expression "(int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" ( (binary_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1" (binary_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2" (parenthesized_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f))" ( (binary_expression "(local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)" (parenthesized_expression "(local_1a0 ^ (int)local_1a0 >> 0x1f)" ( (binary_expression "local_1a0 ^ (int)local_1a0 >> 0x1f" identifier ^ (binary_expression "(int)local_1a0 >> 0x1f" (cast_expression "(int)local_1a0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)local_1a0 >> 0x1f)" ( (binary_expression "(int)local_1a0 >> 0x1f" (cast_expression "(int)local_1a0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) )) * number_literal) + number_literal) )))) )) (compound_statement "{\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }" { (expression_statement "local_1d0 = 1;" (assignment_expression "local_1d0 = 1" identifier = number_literal) ;) (expression_statement "local_1c8 = 0;" (assignment_expression "local_1c8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" else (compound_statement "{\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" { (expression_statement "local_1c8 = 1;" (assignment_expression "local_1c8 = 1" identifier = number_literal) ;) (expression_statement "puVar8 = local_198;" (assignment_expression "puVar8 = local_198" identifier = identifier) ;) (expression_statement "iVar5 = local_1c8;" (assignment_expression "iVar5 = local_1c8" identifier = identifier) ;) (do_statement "do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));" do (compound_statement "{\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            }" { (expression_statement "local_1c8 = iVar5;" (assignment_expression "local_1c8 = iVar5" identifier = identifier) ;) (expression_statement "__gmpz_init(puVar8);" (call_expression "__gmpz_init(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "__gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);" (call_expression "__gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc)" identifier (argument_list "(puVar8,puVar8 + -0xc,puVar8 + -0xc)" ( identifier , (binary_expression "puVar8 + -0xc" identifier + number_literal) , (binary_expression "puVar8 + -0xc" identifier + number_literal) ))) ;) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8)" identifier (argument_list "(local_1bc,local_1b0,unaff_retaddr,puVar8)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }" if (parenthesized_expression "(local_1ac != 0)" ( (binary_expression "local_1ac != 0" identifier != number_literal) )) (compound_statement "{\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }" { (expression_statement "__gmpz_clear(puVar8);" (call_expression "__gmpz_clear(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;" (assignment_expression "local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1" identifier = (binary_expression "(1 << ((byte)local_1c8 & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)local_1c8 & 0x1f))" ( (binary_expression "1 << ((byte)local_1c8 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_1c8 & 0x1f)" ( (binary_expression "(byte)local_1c8 & 0x1f" (cast_expression "(byte)local_1c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) - number_literal)) ;) (expression_statement "local_1c8 = local_1c8 + -1;" (assignment_expression "local_1c8 = local_1c8 + -1" identifier = (binary_expression "local_1c8 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_00030a14;" goto statement_identifier ;) })) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" identifier (argument_list "(unaff_retaddr,local_1bc)" ( identifier , identifier ))) ;) (expression_statement "puVar6 = (uint *)(puVar8 + 4);" (assignment_expression "puVar6 = (uint *)(puVar8 + 4)" identifier = (cast_expression "(uint *)(puVar8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 4)" ( (binary_expression "puVar8 + 4" identifier + number_literal) )))) ;) (expression_statement "piVar1 = (int *)(puVar8 + 4);" (assignment_expression "piVar1 = (int *)(puVar8 + 4)" identifier = (cast_expression "(int *)(puVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 4)" ( (binary_expression "puVar8 + 4" identifier + number_literal) )))) ;) (expression_statement "puVar8 = puVar8 + 0xc;" (assignment_expression "puVar8 = puVar8 + 0xc" identifier = (binary_expression "puVar8 + 0xc" identifier + number_literal)) ;) (expression_statement "iVar5 = local_1c8 + 1;" (assignment_expression "iVar5 = local_1c8 + 1" identifier = (binary_expression "local_1c8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f))" ( (binary_expression "(int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (cast_expression "(int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1)" ( (binary_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1" (binary_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2" (parenthesized_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f))" ( (binary_expression "(*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)" (parenthesized_expression "(*puVar6 ^ *piVar1 >> 0x1f)" ( (binary_expression "*puVar6 ^ *piVar1 >> 0x1f" (pointer_expression "*puVar6" * identifier) ^ (binary_expression "*piVar1 >> 0x1f" (pointer_expression "*piVar1" * identifier) >> number_literal)) )) - (parenthesized_expression "(*piVar1 >> 0x1f)" ( (binary_expression "*piVar1 >> 0x1f" (pointer_expression "*piVar1" * identifier) >> number_literal) ))) )) * number_literal) + number_literal) ))) <= (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (parenthesized_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) ^ (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal)) )) - (parenthesized_expression "(unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal) )))) )) ;) (expression_statement "local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;" (assignment_expression "local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1" identifier = (binary_expression "(1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)(local_1c8 + 1) & 0x1f))" ( (binary_expression "1 << ((byte)(local_1c8 + 1) & 0x1f)" number_literal << (parenthesized_expression "((byte)(local_1c8 + 1) & 0x1f)" ( (binary_expression "(byte)(local_1c8 + 1) & 0x1f" (call_expression "(byte)(local_1c8 + 1)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(local_1c8 + 1)" ( (binary_expression "local_1c8 + 1" identifier + number_literal) ))) & number_literal) ))) )) - number_literal)) ;) }))) (labeled_statement "LAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);" statement_identifier : (do_statement "do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);" do (compound_statement "{\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          }" { (expression_statement "puVar8 = local_1a4 + local_1c8 * 0xc;" (assignment_expression "puVar8 = local_1a4 + local_1c8 * 0xc" identifier = (binary_expression "local_1a4 + local_1c8 * 0xc" identifier + (binary_expression "local_1c8 * 0xc" identifier * number_literal))) ;) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8)" identifier (argument_list "(local_1bc,local_1b0,unaff_retaddr,puVar8)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }" if (parenthesized_expression "(local_1ac == 0)" ( (binary_expression "local_1ac == 0" identifier == number_literal) )) (compound_statement "{\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }" { (expression_statement "local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));" (assignment_expression "local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f))" identifier = (binary_expression "local_1d0 + (1 << ((byte)local_1c8 & 0x1f))" identifier + (parenthesized_expression "(1 << ((byte)local_1c8 & 0x1f))" ( (binary_expression "1 << ((byte)local_1c8 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_1c8 & 0x1f)" ( (binary_expression "(byte)local_1c8 & 0x1f" (cast_expression "(byte)local_1c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" identifier (argument_list "(unaff_retaddr,local_1bc)" ( identifier , identifier ))) ;) })) (expression_statement "local_1c8 = local_1c8 + -1;" (assignment_expression "local_1c8 = local_1c8 + -1" identifier = (binary_expression "local_1c8 + -1" identifier + number_literal)) ;) (expression_statement "__gmpz_clear(puVar8);" (call_expression "__gmpz_clear(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) }) while (parenthesized_expression "(local_1c8 != -1)" ( (binary_expression "local_1c8 != -1" identifier != number_literal) )) ;)) }) (else_clause "else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" else (compound_statement "{\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" { (expression_statement "__gmpz_set(unaff_retaddr,param_1);" (call_expression "__gmpz_set(unaff_retaddr,param_1)" identifier (argument_list "(unaff_retaddr,param_1)" ( identifier , identifier ))) ;) (expression_statement "local_1d0 = 0;" (assignment_expression "local_1d0 = 0" identifier = number_literal) ;) }))) (expression_statement "__gmpz_clear(local_1bc);" (call_expression "__gmpz_clear(local_1bc)" identifier (argument_list "(local_1bc)" ( identifier ))) ;) (expression_statement "__gmpz_clear(local_1b0);" (call_expression "__gmpz_clear(local_1b0)" identifier (argument_list "(local_1b0)" ( identifier ))) ;) }))) }) (else_clause "else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" else (compound_statement "{\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" { (expression_statement "local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);" (assignment_expression "local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f)" identifier = (binary_expression "(uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f)" (parenthesized_expression "(uVar3 ^ (int)uVar3 >> 0x1f)" ( (binary_expression "uVar3 ^ (int)uVar3 >> 0x1f" identifier ^ (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)uVar3 >> 0x1f)" ( (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }" if (parenthesized_expression "(*unaff_retaddr < local_1c0)" ( (binary_expression "*unaff_retaddr < local_1c0" (pointer_expression "*unaff_retaddr" * identifier) < identifier) )) (compound_statement "{\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }" { (expression_statement "iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);" (assignment_expression "iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0)" identifier = (call_expression "__gmpz_realloc(unaff_retaddr,local_1c0)" identifier (argument_list "(unaff_retaddr,local_1c0)" ( identifier , identifier )))) ;) (expression_statement "puVar6 = *(uint **)(param_2 + 8);" (assignment_expression "puVar6 = *(uint **)(param_2 + 8)" identifier = (pointer_expression "*(uint **)(param_2 + 8)" * (cast_expression "(uint **)(param_2 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = unaff_retaddr[2];\n      }" else (compound_statement "{\n        iVar5 = unaff_retaddr[2];\n      }" { (expression_statement "iVar5 = unaff_retaddr[2];" (assignment_expression "iVar5 = unaff_retaddr[2]" identifier = (subscript_expression "unaff_retaddr[2]" identifier [ number_literal ])) ;) }))) (expression_statement "local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);" (assignment_expression "local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" identifier = (call_expression "__gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" identifier (argument_list "(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" ( identifier , (pointer_expression "&local_1c0" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar5 = local_1c0;" (assignment_expression "iVar5 = local_1c0" identifier = identifier) ;) (if_statement "if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }" if (parenthesized_expression "((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f)" ( (binary_expression "(uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f" (parenthesized_expression "(uVar2 >> 0x1f & local_1d0)" ( (binary_expression "uVar2 >> 0x1f & local_1d0" (binary_expression "uVar2 >> 0x1f" identifier >> number_literal) & identifier) )) != (binary_expression "uVar3 >> 0x1f" identifier >> number_literal)) )) (compound_statement "{\n        iVar5 = -local_1c0;\n      }" { (expression_statement "iVar5 = -local_1c0;" (assignment_expression "iVar5 = -local_1c0" identifier = (unary_expression "-local_1c0" - identifier)) ;) })) (expression_statement "unaff_retaddr[1] = iVar5;" (assignment_expression "unaff_retaddr[1] = iVar5" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\n    if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" else (compound_statement "{\n    if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" { (if_statement "if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }" { comment (expression_statement "__gmp_divide_by_zero();" (call_expression "__gmp_divide_by_zero()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__gmpz_set(unaff_retaddr,param_1);" (call_expression "__gmpz_set(unaff_retaddr,param_1)" identifier (argument_list "(unaff_retaddr,param_1)" ( identifier , identifier ))) ;) (expression_statement "local_1d0 = 0;" (assignment_expression "local_1d0 = 0" identifier = number_literal) ;) }))) (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00079d30();\n  }" if (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 != *(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                    /* WARNING: Subroutine does not return */\n    FUN_00079d30();\n  }" { comment (expression_statement "FUN_00079d30();" (call_expression "FUN_00079d30()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return local_1d0;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nmp_bitcnt_t __gmpz_remove(mpz_ptr dest,mpz_srcptr src,mpz_srcptr f)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  mp_size_t mVar4;\n  uint uVar5;\n  uint uVar6;\n  mp_ptr wp;\n  uint *vp;\n  uint vn;\n  mpz_ptr p_Var7;\n  int in_GS_OFFSET;\n  mp_bitcnt_t local_1cc;\n  int local_1c4;\n  mp_size_t dn;\n  mpz_t x;\n  mpz_t rem;\n  __mpz_struct fpow [32] [1];\n  \n  uVar5 = f->_mp_size;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = src->_mp_size;\n  vp = f->_mp_d;\n  vn = ((int)uVar5 >> 0x1f ^ uVar5) - ((int)uVar5 >> 0x1f);\n  uVar2 = *vp;\n  if (((int)(uint)(uVar2 == 1) < (int)vn) && (uVar6 != 0)) {\n    if ((uVar2 & 1) == 0) {\n      if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }\n    }\n    else {\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }\n  }\n  else {\n    if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(dest,src);\n    local_1cc = 0;\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_1cc;\n}\n\n" comment comment (function_definition "mp_bitcnt_t __gmpz_remove(mpz_ptr dest,mpz_srcptr src,mpz_srcptr f)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  mp_size_t mVar4;\n  uint uVar5;\n  uint uVar6;\n  mp_ptr wp;\n  uint *vp;\n  uint vn;\n  mpz_ptr p_Var7;\n  int in_GS_OFFSET;\n  mp_bitcnt_t local_1cc;\n  int local_1c4;\n  mp_size_t dn;\n  mpz_t x;\n  mpz_t rem;\n  __mpz_struct fpow [32] [1];\n  \n  uVar5 = f->_mp_size;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = src->_mp_size;\n  vp = f->_mp_d;\n  vn = ((int)uVar5 >> 0x1f ^ uVar5) - ((int)uVar5 >> 0x1f);\n  uVar2 = *vp;\n  if (((int)(uint)(uVar2 == 1) < (int)vn) && (uVar6 != 0)) {\n    if ((uVar2 & 1) == 0) {\n      if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }\n    }\n    else {\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }\n  }\n  else {\n    if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(dest,src);\n    local_1cc = 0;\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_1cc;\n}" type_identifier (function_declarator "__gmpz_remove(mpz_ptr dest,mpz_srcptr src,mpz_srcptr f)" identifier (parameter_list "(mpz_ptr dest,mpz_srcptr src,mpz_srcptr f)" ( (parameter_declaration "mpz_ptr dest" type_identifier identifier) , (parameter_declaration "mpz_srcptr src" type_identifier identifier) , (parameter_declaration "mpz_srcptr f" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  mp_size_t mVar4;\n  uint uVar5;\n  uint uVar6;\n  mp_ptr wp;\n  uint *vp;\n  uint vn;\n  mpz_ptr p_Var7;\n  int in_GS_OFFSET;\n  mp_bitcnt_t local_1cc;\n  int local_1c4;\n  mp_size_t dn;\n  mpz_t x;\n  mpz_t rem;\n  __mpz_struct fpow [32] [1];\n  \n  uVar5 = f->_mp_size;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = src->_mp_size;\n  vp = f->_mp_d;\n  vn = ((int)uVar5 >> 0x1f ^ uVar5) - ((int)uVar5 >> 0x1f);\n  uVar2 = *vp;\n  if (((int)(uint)(uVar2 == 1) < (int)vn) && (uVar6 != 0)) {\n    if ((uVar2 & 1) == 0) {\n      if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }\n    }\n    else {\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }\n  }\n  else {\n    if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(dest,src);\n    local_1cc = 0;\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_1cc;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "mp_size_t mVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "mp_ptr wp;" type_identifier identifier ;) (declaration "uint *vp;" type_identifier (pointer_declarator "*vp" * identifier) ;) (declaration "uint vn;" type_identifier identifier ;) (declaration "mpz_ptr p_Var7;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "mp_bitcnt_t local_1cc;" type_identifier identifier ;) (declaration "int local_1c4;" primitive_type identifier ;) (declaration "mp_size_t dn;" type_identifier identifier ;) (declaration "mpz_t x;" type_identifier identifier ;) (declaration "mpz_t rem;" type_identifier identifier ;) (declaration "__mpz_struct fpow [32] [1];" type_identifier (array_declarator "fpow [32] [1]" (array_declarator "fpow [32]" identifier [ number_literal ]) [ number_literal ]) ;) (expression_statement "uVar5 = f->_mp_size;" (assignment_expression "uVar5 = f->_mp_size" identifier = (field_expression "f->_mp_size" identifier -> field_identifier)) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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) ))))) ;) (expression_statement "uVar6 = src->_mp_size;" (assignment_expression "uVar6 = src->_mp_size" identifier = (field_expression "src->_mp_size" identifier -> field_identifier)) ;) (expression_statement "vp = f->_mp_d;" (assignment_expression "vp = f->_mp_d" identifier = (field_expression "f->_mp_d" identifier -> field_identifier)) ;) (expression_statement "vn = ((int)uVar5 >> 0x1f ^ uVar5) - ((int)uVar5 >> 0x1f);" (assignment_expression "vn = ((int)uVar5 >> 0x1f ^ uVar5) - ((int)uVar5 >> 0x1f)" identifier = (binary_expression "((int)uVar5 >> 0x1f ^ uVar5) - ((int)uVar5 >> 0x1f)" (parenthesized_expression "((int)uVar5 >> 0x1f ^ uVar5)" ( (binary_expression "(int)uVar5 >> 0x1f ^ uVar5" (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar2 = *vp;" (assignment_expression "uVar2 = *vp" identifier = (pointer_expression "*vp" * identifier)) ;) (if_statement "if (((int)(uint)(uVar2 == 1) < (int)vn) && (uVar6 != 0)) {\n    if ((uVar2 & 1) == 0) {\n      if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }\n    }\n    else {\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }\n  }\n  else {\n    if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(dest,src);\n    local_1cc = 0;\n  }" if (parenthesized_expression "(((int)(uint)(uVar2 == 1) < (int)vn) && (uVar6 != 0))" ( (binary_expression "((int)(uint)(uVar2 == 1) < (int)vn) && (uVar6 != 0)" (parenthesized_expression "((int)(uint)(uVar2 == 1) < (int)vn)" ( (binary_expression "(int)(uint)(uVar2 == 1) < (int)vn" (cast_expression "(int)(uint)(uVar2 == 1)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(uVar2 == 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 == 1)" ( (binary_expression "uVar2 == 1" identifier == number_literal) )))) < (cast_expression "(int)vn" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if ((uVar2 & 1) == 0) {\n      if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }\n    }\n    else {\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }\n  }" { (if_statement "if ((uVar2 & 1) == 0) {\n      if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }\n    }\n    else {\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }\n    }" { (if_statement "if ((uVar2 == 2) == vn) {\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }\n      else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }" if (parenthesized_expression "((uVar2 == 2) == vn)" ( (binary_expression "(uVar2 == 2) == vn" (parenthesized_expression "(uVar2 == 2)" ( (binary_expression "uVar2 == 2" identifier == number_literal) )) == identifier) )) (compound_statement "{\n        local_1cc = __gmpz_scan1(src,0);\n        __gmpz_fdiv_q_2exp(dest,src,local_1cc);\n        if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }\n      }" { (expression_statement "local_1cc = __gmpz_scan1(src,0);" (assignment_expression "local_1cc = __gmpz_scan1(src,0)" identifier = (call_expression "__gmpz_scan1(src,0)" identifier (argument_list "(src,0)" ( identifier , number_literal )))) ;) (expression_statement "__gmpz_fdiv_q_2exp(dest,src,local_1cc);" (call_expression "__gmpz_fdiv_q_2exp(dest,src,local_1cc)" identifier (argument_list "(dest,src,local_1cc)" ( identifier , identifier , identifier ))) ;) (if_statement "if ((local_1cc & uVar5 >> 0x1f) != 0) {\n          dest->_mp_size = -dest->_mp_size;\n        }" if (parenthesized_expression "((local_1cc & uVar5 >> 0x1f) != 0)" ( (binary_expression "(local_1cc & uVar5 >> 0x1f) != 0" (parenthesized_expression "(local_1cc & uVar5 >> 0x1f)" ( (binary_expression "local_1cc & uVar5 >> 0x1f" identifier & (binary_expression "uVar5 >> 0x1f" identifier >> number_literal)) )) != number_literal) )) (compound_statement "{\n          dest->_mp_size = -dest->_mp_size;\n        }" { (expression_statement "dest->_mp_size = -dest->_mp_size;" (assignment_expression "dest->_mp_size = -dest->_mp_size" (field_expression "dest->_mp_size" identifier -> field_identifier) = (unary_expression "-dest->_mp_size" - (field_expression "dest->_mp_size" identifier -> field_identifier))) ;) })) }) (else_clause "else {\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }" else (compound_statement "{\n        __gmpz_init(rem);\n        __gmpz_init(x);\n        __gmpz_tdiv_qr(x,rem,src,f);\n        if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }\n        __gmpz_clear(x);\n        __gmpz_clear(rem);\n      }" { (expression_statement "__gmpz_init(rem);" (call_expression "__gmpz_init(rem)" identifier (argument_list "(rem)" ( identifier ))) ;) (expression_statement "__gmpz_init(x);" (call_expression "__gmpz_init(x)" identifier (argument_list "(x)" ( identifier ))) ;) (expression_statement "__gmpz_tdiv_qr(x,rem,src,f);" (call_expression "__gmpz_tdiv_qr(x,rem,src,f)" identifier (argument_list "(x,rem,src,f)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (rem[0]._mp_size == 0) {\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }\n        else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }" if (parenthesized_expression "(rem[0]._mp_size == 0)" ( (binary_expression "rem[0]._mp_size == 0" (field_expression "rem[0]._mp_size" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) == number_literal) )) (compound_statement "{\n          __gmpz_init_set(fpow[0],f);\n          __gmpz_swap(dest,x);\n          uVar5 = dest->_mp_size >> 0x1f;\n          if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);\n        }" { (expression_statement "__gmpz_init_set(fpow[0],f);" (call_expression "__gmpz_init_set(fpow[0],f)" identifier (argument_list "(fpow[0],f)" ( (subscript_expression "fpow[0]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "__gmpz_swap(dest,x);" (call_expression "__gmpz_swap(dest,x)" identifier (argument_list "(dest,x)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = dest->_mp_size >> 0x1f;" (assignment_expression "uVar5 = dest->_mp_size >> 0x1f" identifier = (binary_expression "dest->_mp_size >> 0x1f" (field_expression "dest->_mp_size" identifier -> field_identifier) >> number_literal)) ;) (if_statement "if ((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1) {\n            local_1cc = 1;\n            local_1c4 = 0;\n          }\n          else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }" if (parenthesized_expression "((int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1)" ( (binary_expression "(int)((dest->_mp_size ^ uVar5) - uVar5) <\n              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1" (cast_expression "(int)((dest->_mp_size ^ uVar5) - uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((dest->_mp_size ^ uVar5) - uVar5)" ( (binary_expression "(dest->_mp_size ^ uVar5) - uVar5" (parenthesized_expression "(dest->_mp_size ^ uVar5)" ( (binary_expression "dest->_mp_size ^ uVar5" (field_expression "dest->_mp_size" identifier -> field_identifier) ^ identifier) )) - identifier) ))) < (binary_expression "((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2 + -1" (binary_expression "((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))\n              * 2" (parenthesized_expression "((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))" ( (binary_expression "(fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f)" (parenthesized_expression "(fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f)" ( (binary_expression "fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f" (field_expression "fpow[0][0]._mp_size" (subscript_expression "fpow[0][0]" (subscript_expression "fpow[0]" identifier [ number_literal ]) [ number_literal ]) . field_identifier) ^ (binary_expression "fpow[0][0]._mp_size >> 0x1f" (field_expression "fpow[0][0]._mp_size" (subscript_expression "fpow[0][0]" (subscript_expression "fpow[0]" identifier [ number_literal ]) [ number_literal ]) . field_identifier) >> number_literal)) )) - (parenthesized_expression "(fpow[0][0]._mp_size >> 0x1f)" ( (binary_expression "fpow[0][0]._mp_size >> 0x1f" (field_expression "fpow[0][0]._mp_size" (subscript_expression "fpow[0][0]" (subscript_expression "fpow[0]" identifier [ number_literal ]) [ number_literal ]) . field_identifier) >> number_literal) ))) )) * number_literal) + number_literal)) )) (compound_statement "{\n            local_1cc = 1;\n            local_1c4 = 0;\n          }" { (expression_statement "local_1cc = 1;" (assignment_expression "local_1cc = 1" identifier = number_literal) ;) (expression_statement "local_1c4 = 0;" (assignment_expression "local_1c4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }" else (compound_statement "{\n            p_Var7 = fpow[0];\n            local_1c4 = 1;\n            iVar3 = local_1c4;\n            do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));\n            local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;\n          }" { (expression_statement "p_Var7 = fpow[0];" (assignment_expression "p_Var7 = fpow[0]" identifier = (subscript_expression "fpow[0]" identifier [ number_literal ])) ;) (expression_statement "local_1c4 = 1;" (assignment_expression "local_1c4 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = local_1c4;" (assignment_expression "iVar3 = local_1c4" identifier = identifier) ;) (do_statement "do {\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            } while ((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5));" do (compound_statement "{\n              local_1c4 = iVar3;\n              p_Var7 = p_Var7 + 1;\n              __gmpz_init(p_Var7);\n              __gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);\n              __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n              if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(dest,x);\n              uVar5 = dest->_mp_size >> 0x1f;\n              uVar6 = p_Var7->_mp_size >> 0x1f;\n              iVar3 = local_1c4 + 1;\n            }" { (expression_statement "local_1c4 = iVar3;" (assignment_expression "local_1c4 = iVar3" identifier = identifier) ;) (expression_statement "p_Var7 = p_Var7 + 1;" (assignment_expression "p_Var7 = p_Var7 + 1" identifier = (binary_expression "p_Var7 + 1" identifier + number_literal)) ;) (expression_statement "__gmpz_init(p_Var7);" (call_expression "__gmpz_init(p_Var7)" identifier (argument_list "(p_Var7)" ( identifier ))) ;) (expression_statement "__gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1);" (call_expression "__gmpz_mul(p_Var7,p_Var7 + -1,p_Var7 + -1)" identifier (argument_list "(p_Var7,p_Var7 + -1,p_Var7 + -1)" ( identifier , (binary_expression "p_Var7 + -1" identifier + number_literal) , (binary_expression "p_Var7 + -1" identifier + number_literal) ))) ;) (expression_statement "__gmpz_tdiv_qr(x,rem,dest,p_Var7);" (call_expression "__gmpz_tdiv_qr(x,rem,dest,p_Var7)" identifier (argument_list "(x,rem,dest,p_Var7)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (rem[0]._mp_size != 0) {\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }" if (parenthesized_expression "(rem[0]._mp_size != 0)" ( (binary_expression "rem[0]._mp_size != 0" (field_expression "rem[0]._mp_size" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) != number_literal) )) (compound_statement "{\n                __gmpz_clear(p_Var7);\n                local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;\n                local_1c4 = local_1c4 + -1;\n                goto LAB_00030a14;\n              }" { (expression_statement "__gmpz_clear(p_Var7);" (call_expression "__gmpz_clear(p_Var7)" identifier (argument_list "(p_Var7)" ( identifier ))) ;) (expression_statement "local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1;" (assignment_expression "local_1cc = (1 << ((byte)local_1c4 & 0x1f)) - 1" identifier = (binary_expression "(1 << ((byte)local_1c4 & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)local_1c4 & 0x1f))" ( (binary_expression "1 << ((byte)local_1c4 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_1c4 & 0x1f)" ( (binary_expression "(byte)local_1c4 & 0x1f" (cast_expression "(byte)local_1c4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) - number_literal)) ;) (expression_statement "local_1c4 = local_1c4 + -1;" (assignment_expression "local_1c4 = local_1c4 + -1" identifier = (binary_expression "local_1c4 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_00030a14;" goto statement_identifier ;) })) (expression_statement "__gmpz_swap(dest,x);" (call_expression "__gmpz_swap(dest,x)" identifier (argument_list "(dest,x)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = dest->_mp_size >> 0x1f;" (assignment_expression "uVar5 = dest->_mp_size >> 0x1f" identifier = (binary_expression "dest->_mp_size >> 0x1f" (field_expression "dest->_mp_size" identifier -> field_identifier) >> number_literal)) ;) (expression_statement "uVar6 = p_Var7->_mp_size >> 0x1f;" (assignment_expression "uVar6 = p_Var7->_mp_size >> 0x1f" identifier = (binary_expression "p_Var7->_mp_size >> 0x1f" (field_expression "p_Var7->_mp_size" identifier -> field_identifier) >> number_literal)) ;) (expression_statement "iVar3 = local_1c4 + 1;" (assignment_expression "iVar3 = local_1c4 + 1" identifier = (binary_expression "local_1c4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5))" ( (binary_expression "(int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1) <=\n                     (int)((dest->_mp_size ^ uVar5) - uVar5)" (cast_expression "(int)(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1)" ( (binary_expression "((p_Var7->_mp_size ^ uVar6) - uVar6) * 2 + -1" (binary_expression "((p_Var7->_mp_size ^ uVar6) - uVar6) * 2" (parenthesized_expression "((p_Var7->_mp_size ^ uVar6) - uVar6)" ( (binary_expression "(p_Var7->_mp_size ^ uVar6) - uVar6" (parenthesized_expression "(p_Var7->_mp_size ^ uVar6)" ( (binary_expression "p_Var7->_mp_size ^ uVar6" (field_expression "p_Var7->_mp_size" identifier -> field_identifier) ^ identifier) )) - identifier) )) * number_literal) + number_literal) ))) <= (cast_expression "(int)((dest->_mp_size ^ uVar5) - uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((dest->_mp_size ^ uVar5) - uVar5)" ( (binary_expression "(dest->_mp_size ^ uVar5) - uVar5" (parenthesized_expression "(dest->_mp_size ^ uVar5)" ( (binary_expression "dest->_mp_size ^ uVar5" (field_expression "dest->_mp_size" identifier -> field_identifier) ^ identifier) )) - identifier) )))) )) ;) (expression_statement "local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1;" (assignment_expression "local_1cc = (1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1" identifier = (binary_expression "(1 << ((byte)(local_1c4 + 1) & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)(local_1c4 + 1) & 0x1f))" ( (binary_expression "1 << ((byte)(local_1c4 + 1) & 0x1f)" number_literal << (parenthesized_expression "((byte)(local_1c4 + 1) & 0x1f)" ( (binary_expression "(byte)(local_1c4 + 1) & 0x1f" (call_expression "(byte)(local_1c4 + 1)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(local_1c4 + 1)" ( (binary_expression "local_1c4 + 1" identifier + number_literal) ))) & number_literal) ))) )) - number_literal)) ;) }))) (labeled_statement "LAB_00030a14:\n          do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);" statement_identifier : (do_statement "do {\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          } while (local_1c4 != -1);" do (compound_statement "{\n            p_Var7 = fpow[0] + local_1c4;\n            __gmpz_tdiv_qr(x,rem,dest,p_Var7);\n            if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }\n            local_1c4 = local_1c4 + -1;\n            __gmpz_clear(p_Var7);\n          }" { (expression_statement "p_Var7 = fpow[0] + local_1c4;" (assignment_expression "p_Var7 = fpow[0] + local_1c4" identifier = (binary_expression "fpow[0] + local_1c4" (subscript_expression "fpow[0]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "__gmpz_tdiv_qr(x,rem,dest,p_Var7);" (call_expression "__gmpz_tdiv_qr(x,rem,dest,p_Var7)" identifier (argument_list "(x,rem,dest,p_Var7)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (rem[0]._mp_size == 0) {\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }" if (parenthesized_expression "(rem[0]._mp_size == 0)" ( (binary_expression "rem[0]._mp_size == 0" (field_expression "rem[0]._mp_size" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) == number_literal) )) (compound_statement "{\n              local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));\n              __gmpz_swap(dest,x);\n            }" { (expression_statement "local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f));" (assignment_expression "local_1cc = local_1cc + (1 << ((byte)local_1c4 & 0x1f))" identifier = (binary_expression "local_1cc + (1 << ((byte)local_1c4 & 0x1f))" identifier + (parenthesized_expression "(1 << ((byte)local_1c4 & 0x1f))" ( (binary_expression "1 << ((byte)local_1c4 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_1c4 & 0x1f)" ( (binary_expression "(byte)local_1c4 & 0x1f" (cast_expression "(byte)local_1c4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "__gmpz_swap(dest,x);" (call_expression "__gmpz_swap(dest,x)" identifier (argument_list "(dest,x)" ( identifier , identifier ))) ;) })) (expression_statement "local_1c4 = local_1c4 + -1;" (assignment_expression "local_1c4 = local_1c4 + -1" identifier = (binary_expression "local_1c4 + -1" identifier + number_literal)) ;) (expression_statement "__gmpz_clear(p_Var7);" (call_expression "__gmpz_clear(p_Var7)" identifier (argument_list "(p_Var7)" ( identifier ))) ;) }) while (parenthesized_expression "(local_1c4 != -1)" ( (binary_expression "local_1c4 != -1" identifier != number_literal) )) ;)) }) (else_clause "else {\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }" else (compound_statement "{\n          __gmpz_set(dest,src);\n          local_1cc = 0;\n        }" { (expression_statement "__gmpz_set(dest,src);" (call_expression "__gmpz_set(dest,src)" identifier (argument_list "(dest,src)" ( identifier , identifier ))) ;) (expression_statement "local_1cc = 0;" (assignment_expression "local_1cc = 0" identifier = number_literal) ;) }))) (expression_statement "__gmpz_clear(x);" (call_expression "__gmpz_clear(x)" identifier (argument_list "(x)" ( identifier ))) ;) (expression_statement "__gmpz_clear(rem);" (call_expression "__gmpz_clear(rem)" identifier (argument_list "(rem)" ( identifier ))) ;) }))) }) (else_clause "else {\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }" else (compound_statement "{\n      dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);\n      if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }\n      local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);\n      mVar4 = dn;\n      if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }\n      dest->_mp_size = mVar4;\n    }" { (expression_statement "dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f);" (assignment_expression "dn = (uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f)" identifier = (binary_expression "(uVar6 ^ (int)uVar6 >> 0x1f) - ((int)uVar6 >> 0x1f)" (parenthesized_expression "(uVar6 ^ (int)uVar6 >> 0x1f)" ( (binary_expression "uVar6 ^ (int)uVar6 >> 0x1f" identifier ^ (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (dest->_mp_alloc < dn) {\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }\n      else {\n        wp = dest->_mp_d;\n      }" if (parenthesized_expression "(dest->_mp_alloc < dn)" ( (binary_expression "dest->_mp_alloc < dn" (field_expression "dest->_mp_alloc" identifier -> field_identifier) < identifier) )) (compound_statement "{\n        wp = (mp_ptr)__gmpz_realloc(dest,dn);\n        vp = f->_mp_d;\n      }" { (expression_statement "wp = (mp_ptr)__gmpz_realloc(dest,dn);" (assignment_expression "wp = (mp_ptr)__gmpz_realloc(dest,dn)" identifier = (cast_expression "(mp_ptr)__gmpz_realloc(dest,dn)" ( (type_descriptor "mp_ptr" type_identifier) ) (call_expression "__gmpz_realloc(dest,dn)" identifier (argument_list "(dest,dn)" ( identifier , identifier ))))) ;) (expression_statement "vp = f->_mp_d;" (assignment_expression "vp = f->_mp_d" identifier = (field_expression "f->_mp_d" identifier -> field_identifier)) ;) }) (else_clause "else {\n        wp = dest->_mp_d;\n      }" else (compound_statement "{\n        wp = dest->_mp_d;\n      }" { (expression_statement "wp = dest->_mp_d;" (assignment_expression "wp = dest->_mp_d" identifier = (field_expression "dest->_mp_d" identifier -> field_identifier)) ;) }))) (expression_statement "local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff);" (assignment_expression "local_1cc = __gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff)" identifier = (call_expression "__gmpn_remove(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff)" identifier (argument_list "(wp,&dn,src->_mp_d,dn,vp,vn,0xffffffff)" ( identifier , (pointer_expression "&dn" & identifier) , (field_expression "src->_mp_d" identifier -> field_identifier) , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "mVar4 = dn;" (assignment_expression "mVar4 = dn" identifier = identifier) ;) (if_statement "if ((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f) {\n        mVar4 = -dn;\n      }" if (parenthesized_expression "((uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f)" ( (binary_expression "(uVar5 >> 0x1f & local_1cc) != uVar6 >> 0x1f" (parenthesized_expression "(uVar5 >> 0x1f & local_1cc)" ( (binary_expression "uVar5 >> 0x1f & local_1cc" (binary_expression "uVar5 >> 0x1f" identifier >> number_literal) & identifier) )) != (binary_expression "uVar6 >> 0x1f" identifier >> number_literal)) )) (compound_statement "{\n        mVar4 = -dn;\n      }" { (expression_statement "mVar4 = -dn;" (assignment_expression "mVar4 = -dn" identifier = (unary_expression "-dn" - identifier)) ;) })) (expression_statement "dest->_mp_size = mVar4;" (assignment_expression "dest->_mp_size = mVar4" (field_expression "dest->_mp_size" identifier -> field_identifier) = identifier) ;) }))) }) (else_clause "else {\n    if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(dest,src);\n    local_1cc = 0;\n  }" else (compound_statement "{\n    if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(dest,src);\n    local_1cc = 0;\n  }" { (if_statement "if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __gmp_divide_by_zero();\n    }" { comment (expression_statement "__gmp_divide_by_zero();" (call_expression "__gmp_divide_by_zero()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__gmpz_set(dest,src);" (call_expression "__gmpz_set(dest,src)" identifier (argument_list "(dest,src)" ( identifier , identifier ))) ;) (expression_statement "local_1cc = 0;" (assignment_expression "local_1cc = 0" identifier = number_literal) ;) }))) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(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                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return local_1cc;" return identifier ;) })))
(translation_unit "uint __gmpz_remove(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00079d30();\n  }\n  return local_1d0;\n}\n\n" (function_definition "uint __gmpz_remove(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00079d30();\n  }\n  return local_1d0;\n}" type_identifier (function_declarator "__gmpz_remove(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00079d30();\n  }\n  return local_1d0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int *unaff_retaddr;" primitive_type (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "uint local_1d0;" type_identifier identifier ;) (declaration "int local_1c8;" primitive_type identifier ;) (declaration "int local_1c0;" primitive_type identifier ;) (declaration "undefined1 local_1bc [12];" type_identifier (array_declarator "local_1bc [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1b0 [4];" type_identifier (array_declarator "local_1b0 [4]" identifier [ number_literal ]) ;) (declaration "int local_1ac;" primitive_type identifier ;) (declaration "undefined1 local_1a4 [4];" type_identifier (array_declarator "local_1a4 [4]" identifier [ number_literal ]) ;) (declaration "uint local_1a0;" type_identifier identifier ;) (declaration "undefined1 local_198 [372];" type_identifier (array_declarator "local_198 [372]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x307a9;" (assignment_expression "uStack_14 = 0x307a9" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = *(uint *)(param_2 + 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(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) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_1 + 4);" (assignment_expression "uVar3 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = *(uint **)(param_2 + 8);" (assignment_expression "puVar6 = *(uint **)(param_2 + 8)" identifier = (pointer_expression "*(uint **)(param_2 + 8)" * (cast_expression "(uint **)(param_2 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);" (assignment_expression "uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" identifier = (binary_expression "((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (parenthesized_expression "((int)uVar2 >> 0x1f ^ uVar2)" ( (binary_expression "(int)uVar2 >> 0x1f ^ uVar2" (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar4 = *puVar6;" (assignment_expression "uVar4 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (if_statement "if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" if (parenthesized_expression "(((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0))" ( (binary_expression "((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)" (parenthesized_expression "((int)(uint)(uVar4 == 1) < (int)uVar7)" ( (binary_expression "(int)(uint)(uVar4 == 1) < (int)uVar7" (cast_expression "(int)(uint)(uVar4 == 1)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(uVar4 == 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 == 1)" ( (binary_expression "uVar4 == 1" identifier == number_literal) )))) < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }" { (if_statement "if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" if (parenthesized_expression "((uVar4 & 1) == 0)" ( (binary_expression "(uVar4 & 1) == 0" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }" { (if_statement "if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" if (parenthesized_expression "((uVar4 == 2) == uVar7)" ( (binary_expression "(uVar4 == 2) == uVar7" (parenthesized_expression "(uVar4 == 2)" ( (binary_expression "uVar4 == 2" identifier == number_literal) )) == identifier) )) (compound_statement "{\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }" { (expression_statement "local_1d0 = __gmpz_scan1(param_1,0);" (assignment_expression "local_1d0 = __gmpz_scan1(param_1,0)" identifier = (call_expression "__gmpz_scan1(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (expression_statement "__gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);" (call_expression "__gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0)" identifier (argument_list "(unaff_retaddr,param_1,local_1d0)" ( identifier , identifier , identifier ))) ;) (if_statement "if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }" if (parenthesized_expression "((local_1d0 & uVar2 >> 0x1f) != 0)" ( (binary_expression "(local_1d0 & uVar2 >> 0x1f) != 0" (parenthesized_expression "(local_1d0 & uVar2 >> 0x1f)" ( (binary_expression "local_1d0 & uVar2 >> 0x1f" identifier & (binary_expression "uVar2 >> 0x1f" identifier >> number_literal)) )) != number_literal) )) (compound_statement "{\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }" { (expression_statement "unaff_retaddr[1] = -unaff_retaddr[1];" (assignment_expression "unaff_retaddr[1] = -unaff_retaddr[1]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (unary_expression "-unaff_retaddr[1]" - (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]))) ;) })) }) (else_clause "else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" else (compound_statement "{\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" { (expression_statement "__gmpz_init(local_1b0);" (call_expression "__gmpz_init(local_1b0)" identifier (argument_list "(local_1b0)" ( identifier ))) ;) (expression_statement "__gmpz_init(local_1bc);" (call_expression "__gmpz_init(local_1bc)" identifier (argument_list "(local_1bc)" ( identifier ))) ;) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2)" identifier (argument_list "(local_1bc,local_1b0,param_1,param_2)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" if (parenthesized_expression "(local_1ac == 0)" ( (binary_expression "local_1ac == 0" identifier == number_literal) )) (compound_statement "{\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }" { (expression_statement "__gmpz_init_set(local_1a4,param_2);" (call_expression "__gmpz_init_set(local_1a4,param_2)" identifier (argument_list "(local_1a4,param_2)" ( identifier , identifier ))) ;) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" identifier (argument_list "(unaff_retaddr,local_1bc)" ( identifier , identifier ))) ;) (if_statement "if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" if (parenthesized_expression "((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1))" ( (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (parenthesized_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) ^ (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal)) )) - (parenthesized_expression "(unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal) ))) < (cast_expression "(int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" ( (binary_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1" (binary_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2" (parenthesized_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f))" ( (binary_expression "(local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)" (parenthesized_expression "(local_1a0 ^ (int)local_1a0 >> 0x1f)" ( (binary_expression "local_1a0 ^ (int)local_1a0 >> 0x1f" identifier ^ (binary_expression "(int)local_1a0 >> 0x1f" (cast_expression "(int)local_1a0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)local_1a0 >> 0x1f)" ( (binary_expression "(int)local_1a0 >> 0x1f" (cast_expression "(int)local_1a0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) )) * number_literal) + number_literal) )))) )) (compound_statement "{\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }" { (expression_statement "local_1d0 = 1;" (assignment_expression "local_1d0 = 1" identifier = number_literal) ;) (expression_statement "local_1c8 = 0;" (assignment_expression "local_1c8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" else (compound_statement "{\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" { (expression_statement "local_1c8 = 1;" (assignment_expression "local_1c8 = 1" identifier = number_literal) ;) (expression_statement "puVar8 = local_198;" (assignment_expression "puVar8 = local_198" identifier = identifier) ;) (expression_statement "iVar5 = local_1c8;" (assignment_expression "iVar5 = local_1c8" identifier = identifier) ;) (do_statement "do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));" do (compound_statement "{\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            }" { (expression_statement "local_1c8 = iVar5;" (assignment_expression "local_1c8 = iVar5" identifier = identifier) ;) (expression_statement "__gmpz_init(puVar8);" (call_expression "__gmpz_init(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "__gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);" (call_expression "__gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc)" identifier (argument_list "(puVar8,puVar8 + -0xc,puVar8 + -0xc)" ( identifier , (binary_expression "puVar8 + -0xc" identifier + number_literal) , (binary_expression "puVar8 + -0xc" identifier + number_literal) ))) ;) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8)" identifier (argument_list "(local_1bc,local_1b0,unaff_retaddr,puVar8)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }" if (parenthesized_expression "(local_1ac != 0)" ( (binary_expression "local_1ac != 0" identifier != number_literal) )) (compound_statement "{\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }" { (expression_statement "__gmpz_clear(puVar8);" (call_expression "__gmpz_clear(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;" (assignment_expression "local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1" identifier = (binary_expression "(1 << ((byte)local_1c8 & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)local_1c8 & 0x1f))" ( (binary_expression "1 << ((byte)local_1c8 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_1c8 & 0x1f)" ( (binary_expression "(byte)local_1c8 & 0x1f" (cast_expression "(byte)local_1c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) - number_literal)) ;) (expression_statement "local_1c8 = local_1c8 + -1;" (assignment_expression "local_1c8 = local_1c8 + -1" identifier = (binary_expression "local_1c8 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_00030a14;" goto statement_identifier ;) })) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" identifier (argument_list "(unaff_retaddr,local_1bc)" ( identifier , identifier ))) ;) (expression_statement "puVar6 = (uint *)(puVar8 + 4);" (assignment_expression "puVar6 = (uint *)(puVar8 + 4)" identifier = (cast_expression "(uint *)(puVar8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 4)" ( (binary_expression "puVar8 + 4" identifier + number_literal) )))) ;) (expression_statement "piVar1 = (int *)(puVar8 + 4);" (assignment_expression "piVar1 = (int *)(puVar8 + 4)" identifier = (cast_expression "(int *)(puVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 4)" ( (binary_expression "puVar8 + 4" identifier + number_literal) )))) ;) (expression_statement "puVar8 = puVar8 + 0xc;" (assignment_expression "puVar8 = puVar8 + 0xc" identifier = (binary_expression "puVar8 + 0xc" identifier + number_literal)) ;) (expression_statement "iVar5 = local_1c8 + 1;" (assignment_expression "iVar5 = local_1c8 + 1" identifier = (binary_expression "local_1c8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f))" ( (binary_expression "(int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (cast_expression "(int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1)" ( (binary_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1" (binary_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2" (parenthesized_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f))" ( (binary_expression "(*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)" (parenthesized_expression "(*puVar6 ^ *piVar1 >> 0x1f)" ( (binary_expression "*puVar6 ^ *piVar1 >> 0x1f" (pointer_expression "*puVar6" * identifier) ^ (binary_expression "*piVar1 >> 0x1f" (pointer_expression "*piVar1" * identifier) >> number_literal)) )) - (parenthesized_expression "(*piVar1 >> 0x1f)" ( (binary_expression "*piVar1 >> 0x1f" (pointer_expression "*piVar1" * identifier) >> number_literal) ))) )) * number_literal) + number_literal) ))) <= (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (parenthesized_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) ^ (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal)) )) - (parenthesized_expression "(unaff_retaddr[1] >> 0x1f)" ( (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) >> number_literal) )))) )) ;) (expression_statement "local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;" (assignment_expression "local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1" identifier = (binary_expression "(1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)(local_1c8 + 1) & 0x1f))" ( (binary_expression "1 << ((byte)(local_1c8 + 1) & 0x1f)" number_literal << (parenthesized_expression "((byte)(local_1c8 + 1) & 0x1f)" ( (binary_expression "(byte)(local_1c8 + 1) & 0x1f" (call_expression "(byte)(local_1c8 + 1)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(local_1c8 + 1)" ( (binary_expression "local_1c8 + 1" identifier + number_literal) ))) & number_literal) ))) )) - number_literal)) ;) }))) (labeled_statement "LAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);" statement_identifier : (do_statement "do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);" do (compound_statement "{\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          }" { (expression_statement "puVar8 = local_1a4 + local_1c8 * 0xc;" (assignment_expression "puVar8 = local_1a4 + local_1c8 * 0xc" identifier = (binary_expression "local_1a4 + local_1c8 * 0xc" identifier + (binary_expression "local_1c8 * 0xc" identifier * number_literal))) ;) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8)" identifier (argument_list "(local_1bc,local_1b0,unaff_retaddr,puVar8)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }" if (parenthesized_expression "(local_1ac == 0)" ( (binary_expression "local_1ac == 0" identifier == number_literal) )) (compound_statement "{\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }" { (expression_statement "local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));" (assignment_expression "local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f))" identifier = (binary_expression "local_1d0 + (1 << ((byte)local_1c8 & 0x1f))" identifier + (parenthesized_expression "(1 << ((byte)local_1c8 & 0x1f))" ( (binary_expression "1 << ((byte)local_1c8 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_1c8 & 0x1f)" ( (binary_expression "(byte)local_1c8 & 0x1f" (cast_expression "(byte)local_1c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" identifier (argument_list "(unaff_retaddr,local_1bc)" ( identifier , identifier ))) ;) })) (expression_statement "local_1c8 = local_1c8 + -1;" (assignment_expression "local_1c8 = local_1c8 + -1" identifier = (binary_expression "local_1c8 + -1" identifier + number_literal)) ;) (expression_statement "__gmpz_clear(puVar8);" (call_expression "__gmpz_clear(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) }) while (parenthesized_expression "(local_1c8 != -1)" ( (binary_expression "local_1c8 != -1" identifier != number_literal) )) ;)) }) (else_clause "else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" else (compound_statement "{\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" { (expression_statement "__gmpz_set(unaff_retaddr,param_1);" (call_expression "__gmpz_set(unaff_retaddr,param_1)" identifier (argument_list "(unaff_retaddr,param_1)" ( identifier , identifier ))) ;) (expression_statement "local_1d0 = 0;" (assignment_expression "local_1d0 = 0" identifier = number_literal) ;) }))) (expression_statement "__gmpz_clear(local_1bc);" (call_expression "__gmpz_clear(local_1bc)" identifier (argument_list "(local_1bc)" ( identifier ))) ;) (expression_statement "__gmpz_clear(local_1b0);" (call_expression "__gmpz_clear(local_1b0)" identifier (argument_list "(local_1b0)" ( identifier ))) ;) }))) }) (else_clause "else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" else (compound_statement "{\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" { (expression_statement "local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);" (assignment_expression "local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f)" identifier = (binary_expression "(uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f)" (parenthesized_expression "(uVar3 ^ (int)uVar3 >> 0x1f)" ( (binary_expression "uVar3 ^ (int)uVar3 >> 0x1f" identifier ^ (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) - (parenthesized_expression "((int)uVar3 >> 0x1f)" ( (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (if_statement "if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }" if (parenthesized_expression "(*unaff_retaddr < local_1c0)" ( (binary_expression "*unaff_retaddr < local_1c0" (pointer_expression "*unaff_retaddr" * identifier) < identifier) )) (compound_statement "{\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }" { (expression_statement "iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);" (assignment_expression "iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0)" identifier = (call_expression "__gmpz_realloc(unaff_retaddr,local_1c0)" identifier (argument_list "(unaff_retaddr,local_1c0)" ( identifier , identifier )))) ;) (expression_statement "puVar6 = *(uint **)(param_2 + 8);" (assignment_expression "puVar6 = *(uint **)(param_2 + 8)" identifier = (pointer_expression "*(uint **)(param_2 + 8)" * (cast_expression "(uint **)(param_2 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = unaff_retaddr[2];\n      }" else (compound_statement "{\n        iVar5 = unaff_retaddr[2];\n      }" { (expression_statement "iVar5 = unaff_retaddr[2];" (assignment_expression "iVar5 = unaff_retaddr[2]" identifier = (subscript_expression "unaff_retaddr[2]" identifier [ number_literal ])) ;) }))) (expression_statement "local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);" (assignment_expression "local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" identifier = (call_expression "__gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" identifier (argument_list "(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" ( identifier , (pointer_expression "&local_1c0" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar5 = local_1c0;" (assignment_expression "iVar5 = local_1c0" identifier = identifier) ;) (if_statement "if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }" if (parenthesized_expression "((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f)" ( (binary_expression "(uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f" (parenthesized_expression "(uVar2 >> 0x1f & local_1d0)" ( (binary_expression "uVar2 >> 0x1f & local_1d0" (binary_expression "uVar2 >> 0x1f" identifier >> number_literal) & identifier) )) != (binary_expression "uVar3 >> 0x1f" identifier >> number_literal)) )) (compound_statement "{\n        iVar5 = -local_1c0;\n      }" { (expression_statement "iVar5 = -local_1c0;" (assignment_expression "iVar5 = -local_1c0" identifier = (unary_expression "-local_1c0" - identifier)) ;) })) (expression_statement "unaff_retaddr[1] = iVar5;" (assignment_expression "unaff_retaddr[1] = iVar5" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" else (compound_statement "{\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" { (if_statement "if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n      __gmp_divide_by_zero();\n    }" { (expression_statement "__gmp_divide_by_zero();" (call_expression "__gmp_divide_by_zero()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__gmpz_set(unaff_retaddr,param_1);" (call_expression "__gmpz_set(unaff_retaddr,param_1)" identifier (argument_list "(unaff_retaddr,param_1)" ( identifier , identifier ))) ;) (expression_statement "local_1d0 = 0;" (assignment_expression "local_1d0 = 0" identifier = number_literal) ;) }))) (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00079d30();\n  }" if (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 != *(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                    \n    FUN_00079d30();\n  }" { (expression_statement "FUN_00079d30();" (call_expression "FUN_00079d30()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return local_1d0;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = 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) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ^ IDENT) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & (binary_expression IDENT >> LIT)) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (unary_expression - (subscript_expression IDENT [ LIT ]))) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) ^ (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT)) )) - (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT) ))) < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) )) * LIT) + LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )) - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) ^ (binary_expression (pointer_expression * IDENT) >> LIT)) )) - (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) >> LIT) ))) )) * LIT) + LIT) ))) <= (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) ^ (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT)) )) - (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT) )))) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))) )) - LIT)) ;) }))) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (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 )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & IDENT) )) != (binary_expression IDENT >> LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint __gmpz_remove(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00079d30();\n  }\n  return local_1d0;\n}" (type_identifier "uint") (function_declarator "__gmpz_remove(int param_1,int param_2)" (identifier "__gmpz_remove") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  int in_GS_OFFSET;\n  int *unaff_retaddr;\n  uint local_1d0;\n  int local_1c8;\n  int local_1c0;\n  undefined1 local_1bc [12];\n  undefined1 local_1b0 [4];\n  int local_1ac;\n  undefined1 local_1a4 [4];\n  uint local_1a0;\n  undefined1 local_198 [372];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x307a9;\n  entry();\n  uVar2 = *(uint *)(param_2 + 4);\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(uint *)(param_1 + 4);\n  puVar6 = *(uint **)(param_2 + 8);\n  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  uVar4 = *puVar6;\n  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00079d30();\n  }\n  return local_1d0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int *unaff_retaddr;" (primitive_type "int") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (declaration "uint local_1d0;" (type_identifier "uint") (identifier "local_1d0") (; ";")) (declaration "int local_1c8;" (primitive_type "int") (identifier "local_1c8") (; ";")) (declaration "int local_1c0;" (primitive_type "int") (identifier "local_1c0") (; ";")) (declaration "undefined1 local_1bc [12];" (type_identifier "undefined1") (array_declarator "local_1bc [12]" (identifier "local_1bc") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined1 local_1b0 [4];" (type_identifier "undefined1") (array_declarator "local_1b0 [4]" (identifier "local_1b0") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_1ac;" (primitive_type "int") (identifier "local_1ac") (; ";")) (declaration "undefined1 local_1a4 [4];" (type_identifier "undefined1") (array_declarator "local_1a4 [4]" (identifier "local_1a4") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint local_1a0;" (type_identifier "uint") (identifier "local_1a0") (; ";")) (declaration "undefined1 local_198 [372];" (type_identifier "undefined1") (array_declarator "local_198 [372]" (identifier "local_198") ([ "[") (number_literal "372") (] "]")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x307a9;" (assignment_expression "uStack_14 = 0x307a9" (identifier "uStack_14") (= "=") (number_literal "0x307a9")) (; ";")) (expression_statement "entry();" (call_expression "entry()" (identifier "entry") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar2 = *(uint *)(param_2 + 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_24") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(uint *)(param_1 + 4);" (assignment_expression "uVar3 = *(uint *)(param_1 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "puVar6 = *(uint **)(param_2 + 8);" (assignment_expression "puVar6 = *(uint **)(param_2 + 8)" (identifier "puVar6") (= "=") (pointer_expression "*(uint **)(param_2 + 8)" (* "*") (cast_expression "(uint **)(param_2 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);" (assignment_expression "uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (identifier "uVar7") (= "=") (binary_expression "((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (parenthesized_expression "((int)uVar2 >> 0x1f ^ uVar2)" (( "(") (binary_expression "(int)uVar2 >> 0x1f ^ uVar2" (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f")) (^ "^") (identifier "uVar2")) () ")")) (- "-") (parenthesized_expression "((int)uVar2 >> 0x1f)" (( "(") (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar4 = *puVar6;" (assignment_expression "uVar4 = *puVar6" (identifier "uVar4") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (if_statement "if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }\n  else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" (if "if") (parenthesized_expression "(((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0))" (( "(") (binary_expression "((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)" (parenthesized_expression "((int)(uint)(uVar4 == 1) < (int)uVar7)" (( "(") (binary_expression "(int)(uint)(uVar4 == 1) < (int)uVar7" (cast_expression "(int)(uint)(uVar4 == 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(uVar4 == 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 == 1)" (( "(") (binary_expression "uVar4 == 1" (identifier "uVar4") (== "==") (number_literal "1")) () ")")))) (< "<") (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7"))) () ")")) (&& "&&") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }\n  }" ({ "{") (if_statement "if ((uVar4 & 1) == 0) {\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }\n    else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" (if "if") (parenthesized_expression "((uVar4 & 1) == 0)" (( "(") (binary_expression "(uVar4 & 1) == 0" (parenthesized_expression "(uVar4 & 1)" (( "(") (binary_expression "uVar4 & 1" (identifier "uVar4") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }\n    }" ({ "{") (if_statement "if ((uVar4 == 2) == uVar7) {\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }\n      else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" (if "if") (parenthesized_expression "((uVar4 == 2) == uVar7)" (( "(") (binary_expression "(uVar4 == 2) == uVar7" (parenthesized_expression "(uVar4 == 2)" (( "(") (binary_expression "uVar4 == 2" (identifier "uVar4") (== "==") (number_literal "2")) () ")")) (== "==") (identifier "uVar7")) () ")")) (compound_statement "{\n        local_1d0 = __gmpz_scan1(param_1,0);\n        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);\n        if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }\n      }" ({ "{") (expression_statement "local_1d0 = __gmpz_scan1(param_1,0);" (assignment_expression "local_1d0 = __gmpz_scan1(param_1,0)" (identifier "local_1d0") (= "=") (call_expression "__gmpz_scan1(param_1,0)" (identifier "__gmpz_scan1") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "__gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);" (call_expression "__gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0)" (identifier "__gmpz_fdiv_q_2exp") (argument_list "(unaff_retaddr,param_1,local_1d0)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_1") (, ",") (identifier "local_1d0") () ")"))) (; ";")) (if_statement "if ((local_1d0 & uVar2 >> 0x1f) != 0) {\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }" (if "if") (parenthesized_expression "((local_1d0 & uVar2 >> 0x1f) != 0)" (( "(") (binary_expression "(local_1d0 & uVar2 >> 0x1f) != 0" (parenthesized_expression "(local_1d0 & uVar2 >> 0x1f)" (( "(") (binary_expression "local_1d0 & uVar2 >> 0x1f" (identifier "local_1d0") (& "&") (binary_expression "uVar2 >> 0x1f" (identifier "uVar2") (>> ">>") (number_literal "0x1f"))) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          unaff_retaddr[1] = -unaff_retaddr[1];\n        }" ({ "{") (expression_statement "unaff_retaddr[1] = -unaff_retaddr[1];" (assignment_expression "unaff_retaddr[1] = -unaff_retaddr[1]" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (unary_expression "-unaff_retaddr[1]" (- "-") (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" (else "else") (compound_statement "{\n        __gmpz_init(local_1b0);\n        __gmpz_init(local_1bc);\n        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);\n        if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }\n        __gmpz_clear(local_1bc);\n        __gmpz_clear(local_1b0);\n      }" ({ "{") (expression_statement "__gmpz_init(local_1b0);" (call_expression "__gmpz_init(local_1b0)" (identifier "__gmpz_init") (argument_list "(local_1b0)" (( "(") (identifier "local_1b0") () ")"))) (; ";")) (expression_statement "__gmpz_init(local_1bc);" (call_expression "__gmpz_init(local_1bc)" (identifier "__gmpz_init") (argument_list "(local_1bc)" (( "(") (identifier "local_1bc") () ")"))) (; ";")) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2)" (identifier "__gmpz_tdiv_qr") (argument_list "(local_1bc,local_1b0,param_1,param_2)" (( "(") (identifier "local_1bc") (, ",") (identifier "local_1b0") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (local_1ac == 0) {\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }\n        else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" (if "if") (parenthesized_expression "(local_1ac == 0)" (( "(") (binary_expression "local_1ac == 0" (identifier "local_1ac") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          __gmpz_init_set(local_1a4,param_2);\n          __gmpz_swap(unaff_retaddr,local_1bc);\n          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }\nLAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);\n        }" ({ "{") (expression_statement "__gmpz_init_set(local_1a4,param_2);" (call_expression "__gmpz_init_set(local_1a4,param_2)" (identifier "__gmpz_init_set") (argument_list "(local_1a4,param_2)" (( "(") (identifier "local_1a4") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" (identifier "__gmpz_swap") (argument_list "(unaff_retaddr,local_1bc)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "local_1bc") () ")"))) (; ";")) (if_statement "if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }\n          else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" (if "if") (parenthesized_expression "((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1))" (( "(") (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <\n              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (parenthesized_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f)" (( "(") (binary_expression "unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (^ "^") (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (>> ">>") (number_literal "0x1f"))) () ")")) (- "-") (parenthesized_expression "(unaff_retaddr[1] >> 0x1f)" (( "(") (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (>> ">>") (number_literal "0x1f")) () ")"))) (< "<") (cast_expression "(int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)" (( "(") (binary_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1" (binary_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2" (parenthesized_expression "((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f))" (( "(") (binary_expression "(local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)" (parenthesized_expression "(local_1a0 ^ (int)local_1a0 >> 0x1f)" (( "(") (binary_expression "local_1a0 ^ (int)local_1a0 >> 0x1f" (identifier "local_1a0") (^ "^") (binary_expression "(int)local_1a0 >> 0x1f" (cast_expression "(int)local_1a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1a0")) (>> ">>") (number_literal "0x1f"))) () ")")) (- "-") (parenthesized_expression "((int)local_1a0 >> 0x1f)" (( "(") (binary_expression "(int)local_1a0 >> 0x1f" (cast_expression "(int)local_1a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1a0")) (>> ">>") (number_literal "0x1f")) () ")"))) () ")")) (* "*") (number_literal "2")) (+ "+") (number_literal "-1")) () ")")))) () ")")) (compound_statement "{\n            local_1d0 = 1;\n            local_1c8 = 0;\n          }" ({ "{") (expression_statement "local_1d0 = 1;" (assignment_expression "local_1d0 = 1" (identifier "local_1d0") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_1c8 = 0;" (assignment_expression "local_1c8 = 0" (identifier "local_1c8") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" (else "else") (compound_statement "{\n            local_1c8 = 1;\n            puVar8 = local_198;\n            iVar5 = local_1c8;\n            do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));\n            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;\n          }" ({ "{") (expression_statement "local_1c8 = 1;" (assignment_expression "local_1c8 = 1" (identifier "local_1c8") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar8 = local_198;" (assignment_expression "puVar8 = local_198" (identifier "puVar8") (= "=") (identifier "local_198")) (; ";")) (expression_statement "iVar5 = local_1c8;" (assignment_expression "iVar5 = local_1c8" (identifier "iVar5") (= "=") (identifier "local_1c8")) (; ";")) (do_statement "do {\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));" (do "do") (compound_statement "{\n              local_1c8 = iVar5;\n              __gmpz_init(puVar8);\n              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);\n              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n              if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }\n              __gmpz_swap(unaff_retaddr,local_1bc);\n              puVar6 = (uint *)(puVar8 + 4);\n              piVar1 = (int *)(puVar8 + 4);\n              puVar8 = puVar8 + 0xc;\n              iVar5 = local_1c8 + 1;\n            }" ({ "{") (expression_statement "local_1c8 = iVar5;" (assignment_expression "local_1c8 = iVar5" (identifier "local_1c8") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "__gmpz_init(puVar8);" (call_expression "__gmpz_init(puVar8)" (identifier "__gmpz_init") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (expression_statement "__gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);" (call_expression "__gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc)" (identifier "__gmpz_mul") (argument_list "(puVar8,puVar8 + -0xc,puVar8 + -0xc)" (( "(") (identifier "puVar8") (, ",") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) (, ",") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")"))) (; ";")) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8)" (identifier "__gmpz_tdiv_qr") (argument_list "(local_1bc,local_1b0,unaff_retaddr,puVar8)" (( "(") (identifier "local_1bc") (, ",") (identifier "local_1b0") (, ",") (identifier "unaff_retaddr") (, ",") (identifier "puVar8") () ")"))) (; ";")) (if_statement "if (local_1ac != 0) {\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }" (if "if") (parenthesized_expression "(local_1ac != 0)" (( "(") (binary_expression "local_1ac != 0" (identifier "local_1ac") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                __gmpz_clear(puVar8);\n                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;\n                local_1c8 = local_1c8 + -1;\n                goto LAB_00030a14;\n              }" ({ "{") (expression_statement "__gmpz_clear(puVar8);" (call_expression "__gmpz_clear(puVar8)" (identifier "__gmpz_clear") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (expression_statement "local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;" (assignment_expression "local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1" (identifier "local_1d0") (= "=") (binary_expression "(1 << ((byte)local_1c8 & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)local_1c8 & 0x1f))" (( "(") (binary_expression "1 << ((byte)local_1c8 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)local_1c8 & 0x1f)" (( "(") (binary_expression "(byte)local_1c8 & 0x1f" (cast_expression "(byte)local_1c8" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_1c8")) (& "&") (number_literal "0x1f")) () ")"))) () ")")) (- "-") (number_literal "1"))) (; ";")) (expression_statement "local_1c8 = local_1c8 + -1;" (assignment_expression "local_1c8 = local_1c8 + -1" (identifier "local_1c8") (= "=") (binary_expression "local_1c8 + -1" (identifier "local_1c8") (+ "+") (number_literal "-1"))) (; ";")) (goto_statement "goto LAB_00030a14;" (goto "goto") (statement_identifier "LAB_00030a14") (; ";")) (} "}"))) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" (identifier "__gmpz_swap") (argument_list "(unaff_retaddr,local_1bc)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "local_1bc") () ")"))) (; ";")) (expression_statement "puVar6 = (uint *)(puVar8 + 4);" (assignment_expression "puVar6 = (uint *)(puVar8 + 4)" (identifier "puVar6") (= "=") (cast_expression "(uint *)(puVar8 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 4)" (( "(") (binary_expression "puVar8 + 4" (identifier "puVar8") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "piVar1 = (int *)(puVar8 + 4);" (assignment_expression "piVar1 = (int *)(puVar8 + 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(puVar8 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 4)" (( "(") (binary_expression "puVar8 + 4" (identifier "puVar8") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "puVar8 = puVar8 + 0xc;" (assignment_expression "puVar8 = puVar8 + 0xc" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 0xc" (identifier "puVar8") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "iVar5 = local_1c8 + 1;" (assignment_expression "iVar5 = local_1c8 + 1" (identifier "iVar5") (= "=") (binary_expression "local_1c8 + 1" (identifier "local_1c8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f))" (( "(") (binary_expression "(int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=\n                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (cast_expression "(int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1)" (( "(") (binary_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1" (binary_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2" (parenthesized_expression "((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f))" (( "(") (binary_expression "(*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)" (parenthesized_expression "(*puVar6 ^ *piVar1 >> 0x1f)" (( "(") (binary_expression "*puVar6 ^ *piVar1 >> 0x1f" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (^ "^") (binary_expression "*piVar1 >> 0x1f" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (>> ">>") (number_literal "0x1f"))) () ")")) (- "-") (parenthesized_expression "(*piVar1 >> 0x1f)" (( "(") (binary_expression "*piVar1 >> 0x1f" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (>> ">>") (number_literal "0x1f")) () ")"))) () ")")) (* "*") (number_literal "2")) (+ "+") (number_literal "-1")) () ")"))) (<= "<=") (binary_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f)" (parenthesized_expression "(unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f)" (( "(") (binary_expression "unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (^ "^") (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (>> ">>") (number_literal "0x1f"))) () ")")) (- "-") (parenthesized_expression "(unaff_retaddr[1] >> 0x1f)" (( "(") (binary_expression "unaff_retaddr[1] >> 0x1f" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (>> ">>") (number_literal "0x1f")) () ")")))) () ")")) (; ";")) (expression_statement "local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;" (assignment_expression "local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1" (identifier "local_1d0") (= "=") (binary_expression "(1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1" (parenthesized_expression "(1 << ((byte)(local_1c8 + 1) & 0x1f))" (( "(") (binary_expression "1 << ((byte)(local_1c8 + 1) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)(local_1c8 + 1) & 0x1f)" (( "(") (binary_expression "(byte)(local_1c8 + 1) & 0x1f" (call_expression "(byte)(local_1c8 + 1)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(local_1c8 + 1)" (( "(") (binary_expression "local_1c8 + 1" (identifier "local_1c8") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0x1f")) () ")"))) () ")")) (- "-") (number_literal "1"))) (; ";")) (} "}")))) (labeled_statement "LAB_00030a14:\n          do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);" (statement_identifier "LAB_00030a14") (: ":") (do_statement "do {\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          } while (local_1c8 != -1);" (do "do") (compound_statement "{\n            puVar8 = local_1a4 + local_1c8 * 0xc;\n            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);\n            if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }\n            local_1c8 = local_1c8 + -1;\n            __gmpz_clear(puVar8);\n          }" ({ "{") (expression_statement "puVar8 = local_1a4 + local_1c8 * 0xc;" (assignment_expression "puVar8 = local_1a4 + local_1c8 * 0xc" (identifier "puVar8") (= "=") (binary_expression "local_1a4 + local_1c8 * 0xc" (identifier "local_1a4") (+ "+") (binary_expression "local_1c8 * 0xc" (identifier "local_1c8") (* "*") (number_literal "0xc")))) (; ";")) (expression_statement "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);" (call_expression "__gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8)" (identifier "__gmpz_tdiv_qr") (argument_list "(local_1bc,local_1b0,unaff_retaddr,puVar8)" (( "(") (identifier "local_1bc") (, ",") (identifier "local_1b0") (, ",") (identifier "unaff_retaddr") (, ",") (identifier "puVar8") () ")"))) (; ";")) (if_statement "if (local_1ac == 0) {\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }" (if "if") (parenthesized_expression "(local_1ac == 0)" (( "(") (binary_expression "local_1ac == 0" (identifier "local_1ac") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));\n              __gmpz_swap(unaff_retaddr,local_1bc);\n            }" ({ "{") (expression_statement "local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));" (assignment_expression "local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f))" (identifier "local_1d0") (= "=") (binary_expression "local_1d0 + (1 << ((byte)local_1c8 & 0x1f))" (identifier "local_1d0") (+ "+") (parenthesized_expression "(1 << ((byte)local_1c8 & 0x1f))" (( "(") (binary_expression "1 << ((byte)local_1c8 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)local_1c8 & 0x1f)" (( "(") (binary_expression "(byte)local_1c8 & 0x1f" (cast_expression "(byte)local_1c8" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_1c8")) (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (expression_statement "__gmpz_swap(unaff_retaddr,local_1bc);" (call_expression "__gmpz_swap(unaff_retaddr,local_1bc)" (identifier "__gmpz_swap") (argument_list "(unaff_retaddr,local_1bc)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "local_1bc") () ")"))) (; ";")) (} "}"))) (expression_statement "local_1c8 = local_1c8 + -1;" (assignment_expression "local_1c8 = local_1c8 + -1" (identifier "local_1c8") (= "=") (binary_expression "local_1c8 + -1" (identifier "local_1c8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "__gmpz_clear(puVar8);" (call_expression "__gmpz_clear(puVar8)" (identifier "__gmpz_clear") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_1c8 != -1)" (( "(") (binary_expression "local_1c8 != -1" (identifier "local_1c8") (!= "!=") (number_literal "-1")) () ")")) (; ";"))) (} "}")) (else_clause "else {\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" (else "else") (compound_statement "{\n          __gmpz_set(unaff_retaddr,param_1);\n          local_1d0 = 0;\n        }" ({ "{") (expression_statement "__gmpz_set(unaff_retaddr,param_1);" (call_expression "__gmpz_set(unaff_retaddr,param_1)" (identifier "__gmpz_set") (argument_list "(unaff_retaddr,param_1)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "local_1d0 = 0;" (assignment_expression "local_1d0 = 0" (identifier "local_1d0") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "__gmpz_clear(local_1bc);" (call_expression "__gmpz_clear(local_1bc)" (identifier "__gmpz_clear") (argument_list "(local_1bc)" (( "(") (identifier "local_1bc") () ")"))) (; ";")) (expression_statement "__gmpz_clear(local_1b0);" (call_expression "__gmpz_clear(local_1b0)" (identifier "__gmpz_clear") (argument_list "(local_1b0)" (( "(") (identifier "local_1b0") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" (else "else") (compound_statement "{\n      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);\n      if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }\n      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);\n      iVar5 = local_1c0;\n      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }\n      unaff_retaddr[1] = iVar5;\n    }" ({ "{") (expression_statement "local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);" (assignment_expression "local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f)" (identifier "local_1c0") (= "=") (binary_expression "(uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f)" (parenthesized_expression "(uVar3 ^ (int)uVar3 >> 0x1f)" (( "(") (binary_expression "uVar3 ^ (int)uVar3 >> 0x1f" (identifier "uVar3") (^ "^") (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (>> ">>") (number_literal "0x1f"))) () ")")) (- "-") (parenthesized_expression "((int)uVar3 >> 0x1f)" (( "(") (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (*unaff_retaddr < local_1c0) {\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }\n      else {\n        iVar5 = unaff_retaddr[2];\n      }" (if "if") (parenthesized_expression "(*unaff_retaddr < local_1c0)" (( "(") (binary_expression "*unaff_retaddr < local_1c0" (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (< "<") (identifier "local_1c0")) () ")")) (compound_statement "{\n        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);\n        puVar6 = *(uint **)(param_2 + 8);\n      }" ({ "{") (expression_statement "iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);" (assignment_expression "iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0)" (identifier "iVar5") (= "=") (call_expression "__gmpz_realloc(unaff_retaddr,local_1c0)" (identifier "__gmpz_realloc") (argument_list "(unaff_retaddr,local_1c0)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "local_1c0") () ")")))) (; ";")) (expression_statement "puVar6 = *(uint **)(param_2 + 8);" (assignment_expression "puVar6 = *(uint **)(param_2 + 8)" (identifier "puVar6") (= "=") (pointer_expression "*(uint **)(param_2 + 8)" (* "*") (cast_expression "(uint **)(param_2 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = unaff_retaddr[2];\n      }" (else "else") (compound_statement "{\n        iVar5 = unaff_retaddr[2];\n      }" ({ "{") (expression_statement "iVar5 = unaff_retaddr[2];" (assignment_expression "iVar5 = unaff_retaddr[2]" (identifier "iVar5") (= "=") (subscript_expression "unaff_retaddr[2]" (identifier "unaff_retaddr") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (expression_statement "local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff);" (assignment_expression "local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" (identifier "local_1d0") (= "=") (call_expression "__gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" (identifier "__gmpn_remove") (argument_list "(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7\n                                ,0xffffffff)" (( "(") (identifier "iVar5") (, ",") (pointer_expression "&local_1c0" (& "&") (identifier "local_1c0")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "local_1c0") (, ",") (identifier "puVar6") (, ",") (identifier "uVar7") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (expression_statement "iVar5 = local_1c0;" (assignment_expression "iVar5 = local_1c0" (identifier "iVar5") (= "=") (identifier "local_1c0")) (; ";")) (if_statement "if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {\n        iVar5 = -local_1c0;\n      }" (if "if") (parenthesized_expression "((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f)" (( "(") (binary_expression "(uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f" (parenthesized_expression "(uVar2 >> 0x1f & local_1d0)" (( "(") (binary_expression "uVar2 >> 0x1f & local_1d0" (binary_expression "uVar2 >> 0x1f" (identifier "uVar2") (>> ">>") (number_literal "0x1f")) (& "&") (identifier "local_1d0")) () ")")) (!= "!=") (binary_expression "uVar3 >> 0x1f" (identifier "uVar3") (>> ">>") (number_literal "0x1f"))) () ")")) (compound_statement "{\n        iVar5 = -local_1c0;\n      }" ({ "{") (expression_statement "iVar5 = -local_1c0;" (assignment_expression "iVar5 = -local_1c0" (identifier "iVar5") (= "=") (unary_expression "-local_1c0" (- "-") (identifier "local_1c0"))) (; ";")) (} "}"))) (expression_statement "unaff_retaddr[1] = iVar5;" (assignment_expression "unaff_retaddr[1] = iVar5" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" (else "else") (compound_statement "{\n    if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }\n    __gmpz_set(unaff_retaddr,param_1);\n    local_1d0 = 0;\n  }" ({ "{") (if_statement "if (uVar2 == 0) {\n                    \n      __gmp_divide_by_zero();\n    }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      __gmp_divide_by_zero();\n    }" ({ "{") (expression_statement "__gmp_divide_by_zero();" (call_expression "__gmp_divide_by_zero()" (identifier "__gmp_divide_by_zero") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "__gmpz_set(unaff_retaddr,param_1);" (call_expression "__gmpz_set(unaff_retaddr,param_1)" (identifier "__gmpz_set") (argument_list "(unaff_retaddr,param_1)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "local_1d0 = 0;" (assignment_expression "local_1d0 = 0" (identifier "local_1d0") (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00079d30();\n  }" (if "if") (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_24 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_24") (!= "!=") (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                    \n    FUN_00079d30();\n  }" ({ "{") (expression_statement "FUN_00079d30();" (call_expression "FUN_00079d30()" (identifier "FUN_00079d30") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return local_1d0;" (return "return") (identifier "local_1d0") (; ";")) (} "}")))

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

type_1 function_1(type_2 dest,type_3 src,type_3 f)

{
  int var_22;
  type_4 var_3;
  int iVar3;
  type_5 mVar4;
  type_4 var_2;
  type_4 var_4;
  type_6 wp;
  type_4 *vp;
  type_4 var_5;
  type_2 var_13;
  int var_1;
  type_1 var_8;
  int var_16;
  type_5 var_18;
  type_7 x;
  type_7 rem;
  type_8 fpow [32] [1];
  
  var_2 = f->_mp_size;
  var_22 = *(int *)(var_1 + 0x14);
  var_4 = src->_mp_size;
  vp = f->_mp_d;
  var_5 = ((int)var_2 >> 0x1f ^ var_2) - ((int)var_2 >> 0x1f);
  var_3 = *vp;
  if (((int)(type_4)(var_3 == 1) < (int)var_5) && (var_4 != 0)) {
    if ((var_3 & 1) == 0) {
      if ((var_3 == 2) == var_5) {
        var_8 = var_6(src,0);
        var_7(dest,src,var_8);
        if ((var_8 & var_2 >> 0x1f) != 0) {
          dest->_mp_size = -dest->_mp_size;
        }
      }
      else {
        var_9(rem);
        var_9(x);
        var_10(x,rem,src,f);
        if (rem[0]._mp_size == 0) {
          var_11(fpow[0],f);
          var_12(dest,x);
          var_2 = dest->_mp_size >> 0x1f;
          if ((int)((dest->_mp_size ^ var_2) - var_2) <
              ((fpow[0][0]._mp_size ^ fpow[0][0]._mp_size >> 0x1f) - (fpow[0][0]._mp_size >> 0x1f))
              * 2 + -1) {
            var_8 = 1;
            var_16 = 0;
          }
          else {
            var_13 = fpow[0];
            var_16 = 1;
            iVar3 = var_16;
            do {
              var_16 = iVar3;
              var_13 = var_13 + 1;
              var_9(var_13);
              var_14(var_13,var_13 + -1,var_13 + -1);
              var_10(x,rem,dest,var_13);
              if (rem[0]._mp_size != 0) {
                var_15(var_13);
                var_8 = (1 << ((type_9)var_16 & 0x1f)) - 1;
                var_16 = var_16 + -1;
                goto LAB_00030a14;
              }
              var_12(dest,x);
              var_2 = dest->_mp_size >> 0x1f;
              var_4 = var_13->_mp_size >> 0x1f;
              iVar3 = var_16 + 1;
            } while ((int)(((var_13->_mp_size ^ var_4) - var_4) * 2 + -1) <=
                     (int)((dest->_mp_size ^ var_2) - var_2));
            var_8 = (1 << ((type_9)(var_16 + 1) & 0x1f)) - 1;
          }
LAB_00030a14:
          do {
            var_13 = fpow[0] + var_16;
            var_10(x,rem,dest,var_13);
            if (rem[0]._mp_size == 0) {
              var_8 = var_8 + (1 << ((type_9)var_16 & 0x1f));
              var_12(dest,x);
            }
            var_16 = var_16 + -1;
            var_15(var_13);
          } while (var_16 != -1);
        }
        else {
          var_17(dest,src);
          var_8 = 0;
        }
        var_15(x);
        var_15(rem);
      }
    }
    else {
      var_18 = (var_4 ^ (int)var_4 >> 0x1f) - ((int)var_4 >> 0x1f);
      if (dest->_mp_alloc < var_18) {
        wp = (type_6)var_19(dest,var_18);
        vp = f->_mp_d;
      }
      else {
        wp = dest->_mp_d;
      }
      var_8 = var_20(wp,&var_18,src->_mp_d,var_18,vp,var_5,0xffffffff);
      mVar4 = var_18;
      if ((var_2 >> 0x1f & var_8) != var_4 >> 0x1f) {
        mVar4 = -var_18;
      }
      dest->_mp_size = mVar4;
    }
  }
  else {
    if (var_2 == 0) {
                    /* WARNING: Subroutine does not return */
      var_21();
    }
    var_17(dest,src);
    var_8 = 0;
  }
  if (var_22 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_23();
  }
  return var_8;
}


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

uint MASKED(int param_1,int param_2)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  uint *puVar6;
  uint uVar7;
  undefined1 *puVar8;
  int in_GS_OFFSET;
  int *unaff_retaddr;
  uint local_1d0;
  int local_1c8;
  int local_1c0;
  undefined1 local_1bc [12];
  undefined1 local_1b0 [4];
  int local_1ac;
  undefined1 local_1a4 [4];
  uint local_1a0;
  undefined1 local_198 [372];
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x307a9;
  entry();
  uVar2 = *(uint *)(param_2 + 4);
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  uVar3 = *(uint *)(param_1 + 4);
  puVar6 = *(uint **)(param_2 + 8);
  uVar7 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);
  uVar4 = *puVar6;
  if (((int)(uint)(uVar4 == 1) < (int)uVar7) && (uVar3 != 0)) {
    if ((uVar4 & 1) == 0) {
      if ((uVar4 == 2) == uVar7) {
        local_1d0 = __gmpz_scan1(param_1,0);
        __gmpz_fdiv_q_2exp(unaff_retaddr,param_1,local_1d0);
        if ((local_1d0 & uVar2 >> 0x1f) != 0) {
          unaff_retaddr[1] = -unaff_retaddr[1];
        }
      }
      else {
        __gmpz_init(local_1b0);
        __gmpz_init(local_1bc);
        __gmpz_tdiv_qr(local_1bc,local_1b0,param_1,param_2);
        if (local_1ac == 0) {
          __gmpz_init_set(local_1a4,param_2);
          __gmpz_swap(unaff_retaddr,local_1bc);
          if ((unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f) <
              (int)(((local_1a0 ^ (int)local_1a0 >> 0x1f) - ((int)local_1a0 >> 0x1f)) * 2 + -1)) {
            local_1d0 = 1;
            local_1c8 = 0;
          }
          else {
            local_1c8 = 1;
            puVar8 = local_198;
            iVar5 = local_1c8;
            do {
              local_1c8 = iVar5;
              __gmpz_init(puVar8);
              __gmpz_mul(puVar8,puVar8 + -0xc,puVar8 + -0xc);
              __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);
              if (local_1ac != 0) {
                __gmpz_clear(puVar8);
                local_1d0 = (1 << ((byte)local_1c8 & 0x1f)) - 1;
                local_1c8 = local_1c8 + -1;
                goto LAB_00030a14;
              }
              __gmpz_swap(unaff_retaddr,local_1bc);
              puVar6 = (uint *)(puVar8 + 4);
              piVar1 = (int *)(puVar8 + 4);
              puVar8 = puVar8 + 0xc;
              iVar5 = local_1c8 + 1;
            } while ((int)(((*puVar6 ^ *piVar1 >> 0x1f) - (*piVar1 >> 0x1f)) * 2 + -1) <=
                     (unaff_retaddr[1] ^ unaff_retaddr[1] >> 0x1f) - (unaff_retaddr[1] >> 0x1f));
            local_1d0 = (1 << ((byte)(local_1c8 + 1) & 0x1f)) - 1;
          }
LAB_00030a14:
          do {
            puVar8 = local_1a4 + local_1c8 * 0xc;
            __gmpz_tdiv_qr(local_1bc,local_1b0,unaff_retaddr,puVar8);
            if (local_1ac == 0) {
              local_1d0 = local_1d0 + (1 << ((byte)local_1c8 & 0x1f));
              __gmpz_swap(unaff_retaddr,local_1bc);
            }
            local_1c8 = local_1c8 + -1;
            __gmpz_clear(puVar8);
          } while (local_1c8 != -1);
        }
        else {
          __gmpz_set(unaff_retaddr,param_1);
          local_1d0 = 0;
        }
        __gmpz_clear(local_1bc);
        __gmpz_clear(local_1b0);
      }
    }
    else {
      local_1c0 = (uVar3 ^ (int)uVar3 >> 0x1f) - ((int)uVar3 >> 0x1f);
      if (*unaff_retaddr < local_1c0) {
        iVar5 = __gmpz_realloc(unaff_retaddr,local_1c0);
        puVar6 = *(uint **)(param_2 + 8);
      }
      else {
        iVar5 = unaff_retaddr[2];
      }
      local_1d0 = __gmpn_remove(iVar5,&local_1c0,*(undefined4 *)(param_1 + 8),local_1c0,puVar6,uVar7
                                ,0xffffffff);
      iVar5 = local_1c0;
      if ((uVar2 >> 0x1f & local_1d0) != uVar3 >> 0x1f) {
        iVar5 = -local_1c0;
      }
      unaff_retaddr[1] = iVar5;
    }
  }
  else {
    if (uVar2 == 0) {
                    /* WARNING: Subroutine does not return */
      __gmp_divide_by_zero();
    }
    __gmpz_set(unaff_retaddr,param_1);
    local_1d0 = 0;
  }
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00079d30();
  }
  return local_1d0;
}

