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

void __gmpz_fdiv_q(mpz_ptr quot,mpz_srcptr dividend,mpz_srcptr divisor)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  mpz_ptr p_Var4;
  uint size;
  undefined1 *puVar5;
  int in_GS_OFFSET;
  undefined1 auStack_4c [4];
  mpz_srcptr local_48;
  uint local_44;
  mpz_ptr local_40 [4];
  tmp_reentrant_t *__tmp_marker;
  mpz_t rem;
  
  local_40[0] = quot;
  uVar2 = divisor->_mp_size;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  __tmp_marker = (tmp_reentrant_t *)0x0;
  local_44 = dividend->_mp_size;
  rem[0]._mp_alloc = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);
  size = rem[0]._mp_alloc * 4;
  if (size < 0x7f01) {
    iVar3 = -(size + 0x1b & 0xfffffff0);
    puVar5 = auStack_4c + iVar3;
    rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3);
  }
  else {
    local_48 = divisor;
    rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);
    puVar5 = auStack_4c;
    divisor = local_48;
  }
  *(mpz_srcptr *)(puVar5 + -4) = divisor;
  *(mpz_srcptr *)(puVar5 + -8) = dividend;
  *(__mpz_struct **)(puVar5 + -0xc) = rem;
  *(mpz_ptr *)(puVar5 + -0x10) = local_40[0];
  *(undefined4 *)(puVar5 + -0x14) = 0x29673;
  __gmpz_tdiv_qr(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_ptr *)(puVar5 + -0xc),
                 *(mpz_srcptr *)(puVar5 + -8),*(mpz_srcptr *)(puVar5 + -4));
  p_Var4 = local_40[0];
  if (((int)(local_44 ^ uVar2) < 0) && (rem[0]._mp_size != 0)) {
    *(undefined4 *)(puVar5 + -8) = 1;
    *(mpz_ptr *)(puVar5 + -0xc) = p_Var4;
    *(mpz_ptr *)(puVar5 + -0x10) = p_Var4;
    *(undefined4 *)(puVar5 + -0x14) = 0x296b6;
    __gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),
                  *(ulong *)(puVar5 + -8));
  }
  if (__tmp_marker != (tmp_reentrant_t *)0x0) {
    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;
    *(undefined4 *)(puVar5 + -0x14) = 0x296c9;
    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));
  }
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(code **)(puVar5 + -4) = __gmpz_fdiv_ui;
  __stack_chk_fail_local();
}



void __gmpz_fdiv_q(void)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  uint uVar5;
  undefined1 *puVar6;
  int iVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  int in_GS_OFFSET;
  undefined1 auStack_50 [60];
  undefined4 uStack_14;
  
  puVar9 = &stack0xfffffffc;
  uStack_14 = 0x2960b;
  entry();
  iVar7 = *(int *)(puVar9 + 0x10);
  iVar1 = *(int *)(puVar9 + 0xc);
  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);
  uVar2 = *(uint *)(iVar7 + 4);
  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);
  uVar3 = *(undefined4 *)(iVar1 + 4);
  *(undefined4 *)(puVar9 + -0x2c) = 0;
  *(undefined4 *)(puVar9 + -0x40) = uVar3;
  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);
  *(int *)(puVar9 + -0x28) = iVar4;
  uVar5 = iVar4 * 4;
  if (uVar5 < 0x7f01) {
    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);
    puVar8 = auStack_50 + iVar4;
    puVar6 = auStack_50 + iVar4;
  }
  else {
    *(int *)(puVar9 + -0x44) = iVar7;
    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);
    puVar8 = auStack_50;
    iVar7 = *(int *)(puVar9 + -0x44);
  }
  *(undefined1 **)(puVar9 + -0x20) = puVar6;
  *(int *)(puVar8 + -4) = iVar7;
  *(int *)(puVar8 + -8) = iVar1;
  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;
  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);
  *(undefined4 *)(puVar8 + -0x14) = 0x29673;
  __gmpz_tdiv_qr();
  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {
    uVar3 = *(undefined4 *)(puVar9 + -0x3c);
    *(undefined4 *)(puVar8 + -8) = 1;
    *(undefined4 *)(puVar8 + -0xc) = uVar3;
    *(undefined4 *)(puVar8 + -0x10) = uVar3;
    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;
    __gmpz_sub_ui();
    iVar7 = *(int *)(puVar9 + -0x2c);
  }
  else {
    iVar7 = *(int *)(puVar9 + -0x2c);
  }
  if (iVar7 != 0) {
    *(int *)(puVar8 + -0x10) = iVar7;
    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;
    __gmp_tmp_reentrant_free();
  }
  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;
    FUN_0007ebe0();
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c340
ADD EBX,0x749f5
SUB ESP,0x3c
MOV EAX,dword ptr [EBP + 0x8]
MOV EDX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x3c],EAX
MOV ESI,dword ptr [EDX + 0x4]
MOV ECX,ESI
MOV EAX,GS:[0x14]
MOV dword ptr [EBP + -0x1c],EAX
XOR EAX,EAX
MOV EAX,dword ptr [EDI + 0x4]
SAR ECX,0x1f
MOV dword ptr [EBP + -0x2c],0x0
MOV dword ptr [EBP + -0x40],EAX
MOV EAX,ECX
XOR EAX,ESI
SUB EAX,ECX
MOV dword ptr [EBP + -0x28],EAX
SHL EAX,0x2
CMP EAX,0x7f00
JA 0x000296d0
ADD EAX,0x1b
AND EAX,0xfffffff0
SUB ESP,EAX
LEA EAX,[ESP + 0xf]
AND EAX,0xfffffff0
MOV dword ptr [EBP + -0x20],EAX
LEA EAX,[EBP + -0x28]
PUSH EDX
PUSH EDI
PUSH EAX
PUSH dword ptr [EBP + -0x3c]
CALL 0x0001b140
MOV EAX,dword ptr [EBP + -0x40]
ADD ESP,0x10
XOR EAX,ESI
JS 0x000296a0
MOV EAX,dword ptr [EBP + -0x2c]
TEST EAX,EAX
JNZ 0x000296c0
MOV EAX,dword ptr [EBP + -0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000296eb
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + -0x24]
TEST EAX,EAX
JZ 0x0002967d
MOV EAX,dword ptr [EBP + -0x3c]
SUB ESP,0x4
PUSH 0x1
PUSH EAX
PUSH EAX
CALL 0x0001b250
MOV EAX,dword ptr [EBP + -0x2c]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00029684
SUB ESP,0xc
PUSH EAX
CALL 0x0001b050
ADD ESP,0x10
JMP 0x00029684
SUB ESP,0x8
MOV dword ptr [EBP + -0x44],EDX
PUSH EAX
LEA EAX,[EBP + -0x2c]
PUSH EAX
CALL 0x0001bb00
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x44]
JMP 0x00029662
CALL 0x0007ebe0
(translation_unit "void __gmpz_fdiv_q(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}\n\n" (function_definition "void __gmpz_fdiv_q(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}" primitive_type (function_declarator "__gmpz_fdiv_q(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_50 [60];" type_identifier (array_declarator "auStack_50 [60]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar9 = &stack0xfffffffc;" (assignment_expression "puVar9 = &stack0xfffffffc" identifier = (pointer_expression "&stack0xfffffffc" & identifier)) ;) (expression_statement "uStack_14 = 0x2960b;" (assignment_expression "uStack_14 = 0x2960b" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar7 = *(int *)(puVar9 + 0x10);" (assignment_expression "iVar7 = *(int *)(puVar9 + 0x10)" identifier = (pointer_expression "*(int *)(puVar9 + 0x10)" * (cast_expression "(int *)(puVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x10)" ( (binary_expression "puVar9 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(puVar9 + 0xc);" (assignment_expression "iVar1 = *(int *)(puVar9 + 0xc)" identifier = (pointer_expression "*(int *)(puVar9 + 0xc)" * (cast_expression "(int *)(puVar9 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xc)" ( (binary_expression "puVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);" (assignment_expression "*(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8)" (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" * (cast_expression "(undefined4 *)(puVar9 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x3c)" ( (binary_expression "puVar9 + -0x3c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar9 + 8)" * (cast_expression "(undefined4 *)(puVar9 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 8)" ( (binary_expression "puVar9 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar7 + 4);" (assignment_expression "uVar2 = *(uint *)(iVar7 + 4)" identifier = (pointer_expression "*(uint *)(iVar7 + 4)" * (cast_expression "(uint *)(iVar7 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar9 + -0x1c)" * (cast_expression "(undefined4 *)(puVar9 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x1c)" ( (binary_expression "puVar9 + -0x1c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x2c) = 0;" (assignment_expression "*(undefined4 *)(puVar9 + -0x2c) = 0" (pointer_expression "*(undefined4 *)(puVar9 + -0x2c)" * (cast_expression "(undefined4 *)(puVar9 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x2c)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x40) = uVar3;" (assignment_expression "*(undefined4 *)(puVar9 + -0x40) = uVar3" (pointer_expression "*(undefined4 *)(puVar9 + -0x40)" * (cast_expression "(undefined4 *)(puVar9 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x40)" ( (binary_expression "puVar9 + -0x40" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);" (assignment_expression "iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" identifier = (binary_expression "((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (parenthesized_expression "((int)uVar2 >> 0x1f ^ uVar2)" ( (binary_expression "(int)uVar2 >> 0x1f ^ uVar2" (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "*(int *)(puVar9 + -0x28) = iVar4;" (assignment_expression "*(int *)(puVar9 + -0x28) = iVar4" (pointer_expression "*(int *)(puVar9 + -0x28)" * (cast_expression "(int *)(puVar9 + -0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x28)" ( (binary_expression "puVar9 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = iVar4 * 4;" (assignment_expression "uVar5 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (if_statement "if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" if (parenthesized_expression "(uVar5 < 0x7f01)" ( (binary_expression "uVar5 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }" { (expression_statement "iVar4 = -(uVar5 + 0x1b & 0xfffffff0);" (assignment_expression "iVar4 = -(uVar5 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(uVar5 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(uVar5 + 0x1b & 0xfffffff0)" ( (binary_expression "uVar5 + 0x1b & 0xfffffff0" (binary_expression "uVar5 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar8 = auStack_50 + iVar4;" (assignment_expression "puVar8 = auStack_50 + iVar4" identifier = (binary_expression "auStack_50 + iVar4" identifier + identifier)) ;) (expression_statement "puVar6 = auStack_50 + iVar4;" (assignment_expression "puVar6 = auStack_50 + iVar4" identifier = (binary_expression "auStack_50 + iVar4" identifier + identifier)) ;) }) (else_clause "else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" else (compound_statement "{\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" { (expression_statement "*(int *)(puVar9 + -0x44) = iVar7;" (assignment_expression "*(int *)(puVar9 + -0x44) = iVar7" (pointer_expression "*(int *)(puVar9 + -0x44)" * (cast_expression "(int *)(puVar9 + -0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x44)" ( (binary_expression "puVar9 + -0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);" (assignment_expression "puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" identifier = (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" identifier (argument_list "(puVar9 + -0x2c,uVar5)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) , identifier ))))) ;) (expression_statement "puVar8 = auStack_50;" (assignment_expression "puVar8 = auStack_50" identifier = identifier) ;) (expression_statement "iVar7 = *(int *)(puVar9 + -0x44);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x44)" identifier = (pointer_expression "*(int *)(puVar9 + -0x44)" * (cast_expression "(int *)(puVar9 + -0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x44)" ( (binary_expression "puVar9 + -0x44" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined1 **)(puVar9 + -0x20) = puVar6;" (assignment_expression "*(undefined1 **)(puVar9 + -0x20) = puVar6" (pointer_expression "*(undefined1 **)(puVar9 + -0x20)" * (cast_expression "(undefined1 **)(puVar9 + -0x20)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0x20)" ( (binary_expression "puVar9 + -0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -4) = iVar7;" (assignment_expression "*(int *)(puVar8 + -4) = iVar7" (pointer_expression "*(int *)(puVar8 + -4)" * (cast_expression "(int *)(puVar8 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -8) = iVar1;" (assignment_expression "*(int *)(puVar8 + -8) = iVar1" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;" (assignment_expression "*(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28" (pointer_expression "*(undefined1 **)(puVar8 + -0xc)" * (cast_expression "(undefined1 **)(puVar8 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = (binary_expression "puVar9 + -0x28" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c)" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" * (cast_expression "(undefined4 *)(puVar9 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x3c)" ( (binary_expression "puVar9 + -0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x29673;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x29673" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpz_tdiv_qr();" (call_expression "__gmpz_tdiv_qr()" identifier (argument_list "()" ( ))) ;) (if_statement "if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" if (parenthesized_expression "(((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0))" ( (binary_expression "((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)" (parenthesized_expression "((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0)" ( (binary_expression "(int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0" (cast_expression "(int)(*(uint *)(puVar9 + -0x40) ^ uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)(puVar9 + -0x40) ^ uVar2)" ( (binary_expression "*(uint *)(puVar9 + -0x40) ^ uVar2" (pointer_expression "*(uint *)(puVar9 + -0x40)" * (cast_expression "(uint *)(puVar9 + -0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x40)" ( (binary_expression "puVar9 + -0x40" identifier + number_literal) )))) ^ identifier) ))) < number_literal) )) && (parenthesized_expression "(*(int *)(puVar9 + -0x24) != 0)" ( (binary_expression "*(int *)(puVar9 + -0x24) != 0" (pointer_expression "*(int *)(puVar9 + -0x24)" * (cast_expression "(int *)(puVar9 + -0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x24)" ( (binary_expression "puVar9 + -0x24" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(puVar9 + -0x3c);" (assignment_expression "uVar3 = *(undefined4 *)(puVar9 + -0x3c)" identifier = (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" * (cast_expression "(undefined4 *)(puVar9 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x3c)" ( (binary_expression "puVar9 + -0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar8 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar8 + -8)" * (cast_expression "(undefined4 *)(puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar8 + -0xc) = uVar3;" (assignment_expression "*(undefined4 *)(puVar8 + -0xc) = uVar3" (pointer_expression "*(undefined4 *)(puVar8 + -0xc)" * (cast_expression "(undefined4 *)(puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = uVar3;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = uVar3" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x296b6;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x296b6" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpz_sub_ui();" (call_expression "__gmpz_sub_ui()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar7 = *(int *)(puVar9 + -0x2c);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x2c)" identifier = (pointer_expression "*(int *)(puVar9 + -0x2c)" * (cast_expression "(int *)(puVar9 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x2c)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" else (compound_statement "{\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" { (expression_statement "iVar7 = *(int *)(puVar9 + -0x2c);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x2c)" identifier = (pointer_expression "*(int *)(puVar9 + -0x2c)" * (cast_expression "(int *)(puVar9 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x2c)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }" { (expression_statement "*(int *)(puVar8 + -0x10) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x10)" * (cast_expression "(int *)(puVar8 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x296c9;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x296c9" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }" if (parenthesized_expression "(*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar9 + -0x1c)" * (cast_expression "(int *)(puVar9 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x1c)" ( (binary_expression "puVar9 + -0x1c" identifier + number_literal) )))) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }" { comment (expression_statement "*(code **)(puVar8 + -4) = __gmpz_fdiv_ui;" (assignment_expression "*(code **)(puVar8 + -4) = __gmpz_fdiv_ui" (pointer_expression "*(code **)(puVar8 + -4)" * (cast_expression "(code **)(puVar8 + -4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid __gmpz_fdiv_q(mpz_ptr quot,mpz_srcptr dividend,mpz_srcptr divisor)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  mpz_ptr p_Var4;\n  uint size;\n  undefined1 *puVar5;\n  int in_GS_OFFSET;\n  undefined1 auStack_4c [4];\n  mpz_srcptr local_48;\n  uint local_44;\n  mpz_ptr local_40 [4];\n  tmp_reentrant_t *__tmp_marker;\n  mpz_t rem;\n  \n  local_40[0] = quot;\n  uVar2 = divisor->_mp_size;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_44 = dividend->_mp_size;\n  rem[0]._mp_alloc = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  size = rem[0]._mp_alloc * 4;\n  if (size < 0x7f01) {\n    iVar3 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_4c + iVar3;\n    rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3);\n  }\n  else {\n    local_48 = divisor;\n    rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_4c;\n    divisor = local_48;\n  }\n  *(mpz_srcptr *)(puVar5 + -4) = divisor;\n  *(mpz_srcptr *)(puVar5 + -8) = dividend;\n  *(__mpz_struct **)(puVar5 + -0xc) = rem;\n  *(mpz_ptr *)(puVar5 + -0x10) = local_40[0];\n  *(undefined4 *)(puVar5 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_ptr *)(puVar5 + -0xc),\n                 *(mpz_srcptr *)(puVar5 + -8),*(mpz_srcptr *)(puVar5 + -4));\n  p_Var4 = local_40[0];\n  if (((int)(local_44 ^ uVar2) < 0) && (rem[0]._mp_size != 0)) {\n    *(undefined4 *)(puVar5 + -8) = 1;\n    *(mpz_ptr *)(puVar5 + -0xc) = p_Var4;\n    *(mpz_ptr *)(puVar5 + -0x10) = p_Var4;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296b6;\n    __gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8));\n  }\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(code **)(puVar5 + -4) = __gmpz_fdiv_ui;\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void __gmpz_fdiv_q(mpz_ptr quot,mpz_srcptr dividend,mpz_srcptr divisor)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  mpz_ptr p_Var4;\n  uint size;\n  undefined1 *puVar5;\n  int in_GS_OFFSET;\n  undefined1 auStack_4c [4];\n  mpz_srcptr local_48;\n  uint local_44;\n  mpz_ptr local_40 [4];\n  tmp_reentrant_t *__tmp_marker;\n  mpz_t rem;\n  \n  local_40[0] = quot;\n  uVar2 = divisor->_mp_size;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_44 = dividend->_mp_size;\n  rem[0]._mp_alloc = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  size = rem[0]._mp_alloc * 4;\n  if (size < 0x7f01) {\n    iVar3 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_4c + iVar3;\n    rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3);\n  }\n  else {\n    local_48 = divisor;\n    rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_4c;\n    divisor = local_48;\n  }\n  *(mpz_srcptr *)(puVar5 + -4) = divisor;\n  *(mpz_srcptr *)(puVar5 + -8) = dividend;\n  *(__mpz_struct **)(puVar5 + -0xc) = rem;\n  *(mpz_ptr *)(puVar5 + -0x10) = local_40[0];\n  *(undefined4 *)(puVar5 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_ptr *)(puVar5 + -0xc),\n                 *(mpz_srcptr *)(puVar5 + -8),*(mpz_srcptr *)(puVar5 + -4));\n  p_Var4 = local_40[0];\n  if (((int)(local_44 ^ uVar2) < 0) && (rem[0]._mp_size != 0)) {\n    *(undefined4 *)(puVar5 + -8) = 1;\n    *(mpz_ptr *)(puVar5 + -0xc) = p_Var4;\n    *(mpz_ptr *)(puVar5 + -0x10) = p_Var4;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296b6;\n    __gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8));\n  }\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(code **)(puVar5 + -4) = __gmpz_fdiv_ui;\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "__gmpz_fdiv_q(mpz_ptr quot,mpz_srcptr dividend,mpz_srcptr divisor)" identifier (parameter_list "(mpz_ptr quot,mpz_srcptr dividend,mpz_srcptr divisor)" ( (parameter_declaration "mpz_ptr quot" type_identifier identifier) , (parameter_declaration "mpz_srcptr dividend" type_identifier identifier) , (parameter_declaration "mpz_srcptr divisor" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  mpz_ptr p_Var4;\n  uint size;\n  undefined1 *puVar5;\n  int in_GS_OFFSET;\n  undefined1 auStack_4c [4];\n  mpz_srcptr local_48;\n  uint local_44;\n  mpz_ptr local_40 [4];\n  tmp_reentrant_t *__tmp_marker;\n  mpz_t rem;\n  \n  local_40[0] = quot;\n  uVar2 = divisor->_mp_size;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_44 = dividend->_mp_size;\n  rem[0]._mp_alloc = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  size = rem[0]._mp_alloc * 4;\n  if (size < 0x7f01) {\n    iVar3 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_4c + iVar3;\n    rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3);\n  }\n  else {\n    local_48 = divisor;\n    rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_4c;\n    divisor = local_48;\n  }\n  *(mpz_srcptr *)(puVar5 + -4) = divisor;\n  *(mpz_srcptr *)(puVar5 + -8) = dividend;\n  *(__mpz_struct **)(puVar5 + -0xc) = rem;\n  *(mpz_ptr *)(puVar5 + -0x10) = local_40[0];\n  *(undefined4 *)(puVar5 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_ptr *)(puVar5 + -0xc),\n                 *(mpz_srcptr *)(puVar5 + -8),*(mpz_srcptr *)(puVar5 + -4));\n  p_Var4 = local_40[0];\n  if (((int)(local_44 ^ uVar2) < 0) && (rem[0]._mp_size != 0)) {\n    *(undefined4 *)(puVar5 + -8) = 1;\n    *(mpz_ptr *)(puVar5 + -0xc) = p_Var4;\n    *(mpz_ptr *)(puVar5 + -0x10) = p_Var4;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296b6;\n    __gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8));\n  }\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(code **)(puVar5 + -4) = __gmpz_fdiv_ui;\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "mpz_ptr p_Var4;" type_identifier identifier ;) (declaration "uint size;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_4c [4];" type_identifier (array_declarator "auStack_4c [4]" identifier [ number_literal ]) ;) (declaration "mpz_srcptr local_48;" type_identifier identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "mpz_ptr local_40 [4];" type_identifier (array_declarator "local_40 [4]" identifier [ number_literal ]) ;) (declaration "tmp_reentrant_t *__tmp_marker;" type_identifier (pointer_declarator "*__tmp_marker" * identifier) ;) (declaration "mpz_t rem;" type_identifier identifier ;) (expression_statement "local_40[0] = quot;" (assignment_expression "local_40[0] = quot" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = divisor->_mp_size;" (assignment_expression "uVar2 = divisor->_mp_size" identifier = (field_expression "divisor->_mp_size" identifier -> field_identifier)) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "__tmp_marker = (tmp_reentrant_t *)0x0;" (assignment_expression "__tmp_marker = (tmp_reentrant_t *)0x0" identifier = (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44 = dividend->_mp_size;" (assignment_expression "local_44 = dividend->_mp_size" identifier = (field_expression "dividend->_mp_size" identifier -> field_identifier)) ;) (expression_statement "rem[0]._mp_alloc = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);" (assignment_expression "rem[0]._mp_alloc = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (field_expression "rem[0]._mp_alloc" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) = (binary_expression "((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (parenthesized_expression "((int)uVar2 >> 0x1f ^ uVar2)" ( (binary_expression "(int)uVar2 >> 0x1f ^ uVar2" (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "size = rem[0]._mp_alloc * 4;" (assignment_expression "size = rem[0]._mp_alloc * 4" identifier = (binary_expression "rem[0]._mp_alloc * 4" (field_expression "rem[0]._mp_alloc" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) * number_literal)) ;) (if_statement "if (size < 0x7f01) {\n    iVar3 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_4c + iVar3;\n    rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3);\n  }\n  else {\n    local_48 = divisor;\n    rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_4c;\n    divisor = local_48;\n  }" if (parenthesized_expression "(size < 0x7f01)" ( (binary_expression "size < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    iVar3 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_4c + iVar3;\n    rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3);\n  }" { (expression_statement "iVar3 = -(size + 0x1b & 0xfffffff0);" (assignment_expression "iVar3 = -(size + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(size + 0x1b & 0xfffffff0)" - (parenthesized_expression "(size + 0x1b & 0xfffffff0)" ( (binary_expression "size + 0x1b & 0xfffffff0" (binary_expression "size + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar5 = auStack_4c + iVar3;" (assignment_expression "puVar5 = auStack_4c + iVar3" identifier = (binary_expression "auStack_4c + iVar3" identifier + identifier)) ;) (expression_statement "rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3);" (assignment_expression "rem[0]._mp_d = (mp_limb_t *)((int)local_40 + iVar3)" (field_expression "rem[0]._mp_d" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(mp_limb_t *)((int)local_40 + iVar3)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_40 + iVar3)" ( (binary_expression "(int)local_40 + iVar3" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) (else_clause "else {\n    local_48 = divisor;\n    rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_4c;\n    divisor = local_48;\n  }" else (compound_statement "{\n    local_48 = divisor;\n    rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_4c;\n    divisor = local_48;\n  }" { (expression_statement "local_48 = divisor;" (assignment_expression "local_48 = divisor" identifier = identifier) ;) (expression_statement "rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size);" (assignment_expression "rem[0]._mp_d = (mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size)" (field_expression "rem[0]._mp_d" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(mp_limb_t *)__gmp_tmp_reentrant_alloc(&__tmp_marker,size)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(&__tmp_marker,size)" identifier (argument_list "(&__tmp_marker,size)" ( (pointer_expression "&__tmp_marker" & identifier) , identifier ))))) ;) (expression_statement "puVar5 = auStack_4c;" (assignment_expression "puVar5 = auStack_4c" identifier = identifier) ;) (expression_statement "divisor = local_48;" (assignment_expression "divisor = local_48" identifier = identifier) ;) }))) (expression_statement "*(mpz_srcptr *)(puVar5 + -4) = divisor;" (assignment_expression "*(mpz_srcptr *)(puVar5 + -4) = divisor" (pointer_expression "*(mpz_srcptr *)(puVar5 + -4)" * (cast_expression "(mpz_srcptr *)(puVar5 + -4)" ( (type_descriptor "mpz_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_srcptr *)(puVar5 + -8) = dividend;" (assignment_expression "*(mpz_srcptr *)(puVar5 + -8) = dividend" (pointer_expression "*(mpz_srcptr *)(puVar5 + -8)" * (cast_expression "(mpz_srcptr *)(puVar5 + -8)" ( (type_descriptor "mpz_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(__mpz_struct **)(puVar5 + -0xc) = rem;" (assignment_expression "*(__mpz_struct **)(puVar5 + -0xc) = rem" (pointer_expression "*(__mpz_struct **)(puVar5 + -0xc)" * (cast_expression "(__mpz_struct **)(puVar5 + -0xc)" ( (type_descriptor "__mpz_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_ptr *)(puVar5 + -0x10) = local_40[0];" (assignment_expression "*(mpz_ptr *)(puVar5 + -0x10) = local_40[0]" (pointer_expression "*(mpz_ptr *)(puVar5 + -0x10)" * (cast_expression "(mpz_ptr *)(puVar5 + -0x10)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x29673;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x29673" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpz_tdiv_qr(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_ptr *)(puVar5 + -0xc),\n                 *(mpz_srcptr *)(puVar5 + -8),*(mpz_srcptr *)(puVar5 + -4));" (call_expression "__gmpz_tdiv_qr(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_ptr *)(puVar5 + -0xc),\n                 *(mpz_srcptr *)(puVar5 + -8),*(mpz_srcptr *)(puVar5 + -4))" identifier (argument_list "(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_ptr *)(puVar5 + -0xc),\n                 *(mpz_srcptr *)(puVar5 + -8),*(mpz_srcptr *)(puVar5 + -4))" ( (pointer_expression "*(mpz_ptr *)(puVar5 + -0x10)" * (cast_expression "(mpz_ptr *)(puVar5 + -0x10)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(mpz_ptr *)(puVar5 + -0xc)" * (cast_expression "(mpz_ptr *)(puVar5 + -0xc)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(mpz_srcptr *)(puVar5 + -8)" * (cast_expression "(mpz_srcptr *)(puVar5 + -8)" ( (type_descriptor "mpz_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) , (pointer_expression "*(mpz_srcptr *)(puVar5 + -4)" * (cast_expression "(mpz_srcptr *)(puVar5 + -4)" ( (type_descriptor "mpz_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) ))) ;) (expression_statement "p_Var4 = local_40[0];" (assignment_expression "p_Var4 = local_40[0]" identifier = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;) (if_statement "if (((int)(local_44 ^ uVar2) < 0) && (rem[0]._mp_size != 0)) {\n    *(undefined4 *)(puVar5 + -8) = 1;\n    *(mpz_ptr *)(puVar5 + -0xc) = p_Var4;\n    *(mpz_ptr *)(puVar5 + -0x10) = p_Var4;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296b6;\n    __gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8));\n  }" if (parenthesized_expression "(((int)(local_44 ^ uVar2) < 0) && (rem[0]._mp_size != 0))" ( (binary_expression "((int)(local_44 ^ uVar2) < 0) && (rem[0]._mp_size != 0)" (parenthesized_expression "((int)(local_44 ^ uVar2) < 0)" ( (binary_expression "(int)(local_44 ^ uVar2) < 0" (cast_expression "(int)(local_44 ^ uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44 ^ uVar2)" ( (binary_expression "local_44 ^ uVar2" identifier ^ identifier) ))) < number_literal) )) && (parenthesized_expression "(rem[0]._mp_size != 0)" ( (binary_expression "rem[0]._mp_size != 0" (field_expression "rem[0]._mp_size" (subscript_expression "rem[0]" identifier [ number_literal ]) . field_identifier) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(puVar5 + -8) = 1;\n    *(mpz_ptr *)(puVar5 + -0xc) = p_Var4;\n    *(mpz_ptr *)(puVar5 + -0x10) = p_Var4;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296b6;\n    __gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8));\n  }" { (expression_statement "*(undefined4 *)(puVar5 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar5 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar5 + -8)" * (cast_expression "(undefined4 *)(puVar5 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(mpz_ptr *)(puVar5 + -0xc) = p_Var4;" (assignment_expression "*(mpz_ptr *)(puVar5 + -0xc) = p_Var4" (pointer_expression "*(mpz_ptr *)(puVar5 + -0xc)" * (cast_expression "(mpz_ptr *)(puVar5 + -0xc)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mpz_ptr *)(puVar5 + -0x10) = p_Var4;" (assignment_expression "*(mpz_ptr *)(puVar5 + -0x10) = p_Var4" (pointer_expression "*(mpz_ptr *)(puVar5 + -0x10)" * (cast_expression "(mpz_ptr *)(puVar5 + -0x10)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x296b6;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x296b6" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8));" (call_expression "__gmpz_sub_ui(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8))" identifier (argument_list "(*(mpz_ptr *)(puVar5 + -0x10),*(mpz_srcptr *)(puVar5 + -0xc),\n                  *(ulong *)(puVar5 + -8))" ( (pointer_expression "*(mpz_ptr *)(puVar5 + -0x10)" * (cast_expression "(mpz_ptr *)(puVar5 + -0x10)" ( (type_descriptor "mpz_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(mpz_srcptr *)(puVar5 + -0xc)" * (cast_expression "(mpz_srcptr *)(puVar5 + -0xc)" ( (type_descriptor "mpz_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(ulong *)(puVar5 + -8)" * (cast_expression "(ulong *)(puVar5 + -8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) ))) ;) })) (if_statement "if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }" if (parenthesized_expression "(__tmp_marker != (tmp_reentrant_t *)0x0)" ( (binary_expression "__tmp_marker != (tmp_reentrant_t *)0x0" identifier != (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }" { (expression_statement "*(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;" (assignment_expression "*(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker" (pointer_expression "*(tmp_reentrant_t **)(puVar5 + -0x10)" * (cast_expression "(tmp_reentrant_t **)(puVar5 + -0x10)" ( (type_descriptor "tmp_reentrant_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x296c9;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x296c9" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));" (call_expression "__gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10))" identifier (argument_list "(*(tmp_reentrant_t **)(puVar5 + -0x10))" ( (pointer_expression "*(tmp_reentrant_t **)(puVar5 + -0x10)" * (cast_expression "(tmp_reentrant_t **)(puVar5 + -0x10)" ( (type_descriptor "tmp_reentrant_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) ))) ;) })) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(code **)(puVar5 + -4) = __gmpz_fdiv_ui;" (assignment_expression "*(code **)(puVar5 + -4) = __gmpz_fdiv_ui" (pointer_expression "*(code **)(puVar5 + -4)" * (cast_expression "(code **)(puVar5 + -4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __gmpz_fdiv_q(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}\n\n" (function_definition "void __gmpz_fdiv_q(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}" primitive_type (function_declarator "__gmpz_fdiv_q(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_50 [60];" type_identifier (array_declarator "auStack_50 [60]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar9 = &stack0xfffffffc;" (assignment_expression "puVar9 = &stack0xfffffffc" identifier = (pointer_expression "&stack0xfffffffc" & identifier)) ;) (expression_statement "uStack_14 = 0x2960b;" (assignment_expression "uStack_14 = 0x2960b" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar7 = *(int *)(puVar9 + 0x10);" (assignment_expression "iVar7 = *(int *)(puVar9 + 0x10)" identifier = (pointer_expression "*(int *)(puVar9 + 0x10)" * (cast_expression "(int *)(puVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x10)" ( (binary_expression "puVar9 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(puVar9 + 0xc);" (assignment_expression "iVar1 = *(int *)(puVar9 + 0xc)" identifier = (pointer_expression "*(int *)(puVar9 + 0xc)" * (cast_expression "(int *)(puVar9 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xc)" ( (binary_expression "puVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);" (assignment_expression "*(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8)" (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" * (cast_expression "(undefined4 *)(puVar9 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x3c)" ( (binary_expression "puVar9 + -0x3c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar9 + 8)" * (cast_expression "(undefined4 *)(puVar9 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 8)" ( (binary_expression "puVar9 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar7 + 4);" (assignment_expression "uVar2 = *(uint *)(iVar7 + 4)" identifier = (pointer_expression "*(uint *)(iVar7 + 4)" * (cast_expression "(uint *)(iVar7 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar9 + -0x1c)" * (cast_expression "(undefined4 *)(puVar9 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x1c)" ( (binary_expression "puVar9 + -0x1c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x2c) = 0;" (assignment_expression "*(undefined4 *)(puVar9 + -0x2c) = 0" (pointer_expression "*(undefined4 *)(puVar9 + -0x2c)" * (cast_expression "(undefined4 *)(puVar9 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x2c)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x40) = uVar3;" (assignment_expression "*(undefined4 *)(puVar9 + -0x40) = uVar3" (pointer_expression "*(undefined4 *)(puVar9 + -0x40)" * (cast_expression "(undefined4 *)(puVar9 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x40)" ( (binary_expression "puVar9 + -0x40" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);" (assignment_expression "iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" identifier = (binary_expression "((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (parenthesized_expression "((int)uVar2 >> 0x1f ^ uVar2)" ( (binary_expression "(int)uVar2 >> 0x1f ^ uVar2" (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ^ identifier) )) - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "*(int *)(puVar9 + -0x28) = iVar4;" (assignment_expression "*(int *)(puVar9 + -0x28) = iVar4" (pointer_expression "*(int *)(puVar9 + -0x28)" * (cast_expression "(int *)(puVar9 + -0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x28)" ( (binary_expression "puVar9 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = iVar4 * 4;" (assignment_expression "uVar5 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (if_statement "if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" if (parenthesized_expression "(uVar5 < 0x7f01)" ( (binary_expression "uVar5 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }" { (expression_statement "iVar4 = -(uVar5 + 0x1b & 0xfffffff0);" (assignment_expression "iVar4 = -(uVar5 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(uVar5 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(uVar5 + 0x1b & 0xfffffff0)" ( (binary_expression "uVar5 + 0x1b & 0xfffffff0" (binary_expression "uVar5 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar8 = auStack_50 + iVar4;" (assignment_expression "puVar8 = auStack_50 + iVar4" identifier = (binary_expression "auStack_50 + iVar4" identifier + identifier)) ;) (expression_statement "puVar6 = auStack_50 + iVar4;" (assignment_expression "puVar6 = auStack_50 + iVar4" identifier = (binary_expression "auStack_50 + iVar4" identifier + identifier)) ;) }) (else_clause "else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" else (compound_statement "{\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" { (expression_statement "*(int *)(puVar9 + -0x44) = iVar7;" (assignment_expression "*(int *)(puVar9 + -0x44) = iVar7" (pointer_expression "*(int *)(puVar9 + -0x44)" * (cast_expression "(int *)(puVar9 + -0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x44)" ( (binary_expression "puVar9 + -0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);" (assignment_expression "puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" identifier = (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" identifier (argument_list "(puVar9 + -0x2c,uVar5)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) , identifier ))))) ;) (expression_statement "puVar8 = auStack_50;" (assignment_expression "puVar8 = auStack_50" identifier = identifier) ;) (expression_statement "iVar7 = *(int *)(puVar9 + -0x44);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x44)" identifier = (pointer_expression "*(int *)(puVar9 + -0x44)" * (cast_expression "(int *)(puVar9 + -0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x44)" ( (binary_expression "puVar9 + -0x44" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined1 **)(puVar9 + -0x20) = puVar6;" (assignment_expression "*(undefined1 **)(puVar9 + -0x20) = puVar6" (pointer_expression "*(undefined1 **)(puVar9 + -0x20)" * (cast_expression "(undefined1 **)(puVar9 + -0x20)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0x20)" ( (binary_expression "puVar9 + -0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -4) = iVar7;" (assignment_expression "*(int *)(puVar8 + -4) = iVar7" (pointer_expression "*(int *)(puVar8 + -4)" * (cast_expression "(int *)(puVar8 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -8) = iVar1;" (assignment_expression "*(int *)(puVar8 + -8) = iVar1" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;" (assignment_expression "*(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28" (pointer_expression "*(undefined1 **)(puVar8 + -0xc)" * (cast_expression "(undefined1 **)(puVar8 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = (binary_expression "puVar9 + -0x28" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c)" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" * (cast_expression "(undefined4 *)(puVar9 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x3c)" ( (binary_expression "puVar9 + -0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x29673;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x29673" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpz_tdiv_qr();" (call_expression "__gmpz_tdiv_qr()" identifier (argument_list "()" ( ))) ;) (if_statement "if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" if (parenthesized_expression "(((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0))" ( (binary_expression "((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)" (parenthesized_expression "((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0)" ( (binary_expression "(int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0" (cast_expression "(int)(*(uint *)(puVar9 + -0x40) ^ uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)(puVar9 + -0x40) ^ uVar2)" ( (binary_expression "*(uint *)(puVar9 + -0x40) ^ uVar2" (pointer_expression "*(uint *)(puVar9 + -0x40)" * (cast_expression "(uint *)(puVar9 + -0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x40)" ( (binary_expression "puVar9 + -0x40" identifier + number_literal) )))) ^ identifier) ))) < number_literal) )) && (parenthesized_expression "(*(int *)(puVar9 + -0x24) != 0)" ( (binary_expression "*(int *)(puVar9 + -0x24) != 0" (pointer_expression "*(int *)(puVar9 + -0x24)" * (cast_expression "(int *)(puVar9 + -0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x24)" ( (binary_expression "puVar9 + -0x24" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(puVar9 + -0x3c);" (assignment_expression "uVar3 = *(undefined4 *)(puVar9 + -0x3c)" identifier = (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" * (cast_expression "(undefined4 *)(puVar9 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x3c)" ( (binary_expression "puVar9 + -0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar8 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar8 + -8)" * (cast_expression "(undefined4 *)(puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar8 + -0xc) = uVar3;" (assignment_expression "*(undefined4 *)(puVar8 + -0xc) = uVar3" (pointer_expression "*(undefined4 *)(puVar8 + -0xc)" * (cast_expression "(undefined4 *)(puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = uVar3;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = uVar3" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x296b6;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x296b6" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpz_sub_ui();" (call_expression "__gmpz_sub_ui()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar7 = *(int *)(puVar9 + -0x2c);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x2c)" identifier = (pointer_expression "*(int *)(puVar9 + -0x2c)" * (cast_expression "(int *)(puVar9 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x2c)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" else (compound_statement "{\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" { (expression_statement "iVar7 = *(int *)(puVar9 + -0x2c);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x2c)" identifier = (pointer_expression "*(int *)(puVar9 + -0x2c)" * (cast_expression "(int *)(puVar9 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x2c)" ( (binary_expression "puVar9 + -0x2c" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }" { (expression_statement "*(int *)(puVar8 + -0x10) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x10)" * (cast_expression "(int *)(puVar8 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x296c9;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x296c9" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }" if (parenthesized_expression "(*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar9 + -0x1c)" * (cast_expression "(int *)(puVar9 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x1c)" ( (binary_expression "puVar9 + -0x1c" identifier + number_literal) )))) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }" { (expression_statement "*(code **)(puVar8 + -4) = __gmpz_fdiv_ui;" (assignment_expression "*(code **)(puVar8 + -4) = __gmpz_fdiv_ui" (pointer_expression "*(code **)(puVar8 + -4)" * (cast_expression "(code **)(puVar8 + -4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = identifier) ;) (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) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ^ IDENT) )) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ IDENT) ))) < LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void __gmpz_fdiv_q(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_fdiv_q(void)" (identifier "__gmpz_fdiv_q") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int in_GS_OFFSET;\n  undefined1 auStack_50 [60];\n  undefined4 uStack_14;\n  \n  puVar9 = &stack0xfffffffc;\n  uStack_14 = 0x2960b;\n  entry();\n  iVar7 = *(int *)(puVar9 + 0x10);\n  iVar1 = *(int *)(puVar9 + 0xc);\n  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);\n  uVar2 = *(uint *)(iVar7 + 4);\n  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(puVar9 + -0x2c) = 0;\n  *(undefined4 *)(puVar9 + -0x40) = uVar3;\n  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);\n  *(int *)(puVar9 + -0x28) = iVar4;\n  uVar5 = iVar4 * 4;\n  if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }\n  *(undefined1 **)(puVar9 + -0x20) = puVar6;\n  *(int *)(puVar8 + -4) = iVar7;\n  *(int *)(puVar8 + -8) = iVar1;\n  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;\n  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);\n  *(undefined4 *)(puVar8 + -0x14) = 0x29673;\n  __gmpz_tdiv_qr();\n  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 auStack_50 [60];" (type_identifier "undefined1") (array_declarator "auStack_50 [60]" (identifier "auStack_50") ([ "[") (number_literal "60") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "puVar9 = &stack0xfffffffc;" (assignment_expression "puVar9 = &stack0xfffffffc" (identifier "puVar9") (= "=") (pointer_expression "&stack0xfffffffc" (& "&") (identifier "stack0xfffffffc"))) (; ";")) (expression_statement "uStack_14 = 0x2960b;" (assignment_expression "uStack_14 = 0x2960b" (identifier "uStack_14") (= "=") (number_literal "0x2960b")) (; ";")) (expression_statement "entry();" (call_expression "entry()" (identifier "entry") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar7 = *(int *)(puVar9 + 0x10);" (assignment_expression "iVar7 = *(int *)(puVar9 + 0x10)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar9 + 0x10)" (* "*") (cast_expression "(int *)(puVar9 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x10)" (( "(") (binary_expression "puVar9 + 0x10" (identifier "puVar9") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(puVar9 + 0xc);" (assignment_expression "iVar1 = *(int *)(puVar9 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(puVar9 + 0xc)" (* "*") (cast_expression "(int *)(puVar9 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0xc)" (( "(") (binary_expression "puVar9 + 0xc" (identifier "puVar9") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);" (assignment_expression "*(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8)" (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x3c)" (( "(") (binary_expression "puVar9 + -0x3c" (identifier "puVar9") (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar9 + 8)" (* "*") (cast_expression "(undefined4 *)(puVar9 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 8)" (( "(") (binary_expression "puVar9 + 8" (identifier "puVar9") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar7 + 4);" (assignment_expression "uVar2 = *(uint *)(iVar7 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar7 + 4)" (* "*") (cast_expression "(uint *)(iVar7 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 4)" (( "(") (binary_expression "iVar7 + 4" (identifier "iVar7") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar9 + -0x1c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x1c)" (( "(") (binary_expression "puVar9 + -0x1c" (identifier "puVar9") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + -0x2c) = 0;" (assignment_expression "*(undefined4 *)(puVar9 + -0x2c) = 0" (pointer_expression "*(undefined4 *)(puVar9 + -0x2c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x2c)" (( "(") (binary_expression "puVar9 + -0x2c" (identifier "puVar9") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + -0x40) = uVar3;" (assignment_expression "*(undefined4 *)(puVar9 + -0x40) = uVar3" (pointer_expression "*(undefined4 *)(puVar9 + -0x40)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x40)" (( "(") (binary_expression "puVar9 + -0x40" (identifier "puVar9") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);" (assignment_expression "iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (identifier "iVar4") (= "=") (binary_expression "((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f)" (parenthesized_expression "((int)uVar2 >> 0x1f ^ uVar2)" (( "(") (binary_expression "(int)uVar2 >> 0x1f ^ uVar2" (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f")) (^ "^") (identifier "uVar2")) () ")")) (- "-") (parenthesized_expression "((int)uVar2 >> 0x1f)" (( "(") (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "*(int *)(puVar9 + -0x28) = iVar4;" (assignment_expression "*(int *)(puVar9 + -0x28) = iVar4" (pointer_expression "*(int *)(puVar9 + -0x28)" (* "*") (cast_expression "(int *)(puVar9 + -0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x28)" (( "(") (binary_expression "puVar9 + -0x28" (identifier "puVar9") (+ "+") (number_literal "-0x28")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "uVar5 = iVar4 * 4;" (assignment_expression "uVar5 = iVar4 * 4" (identifier "uVar5") (= "=") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (; ";")) (if_statement "if (uVar5 < 0x7f01) {\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }\n  else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" (if "if") (parenthesized_expression "(uVar5 < 0x7f01)" (( "(") (binary_expression "uVar5 < 0x7f01" (identifier "uVar5") (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);\n    puVar8 = auStack_50 + iVar4;\n    puVar6 = auStack_50 + iVar4;\n  }" ({ "{") (expression_statement "iVar4 = -(uVar5 + 0x1b & 0xfffffff0);" (assignment_expression "iVar4 = -(uVar5 + 0x1b & 0xfffffff0)" (identifier "iVar4") (= "=") (unary_expression "-(uVar5 + 0x1b & 0xfffffff0)" (- "-") (parenthesized_expression "(uVar5 + 0x1b & 0xfffffff0)" (( "(") (binary_expression "uVar5 + 0x1b & 0xfffffff0" (binary_expression "uVar5 + 0x1b" (identifier "uVar5") (+ "+") (number_literal "0x1b")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "puVar8 = auStack_50 + iVar4;" (assignment_expression "puVar8 = auStack_50 + iVar4" (identifier "puVar8") (= "=") (binary_expression "auStack_50 + iVar4" (identifier "auStack_50") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "puVar6 = auStack_50 + iVar4;" (assignment_expression "puVar6 = auStack_50 + iVar4" (identifier "puVar6") (= "=") (binary_expression "auStack_50 + iVar4" (identifier "auStack_50") (+ "+") (identifier "iVar4"))) (; ";")) (} "}")) (else_clause "else {\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" (else "else") (compound_statement "{\n    *(int *)(puVar9 + -0x44) = iVar7;\n    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);\n    puVar8 = auStack_50;\n    iVar7 = *(int *)(puVar9 + -0x44);\n  }" ({ "{") (expression_statement "*(int *)(puVar9 + -0x44) = iVar7;" (assignment_expression "*(int *)(puVar9 + -0x44) = iVar7" (pointer_expression "*(int *)(puVar9 + -0x44)" (* "*") (cast_expression "(int *)(puVar9 + -0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x44)" (( "(") (binary_expression "puVar9 + -0x44" (identifier "puVar9") (+ "+") (number_literal "-0x44")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);" (assignment_expression "puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5)" (identifier "__gmp_tmp_reentrant_alloc") (argument_list "(puVar9 + -0x2c,uVar5)" (( "(") (binary_expression "puVar9 + -0x2c" (identifier "puVar9") (+ "+") (number_literal "-0x2c")) (, ",") (identifier "uVar5") () ")"))))) (; ";")) (expression_statement "puVar8 = auStack_50;" (assignment_expression "puVar8 = auStack_50" (identifier "puVar8") (= "=") (identifier "auStack_50")) (; ";")) (expression_statement "iVar7 = *(int *)(puVar9 + -0x44);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x44)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar9 + -0x44)" (* "*") (cast_expression "(int *)(puVar9 + -0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x44)" (( "(") (binary_expression "puVar9 + -0x44" (identifier "puVar9") (+ "+") (number_literal "-0x44")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(undefined1 **)(puVar9 + -0x20) = puVar6;" (assignment_expression "*(undefined1 **)(puVar9 + -0x20) = puVar6" (pointer_expression "*(undefined1 **)(puVar9 + -0x20)" (* "*") (cast_expression "(undefined1 **)(puVar9 + -0x20)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + -0x20)" (( "(") (binary_expression "puVar9 + -0x20" (identifier "puVar9") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "*(int *)(puVar8 + -4) = iVar7;" (assignment_expression "*(int *)(puVar8 + -4) = iVar7" (pointer_expression "*(int *)(puVar8 + -4)" (* "*") (cast_expression "(int *)(puVar8 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -4)" (( "(") (binary_expression "puVar8 + -4" (identifier "puVar8") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(int *)(puVar8 + -8) = iVar1;" (assignment_expression "*(int *)(puVar8 + -8) = iVar1" (pointer_expression "*(int *)(puVar8 + -8)" (* "*") (cast_expression "(int *)(puVar8 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;" (assignment_expression "*(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28" (pointer_expression "*(undefined1 **)(puVar8 + -0xc)" (* "*") (cast_expression "(undefined1 **)(puVar8 + -0xc)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (binary_expression "puVar9 + -0x28" (identifier "puVar9") (+ "+") (number_literal "-0x28"))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c)" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x3c)" (( "(") (binary_expression "puVar9 + -0x3c" (identifier "puVar9") (+ "+") (number_literal "-0x3c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x29673;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x29673" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x29673")) (; ";")) (expression_statement "__gmpz_tdiv_qr();" (call_expression "__gmpz_tdiv_qr()" (identifier "__gmpz_tdiv_qr") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }\n  else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" (if "if") (parenthesized_expression "(((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0))" (( "(") (binary_expression "((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)" (parenthesized_expression "((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0)" (( "(") (binary_expression "(int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0" (cast_expression "(int)(*(uint *)(puVar9 + -0x40) ^ uVar2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(*(uint *)(puVar9 + -0x40) ^ uVar2)" (( "(") (binary_expression "*(uint *)(puVar9 + -0x40) ^ uVar2" (pointer_expression "*(uint *)(puVar9 + -0x40)" (* "*") (cast_expression "(uint *)(puVar9 + -0x40)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x40)" (( "(") (binary_expression "puVar9 + -0x40" (identifier "puVar9") (+ "+") (number_literal "-0x40")) () ")")))) (^ "^") (identifier "uVar2")) () ")"))) (< "<") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(puVar9 + -0x24) != 0)" (( "(") (binary_expression "*(int *)(puVar9 + -0x24) != 0" (pointer_expression "*(int *)(puVar9 + -0x24)" (* "*") (cast_expression "(int *)(puVar9 + -0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x24)" (( "(") (binary_expression "puVar9 + -0x24" (identifier "puVar9") (+ "+") (number_literal "-0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar3 = *(undefined4 *)(puVar9 + -0x3c);\n    *(undefined4 *)(puVar8 + -8) = 1;\n    *(undefined4 *)(puVar8 + -0xc) = uVar3;\n    *(undefined4 *)(puVar8 + -0x10) = uVar3;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;\n    __gmpz_sub_ui();\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(puVar9 + -0x3c);" (assignment_expression "uVar3 = *(undefined4 *)(puVar9 + -0x3c)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(puVar9 + -0x3c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x3c)" (( "(") (binary_expression "puVar9 + -0x3c" (identifier "puVar9") (+ "+") (number_literal "-0x3c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar8 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar8 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0xc) = uVar3;" (assignment_expression "*(undefined4 *)(puVar8 + -0xc) = uVar3" (pointer_expression "*(undefined4 *)(puVar8 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = uVar3;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = uVar3" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x296b6;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x296b6" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x296b6")) (; ";")) (expression_statement "__gmpz_sub_ui();" (call_expression "__gmpz_sub_ui()" (identifier "__gmpz_sub_ui") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar7 = *(int *)(puVar9 + -0x2c);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x2c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar9 + -0x2c)" (* "*") (cast_expression "(int *)(puVar9 + -0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x2c)" (( "(") (binary_expression "puVar9 + -0x2c" (identifier "puVar9") (+ "+") (number_literal "-0x2c")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" (else "else") (compound_statement "{\n    iVar7 = *(int *)(puVar9 + -0x2c);\n  }" ({ "{") (expression_statement "iVar7 = *(int *)(puVar9 + -0x2c);" (assignment_expression "iVar7 = *(int *)(puVar9 + -0x2c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar9 + -0x2c)" (* "*") (cast_expression "(int *)(puVar9 + -0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x2c)" (( "(") (binary_expression "puVar9 + -0x2c" (identifier "puVar9") (+ "+") (number_literal "-0x2c")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar7 != 0) {\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(puVar8 + -0x10) = iVar7;\n    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;\n    __gmp_tmp_reentrant_free();\n  }" ({ "{") (expression_statement "*(int *)(puVar8 + -0x10) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x10)" (* "*") (cast_expression "(int *)(puVar8 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x296c9;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x296c9" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x296c9")) (; ";")) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" (identifier "__gmp_tmp_reentrant_free") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar9 + -0x1c)" (* "*") (cast_expression "(int *)(puVar9 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x1c)" (( "(") (binary_expression "puVar9 + -0x1c" (identifier "puVar9") (+ "+") (number_literal "-0x1c")) () ")")))) (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;\n    FUN_0007ebe0();\n  }" ({ "{") (expression_statement "*(code **)(puVar8 + -4) = __gmpz_fdiv_ui;" (assignment_expression "*(code **)(puVar8 + -4) = __gmpz_fdiv_ui" (pointer_expression "*(code **)(puVar8 + -4)" (* "*") (cast_expression "(code **)(puVar8 + -4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -4)" (( "(") (binary_expression "puVar8 + -4" (identifier "puVar8") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "__gmpz_fdiv_ui")) (; ";")) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" (identifier "FUN_0007ebe0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 quot,type_2 dividend,type_2 divisor)

{
  int var_13;
  type_3 var_2;
  int var_5;
  type_1 p_Var4;
  type_3 var_3;
  type_4 *var_7;
  int var_1;
  type_4 var_4 [4];
  type_2 local_48;
  type_3 var_9;
  type_1 local_40 [4];
  type_5 *var_11;
  type_6 rem;
  
  local_40[0] = quot;
  var_2 = divisor->_mp_size;
  var_13 = *(int *)(var_1 + 0x14);
  var_11 = (type_5 *)0x0;
  var_9 = dividend->_mp_size;
  rem[0]._mp_alloc = ((int)var_2 >> 0x1f ^ var_2) - ((int)var_2 >> 0x1f);
  var_3 = rem[0]._mp_alloc * 4;
  if (var_3 < 0x7f01) {
    var_5 = -(var_3 + 0x1b & 0xfffffff0);
    var_7 = var_4 + var_5;
    rem[0]._mp_d = (type_7 *)((int)local_40 + var_5);
  }
  else {
    local_48 = divisor;
    rem[0]._mp_d = (type_7 *)var_6(&var_11,var_3);
    var_7 = var_4;
    divisor = local_48;
  }
  *(type_2 *)(var_7 + -4) = divisor;
  *(type_2 *)(var_7 + -8) = dividend;
  *(type_8 **)(var_7 + -0xc) = rem;
  *(type_1 *)(var_7 + -0x10) = local_40[0];
  *(type_9 *)(var_7 + -0x14) = 0x29673;
  var_8(*(type_1 *)(var_7 + -0x10),*(type_1 *)(var_7 + -0xc),
                 *(type_2 *)(var_7 + -8),*(type_2 *)(var_7 + -4));
  p_Var4 = local_40[0];
  if (((int)(var_9 ^ var_2) < 0) && (rem[0]._mp_size != 0)) {
    *(type_9 *)(var_7 + -8) = 1;
    *(type_1 *)(var_7 + -0xc) = p_Var4;
    *(type_1 *)(var_7 + -0x10) = p_Var4;
    *(type_9 *)(var_7 + -0x14) = 0x296b6;
    var_10(*(type_1 *)(var_7 + -0x10),*(type_2 *)(var_7 + -0xc),
                  *(type_10 *)(var_7 + -8));
  }
  if (var_11 != (type_5 *)0x0) {
    *(type_5 **)(var_7 + -0x10) = var_11;
    *(type_9 *)(var_7 + -0x14) = 0x296c9;
    var_12(*(type_5 **)(var_7 + -0x10));
  }
  if (var_13 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(type_11 **)(var_7 + -4) = __gmpz_fdiv_ui;
  var_14();
}


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

void MASKED(void)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  uint uVar5;
  undefined1 *puVar6;
  int iVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  int in_GS_OFFSET;
  undefined1 auStack_50 [60];
  undefined4 uStack_14;
  
  puVar9 = &stack0xfffffffc;
  uStack_14 = 0x2960b;
  entry();
  iVar7 = *(int *)(puVar9 + 0x10);
  iVar1 = *(int *)(puVar9 + 0xc);
  *(undefined4 *)(puVar9 + -0x3c) = *(undefined4 *)(puVar9 + 8);
  uVar2 = *(uint *)(iVar7 + 4);
  *(undefined4 *)(puVar9 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);
  uVar3 = *(undefined4 *)(iVar1 + 4);
  *(undefined4 *)(puVar9 + -0x2c) = 0;
  *(undefined4 *)(puVar9 + -0x40) = uVar3;
  iVar4 = ((int)uVar2 >> 0x1f ^ uVar2) - ((int)uVar2 >> 0x1f);
  *(int *)(puVar9 + -0x28) = iVar4;
  uVar5 = iVar4 * 4;
  if (uVar5 < 0x7f01) {
    iVar4 = -(uVar5 + 0x1b & 0xfffffff0);
    puVar8 = auStack_50 + iVar4;
    puVar6 = auStack_50 + iVar4;
  }
  else {
    *(int *)(puVar9 + -0x44) = iVar7;
    puVar6 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar9 + -0x2c,uVar5);
    puVar8 = auStack_50;
    iVar7 = *(int *)(puVar9 + -0x44);
  }
  *(undefined1 **)(puVar9 + -0x20) = puVar6;
  *(int *)(puVar8 + -4) = iVar7;
  *(int *)(puVar8 + -8) = iVar1;
  *(undefined1 **)(puVar8 + -0xc) = puVar9 + -0x28;
  *(undefined4 *)(puVar8 + -0x10) = *(undefined4 *)(puVar9 + -0x3c);
  *(undefined4 *)(puVar8 + -0x14) = 0x29673;
  __gmpz_tdiv_qr();
  if (((int)(*(uint *)(puVar9 + -0x40) ^ uVar2) < 0) && (*(int *)(puVar9 + -0x24) != 0)) {
    uVar3 = *(undefined4 *)(puVar9 + -0x3c);
    *(undefined4 *)(puVar8 + -8) = 1;
    *(undefined4 *)(puVar8 + -0xc) = uVar3;
    *(undefined4 *)(puVar8 + -0x10) = uVar3;
    *(undefined4 *)(puVar8 + -0x14) = 0x296b6;
    __gmpz_sub_ui();
    iVar7 = *(int *)(puVar9 + -0x2c);
  }
  else {
    iVar7 = *(int *)(puVar9 + -0x2c);
  }
  if (iVar7 != 0) {
    *(int *)(puVar8 + -0x10) = iVar7;
    *(undefined4 *)(puVar8 + -0x14) = 0x296c9;
    __gmp_tmp_reentrant_free();
  }
  if (*(int *)(puVar9 + -0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(code **)(puVar8 + -4) = __gmpz_fdiv_ui;
    FUN_0007ebe0();
  }
  return;
}

