
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __gmpz_2fac_ui(mpz_ptr x,ulong n)

{
  int iVar1;
  uint uVar2;
  mp_bitcnt_t cnt;
  uint uVar3;
  uint uVar4;
  undefined1 *puVar5;
  uint uVar6;
  uint *puVar7;
  int in_GS_OFFSET;
  undefined4 uStackY_50;
  undefined1 auStack_3c [4];
  uint local_38;
  undefined4 *local_34;
  undefined **local_30;
  uint auStack_2c [7];
  
  puVar5 = auStack_3c;
  local_30 = &_GLOBAL_OFFSET_TABLE_;
  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);
  if ((n & 1) == 0) {
    uVar3 = n >> 1;
    if (n - 1 < 0x31) {
      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];
    }
    else {
      uVar6 = n - (uVar3 & 0x55555555);
      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);
      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;
      uVar6 = (uVar6 >> 8) + uVar6;
      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);
    }
    uStackY_50 = 0x28419;
    __gmpz_oddfac_1(x,uVar3,0);
    uStackY_50 = 0x28427;
    __gmpz_mul_2exp(x,x,cnt);
    puVar5 = auStack_3c;
  }
  else if (n < 0x14) {
    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);
    x->_mp_size = 1;
  }
  else if (n < 800) {
    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);
    puVar5 = auStack_3c + iVar1;
    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);
    *local_34 = 0x27065f73;
    puVar7 = (uint *)((int)auStack_2c + iVar1);
    uVar6 = n & 1;
    uVar3 = 2;
    uVar2 = n - 2;
    while (uVar4 = uVar2, 0x13 < uVar4) {
      while (n < 0x51eb86) {
        n = n * uVar4;
        uVar4 = uVar4 - 2;
        puVar7 = local_34 + uVar6;
        uVar3 = uVar6 + 1;
        if (uVar4 < 0x14) goto LAB_000284e9;
      }
      *puVar7 = n;
      local_38 = uVar4 - 2;
      puVar7 = local_34 + uVar3;
      uVar6 = uVar3;
      uVar3 = uVar3 + 1;
      uVar2 = uVar4 - 2;
      n = uVar4;
    }
LAB_000284e9:
    *puVar7 = n;
    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;
    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;
    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;
    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;
    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),
                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),
                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));
  }
  else {
    uStackY_50 = 0x2852e;
    __gmpz_oddfac_1(x,n,1);
    puVar5 = auStack_3c;
  }
  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar5 + -4) = 0x2854b;
    __stack_chk_fail_local();
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __gmpz_2fac_ui(uint param_1,uint param_2)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  undefined1 *puVar5;
  uint uVar6;
  uint *puVar7;
  int in_GS_OFFSET;
  uint auStack_50 [5];
  undefined1 auStack_3c [4];
  uint local_38;
  undefined4 *local_34;
  undefined **local_30;
  uint auStack_2c [7];
  
  local_30 = &__DT_PLTGOT;
  puVar5 = auStack_3c;
  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);
  if ((param_2 & 1) == 0) {
    auStack_50[2] = param_2 >> 1;
    if (param_2 - 1 < 0x31) {
      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];
    }
    else {
      uVar6 = param_2 - (auStack_50[2] & 0x55555555);
      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);
      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;
      uVar6 = (uVar6 >> 8) + uVar6;
      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);
    }
    auStack_50[3] = 0;
    auStack_50[1] = param_1;
    auStack_50[0] = 0x28419;
    __gmpz_oddfac_1();
    auStack_50[2] = param_1;
    auStack_50[1] = param_1;
    auStack_50[0] = 0x28427;
    auStack_50[3] = param_2;
    __gmpz_mul_2exp();
    puVar5 = auStack_3c;
  }
  else if (param_2 < 0x14) {
    **(undefined4 **)(param_1 + 8) =
         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);
    *(undefined4 *)(param_1 + 4) = 1;
  }
  else if (param_2 < 800) {
    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);
    puVar5 = auStack_3c + iVar1;
    local_34 = (undefined4 *)((int)&local_30 + iVar1);
    *local_34 = 0x27065f73;
    puVar7 = (uint *)((int)auStack_2c + iVar1);
    uVar2 = param_2 & 1;
    uVar6 = 2;
    uVar3 = param_2 - 2;
    while (uVar4 = uVar3, 0x13 < uVar4) {
      while (param_2 < 0x51eb86) {
        param_2 = param_2 * uVar4;
        uVar4 = uVar4 - 2;
        puVar7 = local_34 + uVar2;
        uVar6 = uVar2 + 1;
        if (uVar4 < 0x14) goto LAB_000284e9;
      }
      *puVar7 = param_2;
      puVar7 = local_34 + uVar6;
      local_38 = uVar4 - 2;
      uVar2 = uVar6;
      uVar6 = uVar6 + 1;
      param_2 = uVar4;
      uVar3 = local_38;
    }
LAB_000284e9:
    *puVar7 = param_2;
    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;
    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;
    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;
    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;
    __gmpz_prodlimbs();
  }
  else {
    auStack_50[3] = 1;
    auStack_50[2] = param_2;
    auStack_50[1] = param_1;
    auStack_50[0] = 0x2852e;
    __gmpz_oddfac_1();
    puVar5 = auStack_3c;
  }
  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar5 + -4) = 0x2854b;
    FUN_0007ebe0();
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x0001dce4
ADD ESI,0x75c76
PUSH EBX
SUB ESP,0x2c
MOV EAX,dword ptr [EBP + 0xc]
MOV EDI,dword ptr [EBP + 0x8]
MOV EBX,EAX
MOV dword ptr [EBP + -0x2c],ESI
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [EBP + -0x1c],ECX
XOR ECX,ECX
AND EBX,0x1
JNZ 0x00028430
MOV ECX,EAX
LEA EDX,[EAX + -0x1]
SHR ECX,0x1
CMP EDX,0x30
JBE 0x00028508
MOV EDX,ECX
MOV ESI,EAX
AND EDX,0x55555555
SUB ESI,EDX
MOV EBX,ESI
MOV EDX,ESI
SHR EBX,0x2
AND EDX,0x33333333
MOV ESI,EBX
AND ESI,0x33333333
LEA EBX,[ESI + EDX*0x1]
MOV EDX,EBX
SHR EDX,0x4
ADD EDX,EBX
AND EDX,0xf0f0f0f
MOV EBX,EDX
SHR EBX,0x8
ADD EBX,EDX
MOV EDX,EBX
SHR EDX,0x10
ADD EDX,EBX
MOVZX EDX,DL
SUB EAX,EDX
MOV ESI,EAX
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x2c]
PUSH 0x0
PUSH ECX
PUSH EDI
CALL 0x0001b4b0
ADD ESP,0xc
MOV EBX,dword ptr [EBP + -0x2c]
PUSH ESI
PUSH EDI
PUSH EDI
CALL 0x0001b750
ADD ESP,0x10
JMP 0x0002844c
CMP EAX,0x13
JA 0x00028468
MOV ECX,dword ptr [ESI + 0xfffffe94]
SHR EAX,0x1
MOV EDX,dword ptr [EDI + 0x8]
MOV EAX,dword ptr [ECX + EAX*0x4]
MOV dword ptr [EDX],EAX
MOV dword ptr [EDI + 0x4],0x1
MOV EAX,dword ptr [EBP + -0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00028546
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EAX,0x31f
JA 0x00028520
MOV EDX,EAX
MOV ECX,0x2
AND EDX,0xfffffffc
ADD EDX,0x1f
AND EDX,0xfffffff0
SUB ESP,EDX
LEA EDX,[ESP + 0xf]
AND EDX,0xfffffff0
MOV ESI,EDX
MOV dword ptr [EBP + -0x30],EDX
MOV dword ptr [EDX],0x27065f73
LEA EDX,[EAX + -0x2]
ADD ESI,0x4
CMP EDX,0x13
JBE 0x000284e9
LEA ESI,[ESI]
CMP EAX,0x51eb85
JBE 0x000284d5
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBP + -0x30]
LEA EBX,[EDX + -0x2]
MOV dword ptr [EBP + -0x34],EBX
LEA ESI,[EAX + ECX*0x4]
LEA EAX,[ECX + 0x1]
CMP EBX,0x13
JBE 0x00028540
MOV EBX,ECX
MOV ECX,EAX
MOV EAX,EDX
MOV EDX,dword ptr [EBP + -0x34]
CMP EAX,0x51eb85
JA 0x000284af
MOV ECX,dword ptr [EBP + -0x30]
IMUL EAX,EDX
SUB EDX,0x2
LEA ESI,[ECX + EBX*0x4]
LEA ECX,[EBX + 0x1]
CMP EDX,0x13
JA 0x000284a8
SUB ESP,0x4
MOV dword ptr [ESI],EAX
MOV EBX,dword ptr [EBP + -0x2c]
PUSH ECX
PUSH dword ptr [EBP + -0x30]
PUSH EDI
CALL 0x0001bc70
ADD ESP,0x10
JMP 0x0002844c
MOV EAX,dword ptr [ESI + 0xffffff4c]
MOVZX ESI,byte ptr [EAX + ECX*0x1 + -0x1]
JMP 0x0002840a
SUB ESP,0x4
MOV EBX,ESI
PUSH 0x1
PUSH EAX
PUSH EDI
CALL 0x0001b4b0
ADD ESP,0x10
JMP 0x0002844c
MOV ECX,EAX
MOV EAX,EDX
JMP 0x000284e9
CALL 0x0007ebe0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __gmpz_2fac_ui(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}\n\n" comment (function_definition "void __gmpz_2fac_ui(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}" primitive_type (function_declarator "__gmpz_2fac_ui(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint auStack_50 [5];" type_identifier (array_declarator "auStack_50 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_3c [4];" type_identifier (array_declarator "auStack_3c [4]" identifier [ number_literal ]) ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "undefined **local_30;" type_identifier (pointer_declarator "**local_30" * (pointer_declarator "*local_30" * identifier)) ;) (declaration "uint auStack_2c [7];" type_identifier (array_declarator "auStack_2c [7]" identifier [ number_literal ]) ;) (expression_statement "local_30 = &__DT_PLTGOT;" (assignment_expression "local_30 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) (expression_statement "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" identifier [ number_literal ]) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "((param_2 & 1) == 0)" ( (binary_expression "(param_2 & 1) == 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }" { (expression_statement "auStack_50[2] = param_2 >> 1;" (assignment_expression "auStack_50[2] = param_2 >> 1" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (if_statement "if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" if (parenthesized_expression "(param_2 - 1 < 0x31)" ( (binary_expression "param_2 - 1 < 0x31" (binary_expression "param_2 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }" { (expression_statement "param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];" (assignment_expression "param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" identifier = (cast_expression "(uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" identifier [ (binary_expression "auStack_50[2] - 1" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) - number_literal) ])))) ;) }) (else_clause "else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" else (compound_statement "{\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" { (expression_statement "uVar6 = param_2 - (auStack_50[2] & 0x55555555);" (assignment_expression "uVar6 = param_2 - (auStack_50[2] & 0x55555555)" identifier = (binary_expression "param_2 - (auStack_50[2] & 0x55555555)" identifier - (parenthesized_expression "(auStack_50[2] & 0x55555555)" ( (binary_expression "auStack_50[2] & 0x55555555" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) & number_literal) )))) ;) (expression_statement "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);" (assignment_expression "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" identifier = (binary_expression "(uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" (parenthesized_expression "(uVar6 >> 2 & 0x33333333)" ( (binary_expression "uVar6 >> 2 & 0x33333333" (binary_expression "uVar6 >> 2" identifier >> number_literal) & number_literal) )) + (parenthesized_expression "(uVar6 & 0x33333333)" ( (binary_expression "uVar6 & 0x33333333" identifier & number_literal) )))) ;) (expression_statement "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;" (assignment_expression "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f" identifier = (binary_expression "(uVar6 >> 4) + uVar6 & 0xf0f0f0f" (binary_expression "(uVar6 >> 4) + uVar6" (parenthesized_expression "(uVar6 >> 4)" ( (binary_expression "uVar6 >> 4" identifier >> number_literal) )) + identifier) & number_literal)) ;) (expression_statement "uVar6 = (uVar6 >> 8) + uVar6;" (assignment_expression "uVar6 = (uVar6 >> 8) + uVar6" identifier = (binary_expression "(uVar6 >> 8) + uVar6" (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )) + identifier)) ;) (expression_statement "param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);" (assignment_expression "param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff)" identifier = (binary_expression "param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff)" identifier - (parenthesized_expression "((uVar6 >> 0x10) + uVar6 & 0xff)" ( (binary_expression "(uVar6 >> 0x10) + uVar6 & 0xff" (binary_expression "(uVar6 >> 0x10) + uVar6" (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )) + identifier) & number_literal) )))) ;) }))) (expression_statement "auStack_50[3] = 0;" (assignment_expression "auStack_50[3] = 0" (subscript_expression "auStack_50[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[0] = 0x28419;" (assignment_expression "auStack_50[0] = 0x28419" (subscript_expression "auStack_50[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__gmpz_oddfac_1();" (call_expression "__gmpz_oddfac_1()" identifier (argument_list "()" ( ))) ;) (expression_statement "auStack_50[2] = param_1;" (assignment_expression "auStack_50[2] = param_1" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[0] = 0x28427;" (assignment_expression "auStack_50[0] = 0x28427" (subscript_expression "auStack_50[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "auStack_50[3] = param_2;" (assignment_expression "auStack_50[3] = param_2" (subscript_expression "auStack_50[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__gmpz_mul_2exp();" (call_expression "__gmpz_mul_2exp()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) }) (else_clause "else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" else (if_statement "if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "(param_2 < 0x14)" ( (binary_expression "param_2 < 0x14" identifier < number_literal) )) (compound_statement "{\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }" { (expression_statement "**(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);" (assignment_expression "**(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" (pointer_expression "**(undefined4 **)(param_1 + 8)" * (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) = (pointer_expression "*(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" * (cast_expression "(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" ( (binary_expression "PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4" identifier + (binary_expression "(param_2 >> 1) * 4" (parenthesized_expression "(param_2 >> 1)" ( (binary_expression "param_2 >> 1" identifier >> number_literal) )) * number_literal)) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 1" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" else (if_statement "if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "(param_2 < 800)" ( (binary_expression "param_2 < 800" identifier < number_literal) )) (compound_statement "{\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }" { (expression_statement "iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);" (assignment_expression "iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" identifier = (unary_expression "-((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" - (parenthesized_expression "((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" ( (binary_expression "(param_2 & 0xfffffffc) + 0x1f & 0xfffffff0" (binary_expression "(param_2 & 0xfffffffc) + 0x1f" (parenthesized_expression "(param_2 & 0xfffffffc)" ( (binary_expression "param_2 & 0xfffffffc" identifier & number_literal) )) + number_literal) & number_literal) )))) ;) (expression_statement "puVar5 = auStack_3c + iVar1;" (assignment_expression "puVar5 = auStack_3c + iVar1" identifier = (binary_expression "auStack_3c + iVar1" identifier + identifier)) ;) (expression_statement "local_34 = (undefined4 *)((int)&local_30 + iVar1);" (assignment_expression "local_34 = (undefined4 *)((int)&local_30 + iVar1)" identifier = (cast_expression "(undefined4 *)((int)&local_30 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_30 + iVar1)" ( (binary_expression "(int)&local_30 + iVar1" (cast_expression "(int)&local_30" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_30" & identifier)) + identifier) )))) ;) (expression_statement "*local_34 = 0x27065f73;" (assignment_expression "*local_34 = 0x27065f73" (pointer_expression "*local_34" * identifier) = number_literal) ;) (expression_statement "puVar7 = (uint *)((int)auStack_2c + iVar1);" (assignment_expression "puVar7 = (uint *)((int)auStack_2c + iVar1)" identifier = (cast_expression "(uint *)((int)auStack_2c + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1)" ( (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar2 = param_2 & 1;" (assignment_expression "uVar2 = param_2 & 1" identifier = (binary_expression "param_2 & 1" identifier & number_literal)) ;) (expression_statement "uVar6 = 2;" (assignment_expression "uVar6 = 2" identifier = number_literal) ;) (expression_statement "uVar3 = param_2 - 2;" (assignment_expression "uVar3 = param_2 - 2" identifier = (binary_expression "param_2 - 2" identifier - number_literal)) ;) (while_statement "while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }" while (parenthesized_expression "(uVar4 = uVar3, 0x13 < uVar4)" ( (comma_expression "uVar4 = uVar3, 0x13 < uVar4" (assignment_expression "uVar4 = uVar3" identifier = identifier) , (binary_expression "0x13 < uVar4" number_literal < identifier)) )) (compound_statement "{\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }" { (while_statement "while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" while (parenthesized_expression "(param_2 < 0x51eb86)" ( (binary_expression "param_2 < 0x51eb86" identifier < number_literal) )) (compound_statement "{\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" { (expression_statement "param_2 = param_2 * uVar4;" (assignment_expression "param_2 = param_2 * uVar4" identifier = (binary_expression "param_2 * uVar4" identifier * identifier)) ;) (expression_statement "uVar4 = uVar4 - 2;" (assignment_expression "uVar4 = uVar4 - 2" identifier = (binary_expression "uVar4 - 2" identifier - number_literal)) ;) (expression_statement "puVar7 = local_34 + uVar2;" (assignment_expression "puVar7 = local_34 + uVar2" identifier = (binary_expression "local_34 + uVar2" identifier + identifier)) ;) (expression_statement "uVar6 = uVar2 + 1;" (assignment_expression "uVar6 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar4 < 0x14) goto LAB_000284e9;" if (parenthesized_expression "(uVar4 < 0x14)" ( (binary_expression "uVar4 < 0x14" identifier < number_literal) )) (goto_statement "goto LAB_000284e9;" goto statement_identifier ;)) })) (expression_statement "*puVar7 = param_2;" (assignment_expression "*puVar7 = param_2" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = local_34 + uVar6;" (assignment_expression "puVar7 = local_34 + uVar6" identifier = (binary_expression "local_34 + uVar6" identifier + identifier)) ;) (expression_statement "local_38 = uVar4 - 2;" (assignment_expression "local_38 = uVar4 - 2" identifier = (binary_expression "uVar4 - 2" identifier - number_literal)) ;) (expression_statement "uVar2 = uVar6;" (assignment_expression "uVar2 = uVar6" identifier = identifier) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = uVar4;" (assignment_expression "param_2 = uVar4" identifier = identifier) ;) (expression_statement "uVar3 = local_38;" (assignment_expression "uVar3 = local_38" identifier = identifier) ;) })) (labeled_statement "LAB_000284e9:\n    *puVar7 = param_2;" statement_identifier : (expression_statement "*puVar7 = param_2;" (assignment_expression "*puVar7 = param_2" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (expression_statement "*(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;" (assignment_expression "*(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6" (pointer_expression "*(uint *)((int)auStack_50 + iVar1 + 0xc)" * (cast_expression "(uint *)((int)auStack_50 + iVar1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_50 + iVar1 + 0xc)" ( (binary_expression "(int)auStack_50 + iVar1 + 0xc" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;" (assignment_expression "*(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34" (pointer_expression "*(undefined4 **)((int)auStack_50 + iVar1 + 8)" * (cast_expression "(undefined4 **)((int)auStack_50 + iVar1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStack_50 + iVar1 + 8)" ( (binary_expression "(int)auStack_50 + iVar1 + 8" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((int)auStack_50 + iVar1 + 4) = param_1;" (assignment_expression "*(uint *)((int)auStack_50 + iVar1 + 4) = param_1" (pointer_expression "*(uint *)((int)auStack_50 + iVar1 + 4)" * (cast_expression "(uint *)((int)auStack_50 + iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_50 + iVar1 + 4)" ( (binary_expression "(int)auStack_50 + iVar1 + 4" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;" (assignment_expression "*(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb" (pointer_expression "*(undefined4 *)((int)auStack_50 + iVar1)" * (cast_expression "(undefined4 *)((int)auStack_50 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_50 + iVar1)" ( (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__gmpz_prodlimbs();" (call_expression "__gmpz_prodlimbs()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" else (compound_statement "{\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" { (expression_statement "auStack_50[3] = 1;" (assignment_expression "auStack_50[3] = 1" (subscript_expression "auStack_50[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "auStack_50[2] = param_2;" (assignment_expression "auStack_50[2] = param_2" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[0] = 0x2852e;" (assignment_expression "auStack_50[0] = 0x2852e" (subscript_expression "auStack_50[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__gmpz_oddfac_1();" (call_expression "__gmpz_oddfac_1()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) }))))))) (if_statement "if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }" if (parenthesized_expression "(auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" identifier [ number_literal ]) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }" { comment (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x2854b;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x2854b" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __gmpz_2fac_ui(mpz_ptr x,ulong n)\n\n{\n  int iVar1;\n  uint uVar2;\n  mp_bitcnt_t cnt;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  puVar5 = auStack_3c;\n  local_30 = &_GLOBAL_OFFSET_TABLE_;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((n & 1) == 0) {\n    uVar3 = n >> 1;\n    if (n - 1 < 0x31) {\n      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];\n    }\n    else {\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    uStackY_50 = 0x28419;\n    __gmpz_oddfac_1(x,uVar3,0);\n    uStackY_50 = 0x28427;\n    __gmpz_mul_2exp(x,x,cnt);\n    puVar5 = auStack_3c;\n  }\n  else if (n < 0x14) {\n    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);\n    x->_mp_size = 1;\n  }\n  else if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    __stack_chk_fail_local();\n  }\n  return;\n}\n\n" comment (function_definition "void __gmpz_2fac_ui(mpz_ptr x,ulong n)\n\n{\n  int iVar1;\n  uint uVar2;\n  mp_bitcnt_t cnt;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  puVar5 = auStack_3c;\n  local_30 = &_GLOBAL_OFFSET_TABLE_;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((n & 1) == 0) {\n    uVar3 = n >> 1;\n    if (n - 1 < 0x31) {\n      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];\n    }\n    else {\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    uStackY_50 = 0x28419;\n    __gmpz_oddfac_1(x,uVar3,0);\n    uStackY_50 = 0x28427;\n    __gmpz_mul_2exp(x,x,cnt);\n    puVar5 = auStack_3c;\n  }\n  else if (n < 0x14) {\n    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);\n    x->_mp_size = 1;\n  }\n  else if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    __stack_chk_fail_local();\n  }\n  return;\n}" primitive_type (function_declarator "__gmpz_2fac_ui(mpz_ptr x,ulong n)" identifier (parameter_list "(mpz_ptr x,ulong n)" ( (parameter_declaration "mpz_ptr x" type_identifier identifier) , (parameter_declaration "ulong n" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  mp_bitcnt_t cnt;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  puVar5 = auStack_3c;\n  local_30 = &_GLOBAL_OFFSET_TABLE_;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((n & 1) == 0) {\n    uVar3 = n >> 1;\n    if (n - 1 < 0x31) {\n      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];\n    }\n    else {\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    uStackY_50 = 0x28419;\n    __gmpz_oddfac_1(x,uVar3,0);\n    uStackY_50 = 0x28427;\n    __gmpz_mul_2exp(x,x,cnt);\n    puVar5 = auStack_3c;\n  }\n  else if (n < 0x14) {\n    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);\n    x->_mp_size = 1;\n  }\n  else if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    __stack_chk_fail_local();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "mp_bitcnt_t cnt;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 uStackY_50;" type_identifier identifier ;) (declaration "undefined1 auStack_3c [4];" type_identifier (array_declarator "auStack_3c [4]" identifier [ number_literal ]) ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "undefined **local_30;" type_identifier (pointer_declarator "**local_30" * (pointer_declarator "*local_30" * identifier)) ;) (declaration "uint auStack_2c [7];" type_identifier (array_declarator "auStack_2c [7]" identifier [ number_literal ]) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) (expression_statement "local_30 = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "local_30 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" identifier [ number_literal ]) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((n & 1) == 0) {\n    uVar3 = n >> 1;\n    if (n - 1 < 0x31) {\n      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];\n    }\n    else {\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    uStackY_50 = 0x28419;\n    __gmpz_oddfac_1(x,uVar3,0);\n    uStackY_50 = 0x28427;\n    __gmpz_mul_2exp(x,x,cnt);\n    puVar5 = auStack_3c;\n  }\n  else if (n < 0x14) {\n    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);\n    x->_mp_size = 1;\n  }\n  else if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "((n & 1) == 0)" ( (binary_expression "(n & 1) == 0" (parenthesized_expression "(n & 1)" ( (binary_expression "n & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar3 = n >> 1;\n    if (n - 1 < 0x31) {\n      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];\n    }\n    else {\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    uStackY_50 = 0x28419;\n    __gmpz_oddfac_1(x,uVar3,0);\n    uStackY_50 = 0x28427;\n    __gmpz_mul_2exp(x,x,cnt);\n    puVar5 = auStack_3c;\n  }" { (expression_statement "uVar3 = n >> 1;" (assignment_expression "uVar3 = n >> 1" identifier = (binary_expression "n >> 1" identifier >> number_literal)) ;) (if_statement "if (n - 1 < 0x31) {\n      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];\n    }\n    else {\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" if (parenthesized_expression "(n - 1 < 0x31)" ( (binary_expression "n - 1 < 0x31" (binary_expression "n - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n      cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];\n    }" { (expression_statement "cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1];" (assignment_expression "cnt = (mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1]" identifier = (cast_expression "(mp_bitcnt_t)(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1]" ( (type_descriptor "mp_bitcnt_t" type_identifier) ) (cast_expression "(byte)PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmp_fac2cnt_table_0009df4c[uVar3 - 1]" identifier [ (binary_expression "uVar3 - 1" identifier - number_literal) ])))) ;) }) (else_clause "else {\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" else (compound_statement "{\n      uVar6 = n - (uVar3 & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" { (expression_statement "uVar6 = n - (uVar3 & 0x55555555);" (assignment_expression "uVar6 = n - (uVar3 & 0x55555555)" identifier = (binary_expression "n - (uVar3 & 0x55555555)" identifier - (parenthesized_expression "(uVar3 & 0x55555555)" ( (binary_expression "uVar3 & 0x55555555" identifier & number_literal) )))) ;) (expression_statement "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);" (assignment_expression "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" identifier = (binary_expression "(uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" (parenthesized_expression "(uVar6 >> 2 & 0x33333333)" ( (binary_expression "uVar6 >> 2 & 0x33333333" (binary_expression "uVar6 >> 2" identifier >> number_literal) & number_literal) )) + (parenthesized_expression "(uVar6 & 0x33333333)" ( (binary_expression "uVar6 & 0x33333333" identifier & number_literal) )))) ;) (expression_statement "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;" (assignment_expression "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f" identifier = (binary_expression "(uVar6 >> 4) + uVar6 & 0xf0f0f0f" (binary_expression "(uVar6 >> 4) + uVar6" (parenthesized_expression "(uVar6 >> 4)" ( (binary_expression "uVar6 >> 4" identifier >> number_literal) )) + identifier) & number_literal)) ;) (expression_statement "uVar6 = (uVar6 >> 8) + uVar6;" (assignment_expression "uVar6 = (uVar6 >> 8) + uVar6" identifier = (binary_expression "(uVar6 >> 8) + uVar6" (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )) + identifier)) ;) (expression_statement "cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff);" (assignment_expression "cnt = n - ((uVar6 >> 0x10) + uVar6 & 0xff)" identifier = (binary_expression "n - ((uVar6 >> 0x10) + uVar6 & 0xff)" identifier - (parenthesized_expression "((uVar6 >> 0x10) + uVar6 & 0xff)" ( (binary_expression "(uVar6 >> 0x10) + uVar6 & 0xff" (binary_expression "(uVar6 >> 0x10) + uVar6" (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )) + identifier) & number_literal) )))) ;) }))) (expression_statement "uStackY_50 = 0x28419;" (assignment_expression "uStackY_50 = 0x28419" identifier = number_literal) ;) (expression_statement "__gmpz_oddfac_1(x,uVar3,0);" (call_expression "__gmpz_oddfac_1(x,uVar3,0)" identifier (argument_list "(x,uVar3,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "uStackY_50 = 0x28427;" (assignment_expression "uStackY_50 = 0x28427" identifier = number_literal) ;) (expression_statement "__gmpz_mul_2exp(x,x,cnt);" (call_expression "__gmpz_mul_2exp(x,x,cnt)" identifier (argument_list "(x,x,cnt)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) }) (else_clause "else if (n < 0x14) {\n    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);\n    x->_mp_size = 1;\n  }\n  else if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }" else (if_statement "if (n < 0x14) {\n    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);\n    x->_mp_size = 1;\n  }\n  else if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "(n < 0x14)" ( (binary_expression "n < 0x14" identifier < number_literal) )) (compound_statement "{\n    *x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);\n    x->_mp_size = 1;\n  }" { (expression_statement "*x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4);" (assignment_expression "*x->_mp_d = *(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4)" (pointer_expression "*x->_mp_d" * (field_expression "x->_mp_d" identifier -> field_identifier)) = (pointer_expression "*(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4)" * (cast_expression "(mp_limb_t *)(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4)" ( (binary_expression "PTR___gmp_odd2fac_table_0009de94 + (n >> 1) * 4" identifier + (binary_expression "(n >> 1) * 4" (parenthesized_expression "(n >> 1)" ( (binary_expression "n >> 1" identifier >> number_literal) )) * number_literal)) ))))) ;) (expression_statement "x->_mp_size = 1;" (assignment_expression "x->_mp_size = 1" (field_expression "x->_mp_size" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }" else (if_statement "if (n < 800) {\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }\n  else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "(n < 800)" ( (binary_expression "n < 800" identifier < number_literal) )) (compound_statement "{\n    iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar6 = n & 1;\n    uVar3 = 2;\n    uVar2 = n - 2;\n    while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }\nLAB_000284e9:\n    *puVar7 = n;\n    *(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;\n    *(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;\n    *(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;\n    *(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));\n  }" { (expression_statement "iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0);" (assignment_expression "iVar1 = -((n & 0xfffffffc) + 0x1f & 0xfffffff0)" identifier = (unary_expression "-((n & 0xfffffffc) + 0x1f & 0xfffffff0)" - (parenthesized_expression "((n & 0xfffffffc) + 0x1f & 0xfffffff0)" ( (binary_expression "(n & 0xfffffffc) + 0x1f & 0xfffffff0" (binary_expression "(n & 0xfffffffc) + 0x1f" (parenthesized_expression "(n & 0xfffffffc)" ( (binary_expression "n & 0xfffffffc" identifier & number_literal) )) + number_literal) & number_literal) )))) ;) (expression_statement "puVar5 = auStack_3c + iVar1;" (assignment_expression "puVar5 = auStack_3c + iVar1" identifier = (binary_expression "auStack_3c + iVar1" identifier + identifier)) ;) (expression_statement "local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4);" (assignment_expression "local_34 = (undefined4 *)((int)auStack_2c + iVar1 + -4)" identifier = (cast_expression "(undefined4 *)((int)auStack_2c + iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1 + -4)" ( (binary_expression "(int)auStack_2c + iVar1 + -4" (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (expression_statement "*local_34 = 0x27065f73;" (assignment_expression "*local_34 = 0x27065f73" (pointer_expression "*local_34" * identifier) = number_literal) ;) (expression_statement "puVar7 = (uint *)((int)auStack_2c + iVar1);" (assignment_expression "puVar7 = (uint *)((int)auStack_2c + iVar1)" identifier = (cast_expression "(uint *)((int)auStack_2c + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1)" ( (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar6 = n & 1;" (assignment_expression "uVar6 = n & 1" identifier = (binary_expression "n & 1" identifier & number_literal)) ;) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) (expression_statement "uVar2 = n - 2;" (assignment_expression "uVar2 = n - 2" identifier = (binary_expression "n - 2" identifier - number_literal)) ;) (while_statement "while (uVar4 = uVar2, 0x13 < uVar4) {\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }" while (parenthesized_expression "(uVar4 = uVar2, 0x13 < uVar4)" ( (comma_expression "uVar4 = uVar2, 0x13 < uVar4" (assignment_expression "uVar4 = uVar2" identifier = identifier) , (binary_expression "0x13 < uVar4" number_literal < identifier)) )) (compound_statement "{\n      while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = n;\n      local_38 = uVar4 - 2;\n      puVar7 = local_34 + uVar3;\n      uVar6 = uVar3;\n      uVar3 = uVar3 + 1;\n      uVar2 = uVar4 - 2;\n      n = uVar4;\n    }" { (while_statement "while (n < 0x51eb86) {\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" while (parenthesized_expression "(n < 0x51eb86)" ( (binary_expression "n < 0x51eb86" identifier < number_literal) )) (compound_statement "{\n        n = n * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar6;\n        uVar3 = uVar6 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" { (expression_statement "n = n * uVar4;" (assignment_expression "n = n * uVar4" identifier = (binary_expression "n * uVar4" identifier * identifier)) ;) (expression_statement "uVar4 = uVar4 - 2;" (assignment_expression "uVar4 = uVar4 - 2" identifier = (binary_expression "uVar4 - 2" identifier - number_literal)) ;) (expression_statement "puVar7 = local_34 + uVar6;" (assignment_expression "puVar7 = local_34 + uVar6" identifier = (binary_expression "local_34 + uVar6" identifier + identifier)) ;) (expression_statement "uVar3 = uVar6 + 1;" (assignment_expression "uVar3 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar4 < 0x14) goto LAB_000284e9;" if (parenthesized_expression "(uVar4 < 0x14)" ( (binary_expression "uVar4 < 0x14" identifier < number_literal) )) (goto_statement "goto LAB_000284e9;" goto statement_identifier ;)) })) (expression_statement "*puVar7 = n;" (assignment_expression "*puVar7 = n" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "local_38 = uVar4 - 2;" (assignment_expression "local_38 = uVar4 - 2" identifier = (binary_expression "uVar4 - 2" identifier - number_literal)) ;) (expression_statement "puVar7 = local_34 + uVar3;" (assignment_expression "puVar7 = local_34 + uVar3" identifier = (binary_expression "local_34 + uVar3" identifier + identifier)) ;) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar4 - 2;" (assignment_expression "uVar2 = uVar4 - 2" identifier = (binary_expression "uVar4 - 2" identifier - number_literal)) ;) (expression_statement "n = uVar4;" (assignment_expression "n = uVar4" identifier = identifier) ;) })) (labeled_statement "LAB_000284e9:\n    *puVar7 = n;" statement_identifier : (expression_statement "*puVar7 = n;" (assignment_expression "*puVar7 = n" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (expression_statement "*(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3;" (assignment_expression "*(uint *)((int)auStack_2c + iVar1 + -0x18) = uVar3" (pointer_expression "*(uint *)((int)auStack_2c + iVar1 + -0x18)" * (cast_expression "(uint *)((int)auStack_2c + iVar1 + -0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1 + -0x18)" ( (binary_expression "(int)auStack_2c + iVar1 + -0x18" (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34;" (assignment_expression "*(undefined4 **)((int)auStack_2c + iVar1 + -0x1c) = local_34" (pointer_expression "*(undefined4 **)((int)auStack_2c + iVar1 + -0x1c)" * (cast_expression "(undefined4 **)((int)auStack_2c + iVar1 + -0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStack_2c + iVar1 + -0x1c)" ( (binary_expression "(int)auStack_2c + iVar1 + -0x1c" (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x;" (assignment_expression "*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20) = x" (pointer_expression "*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20)" * (cast_expression "(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1 + -0x20)" ( (binary_expression "(int)auStack_2c + iVar1 + -0x20" (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb;" (assignment_expression "*(undefined4 *)((int)&uStackY_50 + iVar1) = 0x284fb" (pointer_expression "*(undefined4 *)((int)&uStackY_50 + iVar1)" * (cast_expression "(undefined4 *)((int)&uStackY_50 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&uStackY_50 + iVar1)" ( (binary_expression "(int)&uStackY_50 + iVar1" (cast_expression "(int)&uStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "__gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18));" (call_expression "__gmpz_prodlimbs(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18))" identifier (argument_list "(*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20),\n                     *(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c),\n                     *(mp_size_t *)((int)auStack_2c + iVar1 + -0x18))" ( (pointer_expression "*(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20)" * (cast_expression "(mpz_ptr *)((int)auStack_2c + iVar1 + -0x20)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1 + -0x20)" ( (binary_expression "(int)auStack_2c + iVar1 + -0x20" (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (pointer_expression "*(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c)" * (cast_expression "(mp_ptr *)((int)auStack_2c + iVar1 + -0x1c)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1 + -0x1c)" ( (binary_expression "(int)auStack_2c + iVar1 + -0x1c" (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (pointer_expression "*(mp_size_t *)((int)auStack_2c + iVar1 + -0x18)" * (cast_expression "(mp_size_t *)((int)auStack_2c + iVar1 + -0x18)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1 + -0x18)" ( (binary_expression "(int)auStack_2c + iVar1 + -0x18" (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ))) ;) }) (else_clause "else {\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }" else (compound_statement "{\n    uStackY_50 = 0x2852e;\n    __gmpz_oddfac_1(x,n,1);\n    puVar5 = auStack_3c;\n  }" { (expression_statement "uStackY_50 = 0x2852e;" (assignment_expression "uStackY_50 = 0x2852e" identifier = number_literal) ;) (expression_statement "__gmpz_oddfac_1(x,n,1);" (call_expression "__gmpz_oddfac_1(x,n,1)" identifier (argument_list "(x,n,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) }))))))) (if_statement "if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" identifier [ number_literal ]) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x2854b;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x2854b" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __gmpz_2fac_ui(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}\n\n" (function_definition "void __gmpz_2fac_ui(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}" primitive_type (function_declarator "__gmpz_2fac_ui(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint auStack_50 [5];" type_identifier (array_declarator "auStack_50 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_3c [4];" type_identifier (array_declarator "auStack_3c [4]" identifier [ number_literal ]) ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "undefined **local_30;" type_identifier (pointer_declarator "**local_30" * (pointer_declarator "*local_30" * identifier)) ;) (declaration "uint auStack_2c [7];" type_identifier (array_declarator "auStack_2c [7]" identifier [ number_literal ]) ;) (expression_statement "local_30 = &__DT_PLTGOT;" (assignment_expression "local_30 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) (expression_statement "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" identifier [ number_literal ]) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "((param_2 & 1) == 0)" ( (binary_expression "(param_2 & 1) == 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }" { (expression_statement "auStack_50[2] = param_2 >> 1;" (assignment_expression "auStack_50[2] = param_2 >> 1" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (if_statement "if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" if (parenthesized_expression "(param_2 - 1 < 0x31)" ( (binary_expression "param_2 - 1 < 0x31" (binary_expression "param_2 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }" { (expression_statement "param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];" (assignment_expression "param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" identifier = (cast_expression "(uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" identifier [ (binary_expression "auStack_50[2] - 1" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) - number_literal) ])))) ;) }) (else_clause "else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" else (compound_statement "{\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" { (expression_statement "uVar6 = param_2 - (auStack_50[2] & 0x55555555);" (assignment_expression "uVar6 = param_2 - (auStack_50[2] & 0x55555555)" identifier = (binary_expression "param_2 - (auStack_50[2] & 0x55555555)" identifier - (parenthesized_expression "(auStack_50[2] & 0x55555555)" ( (binary_expression "auStack_50[2] & 0x55555555" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) & number_literal) )))) ;) (expression_statement "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);" (assignment_expression "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" identifier = (binary_expression "(uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" (parenthesized_expression "(uVar6 >> 2 & 0x33333333)" ( (binary_expression "uVar6 >> 2 & 0x33333333" (binary_expression "uVar6 >> 2" identifier >> number_literal) & number_literal) )) + (parenthesized_expression "(uVar6 & 0x33333333)" ( (binary_expression "uVar6 & 0x33333333" identifier & number_literal) )))) ;) (expression_statement "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;" (assignment_expression "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f" identifier = (binary_expression "(uVar6 >> 4) + uVar6 & 0xf0f0f0f" (binary_expression "(uVar6 >> 4) + uVar6" (parenthesized_expression "(uVar6 >> 4)" ( (binary_expression "uVar6 >> 4" identifier >> number_literal) )) + identifier) & number_literal)) ;) (expression_statement "uVar6 = (uVar6 >> 8) + uVar6;" (assignment_expression "uVar6 = (uVar6 >> 8) + uVar6" identifier = (binary_expression "(uVar6 >> 8) + uVar6" (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )) + identifier)) ;) (expression_statement "param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);" (assignment_expression "param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff)" identifier = (binary_expression "param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff)" identifier - (parenthesized_expression "((uVar6 >> 0x10) + uVar6 & 0xff)" ( (binary_expression "(uVar6 >> 0x10) + uVar6 & 0xff" (binary_expression "(uVar6 >> 0x10) + uVar6" (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )) + identifier) & number_literal) )))) ;) }))) (expression_statement "auStack_50[3] = 0;" (assignment_expression "auStack_50[3] = 0" (subscript_expression "auStack_50[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[0] = 0x28419;" (assignment_expression "auStack_50[0] = 0x28419" (subscript_expression "auStack_50[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__gmpz_oddfac_1();" (call_expression "__gmpz_oddfac_1()" identifier (argument_list "()" ( ))) ;) (expression_statement "auStack_50[2] = param_1;" (assignment_expression "auStack_50[2] = param_1" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[0] = 0x28427;" (assignment_expression "auStack_50[0] = 0x28427" (subscript_expression "auStack_50[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "auStack_50[3] = param_2;" (assignment_expression "auStack_50[3] = param_2" (subscript_expression "auStack_50[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__gmpz_mul_2exp();" (call_expression "__gmpz_mul_2exp()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) }) (else_clause "else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" else (if_statement "if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "(param_2 < 0x14)" ( (binary_expression "param_2 < 0x14" identifier < number_literal) )) (compound_statement "{\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }" { (expression_statement "**(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);" (assignment_expression "**(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" (pointer_expression "**(undefined4 **)(param_1 + 8)" * (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) = (pointer_expression "*(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" * (cast_expression "(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" ( (binary_expression "PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4" identifier + (binary_expression "(param_2 >> 1) * 4" (parenthesized_expression "(param_2 >> 1)" ( (binary_expression "param_2 >> 1" identifier >> number_literal) )) * number_literal)) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 1" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" else (if_statement "if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "(param_2 < 800)" ( (binary_expression "param_2 < 800" identifier < number_literal) )) (compound_statement "{\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }" { (expression_statement "iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);" (assignment_expression "iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" identifier = (unary_expression "-((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" - (parenthesized_expression "((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" ( (binary_expression "(param_2 & 0xfffffffc) + 0x1f & 0xfffffff0" (binary_expression "(param_2 & 0xfffffffc) + 0x1f" (parenthesized_expression "(param_2 & 0xfffffffc)" ( (binary_expression "param_2 & 0xfffffffc" identifier & number_literal) )) + number_literal) & number_literal) )))) ;) (expression_statement "puVar5 = auStack_3c + iVar1;" (assignment_expression "puVar5 = auStack_3c + iVar1" identifier = (binary_expression "auStack_3c + iVar1" identifier + identifier)) ;) (expression_statement "local_34 = (undefined4 *)((int)&local_30 + iVar1);" (assignment_expression "local_34 = (undefined4 *)((int)&local_30 + iVar1)" identifier = (cast_expression "(undefined4 *)((int)&local_30 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_30 + iVar1)" ( (binary_expression "(int)&local_30 + iVar1" (cast_expression "(int)&local_30" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_30" & identifier)) + identifier) )))) ;) (expression_statement "*local_34 = 0x27065f73;" (assignment_expression "*local_34 = 0x27065f73" (pointer_expression "*local_34" * identifier) = number_literal) ;) (expression_statement "puVar7 = (uint *)((int)auStack_2c + iVar1);" (assignment_expression "puVar7 = (uint *)((int)auStack_2c + iVar1)" identifier = (cast_expression "(uint *)((int)auStack_2c + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_2c + iVar1)" ( (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar2 = param_2 & 1;" (assignment_expression "uVar2 = param_2 & 1" identifier = (binary_expression "param_2 & 1" identifier & number_literal)) ;) (expression_statement "uVar6 = 2;" (assignment_expression "uVar6 = 2" identifier = number_literal) ;) (expression_statement "uVar3 = param_2 - 2;" (assignment_expression "uVar3 = param_2 - 2" identifier = (binary_expression "param_2 - 2" identifier - number_literal)) ;) (while_statement "while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }" while (parenthesized_expression "(uVar4 = uVar3, 0x13 < uVar4)" ( (comma_expression "uVar4 = uVar3, 0x13 < uVar4" (assignment_expression "uVar4 = uVar3" identifier = identifier) , (binary_expression "0x13 < uVar4" number_literal < identifier)) )) (compound_statement "{\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }" { (while_statement "while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" while (parenthesized_expression "(param_2 < 0x51eb86)" ( (binary_expression "param_2 < 0x51eb86" identifier < number_literal) )) (compound_statement "{\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" { (expression_statement "param_2 = param_2 * uVar4;" (assignment_expression "param_2 = param_2 * uVar4" identifier = (binary_expression "param_2 * uVar4" identifier * identifier)) ;) (expression_statement "uVar4 = uVar4 - 2;" (assignment_expression "uVar4 = uVar4 - 2" identifier = (binary_expression "uVar4 - 2" identifier - number_literal)) ;) (expression_statement "puVar7 = local_34 + uVar2;" (assignment_expression "puVar7 = local_34 + uVar2" identifier = (binary_expression "local_34 + uVar2" identifier + identifier)) ;) (expression_statement "uVar6 = uVar2 + 1;" (assignment_expression "uVar6 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar4 < 0x14) goto LAB_000284e9;" if (parenthesized_expression "(uVar4 < 0x14)" ( (binary_expression "uVar4 < 0x14" identifier < number_literal) )) (goto_statement "goto LAB_000284e9;" goto statement_identifier ;)) })) (expression_statement "*puVar7 = param_2;" (assignment_expression "*puVar7 = param_2" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "puVar7 = local_34 + uVar6;" (assignment_expression "puVar7 = local_34 + uVar6" identifier = (binary_expression "local_34 + uVar6" identifier + identifier)) ;) (expression_statement "local_38 = uVar4 - 2;" (assignment_expression "local_38 = uVar4 - 2" identifier = (binary_expression "uVar4 - 2" identifier - number_literal)) ;) (expression_statement "uVar2 = uVar6;" (assignment_expression "uVar2 = uVar6" identifier = identifier) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = uVar4;" (assignment_expression "param_2 = uVar4" identifier = identifier) ;) (expression_statement "uVar3 = local_38;" (assignment_expression "uVar3 = local_38" identifier = identifier) ;) })) (labeled_statement "LAB_000284e9:\n    *puVar7 = param_2;" statement_identifier : (expression_statement "*puVar7 = param_2;" (assignment_expression "*puVar7 = param_2" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (expression_statement "*(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;" (assignment_expression "*(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6" (pointer_expression "*(uint *)((int)auStack_50 + iVar1 + 0xc)" * (cast_expression "(uint *)((int)auStack_50 + iVar1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_50 + iVar1 + 0xc)" ( (binary_expression "(int)auStack_50 + iVar1 + 0xc" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;" (assignment_expression "*(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34" (pointer_expression "*(undefined4 **)((int)auStack_50 + iVar1 + 8)" * (cast_expression "(undefined4 **)((int)auStack_50 + iVar1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStack_50 + iVar1 + 8)" ( (binary_expression "(int)auStack_50 + iVar1 + 8" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((int)auStack_50 + iVar1 + 4) = param_1;" (assignment_expression "*(uint *)((int)auStack_50 + iVar1 + 4) = param_1" (pointer_expression "*(uint *)((int)auStack_50 + iVar1 + 4)" * (cast_expression "(uint *)((int)auStack_50 + iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_50 + iVar1 + 4)" ( (binary_expression "(int)auStack_50 + iVar1 + 4" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;" (assignment_expression "*(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb" (pointer_expression "*(undefined4 *)((int)auStack_50 + iVar1)" * (cast_expression "(undefined4 *)((int)auStack_50 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStack_50 + iVar1)" ( (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "__gmpz_prodlimbs();" (call_expression "__gmpz_prodlimbs()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" else (compound_statement "{\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" { (expression_statement "auStack_50[3] = 1;" (assignment_expression "auStack_50[3] = 1" (subscript_expression "auStack_50[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "auStack_50[2] = param_2;" (assignment_expression "auStack_50[2] = param_2" (subscript_expression "auStack_50[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_50[0] = 0x2852e;" (assignment_expression "auStack_50[0] = 0x2852e" (subscript_expression "auStack_50[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__gmpz_oddfac_1();" (call_expression "__gmpz_oddfac_1()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) }))))))) (if_statement "if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }" if (parenthesized_expression "(auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" identifier [ number_literal ]) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }" { (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x2854b;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x2854b" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (subscript_expression IDENT [ LIT ]) - LIT) ])))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) )) + (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + IDENT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + IDENT) & LIT) )))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT)) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression LIT < IDENT)) )) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))))))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void __gmpz_2fac_ui(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_2fac_ui(uint param_1,uint param_2)" (identifier "__gmpz_2fac_ui") (parameter_list "(uint param_1,uint param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  uint uVar6;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  uint auStack_50 [5];\n  undefined1 auStack_3c [4];\n  uint local_38;\n  undefined4 *local_34;\n  undefined **local_30;\n  uint auStack_2c [7];\n  \n  local_30 = &__DT_PLTGOT;\n  puVar5 = auStack_3c;\n  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }\n  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "uint auStack_50 [5];" (type_identifier "uint") (array_declarator "auStack_50 [5]" (identifier "auStack_50") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "undefined1 auStack_3c [4];" (type_identifier "undefined1") (array_declarator "auStack_3c [4]" (identifier "auStack_3c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint local_38;" (type_identifier "uint") (identifier "local_38") (; ";")) (declaration "undefined4 *local_34;" (type_identifier "undefined4") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "undefined **local_30;" (type_identifier "undefined") (pointer_declarator "**local_30" (* "*") (pointer_declarator "*local_30" (* "*") (identifier "local_30"))) (; ";")) (declaration "uint auStack_2c [7];" (type_identifier "uint") (array_declarator "auStack_2c [7]" (identifier "auStack_2c") ([ "[") (number_literal "7") (] "]")) (; ";")) (expression_statement "local_30 = &__DT_PLTGOT;" (assignment_expression "local_30 = &__DT_PLTGOT" (identifier "local_30") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" (identifier "puVar5") (= "=") (identifier "auStack_3c")) (; ";")) (expression_statement "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" (identifier "auStack_2c") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((param_2 & 1) == 0) {\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }\n  else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" (if "if") (parenthesized_expression "((param_2 & 1) == 0)" (( "(") (binary_expression "(param_2 & 1) == 0" (parenthesized_expression "(param_2 & 1)" (( "(") (binary_expression "param_2 & 1" (identifier "param_2") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    auStack_50[2] = param_2 >> 1;\n    if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }\n    auStack_50[3] = 0;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28419;\n    __gmpz_oddfac_1();\n    auStack_50[2] = param_1;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x28427;\n    auStack_50[3] = param_2;\n    __gmpz_mul_2exp();\n    puVar5 = auStack_3c;\n  }" ({ "{") (expression_statement "auStack_50[2] = param_2 >> 1;" (assignment_expression "auStack_50[2] = param_2 >> 1" (subscript_expression "auStack_50[2]" (identifier "auStack_50") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1"))) (; ";")) (if_statement "if (param_2 - 1 < 0x31) {\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }\n    else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" (if "if") (parenthesized_expression "(param_2 - 1 < 0x31)" (( "(") (binary_expression "param_2 - 1 < 0x31" (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (< "<") (number_literal "0x31")) () ")")) (compound_statement "{\n      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];\n    }" ({ "{") (expression_statement "param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];" (assignment_expression "param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" (identifier "param_2") (= "=") (cast_expression "(uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1]" (identifier "PTR___gmp_fac2cnt_table_0009df4c") ([ "[") (binary_expression "auStack_50[2] - 1" (subscript_expression "auStack_50[2]" (identifier "auStack_50") ([ "[") (number_literal "2") (] "]")) (- "-") (number_literal "1")) (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" (else "else") (compound_statement "{\n      uVar6 = param_2 - (auStack_50[2] & 0x55555555);\n      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);\n      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;\n      uVar6 = (uVar6 >> 8) + uVar6;\n      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);\n    }" ({ "{") (expression_statement "uVar6 = param_2 - (auStack_50[2] & 0x55555555);" (assignment_expression "uVar6 = param_2 - (auStack_50[2] & 0x55555555)" (identifier "uVar6") (= "=") (binary_expression "param_2 - (auStack_50[2] & 0x55555555)" (identifier "param_2") (- "-") (parenthesized_expression "(auStack_50[2] & 0x55555555)" (( "(") (binary_expression "auStack_50[2] & 0x55555555" (subscript_expression "auStack_50[2]" (identifier "auStack_50") ([ "[") (number_literal "2") (] "]")) (& "&") (number_literal "0x55555555")) () ")")))) (; ";")) (expression_statement "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);" (assignment_expression "uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" (identifier "uVar6") (= "=") (binary_expression "(uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333)" (parenthesized_expression "(uVar6 >> 2 & 0x33333333)" (( "(") (binary_expression "uVar6 >> 2 & 0x33333333" (binary_expression "uVar6 >> 2" (identifier "uVar6") (>> ">>") (number_literal "2")) (& "&") (number_literal "0x33333333")) () ")")) (+ "+") (parenthesized_expression "(uVar6 & 0x33333333)" (( "(") (binary_expression "uVar6 & 0x33333333" (identifier "uVar6") (& "&") (number_literal "0x33333333")) () ")")))) (; ";")) (expression_statement "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;" (assignment_expression "uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f" (identifier "uVar6") (= "=") (binary_expression "(uVar6 >> 4) + uVar6 & 0xf0f0f0f" (binary_expression "(uVar6 >> 4) + uVar6" (parenthesized_expression "(uVar6 >> 4)" (( "(") (binary_expression "uVar6 >> 4" (identifier "uVar6") (>> ">>") (number_literal "4")) () ")")) (+ "+") (identifier "uVar6")) (& "&") (number_literal "0xf0f0f0f"))) (; ";")) (expression_statement "uVar6 = (uVar6 >> 8) + uVar6;" (assignment_expression "uVar6 = (uVar6 >> 8) + uVar6" (identifier "uVar6") (= "=") (binary_expression "(uVar6 >> 8) + uVar6" (parenthesized_expression "(uVar6 >> 8)" (( "(") (binary_expression "uVar6 >> 8" (identifier "uVar6") (>> ">>") (number_literal "8")) () ")")) (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);" (assignment_expression "param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff)" (identifier "param_2") (= "=") (binary_expression "param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff)" (identifier "param_2") (- "-") (parenthesized_expression "((uVar6 >> 0x10) + uVar6 & 0xff)" (( "(") (binary_expression "(uVar6 >> 0x10) + uVar6 & 0xff" (binary_expression "(uVar6 >> 0x10) + uVar6" (parenthesized_expression "(uVar6 >> 0x10)" (( "(") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")) () ")")) (+ "+") (identifier "uVar6")) (& "&") (number_literal "0xff")) () ")")))) (; ";")) (} "}")))) (expression_statement "auStack_50[3] = 0;" (assignment_expression "auStack_50[3] = 0" (subscript_expression "auStack_50[3]" (identifier "auStack_50") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" (identifier "auStack_50") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "auStack_50[0] = 0x28419;" (assignment_expression "auStack_50[0] = 0x28419" (subscript_expression "auStack_50[0]" (identifier "auStack_50") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x28419")) (; ";")) (expression_statement "__gmpz_oddfac_1();" (call_expression "__gmpz_oddfac_1()" (identifier "__gmpz_oddfac_1") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "auStack_50[2] = param_1;" (assignment_expression "auStack_50[2] = param_1" (subscript_expression "auStack_50[2]" (identifier "auStack_50") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" (identifier "auStack_50") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "auStack_50[0] = 0x28427;" (assignment_expression "auStack_50[0] = 0x28427" (subscript_expression "auStack_50[0]" (identifier "auStack_50") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x28427")) (; ";")) (expression_statement "auStack_50[3] = param_2;" (assignment_expression "auStack_50[3] = param_2" (subscript_expression "auStack_50[3]" (identifier "auStack_50") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "__gmpz_mul_2exp();" (call_expression "__gmpz_mul_2exp()" (identifier "__gmpz_mul_2exp") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" (identifier "puVar5") (= "=") (identifier "auStack_3c")) (; ";")) (} "}")) (else_clause "else if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" (else "else") (if_statement "if (param_2 < 0x14) {\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }\n  else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" (if "if") (parenthesized_expression "(param_2 < 0x14)" (( "(") (binary_expression "param_2 < 0x14" (identifier "param_2") (< "<") (number_literal "0x14")) () ")")) (compound_statement "{\n    **(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);\n    *(undefined4 *)(param_1 + 4) = 1;\n  }" ({ "{") (expression_statement "**(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);" (assignment_expression "**(undefined4 **)(param_1 + 8) =\n         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" (pointer_expression "**(undefined4 **)(param_1 + 8)" (* "*") (pointer_expression "*(undefined4 **)(param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (= "=") (pointer_expression "*(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" (* "*") (cast_expression "(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4)" (( "(") (binary_expression "PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4" (identifier "PTR___gmp_odd2fac_table_0009de94") (+ "+") (binary_expression "(param_2 >> 1) * 4" (parenthesized_expression "(param_2 >> 1)" (( "(") (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 1" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" (else "else") (if_statement "if (param_2 < 800) {\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }\n  else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" (if "if") (parenthesized_expression "(param_2 < 800)" (( "(") (binary_expression "param_2 < 800" (identifier "param_2") (< "<") (number_literal "800")) () ")")) (compound_statement "{\n    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    local_34 = (undefined4 *)((int)&local_30 + iVar1);\n    *local_34 = 0x27065f73;\n    puVar7 = (uint *)((int)auStack_2c + iVar1);\n    uVar2 = param_2 & 1;\n    uVar6 = 2;\n    uVar3 = param_2 - 2;\n    while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }\nLAB_000284e9:\n    *puVar7 = param_2;\n    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;\n    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;\n    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;\n    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;\n    __gmpz_prodlimbs();\n  }" ({ "{") (expression_statement "iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);" (assignment_expression "iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" (identifier "iVar1") (= "=") (unary_expression "-((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" (- "-") (parenthesized_expression "((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0)" (( "(") (binary_expression "(param_2 & 0xfffffffc) + 0x1f & 0xfffffff0" (binary_expression "(param_2 & 0xfffffffc) + 0x1f" (parenthesized_expression "(param_2 & 0xfffffffc)" (( "(") (binary_expression "param_2 & 0xfffffffc" (identifier "param_2") (& "&") (number_literal "0xfffffffc")) () ")")) (+ "+") (number_literal "0x1f")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "puVar5 = auStack_3c + iVar1;" (assignment_expression "puVar5 = auStack_3c + iVar1" (identifier "puVar5") (= "=") (binary_expression "auStack_3c + iVar1" (identifier "auStack_3c") (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "local_34 = (undefined4 *)((int)&local_30 + iVar1);" (assignment_expression "local_34 = (undefined4 *)((int)&local_30 + iVar1)" (identifier "local_34") (= "=") (cast_expression "(undefined4 *)((int)&local_30 + iVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&local_30 + iVar1)" (( "(") (binary_expression "(int)&local_30 + iVar1" (cast_expression "(int)&local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&local_30" (& "&") (identifier "local_30"))) (+ "+") (identifier "iVar1")) () ")")))) (; ";")) (expression_statement "*local_34 = 0x27065f73;" (assignment_expression "*local_34 = 0x27065f73" (pointer_expression "*local_34" (* "*") (identifier "local_34")) (= "=") (number_literal "0x27065f73")) (; ";")) (expression_statement "puVar7 = (uint *)((int)auStack_2c + iVar1);" (assignment_expression "puVar7 = (uint *)((int)auStack_2c + iVar1)" (identifier "puVar7") (= "=") (cast_expression "(uint *)((int)auStack_2c + iVar1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)auStack_2c + iVar1)" (( "(") (binary_expression "(int)auStack_2c + iVar1" (cast_expression "(int)auStack_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "auStack_2c")) (+ "+") (identifier "iVar1")) () ")")))) (; ";")) (expression_statement "uVar2 = param_2 & 1;" (assignment_expression "uVar2 = param_2 & 1" (identifier "uVar2") (= "=") (binary_expression "param_2 & 1" (identifier "param_2") (& "&") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = 2;" (assignment_expression "uVar6 = 2" (identifier "uVar6") (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar3 = param_2 - 2;" (assignment_expression "uVar3 = param_2 - 2" (identifier "uVar3") (= "=") (binary_expression "param_2 - 2" (identifier "param_2") (- "-") (number_literal "2"))) (; ";")) (while_statement "while (uVar4 = uVar3, 0x13 < uVar4) {\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }" (while "while") (parenthesized_expression "(uVar4 = uVar3, 0x13 < uVar4)" (( "(") (comma_expression "uVar4 = uVar3, 0x13 < uVar4" (assignment_expression "uVar4 = uVar3" (identifier "uVar4") (= "=") (identifier "uVar3")) (, ",") (binary_expression "0x13 < uVar4" (number_literal "0x13") (< "<") (identifier "uVar4"))) () ")")) (compound_statement "{\n      while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }\n      *puVar7 = param_2;\n      puVar7 = local_34 + uVar6;\n      local_38 = uVar4 - 2;\n      uVar2 = uVar6;\n      uVar6 = uVar6 + 1;\n      param_2 = uVar4;\n      uVar3 = local_38;\n    }" ({ "{") (while_statement "while (param_2 < 0x51eb86) {\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" (while "while") (parenthesized_expression "(param_2 < 0x51eb86)" (( "(") (binary_expression "param_2 < 0x51eb86" (identifier "param_2") (< "<") (number_literal "0x51eb86")) () ")")) (compound_statement "{\n        param_2 = param_2 * uVar4;\n        uVar4 = uVar4 - 2;\n        puVar7 = local_34 + uVar2;\n        uVar6 = uVar2 + 1;\n        if (uVar4 < 0x14) goto LAB_000284e9;\n      }" ({ "{") (expression_statement "param_2 = param_2 * uVar4;" (assignment_expression "param_2 = param_2 * uVar4" (identifier "param_2") (= "=") (binary_expression "param_2 * uVar4" (identifier "param_2") (* "*") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = uVar4 - 2;" (assignment_expression "uVar4 = uVar4 - 2" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 2" (identifier "uVar4") (- "-") (number_literal "2"))) (; ";")) (expression_statement "puVar7 = local_34 + uVar2;" (assignment_expression "puVar7 = local_34 + uVar2" (identifier "puVar7") (= "=") (binary_expression "local_34 + uVar2" (identifier "local_34") (+ "+") (identifier "uVar2"))) (; ";")) (expression_statement "uVar6 = uVar2 + 1;" (assignment_expression "uVar6 = uVar2 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar4 < 0x14) goto LAB_000284e9;" (if "if") (parenthesized_expression "(uVar4 < 0x14)" (( "(") (binary_expression "uVar4 < 0x14" (identifier "uVar4") (< "<") (number_literal "0x14")) () ")")) (goto_statement "goto LAB_000284e9;" (goto "goto") (statement_identifier "LAB_000284e9") (; ";"))) (} "}"))) (expression_statement "*puVar7 = param_2;" (assignment_expression "*puVar7 = param_2" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar7 = local_34 + uVar6;" (assignment_expression "puVar7 = local_34 + uVar6" (identifier "puVar7") (= "=") (binary_expression "local_34 + uVar6" (identifier "local_34") (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "local_38 = uVar4 - 2;" (assignment_expression "local_38 = uVar4 - 2" (identifier "local_38") (= "=") (binary_expression "uVar4 - 2" (identifier "uVar4") (- "-") (number_literal "2"))) (; ";")) (expression_statement "uVar2 = uVar6;" (assignment_expression "uVar2 = uVar6" (identifier "uVar2") (= "=") (identifier "uVar6")) (; ";")) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_2 = uVar4;" (assignment_expression "param_2 = uVar4" (identifier "param_2") (= "=") (identifier "uVar4")) (; ";")) (expression_statement "uVar3 = local_38;" (assignment_expression "uVar3 = local_38" (identifier "uVar3") (= "=") (identifier "local_38")) (; ";")) (} "}"))) (labeled_statement "LAB_000284e9:\n    *puVar7 = param_2;" (statement_identifier "LAB_000284e9") (: ":") (expression_statement "*puVar7 = param_2;" (assignment_expression "*puVar7 = param_2" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "param_2")) (; ";"))) (expression_statement "*(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;" (assignment_expression "*(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6" (pointer_expression "*(uint *)((int)auStack_50 + iVar1 + 0xc)" (* "*") (cast_expression "(uint *)((int)auStack_50 + iVar1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)auStack_50 + iVar1 + 0xc)" (( "(") (binary_expression "(int)auStack_50 + iVar1 + 0xc" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "auStack_50")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;" (assignment_expression "*(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34" (pointer_expression "*(undefined4 **)((int)auStack_50 + iVar1 + 8)" (* "*") (cast_expression "(undefined4 **)((int)auStack_50 + iVar1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)auStack_50 + iVar1 + 8)" (( "(") (binary_expression "(int)auStack_50 + iVar1 + 8" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "auStack_50")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(uint *)((int)auStack_50 + iVar1 + 4) = param_1;" (assignment_expression "*(uint *)((int)auStack_50 + iVar1 + 4) = param_1" (pointer_expression "*(uint *)((int)auStack_50 + iVar1 + 4)" (* "*") (cast_expression "(uint *)((int)auStack_50 + iVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)auStack_50 + iVar1 + 4)" (( "(") (binary_expression "(int)auStack_50 + iVar1 + 4" (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "auStack_50")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;" (assignment_expression "*(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb" (pointer_expression "*(undefined4 *)((int)auStack_50 + iVar1)" (* "*") (cast_expression "(undefined4 *)((int)auStack_50 + iVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)auStack_50 + iVar1)" (( "(") (binary_expression "(int)auStack_50 + iVar1" (cast_expression "(int)auStack_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "auStack_50")) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "0x284fb")) (; ";")) (expression_statement "__gmpz_prodlimbs();" (call_expression "__gmpz_prodlimbs()" (identifier "__gmpz_prodlimbs") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" (else "else") (compound_statement "{\n    auStack_50[3] = 1;\n    auStack_50[2] = param_2;\n    auStack_50[1] = param_1;\n    auStack_50[0] = 0x2852e;\n    __gmpz_oddfac_1();\n    puVar5 = auStack_3c;\n  }" ({ "{") (expression_statement "auStack_50[3] = 1;" (assignment_expression "auStack_50[3] = 1" (subscript_expression "auStack_50[3]" (identifier "auStack_50") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "auStack_50[2] = param_2;" (assignment_expression "auStack_50[2] = param_2" (subscript_expression "auStack_50[2]" (identifier "auStack_50") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "auStack_50[1] = param_1;" (assignment_expression "auStack_50[1] = param_1" (subscript_expression "auStack_50[1]" (identifier "auStack_50") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "auStack_50[0] = 0x2852e;" (assignment_expression "auStack_50[0] = 0x2852e" (subscript_expression "auStack_50[0]" (identifier "auStack_50") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x2852e")) (; ";")) (expression_statement "__gmpz_oddfac_1();" (call_expression "__gmpz_oddfac_1()" (identifier "__gmpz_oddfac_1") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar5 = auStack_3c;" (assignment_expression "puVar5 = auStack_3c" (identifier "puVar5") (= "=") (identifier "auStack_3c")) (; ";")) (} "}")))))))) (if_statement "if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }" (if "if") (parenthesized_expression "(auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "auStack_2c[3]" (identifier "auStack_2c") ([ "[") (number_literal "3") (] "]")) (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x2854b;\n    FUN_0007ebe0();\n  }" ({ "{") (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x2854b;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x2854b" (pointer_expression "*(undefined4 *)(puVar5 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -4)" (( "(") (binary_expression "puVar5 + -4" (identifier "puVar5") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x2854b")) (; ";")) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" (identifier "FUN_0007ebe0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void function_1(type_1 x,type_2 var_2)

{
  int var_9;
  type_3 uVar2;
  type_4 cnt;
  type_3 var_3;
  type_3 var_10;
  type_5 *var_13;
  type_3 var_4;
  type_3 *puVar7;
  int var_1;
  type_6 uStackY_50;
  type_5 var_8 [4];
  type_3 local_38;
  type_6 *var_11;
  type_7 **local_30;
  type_3 auStack_2c [7];
  
  var_13 = var_8;
  local_30 = &_GLOBAL_OFFSET_TABLE_;
  auStack_2c[3] = *(int *)(var_1 + 0x14);
  if ((var_2 & 1) == 0) {
    var_3 = var_2 >> 1;
    if (var_2 - 1 < 0x31) {
      cnt = (type_4)(type_8)PTR___gmp_fac2cnt_table_0009df4c[var_3 - 1];
    }
    else {
      var_4 = var_2 - (var_3 & 0x55555555);
      var_4 = (var_4 >> 2 & 0x33333333) + (var_4 & 0x33333333);
      var_4 = (var_4 >> 4) + var_4 & 0xf0f0f0f;
      var_4 = (var_4 >> 8) + var_4;
      cnt = var_2 - ((var_4 >> 0x10) + var_4 & 0xff);
    }
    uStackY_50 = 0x28419;
    var_5(x,var_3,0);
    uStackY_50 = 0x28427;
    var_6(x,x,cnt);
    var_13 = var_8;
  }
  else if (var_2 < 0x14) {
    *x->_mp_d = *(type_9 *)(var_7 + (var_2 >> 1) * 4);
    x->_mp_size = 1;
  }
  else if (var_2 < 800) {
    var_9 = -((var_2 & 0xfffffffc) + 0x1f & 0xfffffff0);
    var_13 = var_8 + var_9;
    var_11 = (type_6 *)((int)auStack_2c + var_9 + -4);
    *var_11 = 0x27065f73;
    puVar7 = (type_3 *)((int)auStack_2c + var_9);
    var_4 = var_2 & 1;
    var_3 = 2;
    uVar2 = var_2 - 2;
    while (var_10 = uVar2, 0x13 < var_10) {
      while (var_2 < 0x51eb86) {
        var_2 = var_2 * var_10;
        var_10 = var_10 - 2;
        puVar7 = var_11 + var_4;
        var_3 = var_4 + 1;
        if (var_10 < 0x14) goto LAB_000284e9;
      }
      *puVar7 = var_2;
      local_38 = var_10 - 2;
      puVar7 = var_11 + var_3;
      var_4 = var_3;
      var_3 = var_3 + 1;
      uVar2 = var_10 - 2;
      var_2 = var_10;
    }
LAB_000284e9:
    *puVar7 = var_2;
    *(type_3 *)((int)auStack_2c + var_9 + -0x18) = var_3;
    *(type_6 **)((int)auStack_2c + var_9 + -0x1c) = var_11;
    *(type_1 *)((int)auStack_2c + var_9 + -0x20) = x;
    *(type_6 *)((int)&uStackY_50 + var_9) = 0x284fb;
    var_12(*(type_1 *)((int)auStack_2c + var_9 + -0x20),
                     *(type_10 *)((int)auStack_2c + var_9 + -0x1c),
                     *(type_11 *)((int)auStack_2c + var_9 + -0x18));
  }
  else {
    uStackY_50 = 0x2852e;
    var_5(x,var_2,1);
    var_13 = var_8;
  }
  if (auStack_2c[3] != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(type_6 *)(var_13 + -4) = 0x2854b;
    var_14();
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void MASKED(uint param_1,uint param_2)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  undefined1 *puVar5;
  uint uVar6;
  uint *puVar7;
  int in_GS_OFFSET;
  uint auStack_50 [5];
  undefined1 auStack_3c [4];
  uint local_38;
  undefined4 *local_34;
  undefined **local_30;
  uint auStack_2c [7];
  
  local_30 = &__DT_PLTGOT;
  puVar5 = auStack_3c;
  auStack_2c[3] = *(int *)(in_GS_OFFSET + 0x14);
  if ((param_2 & 1) == 0) {
    auStack_50[2] = param_2 >> 1;
    if (param_2 - 1 < 0x31) {
      param_2 = (uint)(byte)PTR___gmp_fac2cnt_table_0009df4c[auStack_50[2] - 1];
    }
    else {
      uVar6 = param_2 - (auStack_50[2] & 0x55555555);
      uVar6 = (uVar6 >> 2 & 0x33333333) + (uVar6 & 0x33333333);
      uVar6 = (uVar6 >> 4) + uVar6 & 0xf0f0f0f;
      uVar6 = (uVar6 >> 8) + uVar6;
      param_2 = param_2 - ((uVar6 >> 0x10) + uVar6 & 0xff);
    }
    auStack_50[3] = 0;
    auStack_50[1] = param_1;
    auStack_50[0] = 0x28419;
    __gmpz_oddfac_1();
    auStack_50[2] = param_1;
    auStack_50[1] = param_1;
    auStack_50[0] = 0x28427;
    auStack_50[3] = param_2;
    __gmpz_mul_2exp();
    puVar5 = auStack_3c;
  }
  else if (param_2 < 0x14) {
    **(undefined4 **)(param_1 + 8) =
         *(undefined4 *)(PTR___gmp_odd2fac_table_0009de94 + (param_2 >> 1) * 4);
    *(undefined4 *)(param_1 + 4) = 1;
  }
  else if (param_2 < 800) {
    iVar1 = -((param_2 & 0xfffffffc) + 0x1f & 0xfffffff0);
    puVar5 = auStack_3c + iVar1;
    local_34 = (undefined4 *)((int)&local_30 + iVar1);
    *local_34 = 0x27065f73;
    puVar7 = (uint *)((int)auStack_2c + iVar1);
    uVar2 = param_2 & 1;
    uVar6 = 2;
    uVar3 = param_2 - 2;
    while (uVar4 = uVar3, 0x13 < uVar4) {
      while (param_2 < 0x51eb86) {
        param_2 = param_2 * uVar4;
        uVar4 = uVar4 - 2;
        puVar7 = local_34 + uVar2;
        uVar6 = uVar2 + 1;
        if (uVar4 < 0x14) goto LAB_000284e9;
      }
      *puVar7 = param_2;
      puVar7 = local_34 + uVar6;
      local_38 = uVar4 - 2;
      uVar2 = uVar6;
      uVar6 = uVar6 + 1;
      param_2 = uVar4;
      uVar3 = local_38;
    }
LAB_000284e9:
    *puVar7 = param_2;
    *(uint *)((int)auStack_50 + iVar1 + 0xc) = uVar6;
    *(undefined4 **)((int)auStack_50 + iVar1 + 8) = local_34;
    *(uint *)((int)auStack_50 + iVar1 + 4) = param_1;
    *(undefined4 *)((int)auStack_50 + iVar1) = 0x284fb;
    __gmpz_prodlimbs();
  }
  else {
    auStack_50[3] = 1;
    auStack_50[2] = param_2;
    auStack_50[1] = param_1;
    auStack_50[0] = 0x2852e;
    __gmpz_oddfac_1();
    puVar5 = auStack_3c;
  }
  if (auStack_2c[3] != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar5 + -4) = 0x2854b;
    FUN_0007ebe0();
  }
  return;
}

