
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

mp_limb_t __gmpn_sec_pi1_div_qr
                    (mp_ptr qp,mp_ptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_limb_t dinv,
                    mp_ptr tp)

{
  mp_ptr pmVar1;
  mp_ptr pmVar2;
  undefined *puVar3;
  mp_limb_t mVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  int iVar9;
  mp_ptr pmVar10;
  
  puVar3 = PTR___gmpn_cpuvec_0009dd94;
  if (nn != dn) {
    mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10);
    tp[dn] = mVar4;
    pmVar1 = tp + dn + 1;
    pmVar2 = tp + nn + 1;
    iVar9 = nn - dn;
    pmVar10 = np + iVar9;
    iVar5 = iVar9 + -1;
    if (iVar5 < 0) {
      uVar8 = 0;
      iVar7 = 0;
      np = pmVar10;
    }
    else {
      iVar7 = 0;
      do {
        pmVar10 = pmVar10 + -1;
        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);
        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);
        pmVar2[iVar5] = mVar4;
        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);
        uVar8 = pmVar10[dn];
        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;
        pmVar1[iVar5] = mVar4;
        iVar5 = iVar5 + -1;
        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);
        iVar7 = uVar8 - iVar7;
      } while (iVar5 != -1);
      uVar8 = (uint)(iVar7 != 0);
    }
    *pmVar1 = *pmVar1 + uVar8;
    iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn);
    iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);
    *pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6);
    (**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn);
    iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);
    *pmVar1 = (*pmVar1 + 1) - iVar5;
    (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn);
    iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10);
    iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9);
    return iVar9 + iVar5;
  }
  iVar5 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(np,np,dp,nn);
  (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,nn);
  return 1 - iVar5;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int __gmpn_sec_pi1_div_qr
              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,
              uint param_6,int param_7)

{
  int *piVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  int iVar9;
  
  puVar3 = PTR___gmpn_cpuvec_0009dd94;
  if (param_3 != param_5) {
    iVar6 = param_5 * 4;
    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);
    *(undefined4 *)(param_7 + iVar6) = uVar4;
    piVar1 = (int *)(param_7 + 4 + iVar6);
    iVar2 = param_7 + 4 + param_3 * 4;
    param_3 = param_3 - param_5;
    iVar9 = param_2 + param_3 * 4;
    iVar5 = param_3 + -1;
    if (iVar5 < 0) {
      uVar8 = 0;
      iVar7 = 0;
      param_2 = iVar9;
    }
    else {
      iVar7 = 0;
      do {
        iVar9 = iVar9 + -4;
        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);
        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);
        *(int *)(iVar2 + iVar5 * 4) = iVar7;
        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);
        uVar8 = *(uint *)(iVar9 + iVar6);
        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;
        piVar1[iVar5] = iVar7;
        iVar5 = iVar5 + -1;
        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);
        iVar7 = uVar8 - iVar7;
      } while (iVar5 != -1);
      uVar8 = (uint)(iVar7 != 0);
    }
    *piVar1 = *piVar1 + uVar8;
    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);
    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);
    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);
    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);
    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);
    *piVar1 = (*piVar1 + 1) - iVar9;
    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);
    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);
    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);
    return iVar6 + iVar9;
  }
  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);
  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);
  return 1 - iVar9;
}


CALL 0x0001c5b1
ADD EAX,0x2492b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV EBX,dword ptr [ESP + 0x48]
CMP EBX,dword ptr [ESP + 0x50]
JZ 0x000798a0
MOV ESI,dword ptr [ESP + 0x50]
MOV EBP,dword ptr [ESP + 0x58]
PUSH 0x10
PUSH dword ptr [ESP + 0x54]
LEA EDI,[ESI*0x4 + 0x0]
MOV ESI,dword ptr [EAX + 0xfffffd94]
PUSH dword ptr [ESP + 0x54]
ADD EBP,EDI
PUSH dword ptr [ESP + 0x64]
CALL dword ptr [ESI + 0x38]
MOV dword ptr [EBP],EAX
MOV EAX,dword ptr [ESP + 0x68]
LEA EAX,[EAX + EDI*0x1 + 0x4]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x68]
LEA EAX,[EAX + EBX*0x4 + 0x4]
SUB EBX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,EBX
MOV dword ptr [ESP + 0x2c],EBX
MOV EBX,dword ptr [ESP + 0x54]
ADD ESP,0x10
LEA EBX,[EBX + EAX*0x4]
SUB EAX,0x1
MOV EBP,EAX
JS 0x000798e0
MOV EAX,dword ptr [ESP + 0x50]
XOR ECX,ECX
ADD EAX,0x1
MOV dword ptr [ESP + 0x18],EAX
NOP
SUB EBX,0x4
MOV EDX,dword ptr [EBX + EDI*0x1]
SHL ECX,0x10
SHR EDX,0x10
ADD ECX,EDX
MOV EAX,ECX
MUL dword ptr [ESP + 0x54]
MOV EAX,dword ptr [ESP + 0x14]
ADD ECX,EDX
MOV dword ptr [EAX + EBP*0x4],ECX
PUSH ECX
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x60]
PUSH EBX
CALL dword ptr [ESI + 0x90]
MOV ECX,dword ptr [EBX + EDI*0x1]
MOV EAX,ECX
MOV dword ptr [ESP + 0x1c],ECX
MUL dword ptr [ESP + 0x64]
MOV EAX,dword ptr [ESP + 0x20]
ADD EDX,ECX
MOV dword ptr [EAX + EBP*0x4],EDX
SUB EBP,0x1
PUSH EDX
PUSH dword ptr [ESP + 0x64]
PUSH dword ptr [ESP + 0x64]
PUSH EBX
CALL dword ptr [ESI + 0x90]
MOV ECX,dword ptr [ESP + 0x2c]
ADD ESP,0x20
SUB ECX,EAX
CMP EBP,-0x1
JNZ 0x00079760
XOR EAX,EAX
TEST ECX,ECX
SETNZ AL
MOV EDI,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0xc
ADD dword ptr [EDI],EAX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x58]
PUSH dword ptr [ESP + 0x5c]
PUSH EAX
CALL dword ptr [ESI + 0x1c]
MOV EBX,EAX
ADD ESP,0x20
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x4c]
PUSH dword ptr [ESP + 0x50]
CALL dword ptr [ESI + 0x88]
MOV ECX,dword ptr [ESP + 0x1c]
ADD EBX,EAX
MOV EAX,dword ptr [EDI]
LEA EAX,[ECX + EAX*0x1 + 0x1]
SUB EAX,EBX
SUB EBX,ECX
MOV dword ptr [EDI],EAX
POP EAX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x58]
PUSH dword ptr [ESP + 0x5c]
PUSH EBX
CALL dword ptr [ESI + 0x18]
ADD ESP,0x20
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x4c]
PUSH dword ptr [ESP + 0x50]
CALL dword ptr [ESI + 0x88]
MOV EBX,dword ptr [EDI]
LEA EDX,[EBX + 0x1]
MOV dword ptr [ESP + 0x1c],EBX
SUB EDX,EAX
MOV dword ptr [EDI],EDX
POP EDX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x58]
PUSH dword ptr [ESP + 0x5c]
PUSH EAX
CALL dword ptr [ESI + 0x18]
ADD ESP,0x20
PUSH 0x10
PUSH dword ptr [ESP + 0x20]
MOV EBP,dword ptr [ESP + 0x1c]
PUSH EBP
PUSH EBP
CALL dword ptr [ESI + 0x38]
PUSH dword ptr [ESP + 0x2c]
PUSH EDI
MOV EBX,EAX
PUSH EBP
PUSH dword ptr [ESP + 0x5c]
CALL dword ptr [ESI]
ADD EAX,EBX
ADD ESP,0x20
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EBX
MOV EDI,dword ptr [EAX + 0xfffffd94]
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x4c]
PUSH dword ptr [ESP + 0x50]
CALL dword ptr [EDI + 0x88]
MOV ESI,EAX
MOV dword ptr [ESP],EBX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x58]
PUSH dword ptr [ESP + 0x5c]
PUSH EAX
CALL dword ptr [EDI + 0x18]
MOV EAX,0x1
SUB EAX,ESI
ADD ESP,0x20
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x44],EBX
XOR EAX,EAX
XOR ECX,ECX
JMP 0x000797cb
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint __gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}\n\n" comment (function_definition "int __gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}" primitive_type (function_declarator "__gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___gmpn_cpuvec_0009dd94;" (assignment_expression "puVar3 = PTR___gmpn_cpuvec_0009dd94" identifier = identifier) ;) (if_statement "if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }" if (parenthesized_expression "(param_3 != param_5)" ( (binary_expression "param_3 != param_5" identifier != identifier) )) (compound_statement "{\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }" { (expression_statement "iVar6 = param_5 * 4;" (assignment_expression "iVar6 = param_5 * 4" identifier = (binary_expression "param_5 * 4" identifier * number_literal)) ;) (expression_statement "uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);" (assignment_expression "uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x38)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x38" identifier + number_literal) ))))) )) (argument_list "(param_7,param_4,param_5,0x10)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(param_7 + iVar6) = uVar4;" (assignment_expression "*(undefined4 *)(param_7 + iVar6) = uVar4" (pointer_expression "*(undefined4 *)(param_7 + iVar6)" * (cast_expression "(undefined4 *)(param_7 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + iVar6)" ( (binary_expression "param_7 + iVar6" identifier + identifier) )))) = identifier) ;) (expression_statement "piVar1 = (int *)(param_7 + 4 + iVar6);" (assignment_expression "piVar1 = (int *)(param_7 + 4 + iVar6)" identifier = (cast_expression "(int *)(param_7 + 4 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + 4 + iVar6)" ( (binary_expression "param_7 + 4 + iVar6" (binary_expression "param_7 + 4" identifier + number_literal) + identifier) )))) ;) (expression_statement "iVar2 = param_7 + 4 + param_3 * 4;" (assignment_expression "iVar2 = param_7 + 4 + param_3 * 4" identifier = (binary_expression "param_7 + 4 + param_3 * 4" (binary_expression "param_7 + 4" identifier + number_literal) + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "param_3 = param_3 - param_5;" (assignment_expression "param_3 = param_3 - param_5" identifier = (binary_expression "param_3 - param_5" identifier - identifier)) ;) (expression_statement "iVar9 = param_2 + param_3 * 4;" (assignment_expression "iVar9 = param_2 + param_3 * 4" identifier = (binary_expression "param_2 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "iVar5 = param_3 + -1;" (assignment_expression "iVar5 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_2 = iVar9;" (assignment_expression "param_2 = iVar9" identifier = identifier) ;) }) (else_clause "else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" else (compound_statement "{\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);" do (compound_statement "{\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      }" { (expression_statement "iVar9 = iVar9 + -4;" (assignment_expression "iVar9 = iVar9 + -4" identifier = (binary_expression "iVar9 + -4" identifier + number_literal)) ;) (expression_statement "uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);" (assignment_expression "uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10)" identifier = (binary_expression "iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10)" (binary_expression "iVar7 * 0x10000" identifier * number_literal) + (parenthesized_expression "(*(uint *)(iVar9 + iVar6) >> 0x10)" ( (binary_expression "*(uint *)(iVar9 + iVar6) >> 0x10" (pointer_expression "*(uint *)(iVar9 + iVar6)" * (cast_expression "(uint *)(iVar9 + iVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) )))) >> number_literal) )))) ;) (expression_statement "iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);" (assignment_expression "iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" identifier = (binary_expression "uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6 >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_6" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + iVar5 * 4) = iVar7;" (assignment_expression "*(int *)(iVar2 + iVar5 * 4) = iVar7" (pointer_expression "*(int *)(iVar2 + iVar5 * 4)" * (cast_expression "(int *)(iVar2 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar5 * 4)" ( (binary_expression "iVar2 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "(**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);" (call_expression "(**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" ( (pointer_expression "**(code **)(puVar3 + 0x90)" * (pointer_expression "*(code **)(puVar3 + 0x90)" * (cast_expression "(code **)(puVar3 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x90)" ( (binary_expression "puVar3 + 0x90" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_7,param_5 + 1,iVar7)" ( identifier , identifier , (binary_expression "param_5 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar8 = *(uint *)(iVar9 + iVar6);" (assignment_expression "uVar8 = *(uint *)(iVar9 + iVar6)" identifier = (pointer_expression "*(uint *)(iVar9 + iVar6)" * (cast_expression "(uint *)(iVar9 + iVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) ))))) ;) (expression_statement "iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;" (assignment_expression "iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8" identifier = (binary_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8" (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6 >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_6" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + identifier)) ;) (expression_statement "piVar1[iVar5] = iVar7;" (assignment_expression "piVar1[iVar5] = iVar7" (subscript_expression "piVar1[iVar5]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);" (assignment_expression "iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7)" identifier = (call_expression "(**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" ( (pointer_expression "**(code **)(puVar3 + 0x90)" * (pointer_expression "*(code **)(puVar3 + 0x90)" * (cast_expression "(code **)(puVar3 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x90)" ( (binary_expression "puVar3 + 0x90" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_4,param_5,iVar7)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar7 = uVar8 - iVar7;" (assignment_expression "iVar7 = uVar8 - iVar7" identifier = (binary_expression "uVar8 - iVar7" identifier - identifier)) ;) }) while (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) ;) (expression_statement "uVar8 = (uint)(iVar7 != 0);" (assignment_expression "uVar8 = (uint)(iVar7 != 0)" identifier = (call_expression "(uint)(iVar7 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )))) ;) }))) (expression_statement "*piVar1 = *piVar1 + uVar8;" (assignment_expression "*piVar1 = *piVar1 + uVar8" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + uVar8" (pointer_expression "*piVar1" * identifier) + identifier)) ;) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5)" identifier = (call_expression "(**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x1c))" ( (pointer_expression "**(code **)(puVar3 + 0x1c)" * (pointer_expression "*(code **)(puVar3 + 0x1c)" * (cast_expression "(code **)(puVar3 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1c)" ( (binary_expression "puVar3 + 0x1c" identifier + number_literal) ))))) )) (argument_list "(uVar8,param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);" (assignment_expression "iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" identifier = (call_expression "(**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" ( (pointer_expression "**(code **)(puVar3 + 0x88)" * (pointer_expression "*(code **)(puVar3 + 0x88)" * (cast_expression "(code **)(puVar3 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x88)" ( (binary_expression "puVar3 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);" (assignment_expression "*piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6)" (pointer_expression "*piVar1" * identifier) = (binary_expression "(iVar7 + 1 + *piVar1) - (iVar9 + iVar6)" (parenthesized_expression "(iVar7 + 1 + *piVar1)" ( (binary_expression "iVar7 + 1 + *piVar1" (binary_expression "iVar7 + 1" identifier + number_literal) + (pointer_expression "*piVar1" * identifier)) )) - (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) )))) ;) (expression_statement "(**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);" (call_expression "(**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5)" ( (binary_expression "(iVar9 + iVar6) - iVar7" (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) )) - identifier) , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" identifier = (call_expression "(**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" ( (pointer_expression "**(code **)(puVar3 + 0x88)" * (pointer_expression "*(code **)(puVar3 + 0x88)" * (cast_expression "(code **)(puVar3 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x88)" ( (binary_expression "puVar3 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*piVar1 = (*piVar1 + 1) - iVar9;" (assignment_expression "*piVar1 = (*piVar1 + 1) - iVar9" (pointer_expression "*piVar1" * identifier) = (binary_expression "(*piVar1 + 1) - iVar9" (parenthesized_expression "(*piVar1 + 1)" ( (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal) )) - identifier)) ;) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10)" identifier = (call_expression "(**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10)" (parenthesized_expression "(**(code **)(puVar3 + 0x38))" ( (pointer_expression "**(code **)(puVar3 + 0x38)" * (pointer_expression "*(code **)(puVar3 + 0x38)" * (cast_expression "(code **)(puVar3 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x38)" ( (binary_expression "puVar3 + 0x38" identifier + number_literal) ))))) )) (argument_list "(iVar2,iVar2,param_3,0x10)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);" (assignment_expression "iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3)" identifier = (call_expression "(**(code **)puVar3)(param_1,iVar2,piVar1,param_3)" (parenthesized_expression "(**(code **)puVar3)" ( (pointer_expression "**(code **)puVar3" * (pointer_expression "*(code **)puVar3" * (cast_expression "(code **)puVar3" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_1,iVar2,piVar1,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar6 + iVar9;" return (binary_expression "iVar6 + iVar9" identifier + identifier) ;) })) (expression_statement "iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);" (assignment_expression "iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x88)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_2,param_2,param_4,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_2,param_2,param_4,param_3)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return 1 - iVar9;" return (binary_expression "1 - iVar9" number_literal - identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nmp_limb_t __gmpn_sec_pi1_div_qr\n                    (mp_ptr qp,mp_ptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_limb_t dinv,\n                    mp_ptr tp)\n\n{\n  mp_ptr pmVar1;\n  mp_ptr pmVar2;\n  undefined *puVar3;\n  mp_limb_t mVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  mp_ptr pmVar10;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (nn != dn) {\n    mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10);\n    tp[dn] = mVar4;\n    pmVar1 = tp + dn + 1;\n    pmVar2 = tp + nn + 1;\n    iVar9 = nn - dn;\n    pmVar10 = np + iVar9;\n    iVar5 = iVar9 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      np = pmVar10;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *pmVar1 = *pmVar1 + uVar8;\n    iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn);\n    iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (*pmVar1 + 1) - iVar5;\n    (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10);\n    iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9);\n    return iVar9 + iVar5;\n  }\n  iVar5 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(np,np,dp,nn);\n  (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,nn);\n  return 1 - iVar5;\n}\n\n" comment (function_definition "mp_limb_t __gmpn_sec_pi1_div_qr\n                    (mp_ptr qp,mp_ptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_limb_t dinv,\n                    mp_ptr tp)\n\n{\n  mp_ptr pmVar1;\n  mp_ptr pmVar2;\n  undefined *puVar3;\n  mp_limb_t mVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  mp_ptr pmVar10;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (nn != dn) {\n    mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10);\n    tp[dn] = mVar4;\n    pmVar1 = tp + dn + 1;\n    pmVar2 = tp + nn + 1;\n    iVar9 = nn - dn;\n    pmVar10 = np + iVar9;\n    iVar5 = iVar9 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      np = pmVar10;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *pmVar1 = *pmVar1 + uVar8;\n    iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn);\n    iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (*pmVar1 + 1) - iVar5;\n    (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10);\n    iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9);\n    return iVar9 + iVar5;\n  }\n  iVar5 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(np,np,dp,nn);\n  (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,nn);\n  return 1 - iVar5;\n}" type_identifier (function_declarator "__gmpn_sec_pi1_div_qr\n                    (mp_ptr qp,mp_ptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_limb_t dinv,\n                    mp_ptr tp)" identifier (parameter_list "(mp_ptr qp,mp_ptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_limb_t dinv,\n                    mp_ptr tp)" ( (parameter_declaration "mp_ptr qp" type_identifier identifier) , (parameter_declaration "mp_ptr np" type_identifier identifier) , (parameter_declaration "mp_size_t nn" type_identifier identifier) , (parameter_declaration "mp_srcptr dp" type_identifier identifier) , (parameter_declaration "mp_size_t dn" type_identifier identifier) , (parameter_declaration "mp_limb_t dinv" type_identifier identifier) , (parameter_declaration "mp_ptr tp" type_identifier identifier) ))) (compound_statement "{\n  mp_ptr pmVar1;\n  mp_ptr pmVar2;\n  undefined *puVar3;\n  mp_limb_t mVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  mp_ptr pmVar10;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (nn != dn) {\n    mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10);\n    tp[dn] = mVar4;\n    pmVar1 = tp + dn + 1;\n    pmVar2 = tp + nn + 1;\n    iVar9 = nn - dn;\n    pmVar10 = np + iVar9;\n    iVar5 = iVar9 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      np = pmVar10;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *pmVar1 = *pmVar1 + uVar8;\n    iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn);\n    iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (*pmVar1 + 1) - iVar5;\n    (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10);\n    iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9);\n    return iVar9 + iVar5;\n  }\n  iVar5 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(np,np,dp,nn);\n  (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,nn);\n  return 1 - iVar5;\n}" { (declaration "mp_ptr pmVar1;" type_identifier identifier ;) (declaration "mp_ptr pmVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "mp_limb_t mVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "mp_ptr pmVar10;" type_identifier identifier ;) (expression_statement "puVar3 = PTR___gmpn_cpuvec_0009dd94;" (assignment_expression "puVar3 = PTR___gmpn_cpuvec_0009dd94" identifier = identifier) ;) (if_statement "if (nn != dn) {\n    mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10);\n    tp[dn] = mVar4;\n    pmVar1 = tp + dn + 1;\n    pmVar2 = tp + nn + 1;\n    iVar9 = nn - dn;\n    pmVar10 = np + iVar9;\n    iVar5 = iVar9 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      np = pmVar10;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *pmVar1 = *pmVar1 + uVar8;\n    iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn);\n    iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (*pmVar1 + 1) - iVar5;\n    (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10);\n    iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9);\n    return iVar9 + iVar5;\n  }" if (parenthesized_expression "(nn != dn)" ( (binary_expression "nn != dn" identifier != identifier) )) (compound_statement "{\n    mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10);\n    tp[dn] = mVar4;\n    pmVar1 = tp + dn + 1;\n    pmVar2 = tp + nn + 1;\n    iVar9 = nn - dn;\n    pmVar10 = np + iVar9;\n    iVar5 = iVar9 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      np = pmVar10;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *pmVar1 = *pmVar1 + uVar8;\n    iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn);\n    iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);\n    *pmVar1 = (*pmVar1 + 1) - iVar5;\n    (**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn);\n    iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10);\n    iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9);\n    return iVar9 + iVar5;\n  }" { (expression_statement "mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10);" (assignment_expression "mVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(tp,dp,dn,0x10)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x38)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x38" identifier + number_literal) ))))) )) (argument_list "(tp,dp,dn,0x10)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "tp[dn] = mVar4;" (assignment_expression "tp[dn] = mVar4" (subscript_expression "tp[dn]" identifier [ identifier ]) = identifier) ;) (expression_statement "pmVar1 = tp + dn + 1;" (assignment_expression "pmVar1 = tp + dn + 1" identifier = (binary_expression "tp + dn + 1" (binary_expression "tp + dn" identifier + identifier) + number_literal)) ;) (expression_statement "pmVar2 = tp + nn + 1;" (assignment_expression "pmVar2 = tp + nn + 1" identifier = (binary_expression "tp + nn + 1" (binary_expression "tp + nn" identifier + identifier) + number_literal)) ;) (expression_statement "iVar9 = nn - dn;" (assignment_expression "iVar9 = nn - dn" identifier = (binary_expression "nn - dn" identifier - identifier)) ;) (expression_statement "pmVar10 = np + iVar9;" (assignment_expression "pmVar10 = np + iVar9" identifier = (binary_expression "np + iVar9" identifier + identifier)) ;) (expression_statement "iVar5 = iVar9 + -1;" (assignment_expression "iVar5 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      np = pmVar10;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar8 = 0;\n      iVar7 = 0;\n      np = pmVar10;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "np = pmVar10;" (assignment_expression "np = pmVar10" identifier = identifier) ;) }) (else_clause "else {\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" else (compound_statement "{\n      iVar7 = 0;\n      do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);" do (compound_statement "{\n        pmVar10 = pmVar10 + -1;\n        uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);\n        mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);\n        pmVar2[iVar5] = mVar4;\n        (**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);\n        uVar8 = pmVar10[dn];\n        mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;\n        pmVar1[iVar5] = mVar4;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);\n        iVar7 = uVar8 - iVar7;\n      }" { (expression_statement "pmVar10 = pmVar10 + -1;" (assignment_expression "pmVar10 = pmVar10 + -1" identifier = (binary_expression "pmVar10 + -1" identifier + number_literal)) ;) (expression_statement "uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10);" (assignment_expression "uVar8 = iVar7 * 0x10000 + (pmVar10[dn] >> 0x10)" identifier = (binary_expression "iVar7 * 0x10000 + (pmVar10[dn] >> 0x10)" (binary_expression "iVar7 * 0x10000" identifier * number_literal) + (parenthesized_expression "(pmVar10[dn] >> 0x10)" ( (binary_expression "pmVar10[dn] >> 0x10" (subscript_expression "pmVar10[dn]" identifier [ identifier ]) >> number_literal) )))) ;) (expression_statement "mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20);" (assignment_expression "mVar4 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20)" identifier = (binary_expression "uVar8 + (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20)" identifier + (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)dinv >> 0x20)" ( (binary_expression "(ulonglong)uVar8 * (ulonglong)dinv >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)dinv" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)dinv" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))))) ;) (expression_statement "pmVar2[iVar5] = mVar4;" (assignment_expression "pmVar2[iVar5] = mVar4" (subscript_expression "pmVar2[iVar5]" identifier [ identifier ]) = identifier) ;) (expression_statement "(**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4);" (call_expression "(**(code **)(puVar3 + 0x90))(pmVar10,tp,dn + 1,mVar4)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" ( (pointer_expression "**(code **)(puVar3 + 0x90)" * (pointer_expression "*(code **)(puVar3 + 0x90)" * (cast_expression "(code **)(puVar3 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x90)" ( (binary_expression "puVar3 + 0x90" identifier + number_literal) ))))) )) (argument_list "(pmVar10,tp,dn + 1,mVar4)" ( identifier , identifier , (binary_expression "dn + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar8 = pmVar10[dn];" (assignment_expression "uVar8 = pmVar10[dn]" identifier = (subscript_expression "pmVar10[dn]" identifier [ identifier ])) ;) (expression_statement "mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8;" (assignment_expression "mVar4 = (int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8" identifier = (binary_expression "(int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20) + uVar8" (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)dinv >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)dinv >> 0x20)" ( (binary_expression "(ulonglong)uVar8 * (ulonglong)dinv >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)dinv" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)dinv" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + identifier)) ;) (expression_statement "pmVar1[iVar5] = mVar4;" (assignment_expression "pmVar1[iVar5] = mVar4" (subscript_expression "pmVar1[iVar5]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4);" (assignment_expression "iVar7 = (**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4)" identifier = (call_expression "(**(code **)(puVar3 + 0x90))(pmVar10,dp,dn,mVar4)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" ( (pointer_expression "**(code **)(puVar3 + 0x90)" * (pointer_expression "*(code **)(puVar3 + 0x90)" * (cast_expression "(code **)(puVar3 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x90)" ( (binary_expression "puVar3 + 0x90" identifier + number_literal) ))))) )) (argument_list "(pmVar10,dp,dn,mVar4)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar7 = uVar8 - iVar7;" (assignment_expression "iVar7 = uVar8 - iVar7" identifier = (binary_expression "uVar8 - iVar7" identifier - identifier)) ;) }) while (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) ;) (expression_statement "uVar8 = (uint)(iVar7 != 0);" (assignment_expression "uVar8 = (uint)(iVar7 != 0)" identifier = (call_expression "(uint)(iVar7 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )))) ;) }))) (expression_statement "*pmVar1 = *pmVar1 + uVar8;" (assignment_expression "*pmVar1 = *pmVar1 + uVar8" (pointer_expression "*pmVar1" * identifier) = (binary_expression "*pmVar1 + uVar8" (pointer_expression "*pmVar1" * identifier) + identifier)) ;) (expression_statement "iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn);" (assignment_expression "iVar5 = (**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn)" identifier = (call_expression "(**(code **)(puVar3 + 0x1c))(uVar8,np,np,dp,dn)" (parenthesized_expression "(**(code **)(puVar3 + 0x1c))" ( (pointer_expression "**(code **)(puVar3 + 0x1c)" * (pointer_expression "*(code **)(puVar3 + 0x1c)" * (cast_expression "(code **)(puVar3 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1c)" ( (binary_expression "puVar3 + 0x1c" identifier + number_literal) ))))) )) (argument_list "(uVar8,np,np,dp,dn)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);" (assignment_expression "iVar6 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn)" identifier = (call_expression "(**(code **)(puVar3 + 0x88))(np,np,dp,dn)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" ( (pointer_expression "**(code **)(puVar3 + 0x88)" * (pointer_expression "*(code **)(puVar3 + 0x88)" * (cast_expression "(code **)(puVar3 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x88)" ( (binary_expression "puVar3 + 0x88" identifier + number_literal) ))))) )) (argument_list "(np,np,dp,dn)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6);" (assignment_expression "*pmVar1 = (iVar7 + 1 + *pmVar1) - (iVar5 + iVar6)" (pointer_expression "*pmVar1" * identifier) = (binary_expression "(iVar7 + 1 + *pmVar1) - (iVar5 + iVar6)" (parenthesized_expression "(iVar7 + 1 + *pmVar1)" ( (binary_expression "iVar7 + 1 + *pmVar1" (binary_expression "iVar7 + 1" identifier + number_literal) + (pointer_expression "*pmVar1" * identifier)) )) - (parenthesized_expression "(iVar5 + iVar6)" ( (binary_expression "iVar5 + iVar6" identifier + identifier) )))) ;) (expression_statement "(**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn);" (call_expression "(**(code **)(puVar3 + 0x18))((iVar5 + iVar6) - iVar7,np,np,dp,dn)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "((iVar5 + iVar6) - iVar7,np,np,dp,dn)" ( (binary_expression "(iVar5 + iVar6) - iVar7" (parenthesized_expression "(iVar5 + iVar6)" ( (binary_expression "iVar5 + iVar6" identifier + identifier) )) - identifier) , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn);" (assignment_expression "iVar5 = (**(code **)(puVar3 + 0x88))(np,np,dp,dn)" identifier = (call_expression "(**(code **)(puVar3 + 0x88))(np,np,dp,dn)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" ( (pointer_expression "**(code **)(puVar3 + 0x88)" * (pointer_expression "*(code **)(puVar3 + 0x88)" * (cast_expression "(code **)(puVar3 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x88)" ( (binary_expression "puVar3 + 0x88" identifier + number_literal) ))))) )) (argument_list "(np,np,dp,dn)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*pmVar1 = (*pmVar1 + 1) - iVar5;" (assignment_expression "*pmVar1 = (*pmVar1 + 1) - iVar5" (pointer_expression "*pmVar1" * identifier) = (binary_expression "(*pmVar1 + 1) - iVar5" (parenthesized_expression "(*pmVar1 + 1)" ( (binary_expression "*pmVar1 + 1" (pointer_expression "*pmVar1" * identifier) + number_literal) )) - identifier)) ;) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,dn)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar5,np,np,dp,dn)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10);" (assignment_expression "iVar5 = (**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10)" identifier = (call_expression "(**(code **)(puVar3 + 0x38))(pmVar2,pmVar2,iVar9,0x10)" (parenthesized_expression "(**(code **)(puVar3 + 0x38))" ( (pointer_expression "**(code **)(puVar3 + 0x38)" * (pointer_expression "*(code **)(puVar3 + 0x38)" * (cast_expression "(code **)(puVar3 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x38)" ( (binary_expression "puVar3 + 0x38" identifier + number_literal) ))))) )) (argument_list "(pmVar2,pmVar2,iVar9,0x10)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9);" (assignment_expression "iVar9 = (**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9)" identifier = (call_expression "(**(code **)puVar3)(qp,pmVar2,pmVar1,iVar9)" (parenthesized_expression "(**(code **)puVar3)" ( (pointer_expression "**(code **)puVar3" * (pointer_expression "*(code **)puVar3" * (cast_expression "(code **)puVar3" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(qp,pmVar2,pmVar1,iVar9)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar9 + iVar5;" return (binary_expression "iVar9 + iVar5" identifier + identifier) ;) })) (expression_statement "iVar5 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(np,np,dp,nn);" (assignment_expression "iVar5 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(np,np,dp,nn)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(np,np,dp,nn)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x88)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x88" identifier + number_literal) ))))) )) (argument_list "(np,np,dp,nn)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,nn);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar5,np,np,dp,nn)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar5,np,np,dp,nn)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return 1 - iVar5;" return (binary_expression "1 - iVar5" number_literal - identifier) ;) })))
(translation_unit "int __gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}\n\n" (function_definition "int __gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}" primitive_type (function_declarator "__gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___gmpn_cpuvec_0009dd94;" (assignment_expression "puVar3 = PTR___gmpn_cpuvec_0009dd94" identifier = identifier) ;) (if_statement "if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }" if (parenthesized_expression "(param_3 != param_5)" ( (binary_expression "param_3 != param_5" identifier != identifier) )) (compound_statement "{\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }" { (expression_statement "iVar6 = param_5 * 4;" (assignment_expression "iVar6 = param_5 * 4" identifier = (binary_expression "param_5 * 4" identifier * number_literal)) ;) (expression_statement "uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);" (assignment_expression "uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x38)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x38" identifier + number_literal) ))))) )) (argument_list "(param_7,param_4,param_5,0x10)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(param_7 + iVar6) = uVar4;" (assignment_expression "*(undefined4 *)(param_7 + iVar6) = uVar4" (pointer_expression "*(undefined4 *)(param_7 + iVar6)" * (cast_expression "(undefined4 *)(param_7 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + iVar6)" ( (binary_expression "param_7 + iVar6" identifier + identifier) )))) = identifier) ;) (expression_statement "piVar1 = (int *)(param_7 + 4 + iVar6);" (assignment_expression "piVar1 = (int *)(param_7 + 4 + iVar6)" identifier = (cast_expression "(int *)(param_7 + 4 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + 4 + iVar6)" ( (binary_expression "param_7 + 4 + iVar6" (binary_expression "param_7 + 4" identifier + number_literal) + identifier) )))) ;) (expression_statement "iVar2 = param_7 + 4 + param_3 * 4;" (assignment_expression "iVar2 = param_7 + 4 + param_3 * 4" identifier = (binary_expression "param_7 + 4 + param_3 * 4" (binary_expression "param_7 + 4" identifier + number_literal) + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "param_3 = param_3 - param_5;" (assignment_expression "param_3 = param_3 - param_5" identifier = (binary_expression "param_3 - param_5" identifier - identifier)) ;) (expression_statement "iVar9 = param_2 + param_3 * 4;" (assignment_expression "iVar9 = param_2 + param_3 * 4" identifier = (binary_expression "param_2 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "iVar5 = param_3 + -1;" (assignment_expression "iVar5 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "param_2 = iVar9;" (assignment_expression "param_2 = iVar9" identifier = identifier) ;) }) (else_clause "else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" else (compound_statement "{\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);" do (compound_statement "{\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      }" { (expression_statement "iVar9 = iVar9 + -4;" (assignment_expression "iVar9 = iVar9 + -4" identifier = (binary_expression "iVar9 + -4" identifier + number_literal)) ;) (expression_statement "uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);" (assignment_expression "uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10)" identifier = (binary_expression "iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10)" (binary_expression "iVar7 * 0x10000" identifier * number_literal) + (parenthesized_expression "(*(uint *)(iVar9 + iVar6) >> 0x10)" ( (binary_expression "*(uint *)(iVar9 + iVar6) >> 0x10" (pointer_expression "*(uint *)(iVar9 + iVar6)" * (cast_expression "(uint *)(iVar9 + iVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) )))) >> number_literal) )))) ;) (expression_statement "iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);" (assignment_expression "iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" identifier = (binary_expression "uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6 >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_6" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + iVar5 * 4) = iVar7;" (assignment_expression "*(int *)(iVar2 + iVar5 * 4) = iVar7" (pointer_expression "*(int *)(iVar2 + iVar5 * 4)" * (cast_expression "(int *)(iVar2 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar5 * 4)" ( (binary_expression "iVar2 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "(**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);" (call_expression "(**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" ( (pointer_expression "**(code **)(puVar3 + 0x90)" * (pointer_expression "*(code **)(puVar3 + 0x90)" * (cast_expression "(code **)(puVar3 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x90)" ( (binary_expression "puVar3 + 0x90" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_7,param_5 + 1,iVar7)" ( identifier , identifier , (binary_expression "param_5 + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar8 = *(uint *)(iVar9 + iVar6);" (assignment_expression "uVar8 = *(uint *)(iVar9 + iVar6)" identifier = (pointer_expression "*(uint *)(iVar9 + iVar6)" * (cast_expression "(uint *)(iVar9 + iVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) ))))) ;) (expression_statement "iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;" (assignment_expression "iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8" identifier = (binary_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8" (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6 >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_6" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + identifier)) ;) (expression_statement "piVar1[iVar5] = iVar7;" (assignment_expression "piVar1[iVar5] = iVar7" (subscript_expression "piVar1[iVar5]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);" (assignment_expression "iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7)" identifier = (call_expression "(**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" ( (pointer_expression "**(code **)(puVar3 + 0x90)" * (pointer_expression "*(code **)(puVar3 + 0x90)" * (cast_expression "(code **)(puVar3 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x90)" ( (binary_expression "puVar3 + 0x90" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_4,param_5,iVar7)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar7 = uVar8 - iVar7;" (assignment_expression "iVar7 = uVar8 - iVar7" identifier = (binary_expression "uVar8 - iVar7" identifier - identifier)) ;) }) while (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) ;) (expression_statement "uVar8 = (uint)(iVar7 != 0);" (assignment_expression "uVar8 = (uint)(iVar7 != 0)" identifier = (call_expression "(uint)(iVar7 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )))) ;) }))) (expression_statement "*piVar1 = *piVar1 + uVar8;" (assignment_expression "*piVar1 = *piVar1 + uVar8" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + uVar8" (pointer_expression "*piVar1" * identifier) + identifier)) ;) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5)" identifier = (call_expression "(**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x1c))" ( (pointer_expression "**(code **)(puVar3 + 0x1c)" * (pointer_expression "*(code **)(puVar3 + 0x1c)" * (cast_expression "(code **)(puVar3 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x1c)" ( (binary_expression "puVar3 + 0x1c" identifier + number_literal) ))))) )) (argument_list "(uVar8,param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);" (assignment_expression "iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" identifier = (call_expression "(**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" ( (pointer_expression "**(code **)(puVar3 + 0x88)" * (pointer_expression "*(code **)(puVar3 + 0x88)" * (cast_expression "(code **)(puVar3 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x88)" ( (binary_expression "puVar3 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);" (assignment_expression "*piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6)" (pointer_expression "*piVar1" * identifier) = (binary_expression "(iVar7 + 1 + *piVar1) - (iVar9 + iVar6)" (parenthesized_expression "(iVar7 + 1 + *piVar1)" ( (binary_expression "iVar7 + 1 + *piVar1" (binary_expression "iVar7 + 1" identifier + number_literal) + (pointer_expression "*piVar1" * identifier)) )) - (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) )))) ;) (expression_statement "(**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);" (call_expression "(**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5)" ( (binary_expression "(iVar9 + iVar6) - iVar7" (parenthesized_expression "(iVar9 + iVar6)" ( (binary_expression "iVar9 + iVar6" identifier + identifier) )) - identifier) , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" identifier = (call_expression "(**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" ( (pointer_expression "**(code **)(puVar3 + 0x88)" * (pointer_expression "*(code **)(puVar3 + 0x88)" * (cast_expression "(code **)(puVar3 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x88)" ( (binary_expression "puVar3 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "*piVar1 = (*piVar1 + 1) - iVar9;" (assignment_expression "*piVar1 = (*piVar1 + 1) - iVar9" (pointer_expression "*piVar1" * identifier) = (binary_expression "(*piVar1 + 1) - iVar9" (parenthesized_expression "(*piVar1 + 1)" ( (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal) )) - identifier)) ;) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_2,param_2,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10)" identifier = (call_expression "(**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10)" (parenthesized_expression "(**(code **)(puVar3 + 0x38))" ( (pointer_expression "**(code **)(puVar3 + 0x38)" * (pointer_expression "*(code **)(puVar3 + 0x38)" * (cast_expression "(code **)(puVar3 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x38)" ( (binary_expression "puVar3 + 0x38" identifier + number_literal) ))))) )) (argument_list "(iVar2,iVar2,param_3,0x10)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);" (assignment_expression "iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3)" identifier = (call_expression "(**(code **)puVar3)(param_1,iVar2,piVar1,param_3)" (parenthesized_expression "(**(code **)puVar3)" ( (pointer_expression "**(code **)puVar3" * (pointer_expression "*(code **)puVar3" * (cast_expression "(code **)puVar3" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_1,iVar2,piVar1,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar6 + iVar9;" return (binary_expression "iVar6 + iVar9" identifier + identifier) ;) })) (expression_statement "iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);" (assignment_expression "iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3)" identifier = (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x88)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_2,param_2,param_4,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" ( (pointer_expression "**(code **)(puVar3 + 0x18)" * (pointer_expression "*(code **)(puVar3 + 0x18)" * (cast_expression "(code **)(puVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar9,param_2,param_2,param_4,param_3)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return 1 - iVar9;" return (binary_expression "1 - iVar9" number_literal - identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) ))) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (pointer_expression * IDENT)) )) - (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) - IDENT) , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )) - IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (return_statement return (binary_expression IDENT + IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return (binary_expression LIT - IDENT) ;) })))
(function_definition "int __gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}" (primitive_type "int") (function_declarator "__gmpn_sec_pi1_div_qr\n              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)" (identifier "__gmpn_sec_pi1_div_qr") (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,\n              uint param_6,int param_7)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "uint param_6" (type_identifier "uint") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  \n  puVar3 = PTR___gmpn_cpuvec_0009dd94;\n  if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }\n  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);\n  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);\n  return 1 - iVar9;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "puVar3 = PTR___gmpn_cpuvec_0009dd94;" (assignment_expression "puVar3 = PTR___gmpn_cpuvec_0009dd94" (identifier "puVar3") (= "=") (identifier "PTR___gmpn_cpuvec_0009dd94")) (; ";")) (if_statement "if (param_3 != param_5) {\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }" (if "if") (parenthesized_expression "(param_3 != param_5)" (( "(") (binary_expression "param_3 != param_5" (identifier "param_3") (!= "!=") (identifier "param_5")) () ")")) (compound_statement "{\n    iVar6 = param_5 * 4;\n    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);\n    *(undefined4 *)(param_7 + iVar6) = uVar4;\n    piVar1 = (int *)(param_7 + 4 + iVar6);\n    iVar2 = param_7 + 4 + param_3 * 4;\n    param_3 = param_3 - param_5;\n    iVar9 = param_2 + param_3 * 4;\n    iVar5 = param_3 + -1;\n    if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }\n    *piVar1 = *piVar1 + uVar8;\n    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);\n    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);\n    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);\n    *piVar1 = (*piVar1 + 1) - iVar9;\n    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);\n    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);\n    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);\n    return iVar6 + iVar9;\n  }" ({ "{") (expression_statement "iVar6 = param_5 * 4;" (assignment_expression "iVar6 = param_5 * 4" (identifier "iVar6") (= "=") (binary_expression "param_5 * 4" (identifier "param_5") (* "*") (number_literal "4"))) (; ";")) (expression_statement "uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);" (assignment_expression "uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))" (( "(") (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" (* "*") (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" (* "*") (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x38)" (( "(") (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x38" (identifier "PTR___gmpn_cpuvec_0009dd94") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_7,param_4,param_5,0x10)" (( "(") (identifier "param_7") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (number_literal "0x10") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_7 + iVar6) = uVar4;" (assignment_expression "*(undefined4 *)(param_7 + iVar6) = uVar4" (pointer_expression "*(undefined4 *)(param_7 + iVar6)" (* "*") (cast_expression "(undefined4 *)(param_7 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_7 + iVar6)" (( "(") (binary_expression "param_7 + iVar6" (identifier "param_7") (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "piVar1 = (int *)(param_7 + 4 + iVar6);" (assignment_expression "piVar1 = (int *)(param_7 + 4 + iVar6)" (identifier "piVar1") (= "=") (cast_expression "(int *)(param_7 + 4 + iVar6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_7 + 4 + iVar6)" (( "(") (binary_expression "param_7 + 4 + iVar6" (binary_expression "param_7 + 4" (identifier "param_7") (+ "+") (number_literal "4")) (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (expression_statement "iVar2 = param_7 + 4 + param_3 * 4;" (assignment_expression "iVar2 = param_7 + 4 + param_3 * 4" (identifier "iVar2") (= "=") (binary_expression "param_7 + 4 + param_3 * 4" (binary_expression "param_7 + 4" (identifier "param_7") (+ "+") (number_literal "4")) (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4")))) (; ";")) (expression_statement "param_3 = param_3 - param_5;" (assignment_expression "param_3 = param_3 - param_5" (identifier "param_3") (= "=") (binary_expression "param_3 - param_5" (identifier "param_3") (- "-") (identifier "param_5"))) (; ";")) (expression_statement "iVar9 = param_2 + param_3 * 4;" (assignment_expression "iVar9 = param_2 + param_3 * 4" (identifier "iVar9") (= "=") (binary_expression "param_2 + param_3 * 4" (identifier "param_2") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4")))) (; ";")) (expression_statement "iVar5 = param_3 + -1;" (assignment_expression "iVar5 = param_3 + -1" (identifier "iVar5") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar5 < 0) {\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }\n    else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar8 = 0;\n      iVar7 = 0;\n      param_2 = iVar9;\n    }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2 = iVar9;" (assignment_expression "param_2 = iVar9" (identifier "param_2") (= "=") (identifier "iVar9")) (; ";")) (} "}")) (else_clause "else {\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" (else "else") (compound_statement "{\n      iVar7 = 0;\n      do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);\n      uVar8 = (uint)(iVar7 != 0);\n    }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      } while (iVar5 != -1);" (do "do") (compound_statement "{\n        iVar9 = iVar9 + -4;\n        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);\n        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);\n        *(int *)(iVar2 + iVar5 * 4) = iVar7;\n        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);\n        uVar8 = *(uint *)(iVar9 + iVar6);\n        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;\n        piVar1[iVar5] = iVar7;\n        iVar5 = iVar5 + -1;\n        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);\n        iVar7 = uVar8 - iVar7;\n      }" ({ "{") (expression_statement "iVar9 = iVar9 + -4;" (assignment_expression "iVar9 = iVar9 + -4" (identifier "iVar9") (= "=") (binary_expression "iVar9 + -4" (identifier "iVar9") (+ "+") (number_literal "-4"))) (; ";")) (expression_statement "uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);" (assignment_expression "uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10)" (identifier "uVar8") (= "=") (binary_expression "iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10)" (binary_expression "iVar7 * 0x10000" (identifier "iVar7") (* "*") (number_literal "0x10000")) (+ "+") (parenthesized_expression "(*(uint *)(iVar9 + iVar6) >> 0x10)" (( "(") (binary_expression "*(uint *)(iVar9 + iVar6) >> 0x10" (pointer_expression "*(uint *)(iVar9 + iVar6)" (* "*") (cast_expression "(uint *)(iVar9 + iVar6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar6)" (( "(") (binary_expression "iVar9 + iVar6" (identifier "iVar9") (+ "+") (identifier "iVar6")) () ")")))) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);" (assignment_expression "iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" (identifier "iVar7") (= "=") (binary_expression "uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" (identifier "uVar8") (+ "+") (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6 >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (* "*") (cast_expression "(ulonglong)param_6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_6"))) (>> ">>") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar2 + iVar5 * 4) = iVar7;" (assignment_expression "*(int *)(iVar2 + iVar5 * 4) = iVar7" (pointer_expression "*(int *)(iVar2 + iVar5 * 4)" (* "*") (cast_expression "(int *)(iVar2 + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar5 * 4)" (( "(") (binary_expression "iVar2 + iVar5 * 4" (identifier "iVar2") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "(**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);" (call_expression "(**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x90)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x90)" (* "*") (cast_expression "(code **)(puVar3 + 0x90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x90)" (( "(") (binary_expression "puVar3 + 0x90" (identifier "puVar3") (+ "+") (number_literal "0x90")) () ")"))))) () ")")) (argument_list "(iVar9,param_7,param_5 + 1,iVar7)" (( "(") (identifier "iVar9") (, ",") (identifier "param_7") (, ",") (binary_expression "param_5 + 1" (identifier "param_5") (+ "+") (number_literal "1")) (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "uVar8 = *(uint *)(iVar9 + iVar6);" (assignment_expression "uVar8 = *(uint *)(iVar9 + iVar6)" (identifier "uVar8") (= "=") (pointer_expression "*(uint *)(iVar9 + iVar6)" (* "*") (cast_expression "(uint *)(iVar9 + iVar6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar6)" (( "(") (binary_expression "iVar9 + iVar6" (identifier "iVar9") (+ "+") (identifier "iVar6")) () ")"))))) (; ";")) (expression_statement "iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;" (assignment_expression "iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8" (identifier "iVar7") (= "=") (binary_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8" (cast_expression "(int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6 >> 0x20" (binary_expression "(ulonglong)uVar8 * (ulonglong)param_6" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (* "*") (cast_expression "(ulonglong)param_6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_6"))) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "piVar1[iVar5] = iVar7;" (assignment_expression "piVar1[iVar5] = iVar7" (subscript_expression "piVar1[iVar5]" (identifier "piVar1") ([ "[") (identifier "iVar5") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);" (assignment_expression "iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7)" (identifier "iVar7") (= "=") (call_expression "(**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7)" (parenthesized_expression "(**(code **)(puVar3 + 0x90))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x90)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x90)" (* "*") (cast_expression "(code **)(puVar3 + 0x90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x90)" (( "(") (binary_expression "puVar3 + 0x90" (identifier "puVar3") (+ "+") (number_literal "0x90")) () ")"))))) () ")")) (argument_list "(iVar9,param_4,param_5,iVar7)" (( "(") (identifier "iVar9") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "iVar7") () ")")))) (; ";")) (expression_statement "iVar7 = uVar8 - iVar7;" (assignment_expression "iVar7 = uVar8 - iVar7" (identifier "iVar7") (= "=") (binary_expression "uVar8 - iVar7" (identifier "uVar8") (- "-") (identifier "iVar7"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != -1)" (( "(") (binary_expression "iVar5 != -1" (identifier "iVar5") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (expression_statement "uVar8 = (uint)(iVar7 != 0);" (assignment_expression "uVar8 = (uint)(iVar7 != 0)" (identifier "uVar8") (= "=") (call_expression "(uint)(iVar7 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))) (expression_statement "*piVar1 = *piVar1 + uVar8;" (assignment_expression "*piVar1 = *piVar1 + uVar8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "*piVar1 + uVar8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x1c))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x1c)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x1c)" (* "*") (cast_expression "(code **)(puVar3 + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x1c)" (( "(") (binary_expression "puVar3 + 0x1c" (identifier "puVar3") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(uVar8,param_2,param_2,param_4,param_5)" (( "(") (identifier "uVar8") (, ",") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);" (assignment_expression "iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x88)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x88)" (* "*") (cast_expression "(code **)(puVar3 + 0x88)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x88)" (( "(") (binary_expression "puVar3 + 0x88" (identifier "puVar3") (+ "+") (number_literal "0x88")) () ")"))))) () ")")) (argument_list "(param_2,param_2,param_4,param_5)" (( "(") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "*piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);" (assignment_expression "*piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6)" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "(iVar7 + 1 + *piVar1) - (iVar9 + iVar6)" (parenthesized_expression "(iVar7 + 1 + *piVar1)" (( "(") (binary_expression "iVar7 + 1 + *piVar1" (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) (+ "+") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (- "-") (parenthesized_expression "(iVar9 + iVar6)" (( "(") (binary_expression "iVar9 + iVar6" (identifier "iVar9") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (expression_statement "(**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);" (call_expression "(**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x18)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x18)" (* "*") (cast_expression "(code **)(puVar3 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x18)" (( "(") (binary_expression "puVar3 + 0x18" (identifier "puVar3") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5)" (( "(") (binary_expression "(iVar9 + iVar6) - iVar7" (parenthesized_expression "(iVar9 + iVar6)" (( "(") (binary_expression "iVar9 + iVar6" (identifier "iVar9") (+ "+") (identifier "iVar6")) () ")")) (- "-") (identifier "iVar7")) (, ",") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x88))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x88)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x88)" (* "*") (cast_expression "(code **)(puVar3 + 0x88)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x88)" (( "(") (binary_expression "puVar3 + 0x88" (identifier "puVar3") (+ "+") (number_literal "0x88")) () ")"))))) () ")")) (argument_list "(param_2,param_2,param_4,param_5)" (( "(") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "*piVar1 = (*piVar1 + 1) - iVar9;" (assignment_expression "*piVar1 = (*piVar1 + 1) - iVar9" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "(*piVar1 + 1) - iVar9" (parenthesized_expression "(*piVar1 + 1)" (( "(") (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "1")) () ")")) (- "-") (identifier "iVar9"))) (; ";")) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x18)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x18)" (* "*") (cast_expression "(code **)(puVar3 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x18)" (( "(") (binary_expression "puVar3 + 0x18" (identifier "puVar3") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(iVar9,param_2,param_2,param_4,param_5)" (( "(") (identifier "iVar9") (, ",") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);" (assignment_expression "iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10)" (parenthesized_expression "(**(code **)(puVar3 + 0x38))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x38)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x38)" (* "*") (cast_expression "(code **)(puVar3 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x38)" (( "(") (binary_expression "puVar3 + 0x38" (identifier "puVar3") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(iVar2,iVar2,param_3,0x10)" (( "(") (identifier "iVar2") (, ",") (identifier "iVar2") (, ",") (identifier "param_3") (, ",") (number_literal "0x10") () ")")))) (; ";")) (expression_statement "iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);" (assignment_expression "iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3)" (identifier "iVar6") (= "=") (call_expression "(**(code **)puVar3)(param_1,iVar2,piVar1,param_3)" (parenthesized_expression "(**(code **)puVar3)" (( "(") (pointer_expression "**(code **)puVar3" (* "*") (pointer_expression "*(code **)puVar3" (* "*") (cast_expression "(code **)puVar3" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) () ")")) (argument_list "(param_1,iVar2,piVar1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "iVar2") (, ",") (identifier "piVar1") (, ",") (identifier "param_3") () ")")))) (; ";")) (return_statement "return iVar6 + iVar9;" (return "return") (binary_expression "iVar6 + iVar9" (identifier "iVar6") (+ "+") (identifier "iVar9")) (; ";")) (} "}"))) (expression_statement "iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);" (assignment_expression "iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))" (( "(") (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" (* "*") (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" (* "*") (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x88)" (( "(") (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x88" (identifier "PTR___gmpn_cpuvec_0009dd94") (+ "+") (number_literal "0x88")) () ")"))))) () ")")) (argument_list "(param_2,param_2,param_4,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);" (call_expression "(**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3)" (parenthesized_expression "(**(code **)(puVar3 + 0x18))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x18)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x18)" (* "*") (cast_expression "(code **)(puVar3 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x18)" (( "(") (binary_expression "puVar3 + 0x18" (identifier "puVar3") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(iVar9,param_2,param_2,param_4,param_3)" (( "(") (identifier "iVar9") (, ",") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return 1 - iVar9;" (return "return") (binary_expression "1 - iVar9" (number_literal "1") (- "-") (identifier "iVar9")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

type_1 function_1
                    (type_2 qp,type_2 var_5,type_3 var_1,type_4 dp,type_3 var_2,type_1 dinv,
                    type_2 var_4)

{
  type_2 pmVar1;
  type_2 pmVar2;
  type_5 *var_11;
  type_1 mVar4;
  int var_7;
  int var_12;
  int var_9;
  type_6 var_10;
  int var_6;
  type_2 var_8;
  
  var_11 = var_3;
  if (var_1 != var_2) {
    mVar4 = (**(type_7 **)(var_3 + 0x38))(var_4,dp,var_2,0x10);
    var_4[var_2] = mVar4;
    pmVar1 = var_4 + var_2 + 1;
    pmVar2 = var_4 + var_1 + 1;
    var_6 = var_1 - var_2;
    var_8 = var_5 + var_6;
    var_7 = var_6 + -1;
    if (var_7 < 0) {
      var_10 = 0;
      var_9 = 0;
      var_5 = var_8;
    }
    else {
      var_9 = 0;
      do {
        var_8 = var_8 + -1;
        var_10 = var_9 * 0x10000 + (var_8[var_2] >> 0x10);
        mVar4 = var_10 + (int)((type_8)var_10 * (type_8)dinv >> 0x20);
        pmVar2[var_7] = mVar4;
        (**(type_7 **)(var_11 + 0x90))(var_8,var_4,var_2 + 1,mVar4);
        var_10 = var_8[var_2];
        mVar4 = (int)((type_8)var_10 * (type_8)dinv >> 0x20) + var_10;
        pmVar1[var_7] = mVar4;
        var_7 = var_7 + -1;
        var_9 = (**(type_7 **)(var_11 + 0x90))(var_8,dp,var_2,mVar4);
        var_9 = var_10 - var_9;
      } while (var_7 != -1);
      var_10 = (type_6)(var_9 != 0);
    }
    *pmVar1 = *pmVar1 + var_10;
    var_7 = (**(type_7 **)(var_11 + 0x1c))(var_10,var_5,var_5,dp,var_2);
    var_12 = (**(type_7 **)(var_11 + 0x88))(var_5,var_5,dp,var_2);
    *pmVar1 = (var_9 + 1 + *pmVar1) - (var_7 + var_12);
    (**(type_7 **)(var_11 + 0x18))((var_7 + var_12) - var_9,var_5,var_5,dp,var_2);
    var_7 = (**(type_7 **)(var_11 + 0x88))(var_5,var_5,dp,var_2);
    *pmVar1 = (*pmVar1 + 1) - var_7;
    (**(type_7 **)(var_11 + 0x18))(var_7,var_5,var_5,dp,var_2);
    var_7 = (**(type_7 **)(var_11 + 0x38))(pmVar2,pmVar2,var_6,0x10);
    var_6 = (**(type_7 **)var_11)(qp,pmVar2,pmVar1,var_6);
    return var_6 + var_7;
  }
  var_7 = (**(type_7 **)(var_3 + 0x88))(var_5,var_5,dp,var_1);
  (**(type_7 **)(var_11 + 0x18))(var_7,var_5,var_5,dp,var_1);
  return 1 - var_7;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int MASKED
              (undefined4 param_1,int param_2,int param_3,undefined4 param_4,int param_5,
              uint param_6,int param_7)

{
  int *piVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  int iVar9;
  
  puVar3 = PTR___gmpn_cpuvec_0009dd94;
  if (param_3 != param_5) {
    iVar6 = param_5 * 4;
    uVar4 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x38))(param_7,param_4,param_5,0x10);
    *(undefined4 *)(param_7 + iVar6) = uVar4;
    piVar1 = (int *)(param_7 + 4 + iVar6);
    iVar2 = param_7 + 4 + param_3 * 4;
    param_3 = param_3 - param_5;
    iVar9 = param_2 + param_3 * 4;
    iVar5 = param_3 + -1;
    if (iVar5 < 0) {
      uVar8 = 0;
      iVar7 = 0;
      param_2 = iVar9;
    }
    else {
      iVar7 = 0;
      do {
        iVar9 = iVar9 + -4;
        uVar8 = iVar7 * 0x10000 + (*(uint *)(iVar9 + iVar6) >> 0x10);
        iVar7 = uVar8 + (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20);
        *(int *)(iVar2 + iVar5 * 4) = iVar7;
        (**(code **)(puVar3 + 0x90))(iVar9,param_7,param_5 + 1,iVar7);
        uVar8 = *(uint *)(iVar9 + iVar6);
        iVar7 = (int)((ulonglong)uVar8 * (ulonglong)param_6 >> 0x20) + uVar8;
        piVar1[iVar5] = iVar7;
        iVar5 = iVar5 + -1;
        iVar7 = (**(code **)(puVar3 + 0x90))(iVar9,param_4,param_5,iVar7);
        iVar7 = uVar8 - iVar7;
      } while (iVar5 != -1);
      uVar8 = (uint)(iVar7 != 0);
    }
    *piVar1 = *piVar1 + uVar8;
    iVar9 = (**(code **)(puVar3 + 0x1c))(uVar8,param_2,param_2,param_4,param_5);
    iVar6 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);
    *piVar1 = (iVar7 + 1 + *piVar1) - (iVar9 + iVar6);
    (**(code **)(puVar3 + 0x18))((iVar9 + iVar6) - iVar7,param_2,param_2,param_4,param_5);
    iVar9 = (**(code **)(puVar3 + 0x88))(param_2,param_2,param_4,param_5);
    *piVar1 = (*piVar1 + 1) - iVar9;
    (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_5);
    iVar9 = (**(code **)(puVar3 + 0x38))(iVar2,iVar2,param_3,0x10);
    iVar6 = (**(code **)puVar3)(param_1,iVar2,piVar1,param_3);
    return iVar6 + iVar9;
  }
  iVar9 = (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x88))(param_2,param_2,param_4,param_3);
  (**(code **)(puVar3 + 0x18))(iVar9,param_2,param_2,param_4,param_3);
  return 1 - iVar9;
}

