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

void __regparm3
mpn_bdiv_qr_wrap(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn)

{
  int iVar1;
  mp_ptr pmVar2;
  mp_size_t mVar3;
  uint size;
  void *pvVar4;
  undefined1 *puVar5;
  int in_GS_OFFSET;
  undefined1 auStack_3c [8];
  mp_ptr local_34;
  mp_ptr local_30 [3];
  tmp_reentrant_t *__tmp_marker;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x79ebd;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  __tmp_marker = (tmp_reentrant_t *)0x0;
  local_34 = rp;
  local_30[0] = qp;
  mVar3 = __gmpn_bdiv_qr_itch(nn,dn);
  size = mVar3 * 4;
  if (size < 0x7f01) {
    iVar1 = -(size + 0x1b & 0xfffffff0);
    puVar5 = auStack_3c + iVar1;
    pvVar4 = (void *)((int)local_30 + iVar1);
  }
  else {
    pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);
    puVar5 = auStack_3c;
  }
  pmVar2 = local_34;
  *(void **)(puVar5 + -8) = pvVar4;
  *(mp_size_t *)(puVar5 + -0xc) = dn;
  *(mp_srcptr *)(puVar5 + -0x10) = dp;
  *(mp_size_t *)(puVar5 + -0x14) = nn;
  *(mp_srcptr *)(puVar5 + -0x18) = np;
  *(mp_ptr *)(puVar5 + -0x1c) = pmVar2;
  *(mp_ptr *)(puVar5 + -0x20) = local_30[0];
  *(undefined4 *)(puVar5 + -0x24) = 0x79f20;
  __gmpn_bdiv_qr(*(mp_ptr *)(puVar5 + -0x20),*(mp_ptr *)(puVar5 + -0x1c),
                 *(mp_srcptr *)(puVar5 + -0x18),*(mp_size_t *)(puVar5 + -0x14),
                 *(mp_srcptr *)(puVar5 + -0x10),*(mp_size_t *)(puVar5 + -0xc),
                 *(mp_ptr *)(puVar5 + -8));
  if (__tmp_marker != (tmp_reentrant_t *)0x0) {
    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;
    *(undefined4 *)(puVar5 + -0x14) = 0x79f69;
    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar5 + -4) = &UNK_00079f73;
  __stack_chk_fail_local();
}



void __regparm3 FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int in_GS_OFFSET;
  undefined4 uVar8;
  undefined1 auStack_40 [44];
  undefined4 uStack_14;
  
  puVar7 = &stack0xfffffffc;
  uStack_14 = 0x79ebd;
  uVar2 = entry();
  *(undefined4 *)(puVar7 + -0x30) = param_2;
  uVar1 = *(undefined4 *)(puVar7 + 0xc);
  *(undefined4 *)(puVar7 + -0x2c) = uVar2;
  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);
  uVar2 = *(undefined4 *)(puVar7 + 0x10);
  uVar8 = *(undefined4 *)(puVar7 + 8);
  *(undefined4 *)(puVar7 + -0x20) = 0;
  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);
  uVar2 = *(undefined4 *)(puVar7 + -0x30);
  uVar4 = iVar3 * 4;
  if (uVar4 < 0x7f01) {
    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);
    puVar6 = auStack_40 + iVar3;
    puVar5 = auStack_40 + iVar3;
  }
  else {
    *(undefined4 *)(puVar7 + -0x30) = uVar2;
    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);
    puVar6 = auStack_40;
    uVar2 = *(undefined4 *)(puVar7 + -0x30);
  }
  *(undefined1 **)(puVar6 + -8) = puVar5;
  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);
  *(undefined4 *)(puVar6 + -0x10) = uVar1;
  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);
  *(undefined4 *)(puVar6 + -0x18) = param_3;
  *(undefined4 *)(puVar6 + -0x1c) = uVar2;
  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);
  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;
  __gmpn_bdiv_qr();
  if (*(int *)(puVar7 + -0x20) != 0) {
    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);
    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;
    __gmp_tmp_reentrant_free();
  }
  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar6 + -4) = &UNK_00079f73;
  FUN_0007ebe0();
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
MOV EDI,ECX
PUSH ESI
PUSH EBX
CALL 0x0001c340
ADD EBX,0x24143
SUB ESP,0x34
MOV dword ptr [EBP + -0x30],EDX
MOV ESI,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x2c],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [EBP + -0x1c],EAX
XOR EAX,EAX
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x20],0x0
CALL 0x0001b8e0
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x30]
SHL EAX,0x2
CMP EAX,0x7f00
JA 0x00079f40
ADD EAX,0x1b
AND EAX,0xfffffff0
SUB ESP,EAX
LEA EAX,[ESP + 0xf]
AND EAX,0xfffffff0
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [EBP + 0x10]
PUSH ESI
PUSH dword ptr [EBP + 0x8]
PUSH EDI
PUSH EDX
PUSH dword ptr [EBP + -0x2c]
CALL 0x0001be30
MOV EAX,dword ptr [EBP + -0x20]
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x00079f60
MOV EAX,dword ptr [EBP + -0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00079f6e
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
MOV dword ptr [EBP + -0x30],EDX
PUSH EAX
LEA EAX,[EBP + -0x20]
PUSH EAX
CALL 0x0001bb00
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x30]
JMP 0x00079f0b
SUB ESP,0xc
PUSH EAX
CALL 0x0001b050
ADD ESP,0x10
JMP 0x00079f2a
CALL 0x0007ebe0
(translation_unit "void __regparm3 FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}\n\n" (function_definition "void __regparm3 FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined1 auStack_40 [44];" type_identifier (array_declarator "auStack_40 [44]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar7 = &stack0xfffffffc;" (assignment_expression "puVar7 = &stack0xfffffffc" identifier = (pointer_expression "&stack0xfffffffc" & identifier)) ;) (expression_statement "uStack_14 = 0x79ebd;" (assignment_expression "uStack_14 = 0x79ebd" identifier = number_literal) ;) (expression_statement "uVar2 = entry();" (assignment_expression "uVar2 = entry()" identifier = (call_expression "entry()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x30) = param_2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x30) = param_2" (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(puVar7 + 0xc);" (assignment_expression "uVar1 = *(undefined4 *)(puVar7 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + 0xc)" * (cast_expression "(undefined4 *)(puVar7 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xc)" ( (binary_expression "puVar7 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x2c) = uVar2" (pointer_expression "*(undefined4 *)(puVar7 + -0x2c)" * (cast_expression "(undefined4 *)(puVar7 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x2c)" ( (binary_expression "puVar7 + -0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar7 + -0x1c)" * (cast_expression "(undefined4 *)(puVar7 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x1c)" ( (binary_expression "puVar7 + -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 "uVar2 = *(undefined4 *)(puVar7 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + 0x10)" * (cast_expression "(undefined4 *)(puVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x10)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = *(undefined4 *)(puVar7 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(puVar7 + 8)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + 8)" * (cast_expression "(undefined4 *)(puVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x20) = 0;" (assignment_expression "*(undefined4 *)(puVar7 + -0x20) = 0" (pointer_expression "*(undefined4 *)(puVar7 + -0x20)" * (cast_expression "(undefined4 *)(puVar7 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x20)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);" (assignment_expression "iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2)" identifier = (call_expression "__gmpn_bdiv_qr_itch(uVar8,uVar2)" identifier (argument_list "(uVar8,uVar2)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar7 + -0x30);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = iVar3 * 4;" (assignment_expression "uVar4 = iVar3 * 4" identifier = (binary_expression "iVar3 * 4" identifier * number_literal)) ;) (if_statement "if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" if (parenthesized_expression "(uVar4 < 0x7f01)" ( (binary_expression "uVar4 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }" { (expression_statement "iVar3 = -(uVar4 + 0x1b & 0xfffffff0);" (assignment_expression "iVar3 = -(uVar4 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(uVar4 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(uVar4 + 0x1b & 0xfffffff0)" ( (binary_expression "uVar4 + 0x1b & 0xfffffff0" (binary_expression "uVar4 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar6 = auStack_40 + iVar3;" (assignment_expression "puVar6 = auStack_40 + iVar3" identifier = (binary_expression "auStack_40 + iVar3" identifier + identifier)) ;) (expression_statement "puVar5 = auStack_40 + iVar3;" (assignment_expression "puVar5 = auStack_40 + iVar3" identifier = (binary_expression "auStack_40 + iVar3" identifier + identifier)) ;) }) (else_clause "else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" else (compound_statement "{\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" { (expression_statement "*(undefined4 *)(puVar7 + -0x30) = uVar2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x30) = uVar2" (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);" (assignment_expression "puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" identifier = (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" identifier (argument_list "(puVar7 + -0x20,uVar4)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) , identifier ))))) ;) (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" identifier = identifier) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar7 + -0x30);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined1 **)(puVar6 + -8) = puVar5;" (assignment_expression "*(undefined1 **)(puVar6 + -8) = puVar5" (pointer_expression "*(undefined1 **)(puVar6 + -8)" * (cast_expression "(undefined1 **)(puVar6 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);" (assignment_expression "*(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10)" (pointer_expression "*(undefined4 *)(puVar6 + -0xc)" * (cast_expression "(undefined4 *)(puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0xc)" ( (binary_expression "puVar6 + -0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + 0x10)" * (cast_expression "(undefined4 *)(puVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x10)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x10) = uVar1;" (assignment_expression "*(undefined4 *)(puVar6 + -0x10) = uVar1" (pointer_expression "*(undefined4 *)(puVar6 + -0x10)" * (cast_expression "(undefined4 *)(puVar6 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x10)" ( (binary_expression "puVar6 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8)" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" * (cast_expression "(undefined4 *)(puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x14)" ( (binary_expression "puVar6 + -0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + 8)" * (cast_expression "(undefined4 *)(puVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x18) = param_3;" (assignment_expression "*(undefined4 *)(puVar6 + -0x18) = param_3" (pointer_expression "*(undefined4 *)(puVar6 + -0x18)" * (cast_expression "(undefined4 *)(puVar6 + -0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x18)" ( (binary_expression "puVar6 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x1c) = uVar2;" (assignment_expression "*(undefined4 *)(puVar6 + -0x1c) = uVar2" (pointer_expression "*(undefined4 *)(puVar6 + -0x1c)" * (cast_expression "(undefined4 *)(puVar6 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x1c)" ( (binary_expression "puVar6 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);" (assignment_expression "*(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c)" (pointer_expression "*(undefined4 *)(puVar6 + -0x20)" * (cast_expression "(undefined4 *)(puVar6 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x20)" ( (binary_expression "puVar6 + -0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + -0x2c)" * (cast_expression "(undefined4 *)(puVar7 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x2c)" ( (binary_expression "puVar7 + -0x2c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x24) = 0x79f20;" (assignment_expression "*(undefined4 *)(puVar6 + -0x24) = 0x79f20" (pointer_expression "*(undefined4 *)(puVar6 + -0x24)" * (cast_expression "(undefined4 *)(puVar6 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x24)" ( (binary_expression "puVar6 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpn_bdiv_qr();" (call_expression "__gmpn_bdiv_qr()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }" if (parenthesized_expression "(*(int *)(puVar7 + -0x20) != 0)" ( (binary_expression "*(int *)(puVar7 + -0x20) != 0" (pointer_expression "*(int *)(puVar7 + -0x20)" * (cast_expression "(int *)(puVar7 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x20)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }" { (expression_statement "*(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);" (assignment_expression "*(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20)" (pointer_expression "*(int *)(puVar6 + -0x10)" * (cast_expression "(int *)(puVar6 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x10)" ( (binary_expression "puVar6 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(int *)(puVar7 + -0x20)" * (cast_expression "(int *)(puVar7 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x20)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = 0x79f69;" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = 0x79f69" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" * (cast_expression "(undefined4 *)(puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x14)" ( (binary_expression "puVar6 + -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 *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + -0x1c)" * (cast_expression "(int *)(puVar7 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x1c)" ( (binary_expression "puVar7 + -0x1c" identifier + number_literal) )))) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined **)(puVar6 + -4) = &UNK_00079f73;" (assignment_expression "*(undefined **)(puVar6 + -4) = &UNK_00079f73" (pointer_expression "*(undefined **)(puVar6 + -4)" * (cast_expression "(undefined **)(puVar6 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_00079f73" & identifier)) ;) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\nmpn_bdiv_qr_wrap(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn)\n\n{\n  int iVar1;\n  mp_ptr pmVar2;\n  mp_size_t mVar3;\n  uint size;\n  void *pvVar4;\n  undefined1 *puVar5;\n  int in_GS_OFFSET;\n  undefined1 auStack_3c [8];\n  mp_ptr local_34;\n  mp_ptr local_30 [3];\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x79ebd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_34 = rp;\n  local_30[0] = qp;\n  mVar3 = __gmpn_bdiv_qr_itch(nn,dn);\n  size = mVar3 * 4;\n  if (size < 0x7f01) {\n    iVar1 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    pvVar4 = (void *)((int)local_30 + iVar1);\n  }\n  else {\n    pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_3c;\n  }\n  pmVar2 = local_34;\n  *(void **)(puVar5 + -8) = pvVar4;\n  *(mp_size_t *)(puVar5 + -0xc) = dn;\n  *(mp_srcptr *)(puVar5 + -0x10) = dp;\n  *(mp_size_t *)(puVar5 + -0x14) = nn;\n  *(mp_srcptr *)(puVar5 + -0x18) = np;\n  *(mp_ptr *)(puVar5 + -0x1c) = pmVar2;\n  *(mp_ptr *)(puVar5 + -0x20) = local_30[0];\n  *(undefined4 *)(puVar5 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr(*(mp_ptr *)(puVar5 + -0x20),*(mp_ptr *)(puVar5 + -0x1c),\n                 *(mp_srcptr *)(puVar5 + -0x18),*(mp_size_t *)(puVar5 + -0x14),\n                 *(mp_srcptr *)(puVar5 + -0x10),*(mp_size_t *)(puVar5 + -0xc),\n                 *(mp_ptr *)(puVar5 + -8));\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar5 + -4) = &UNK_00079f73;\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "void __regparm3\nmpn_bdiv_qr_wrap(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn)\n\n{\n  int iVar1;\n  mp_ptr pmVar2;\n  mp_size_t mVar3;\n  uint size;\n  void *pvVar4;\n  undefined1 *puVar5;\n  int in_GS_OFFSET;\n  undefined1 auStack_3c [8];\n  mp_ptr local_34;\n  mp_ptr local_30 [3];\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x79ebd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_34 = rp;\n  local_30[0] = qp;\n  mVar3 = __gmpn_bdiv_qr_itch(nn,dn);\n  size = mVar3 * 4;\n  if (size < 0x7f01) {\n    iVar1 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    pvVar4 = (void *)((int)local_30 + iVar1);\n  }\n  else {\n    pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_3c;\n  }\n  pmVar2 = local_34;\n  *(void **)(puVar5 + -8) = pvVar4;\n  *(mp_size_t *)(puVar5 + -0xc) = dn;\n  *(mp_srcptr *)(puVar5 + -0x10) = dp;\n  *(mp_size_t *)(puVar5 + -0x14) = nn;\n  *(mp_srcptr *)(puVar5 + -0x18) = np;\n  *(mp_ptr *)(puVar5 + -0x1c) = pmVar2;\n  *(mp_ptr *)(puVar5 + -0x20) = local_30[0];\n  *(undefined4 *)(puVar5 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr(*(mp_ptr *)(puVar5 + -0x20),*(mp_ptr *)(puVar5 + -0x1c),\n                 *(mp_srcptr *)(puVar5 + -0x18),*(mp_size_t *)(puVar5 + -0x14),\n                 *(mp_srcptr *)(puVar5 + -0x10),*(mp_size_t *)(puVar5 + -0xc),\n                 *(mp_ptr *)(puVar5 + -8));\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar5 + -4) = &UNK_00079f73;\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "mpn_bdiv_qr_wrap(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn)" identifier (parameter_list "(mp_ptr qp,mp_ptr rp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn)" ( (parameter_declaration "mp_ptr qp" type_identifier identifier) , (parameter_declaration "mp_ptr rp" type_identifier identifier) , (parameter_declaration "mp_srcptr np" type_identifier identifier) , (parameter_declaration "mp_size_t nn" type_identifier identifier) , (parameter_declaration "mp_srcptr dp" type_identifier identifier) , (parameter_declaration "mp_size_t dn" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  mp_ptr pmVar2;\n  mp_size_t mVar3;\n  uint size;\n  void *pvVar4;\n  undefined1 *puVar5;\n  int in_GS_OFFSET;\n  undefined1 auStack_3c [8];\n  mp_ptr local_34;\n  mp_ptr local_30 [3];\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x79ebd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_34 = rp;\n  local_30[0] = qp;\n  mVar3 = __gmpn_bdiv_qr_itch(nn,dn);\n  size = mVar3 * 4;\n  if (size < 0x7f01) {\n    iVar1 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    pvVar4 = (void *)((int)local_30 + iVar1);\n  }\n  else {\n    pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_3c;\n  }\n  pmVar2 = local_34;\n  *(void **)(puVar5 + -8) = pvVar4;\n  *(mp_size_t *)(puVar5 + -0xc) = dn;\n  *(mp_srcptr *)(puVar5 + -0x10) = dp;\n  *(mp_size_t *)(puVar5 + -0x14) = nn;\n  *(mp_srcptr *)(puVar5 + -0x18) = np;\n  *(mp_ptr *)(puVar5 + -0x1c) = pmVar2;\n  *(mp_ptr *)(puVar5 + -0x20) = local_30[0];\n  *(undefined4 *)(puVar5 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr(*(mp_ptr *)(puVar5 + -0x20),*(mp_ptr *)(puVar5 + -0x1c),\n                 *(mp_srcptr *)(puVar5 + -0x18),*(mp_size_t *)(puVar5 + -0x14),\n                 *(mp_srcptr *)(puVar5 + -0x10),*(mp_size_t *)(puVar5 + -0xc),\n                 *(mp_ptr *)(puVar5 + -8));\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar5 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar5 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar5 + -0x10));\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar5 + -4) = &UNK_00079f73;\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "mp_ptr pmVar2;" type_identifier identifier ;) (declaration "mp_size_t mVar3;" type_identifier identifier ;) (declaration "uint size;" type_identifier identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "mp_ptr local_34;" type_identifier identifier ;) (declaration "mp_ptr local_30 [3];" type_identifier (array_declarator "local_30 [3]" identifier [ number_literal ]) ;) (declaration "tmp_reentrant_t *__tmp_marker;" type_identifier (pointer_declarator "*__tmp_marker" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x79ebd;" (assignment_expression "uStack_14 = 0x79ebd" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (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_34 = rp;" (assignment_expression "local_34 = rp" identifier = identifier) ;) (expression_statement "local_30[0] = qp;" (assignment_expression "local_30[0] = qp" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "mVar3 = __gmpn_bdiv_qr_itch(nn,dn);" (assignment_expression "mVar3 = __gmpn_bdiv_qr_itch(nn,dn)" identifier = (call_expression "__gmpn_bdiv_qr_itch(nn,dn)" identifier (argument_list "(nn,dn)" ( identifier , identifier )))) ;) (expression_statement "size = mVar3 * 4;" (assignment_expression "size = mVar3 * 4" identifier = (binary_expression "mVar3 * 4" identifier * number_literal)) ;) (if_statement "if (size < 0x7f01) {\n    iVar1 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    pvVar4 = (void *)((int)local_30 + iVar1);\n  }\n  else {\n    pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_3c;\n  }" if (parenthesized_expression "(size < 0x7f01)" ( (binary_expression "size < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    iVar1 = -(size + 0x1b & 0xfffffff0);\n    puVar5 = auStack_3c + iVar1;\n    pvVar4 = (void *)((int)local_30 + iVar1);\n  }" { (expression_statement "iVar1 = -(size + 0x1b & 0xfffffff0);" (assignment_expression "iVar1 = -(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_3c + iVar1;" (assignment_expression "puVar5 = auStack_3c + iVar1" identifier = (binary_expression "auStack_3c + iVar1" identifier + identifier)) ;) (expression_statement "pvVar4 = (void *)((int)local_30 + iVar1);" (assignment_expression "pvVar4 = (void *)((int)local_30 + iVar1)" identifier = (cast_expression "(void *)((int)local_30 + iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + iVar1)" ( (binary_expression "(int)local_30 + iVar1" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) (else_clause "else {\n    pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_3c;\n  }" else (compound_statement "{\n    pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);\n    puVar5 = auStack_3c;\n  }" { (expression_statement "pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size);" (assignment_expression "pvVar4 = __gmp_tmp_reentrant_alloc(&__tmp_marker,size)" identifier = (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_3c;" (assignment_expression "puVar5 = auStack_3c" identifier = identifier) ;) }))) (expression_statement "pmVar2 = local_34;" (assignment_expression "pmVar2 = local_34" identifier = identifier) ;) (expression_statement "*(void **)(puVar5 + -8) = pvVar4;" (assignment_expression "*(void **)(puVar5 + -8) = pvVar4" (pointer_expression "*(void **)(puVar5 + -8)" * (cast_expression "(void **)(puVar5 + -8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_size_t *)(puVar5 + -0xc) = dn;" (assignment_expression "*(mp_size_t *)(puVar5 + -0xc) = dn" (pointer_expression "*(mp_size_t *)(puVar5 + -0xc)" * (cast_expression "(mp_size_t *)(puVar5 + -0xc)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_srcptr *)(puVar5 + -0x10) = dp;" (assignment_expression "*(mp_srcptr *)(puVar5 + -0x10) = dp" (pointer_expression "*(mp_srcptr *)(puVar5 + -0x10)" * (cast_expression "(mp_srcptr *)(puVar5 + -0x10)" ( (type_descriptor "mp_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_size_t *)(puVar5 + -0x14) = nn;" (assignment_expression "*(mp_size_t *)(puVar5 + -0x14) = nn" (pointer_expression "*(mp_size_t *)(puVar5 + -0x14)" * (cast_expression "(mp_size_t *)(puVar5 + -0x14)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_srcptr *)(puVar5 + -0x18) = np;" (assignment_expression "*(mp_srcptr *)(puVar5 + -0x18) = np" (pointer_expression "*(mp_srcptr *)(puVar5 + -0x18)" * (cast_expression "(mp_srcptr *)(puVar5 + -0x18)" ( (type_descriptor "mp_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x18)" ( (binary_expression "puVar5 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar5 + -0x1c) = pmVar2;" (assignment_expression "*(mp_ptr *)(puVar5 + -0x1c) = pmVar2" (pointer_expression "*(mp_ptr *)(puVar5 + -0x1c)" * (cast_expression "(mp_ptr *)(puVar5 + -0x1c)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x1c)" ( (binary_expression "puVar5 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar5 + -0x20) = local_30[0];" (assignment_expression "*(mp_ptr *)(puVar5 + -0x20) = local_30[0]" (pointer_expression "*(mp_ptr *)(puVar5 + -0x20)" * (cast_expression "(mp_ptr *)(puVar5 + -0x20)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x20)" ( (binary_expression "puVar5 + -0x20" identifier + number_literal) )))) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(puVar5 + -0x24) = 0x79f20;" (assignment_expression "*(undefined4 *)(puVar5 + -0x24) = 0x79f20" (pointer_expression "*(undefined4 *)(puVar5 + -0x24)" * (cast_expression "(undefined4 *)(puVar5 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x24)" ( (binary_expression "puVar5 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpn_bdiv_qr(*(mp_ptr *)(puVar5 + -0x20),*(mp_ptr *)(puVar5 + -0x1c),\n                 *(mp_srcptr *)(puVar5 + -0x18),*(mp_size_t *)(puVar5 + -0x14),\n                 *(mp_srcptr *)(puVar5 + -0x10),*(mp_size_t *)(puVar5 + -0xc),\n                 *(mp_ptr *)(puVar5 + -8));" (call_expression "__gmpn_bdiv_qr(*(mp_ptr *)(puVar5 + -0x20),*(mp_ptr *)(puVar5 + -0x1c),\n                 *(mp_srcptr *)(puVar5 + -0x18),*(mp_size_t *)(puVar5 + -0x14),\n                 *(mp_srcptr *)(puVar5 + -0x10),*(mp_size_t *)(puVar5 + -0xc),\n                 *(mp_ptr *)(puVar5 + -8))" identifier (argument_list "(*(mp_ptr *)(puVar5 + -0x20),*(mp_ptr *)(puVar5 + -0x1c),\n                 *(mp_srcptr *)(puVar5 + -0x18),*(mp_size_t *)(puVar5 + -0x14),\n                 *(mp_srcptr *)(puVar5 + -0x10),*(mp_size_t *)(puVar5 + -0xc),\n                 *(mp_ptr *)(puVar5 + -8))" ( (pointer_expression "*(mp_ptr *)(puVar5 + -0x20)" * (cast_expression "(mp_ptr *)(puVar5 + -0x20)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x20)" ( (binary_expression "puVar5 + -0x20" identifier + number_literal) )))) , (pointer_expression "*(mp_ptr *)(puVar5 + -0x1c)" * (cast_expression "(mp_ptr *)(puVar5 + -0x1c)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x1c)" ( (binary_expression "puVar5 + -0x1c" identifier + number_literal) )))) , (pointer_expression "*(mp_srcptr *)(puVar5 + -0x18)" * (cast_expression "(mp_srcptr *)(puVar5 + -0x18)" ( (type_descriptor "mp_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x18)" ( (binary_expression "puVar5 + -0x18" identifier + number_literal) )))) , (pointer_expression "*(mp_size_t *)(puVar5 + -0x14)" * (cast_expression "(mp_size_t *)(puVar5 + -0x14)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) , (pointer_expression "*(mp_srcptr *)(puVar5 + -0x10)" * (cast_expression "(mp_srcptr *)(puVar5 + -0x10)" ( (type_descriptor "mp_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(mp_size_t *)(puVar5 + -0xc)" * (cast_expression "(mp_size_t *)(puVar5 + -0xc)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(mp_ptr *)(puVar5 + -8)" * (cast_expression "(mp_ptr *)(puVar5 + -8)" ( (type_descriptor "mp_ptr *" 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) = 0x79f69;\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) = 0x79f69;\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) = 0x79f69;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x79f69" (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 (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined **)(puVar5 + -4) = &UNK_00079f73;" (assignment_expression "*(undefined **)(puVar5 + -4) = &UNK_00079f73" (pointer_expression "*(undefined **)(puVar5 + -4)" * (cast_expression "(undefined **)(puVar5 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_00079f73" & identifier)) ;) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}\n\n" (function_definition "void __regparm3 FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined1 auStack_40 [44];" type_identifier (array_declarator "auStack_40 [44]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "puVar7 = &stack0xfffffffc;" (assignment_expression "puVar7 = &stack0xfffffffc" identifier = (pointer_expression "&stack0xfffffffc" & identifier)) ;) (expression_statement "uStack_14 = 0x79ebd;" (assignment_expression "uStack_14 = 0x79ebd" identifier = number_literal) ;) (expression_statement "uVar2 = entry();" (assignment_expression "uVar2 = entry()" identifier = (call_expression "entry()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x30) = param_2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x30) = param_2" (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(puVar7 + 0xc);" (assignment_expression "uVar1 = *(undefined4 *)(puVar7 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + 0xc)" * (cast_expression "(undefined4 *)(puVar7 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xc)" ( (binary_expression "puVar7 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x2c) = uVar2" (pointer_expression "*(undefined4 *)(puVar7 + -0x2c)" * (cast_expression "(undefined4 *)(puVar7 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x2c)" ( (binary_expression "puVar7 + -0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar7 + -0x1c)" * (cast_expression "(undefined4 *)(puVar7 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x1c)" ( (binary_expression "puVar7 + -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 "uVar2 = *(undefined4 *)(puVar7 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + 0x10)" * (cast_expression "(undefined4 *)(puVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x10)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = *(undefined4 *)(puVar7 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(puVar7 + 8)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + 8)" * (cast_expression "(undefined4 *)(puVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x20) = 0;" (assignment_expression "*(undefined4 *)(puVar7 + -0x20) = 0" (pointer_expression "*(undefined4 *)(puVar7 + -0x20)" * (cast_expression "(undefined4 *)(puVar7 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x20)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);" (assignment_expression "iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2)" identifier = (call_expression "__gmpn_bdiv_qr_itch(uVar8,uVar2)" identifier (argument_list "(uVar8,uVar2)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar7 + -0x30);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = iVar3 * 4;" (assignment_expression "uVar4 = iVar3 * 4" identifier = (binary_expression "iVar3 * 4" identifier * number_literal)) ;) (if_statement "if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" if (parenthesized_expression "(uVar4 < 0x7f01)" ( (binary_expression "uVar4 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }" { (expression_statement "iVar3 = -(uVar4 + 0x1b & 0xfffffff0);" (assignment_expression "iVar3 = -(uVar4 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(uVar4 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(uVar4 + 0x1b & 0xfffffff0)" ( (binary_expression "uVar4 + 0x1b & 0xfffffff0" (binary_expression "uVar4 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar6 = auStack_40 + iVar3;" (assignment_expression "puVar6 = auStack_40 + iVar3" identifier = (binary_expression "auStack_40 + iVar3" identifier + identifier)) ;) (expression_statement "puVar5 = auStack_40 + iVar3;" (assignment_expression "puVar5 = auStack_40 + iVar3" identifier = (binary_expression "auStack_40 + iVar3" identifier + identifier)) ;) }) (else_clause "else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" else (compound_statement "{\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" { (expression_statement "*(undefined4 *)(puVar7 + -0x30) = uVar2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x30) = uVar2" (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);" (assignment_expression "puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" identifier = (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" identifier (argument_list "(puVar7 + -0x20,uVar4)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) , identifier ))))) ;) (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" identifier = identifier) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar7 + -0x30);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + -0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined1 **)(puVar6 + -8) = puVar5;" (assignment_expression "*(undefined1 **)(puVar6 + -8) = puVar5" (pointer_expression "*(undefined1 **)(puVar6 + -8)" * (cast_expression "(undefined1 **)(puVar6 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);" (assignment_expression "*(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10)" (pointer_expression "*(undefined4 *)(puVar6 + -0xc)" * (cast_expression "(undefined4 *)(puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0xc)" ( (binary_expression "puVar6 + -0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + 0x10)" * (cast_expression "(undefined4 *)(puVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x10)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x10) = uVar1;" (assignment_expression "*(undefined4 *)(puVar6 + -0x10) = uVar1" (pointer_expression "*(undefined4 *)(puVar6 + -0x10)" * (cast_expression "(undefined4 *)(puVar6 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x10)" ( (binary_expression "puVar6 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8)" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" * (cast_expression "(undefined4 *)(puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x14)" ( (binary_expression "puVar6 + -0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + 8)" * (cast_expression "(undefined4 *)(puVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x18) = param_3;" (assignment_expression "*(undefined4 *)(puVar6 + -0x18) = param_3" (pointer_expression "*(undefined4 *)(puVar6 + -0x18)" * (cast_expression "(undefined4 *)(puVar6 + -0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x18)" ( (binary_expression "puVar6 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x1c) = uVar2;" (assignment_expression "*(undefined4 *)(puVar6 + -0x1c) = uVar2" (pointer_expression "*(undefined4 *)(puVar6 + -0x1c)" * (cast_expression "(undefined4 *)(puVar6 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x1c)" ( (binary_expression "puVar6 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);" (assignment_expression "*(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c)" (pointer_expression "*(undefined4 *)(puVar6 + -0x20)" * (cast_expression "(undefined4 *)(puVar6 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x20)" ( (binary_expression "puVar6 + -0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + -0x2c)" * (cast_expression "(undefined4 *)(puVar7 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x2c)" ( (binary_expression "puVar7 + -0x2c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x24) = 0x79f20;" (assignment_expression "*(undefined4 *)(puVar6 + -0x24) = 0x79f20" (pointer_expression "*(undefined4 *)(puVar6 + -0x24)" * (cast_expression "(undefined4 *)(puVar6 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x24)" ( (binary_expression "puVar6 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmpn_bdiv_qr();" (call_expression "__gmpn_bdiv_qr()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }" if (parenthesized_expression "(*(int *)(puVar7 + -0x20) != 0)" ( (binary_expression "*(int *)(puVar7 + -0x20) != 0" (pointer_expression "*(int *)(puVar7 + -0x20)" * (cast_expression "(int *)(puVar7 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x20)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }" { (expression_statement "*(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);" (assignment_expression "*(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20)" (pointer_expression "*(int *)(puVar6 + -0x10)" * (cast_expression "(int *)(puVar6 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x10)" ( (binary_expression "puVar6 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(int *)(puVar7 + -0x20)" * (cast_expression "(int *)(puVar7 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x20)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = 0x79f69;" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = 0x79f69" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" * (cast_expression "(undefined4 *)(puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x14)" ( (binary_expression "puVar6 + -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 *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + -0x1c)" * (cast_expression "(int *)(puVar7 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x1c)" ( (binary_expression "puVar7 + -0x1c" identifier + number_literal) )))) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined **)(puVar6 + -4) = &UNK_00079f73;" (assignment_expression "*(undefined **)(puVar6 + -4) = &UNK_00079f73" (pointer_expression "*(undefined **)(puVar6 + -4)" * (cast_expression "(undefined **)(puVar6 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_00079f73" & identifier)) ;) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 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) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00079eb0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00079eb0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int in_GS_OFFSET;\n  undefined4 uVar8;\n  undefined1 auStack_40 [44];\n  undefined4 uStack_14;\n  \n  puVar7 = &stack0xfffffffc;\n  uStack_14 = 0x79ebd;\n  uVar2 = entry();\n  *(undefined4 *)(puVar7 + -0x30) = param_2;\n  uVar1 = *(undefined4 *)(puVar7 + 0xc);\n  *(undefined4 *)(puVar7 + -0x2c) = uVar2;\n  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar2 = *(undefined4 *)(puVar7 + 0x10);\n  uVar8 = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar7 + -0x20) = 0;\n  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);\n  uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  uVar4 = iVar3 * 4;\n  if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }\n  *(undefined1 **)(puVar6 + -8) = puVar5;\n  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);\n  *(undefined4 *)(puVar6 + -0x10) = uVar1;\n  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);\n  *(undefined4 *)(puVar6 + -0x18) = param_3;\n  *(undefined4 *)(puVar6 + -0x1c) = uVar2;\n  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);\n  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;\n  __gmpn_bdiv_qr();\n  if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }\n  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_00079f73;\n  FUN_0007ebe0();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined1 auStack_40 [44];" (type_identifier "undefined1") (array_declarator "auStack_40 [44]" (identifier "auStack_40") ([ "[") (number_literal "44") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "puVar7 = &stack0xfffffffc;" (assignment_expression "puVar7 = &stack0xfffffffc" (identifier "puVar7") (= "=") (pointer_expression "&stack0xfffffffc" (& "&") (identifier "stack0xfffffffc"))) (; ";")) (expression_statement "uStack_14 = 0x79ebd;" (assignment_expression "uStack_14 = 0x79ebd" (identifier "uStack_14") (= "=") (number_literal "0x79ebd")) (; ";")) (expression_statement "uVar2 = entry();" (assignment_expression "uVar2 = entry()" (identifier "uVar2") (= "=") (call_expression "entry()" (identifier "entry") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -0x30) = param_2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x30) = param_2" (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x30)" (( "(") (binary_expression "puVar7 + -0x30" (identifier "puVar7") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(puVar7 + 0xc);" (assignment_expression "uVar1 = *(undefined4 *)(puVar7 + 0xc)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(puVar7 + 0xc)" (* "*") (cast_expression "(undefined4 *)(puVar7 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xc)" (( "(") (binary_expression "puVar7 + 0xc" (identifier "puVar7") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x2c) = uVar2" (pointer_expression "*(undefined4 *)(puVar7 + -0x2c)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x2c)" (( "(") (binary_expression "puVar7 + -0x2c" (identifier "puVar7") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "*(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(undefined4 *)(puVar7 + -0x1c)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x1c)" (( "(") (binary_expression "puVar7 + -0x1c" (identifier "puVar7") (+ "+") (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 "uVar2 = *(undefined4 *)(puVar7 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + 0x10)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(puVar7 + 0x10)" (* "*") (cast_expression "(undefined4 *)(puVar7 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x10)" (( "(") (binary_expression "puVar7 + 0x10" (identifier "puVar7") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar8 = *(undefined4 *)(puVar7 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(puVar7 + 8)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(puVar7 + 8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 8)" (( "(") (binary_expression "puVar7 + 8" (identifier "puVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -0x20) = 0;" (assignment_expression "*(undefined4 *)(puVar7 + -0x20) = 0" (pointer_expression "*(undefined4 *)(puVar7 + -0x20)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x20)" (( "(") (binary_expression "puVar7 + -0x20" (identifier "puVar7") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);" (assignment_expression "iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2)" (identifier "iVar3") (= "=") (call_expression "__gmpn_bdiv_qr_itch(uVar8,uVar2)" (identifier "__gmpn_bdiv_qr_itch") (argument_list "(uVar8,uVar2)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(puVar7 + -0x30);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + -0x30)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x30)" (( "(") (binary_expression "puVar7 + -0x30" (identifier "puVar7") (+ "+") (number_literal "-0x30")) () ")"))))) (; ";")) (expression_statement "uVar4 = iVar3 * 4;" (assignment_expression "uVar4 = iVar3 * 4" (identifier "uVar4") (= "=") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) (; ";")) (if_statement "if (uVar4 < 0x7f01) {\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }\n  else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" (if "if") (parenthesized_expression "(uVar4 < 0x7f01)" (( "(") (binary_expression "uVar4 < 0x7f01" (identifier "uVar4") (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);\n    puVar6 = auStack_40 + iVar3;\n    puVar5 = auStack_40 + iVar3;\n  }" ({ "{") (expression_statement "iVar3 = -(uVar4 + 0x1b & 0xfffffff0);" (assignment_expression "iVar3 = -(uVar4 + 0x1b & 0xfffffff0)" (identifier "iVar3") (= "=") (unary_expression "-(uVar4 + 0x1b & 0xfffffff0)" (- "-") (parenthesized_expression "(uVar4 + 0x1b & 0xfffffff0)" (( "(") (binary_expression "uVar4 + 0x1b & 0xfffffff0" (binary_expression "uVar4 + 0x1b" (identifier "uVar4") (+ "+") (number_literal "0x1b")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "puVar6 = auStack_40 + iVar3;" (assignment_expression "puVar6 = auStack_40 + iVar3" (identifier "puVar6") (= "=") (binary_expression "auStack_40 + iVar3" (identifier "auStack_40") (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "puVar5 = auStack_40 + iVar3;" (assignment_expression "puVar5 = auStack_40 + iVar3" (identifier "puVar5") (= "=") (binary_expression "auStack_40 + iVar3" (identifier "auStack_40") (+ "+") (identifier "iVar3"))) (; ";")) (} "}")) (else_clause "else {\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(puVar7 + -0x30) = uVar2;\n    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);\n    puVar6 = auStack_40;\n    uVar2 = *(undefined4 *)(puVar7 + -0x30);\n  }" ({ "{") (expression_statement "*(undefined4 *)(puVar7 + -0x30) = uVar2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x30) = uVar2" (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x30)" (( "(") (binary_expression "puVar7 + -0x30" (identifier "puVar7") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);" (assignment_expression "puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" (identifier "puVar5") (= "=") (cast_expression "(undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4)" (identifier "__gmp_tmp_reentrant_alloc") (argument_list "(puVar7 + -0x20,uVar4)" (( "(") (binary_expression "puVar7 + -0x20" (identifier "puVar7") (+ "+") (number_literal "-0x20")) (, ",") (identifier "uVar4") () ")"))))) (; ";")) (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" (identifier "puVar6") (= "=") (identifier "auStack_40")) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(puVar7 + -0x30);" (assignment_expression "uVar2 = *(undefined4 *)(puVar7 + -0x30)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x30)" (( "(") (binary_expression "puVar7 + -0x30" (identifier "puVar7") (+ "+") (number_literal "-0x30")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(undefined1 **)(puVar6 + -8) = puVar5;" (assignment_expression "*(undefined1 **)(puVar6 + -8) = puVar5" (pointer_expression "*(undefined1 **)(puVar6 + -8)" (* "*") (cast_expression "(undefined1 **)(puVar6 + -8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + -8)" (( "(") (binary_expression "puVar6 + -8" (identifier "puVar6") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);" (assignment_expression "*(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10)" (pointer_expression "*(undefined4 *)(puVar6 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0xc)" (( "(") (binary_expression "puVar6 + -0xc" (identifier "puVar6") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar7 + 0x10)" (* "*") (cast_expression "(undefined4 *)(puVar7 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x10)" (( "(") (binary_expression "puVar7 + 0x10" (identifier "puVar7") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x10) = uVar1;" (assignment_expression "*(undefined4 *)(puVar6 + -0x10) = uVar1" (pointer_expression "*(undefined4 *)(puVar6 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x10)" (( "(") (binary_expression "puVar6 + -0x10" (identifier "puVar6") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8)" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x14)" (( "(") (binary_expression "puVar6 + -0x14" (identifier "puVar6") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar7 + 8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 8)" (( "(") (binary_expression "puVar7 + 8" (identifier "puVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x18) = param_3;" (assignment_expression "*(undefined4 *)(puVar6 + -0x18) = param_3" (pointer_expression "*(undefined4 *)(puVar6 + -0x18)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x18)" (( "(") (binary_expression "puVar6 + -0x18" (identifier "puVar6") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x1c) = uVar2;" (assignment_expression "*(undefined4 *)(puVar6 + -0x1c) = uVar2" (pointer_expression "*(undefined4 *)(puVar6 + -0x1c)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x1c)" (( "(") (binary_expression "puVar6 + -0x1c" (identifier "puVar6") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);" (assignment_expression "*(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c)" (pointer_expression "*(undefined4 *)(puVar6 + -0x20)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x20)" (( "(") (binary_expression "puVar6 + -0x20" (identifier "puVar6") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar7 + -0x2c)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x2c)" (( "(") (binary_expression "puVar7 + -0x2c" (identifier "puVar7") (+ "+") (number_literal "-0x2c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x24) = 0x79f20;" (assignment_expression "*(undefined4 *)(puVar6 + -0x24) = 0x79f20" (pointer_expression "*(undefined4 *)(puVar6 + -0x24)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x24)" (( "(") (binary_expression "puVar6 + -0x24" (identifier "puVar6") (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (number_literal "0x79f20")) (; ";")) (expression_statement "__gmpn_bdiv_qr();" (call_expression "__gmpn_bdiv_qr()" (identifier "__gmpn_bdiv_qr") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(puVar7 + -0x20) != 0) {\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar7 + -0x20) != 0)" (( "(") (binary_expression "*(int *)(puVar7 + -0x20) != 0" (pointer_expression "*(int *)(puVar7 + -0x20)" (* "*") (cast_expression "(int *)(puVar7 + -0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x20)" (( "(") (binary_expression "puVar7 + -0x20" (identifier "puVar7") (+ "+") (number_literal "-0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);\n    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;\n    __gmp_tmp_reentrant_free();\n  }" ({ "{") (expression_statement "*(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);" (assignment_expression "*(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20)" (pointer_expression "*(int *)(puVar6 + -0x10)" (* "*") (cast_expression "(int *)(puVar6 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x10)" (( "(") (binary_expression "puVar6 + -0x10" (identifier "puVar6") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "*(int *)(puVar7 + -0x20)" (* "*") (cast_expression "(int *)(puVar7 + -0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x20)" (( "(") (binary_expression "puVar7 + -0x20" (identifier "puVar7") (+ "+") (number_literal "-0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = 0x79f69;" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = 0x79f69" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x14)" (( "(") (binary_expression "puVar6 + -0x14" (identifier "puVar6") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x79f69")) (; ";")) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" (identifier "__gmp_tmp_reentrant_free") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + -0x1c)" (* "*") (cast_expression "(int *)(puVar7 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x1c)" (( "(") (binary_expression "puVar7 + -0x1c" (identifier "puVar7") (+ "+") (number_literal "-0x1c")) () ")")))) (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined **)(puVar6 + -4) = &UNK_00079f73;" (assignment_expression "*(undefined **)(puVar6 + -4) = &UNK_00079f73" (pointer_expression "*(undefined **)(puVar6 + -4)" (* "*") (cast_expression "(undefined **)(puVar6 + -4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + -4)" (( "(") (binary_expression "puVar6 + -4" (identifier "puVar6") (+ "+") (number_literal "-4")) () ")")))) (= "=") (pointer_expression "&UNK_00079f73" (& "&") (identifier "UNK_00079f73"))) (; ";")) (expression_statement "FUN_0007ebe0();" (call_expression "FUN_0007ebe0()" (identifier "FUN_0007ebe0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void __regparm3
function_1(type_1 qp,type_1 rp,type_2 np,type_3 nn,type_2 dp,type_3 dn)

{
  int var_6;
  type_1 pmVar2;
  type_3 var_3;
  type_4 var_4;
  void *pvVar4;
  type_5 *var_8;
  int var_1;
  type_5 var_5 [8];
  type_1 local_34;
  type_1 local_30 [3];
  type_6 *var_10;
  int var_12;
  type_7 uStack_14;
  
  uStack_14 = 0x79ebd;
  var_12 = *(int *)(var_1 + 0x14);
  var_10 = (type_6 *)0x0;
  local_34 = rp;
  local_30[0] = qp;
  var_3 = var_2(nn,dn);
  var_4 = var_3 * 4;
  if (var_4 < 0x7f01) {
    var_6 = -(var_4 + 0x1b & 0xfffffff0);
    var_8 = var_5 + var_6;
    pvVar4 = (void *)((int)local_30 + var_6);
  }
  else {
    pvVar4 = var_7(&var_10,var_4);
    var_8 = var_5;
  }
  pmVar2 = local_34;
  *(void **)(var_8 + -8) = pvVar4;
  *(type_3 *)(var_8 + -0xc) = dn;
  *(type_2 *)(var_8 + -0x10) = dp;
  *(type_3 *)(var_8 + -0x14) = nn;
  *(type_2 *)(var_8 + -0x18) = np;
  *(type_1 *)(var_8 + -0x1c) = pmVar2;
  *(type_1 *)(var_8 + -0x20) = local_30[0];
  *(type_7 *)(var_8 + -0x24) = 0x79f20;
  var_9(*(type_1 *)(var_8 + -0x20),*(type_1 *)(var_8 + -0x1c),
                 *(type_2 *)(var_8 + -0x18),*(type_3 *)(var_8 + -0x14),
                 *(type_2 *)(var_8 + -0x10),*(type_3 *)(var_8 + -0xc),
                 *(type_1 *)(var_8 + -8));
  if (var_10 != (type_6 *)0x0) {
    *(type_6 **)(var_8 + -0x10) = var_10;
    *(type_7 *)(var_8 + -0x14) = 0x79f69;
    var_11(*(type_6 **)(var_8 + -0x10));
  }
  if (var_12 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(type_8 **)(var_8 + -4) = &UNK_00079f73;
  var_13();
}


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

void __regparm3 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int in_GS_OFFSET;
  undefined4 uVar8;
  undefined1 auStack_40 [44];
  undefined4 uStack_14;
  
  puVar7 = &stack0xfffffffc;
  uStack_14 = 0x79ebd;
  uVar2 = entry();
  *(undefined4 *)(puVar7 + -0x30) = param_2;
  uVar1 = *(undefined4 *)(puVar7 + 0xc);
  *(undefined4 *)(puVar7 + -0x2c) = uVar2;
  *(undefined4 *)(puVar7 + -0x1c) = *(undefined4 *)(in_GS_OFFSET + 0x14);
  uVar2 = *(undefined4 *)(puVar7 + 0x10);
  uVar8 = *(undefined4 *)(puVar7 + 8);
  *(undefined4 *)(puVar7 + -0x20) = 0;
  iVar3 = __gmpn_bdiv_qr_itch(uVar8,uVar2);
  uVar2 = *(undefined4 *)(puVar7 + -0x30);
  uVar4 = iVar3 * 4;
  if (uVar4 < 0x7f01) {
    iVar3 = -(uVar4 + 0x1b & 0xfffffff0);
    puVar6 = auStack_40 + iVar3;
    puVar5 = auStack_40 + iVar3;
  }
  else {
    *(undefined4 *)(puVar7 + -0x30) = uVar2;
    puVar5 = (undefined1 *)__gmp_tmp_reentrant_alloc(puVar7 + -0x20,uVar4);
    puVar6 = auStack_40;
    uVar2 = *(undefined4 *)(puVar7 + -0x30);
  }
  *(undefined1 **)(puVar6 + -8) = puVar5;
  *(undefined4 *)(puVar6 + -0xc) = *(undefined4 *)(puVar7 + 0x10);
  *(undefined4 *)(puVar6 + -0x10) = uVar1;
  *(undefined4 *)(puVar6 + -0x14) = *(undefined4 *)(puVar7 + 8);
  *(undefined4 *)(puVar6 + -0x18) = param_3;
  *(undefined4 *)(puVar6 + -0x1c) = uVar2;
  *(undefined4 *)(puVar6 + -0x20) = *(undefined4 *)(puVar7 + -0x2c);
  *(undefined4 *)(puVar6 + -0x24) = 0x79f20;
  __gmpn_bdiv_qr();
  if (*(int *)(puVar7 + -0x20) != 0) {
    *(int *)(puVar6 + -0x10) = *(int *)(puVar7 + -0x20);
    *(undefined4 *)(puVar6 + -0x14) = 0x79f69;
    __gmp_tmp_reentrant_free();
  }
  if (*(int *)(puVar7 + -0x1c) == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar6 + -4) = &UNK_00079f73;
  FUN_0007ebe0();
}

