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

void __gmpn_bdiv_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr tp)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  
  if (dn < 0xb4) {
    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);
    uVar1 = *dp;
    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];
    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;
    __gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);
    return;
  }
  if (dn < 2000) {
    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);
    uVar1 = *dp;
    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];
    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;
    __gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);
    return;
  }
  __gmpn_mu_bdiv_q(qp,np,nn,dp,dn,tp);
  return;
}



void __regparm2
__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
             uint *param_5,int param_6,undefined4 param_7)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  int unaff_EBX;
  undefined4 unaff_retaddr;
  
  entry(param_2,0x75c39);
  if (param_6 < 0xb4) {
    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);
    uVar1 = *param_5;
    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));
    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;
    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,
                        uVar1 * iVar2 * iVar2 + iVar2 * -2);
    return;
  }
  if (param_6 < 2000) {
    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);
    uVar1 = *param_5;
    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));
    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;
    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,
                        uVar1 * iVar2 * iVar2 + iVar2 * -2);
    return;
  }
  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c340
ADD EBX,0x283c7
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESP + 0x24]
MOV EBP,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x34]
CMP ESI,0xb3
JG 0x00075cc0
SUB ESP,0x4
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xfffffd94]
PUSH EDI
CALL dword ptr [EAX + 0x28]
MOV EDX,dword ptr [EBP]
MOV ECX,dword ptr [EBX + 0xfffffec8]
ADD ESP,0x8
MOV EAX,EDX
SHR EAX,0x1
AND EAX,0x7f
MOVZX ECX,byte ptr [ECX + EAX*0x1]
LEA EAX,[ECX + ECX*0x1]
IMUL ECX,ECX
IMUL ECX,EDX
SUB EAX,ECX
MOV ECX,EAX
IMUL ECX,EAX
ADD EAX,EAX
IMUL EDX,ECX
SUB EDX,EAX
PUSH EDX
PUSH ESI
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
PUSH EDI
PUSH dword ptr [ESP + 0x3c]
CALL 0x0001b5c0
ADD ESP,0x20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ESI,0x7cf
JG 0x00075d28
SUB ESP,0x4
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xfffffd94]
PUSH EDI
CALL dword ptr [EAX + 0x28]
MOV EDX,dword ptr [EBP]
MOV ECX,dword ptr [EBX + 0xfffffec8]
ADD ESP,0x8
MOV EAX,EDX
SHR EAX,0x1
AND EAX,0x7f
MOVZX ECX,byte ptr [ECX + EAX*0x1]
LEA EAX,[ECX + ECX*0x1]
IMUL ECX,ECX
IMUL ECX,EDX
SUB EAX,ECX
MOV ECX,EAX
IMUL ECX,EAX
ADD EAX,EAX
IMUL EDX,ECX
SUB EDX,EAX
PUSH EDX
PUSH ESI
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
PUSH EDI
PUSH dword ptr [ESP + 0x3c]
CALL 0x0001bd00
ADD ESP,0x20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH EDI
PUSH ESI
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
PUSH dword ptr [ESP + 0x3c]
CALL 0x0001c230
ADD ESP,0x20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm2\n__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}\n\n" (function_definition "void __regparm2\n__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x75c39);" (call_expression "entry(param_2,0x75c39)" identifier (argument_list "(param_2,0x75c39)" ( identifier , number_literal ))) ;) (if_statement "if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" if (parenthesized_expression "(param_6 < 0xb4)" ( (binary_expression "param_6 < 0xb4" identifier < number_literal) )) (compound_statement "{\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" { (expression_statement "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);" (call_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4)" (parenthesized_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (pointer_expression "*(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (cast_expression "(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (binary_expression "*(int *)(unaff_EBX + 0x2815b) + 0x28" (pointer_expression "*(int *)(unaff_EBX + 0x2815b)" * (cast_expression "(int *)(unaff_EBX + 0x2815b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2815b)" ( (binary_expression "unaff_EBX + 0x2815b" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_7,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar1 = *param_5;" (assignment_expression "uVar1 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" identifier = (binary_expression "(uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (binary_expression "*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f)" (pointer_expression "*(int *)(unaff_EBX + 0x2828f)" * (cast_expression "(int *)(unaff_EBX + 0x2828f)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2828f)" ( (binary_expression "unaff_EBX + 0x2828f" identifier + number_literal) )))) + (parenthesized_expression "(uVar1 >> 1 & 0x7f)" ( (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" identifier = (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" identifier * number_literal) - (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" identifier * identifier) * identifier))) ;) (expression_statement "__gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" identifier (argument_list "(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" identifier * identifier) * identifier) + (binary_expression "iVar2 * -2" identifier * number_literal)) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" if (parenthesized_expression "(param_6 < 2000)" ( (binary_expression "param_6 < 2000" identifier < number_literal) )) (compound_statement "{\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" { (expression_statement "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);" (call_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4)" (parenthesized_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (pointer_expression "*(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (cast_expression "(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (binary_expression "*(int *)(unaff_EBX + 0x2815b) + 0x28" (pointer_expression "*(int *)(unaff_EBX + 0x2815b)" * (cast_expression "(int *)(unaff_EBX + 0x2815b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2815b)" ( (binary_expression "unaff_EBX + 0x2815b" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_7,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar1 = *param_5;" (assignment_expression "uVar1 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" identifier = (binary_expression "(uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (binary_expression "*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f)" (pointer_expression "*(int *)(unaff_EBX + 0x2828f)" * (cast_expression "(int *)(unaff_EBX + 0x2828f)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2828f)" ( (binary_expression "unaff_EBX + 0x2828f" identifier + number_literal) )))) + (parenthesized_expression "(uVar1 >> 1 & 0x7f)" ( (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" identifier = (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" identifier * number_literal) - (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" identifier * identifier) * identifier))) ;) (expression_statement "__gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" identifier (argument_list "(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" identifier * identifier) * identifier) + (binary_expression "iVar2 * -2" identifier * number_literal)) ))) ;) (return_statement "return;" return ;) })) (expression_statement "__gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);" (call_expression "__gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7)" identifier (argument_list "(unaff_retaddr,param_3,param_4,param_5,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid __gmpn_bdiv_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr tp)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (dn < 0xb4) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (dn < 2000) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(qp,np,nn,dp,dn,tp);\n  return;\n}\n\n" comment comment (function_definition "void __gmpn_bdiv_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr tp)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (dn < 0xb4) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (dn < 2000) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(qp,np,nn,dp,dn,tp);\n  return;\n}" primitive_type (function_declarator "__gmpn_bdiv_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr tp)" identifier (parameter_list "(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr tp)" ( (parameter_declaration "mp_ptr qp" 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) , (parameter_declaration "mp_ptr tp" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (dn < 0xb4) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (dn < 2000) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(qp,np,nn,dp,dn,tp);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (dn < 0xb4) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" if (parenthesized_expression "(dn < 0xb4)" ( (binary_expression "dn < 0xb4" identifier < number_literal) )) (compound_statement "{\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" { (expression_statement "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);" (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x28" identifier + number_literal) ))))) )) (argument_list "(tp,np,nn)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar1 = *dp;" (assignment_expression "uVar1 = *dp" identifier = (pointer_expression "*dp" * identifier)) ;) (expression_statement "uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];" (assignment_expression "uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" identifier = (cast_expression "(uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" identifier [ (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" identifier >> number_literal) & number_literal) ])))) ;) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" identifier = (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" identifier * number_literal) - (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" identifier * identifier) * identifier))) ;) (expression_statement "__gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_sbpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2)" identifier (argument_list "(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" identifier * identifier) * identifier) + (binary_expression "iVar2 * -2" identifier * number_literal)) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (dn < 2000) {\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" if (parenthesized_expression "(dn < 2000)" ( (binary_expression "dn < 2000" identifier < number_literal) )) (compound_statement "{\n    (**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);\n    uVar1 = *dp;\n    uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" { (expression_statement "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn);" (call_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))(tp,np,nn)" (parenthesized_expression "(**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28))" ( (pointer_expression "**(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (pointer_expression "*(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" * (cast_expression "(code **)(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___gmpn_cpuvec_0009dd94 + 0x28)" ( (binary_expression "PTR___gmpn_cpuvec_0009dd94 + 0x28" identifier + number_literal) ))))) )) (argument_list "(tp,np,nn)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar1 = *dp;" (assignment_expression "uVar1 = *dp" identifier = (pointer_expression "*dp" * identifier)) ;) (expression_statement "uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f];" (assignment_expression "uVar3 = (uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" identifier = (cast_expression "(uint)(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmp_binvert_limb_table_0009dec8[uVar1 >> 1 & 0x7f]" identifier [ (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" identifier >> number_literal) & number_literal) ])))) ;) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" identifier = (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" identifier * number_literal) - (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" identifier * identifier) * identifier))) ;) (expression_statement "__gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_dcpi1_bdiv_q(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2)" identifier (argument_list "(qp,tp,nn,dp,dn,uVar1 * iVar2 * iVar2 + iVar2 * -2)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" identifier * identifier) * identifier) + (binary_expression "iVar2 * -2" identifier * number_literal)) ))) ;) (return_statement "return;" return ;) })) (expression_statement "__gmpn_mu_bdiv_q(qp,np,nn,dp,dn,tp);" (call_expression "__gmpn_mu_bdiv_q(qp,np,nn,dp,dn,tp)" identifier (argument_list "(qp,np,nn,dp,dn,tp)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2\n__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}\n\n" (function_definition "void __regparm2\n__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x75c39);" (call_expression "entry(param_2,0x75c39)" identifier (argument_list "(param_2,0x75c39)" ( identifier , number_literal ))) ;) (if_statement "if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" if (parenthesized_expression "(param_6 < 0xb4)" ( (binary_expression "param_6 < 0xb4" identifier < number_literal) )) (compound_statement "{\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" { (expression_statement "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);" (call_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4)" (parenthesized_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (pointer_expression "*(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (cast_expression "(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (binary_expression "*(int *)(unaff_EBX + 0x2815b) + 0x28" (pointer_expression "*(int *)(unaff_EBX + 0x2815b)" * (cast_expression "(int *)(unaff_EBX + 0x2815b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2815b)" ( (binary_expression "unaff_EBX + 0x2815b" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_7,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar1 = *param_5;" (assignment_expression "uVar1 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" identifier = (binary_expression "(uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (binary_expression "*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f)" (pointer_expression "*(int *)(unaff_EBX + 0x2828f)" * (cast_expression "(int *)(unaff_EBX + 0x2828f)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2828f)" ( (binary_expression "unaff_EBX + 0x2828f" identifier + number_literal) )))) + (parenthesized_expression "(uVar1 >> 1 & 0x7f)" ( (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" identifier = (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" identifier * number_literal) - (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" identifier * identifier) * identifier))) ;) (expression_statement "__gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" identifier (argument_list "(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" identifier * identifier) * identifier) + (binary_expression "iVar2 * -2" identifier * number_literal)) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" if (parenthesized_expression "(param_6 < 2000)" ( (binary_expression "param_6 < 2000" identifier < number_literal) )) (compound_statement "{\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" { (expression_statement "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);" (call_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4)" (parenthesized_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (pointer_expression "*(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" * (cast_expression "(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2815b) + 0x28)" ( (binary_expression "*(int *)(unaff_EBX + 0x2815b) + 0x28" (pointer_expression "*(int *)(unaff_EBX + 0x2815b)" * (cast_expression "(int *)(unaff_EBX + 0x2815b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2815b)" ( (binary_expression "unaff_EBX + 0x2815b" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_7,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar1 = *param_5;" (assignment_expression "uVar1 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" identifier = (binary_expression "(uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" ( (binary_expression "*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f)" (pointer_expression "*(int *)(unaff_EBX + 0x2828f)" * (cast_expression "(int *)(unaff_EBX + 0x2828f)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x2828f)" ( (binary_expression "unaff_EBX + 0x2828f" identifier + number_literal) )))) + (parenthesized_expression "(uVar1 >> 1 & 0x7f)" ( (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" identifier = (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" identifier * number_literal) - (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" identifier * identifier) * identifier))) ;) (expression_statement "__gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" identifier (argument_list "(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" identifier * identifier) * identifier) + (binary_expression "iVar2 * -2" identifier * number_literal)) ))) ;) (return_statement "return;" return ;) })) (expression_statement "__gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);" (call_expression "__gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7)" identifier (argument_list "(unaff_retaddr,param_3,param_4,param_5,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * 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 IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) - (binary_expression (binary_expression IDENT * IDENT) * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , (binary_expression (binary_expression (binary_expression IDENT * IDENT) * IDENT) + (binary_expression IDENT * LIT)) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) - (binary_expression (binary_expression IDENT * IDENT) * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , (binary_expression (binary_expression (binary_expression IDENT * IDENT) * IDENT) + (binary_expression IDENT * LIT)) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2\n__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "__gmpn_bdiv_q(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)" (identifier "__gmpn_bdiv_q") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             uint *param_5,int param_6,undefined4 param_7)" (( "(") (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")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "uint *param_5" (type_identifier "uint") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  int unaff_EBX;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x75c39);\n  if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }\n  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x75c39);" (call_expression "entry(param_2,0x75c39)" (identifier "entry") (argument_list "(param_2,0x75c39)" (( "(") (identifier "param_2") (, ",") (number_literal "0x75c39") () ")"))) (; ";")) (if_statement "if (param_6 < 0xb4) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_6 < 0xb4)" (( "(") (binary_expression "param_6 < 0xb4" (identifier "param_6") (< "<") (number_literal "0xb4")) () ")")) (compound_statement "{\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);" (call_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4)" (parenthesized_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))" (( "(") (pointer_expression "**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (* "*") (pointer_expression "*(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (* "*") (cast_expression "(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (( "(") (binary_expression "*(int *)(unaff_EBX + 0x2815b) + 0x28" (pointer_expression "*(int *)(unaff_EBX + 0x2815b)" (* "*") (cast_expression "(int *)(unaff_EBX + 0x2815b)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBX + 0x2815b)" (( "(") (binary_expression "unaff_EBX + 0x2815b" (identifier "unaff_EBX") (+ "+") (number_literal "0x2815b")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(param_7,param_3,param_4)" (( "(") (identifier "param_7") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "uVar1 = *param_5;" (assignment_expression "uVar1 = *param_5" (identifier "uVar1") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (identifier "uVar3") (= "=") (binary_expression "(uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (( "(") (binary_expression "*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f)" (pointer_expression "*(int *)(unaff_EBX + 0x2828f)" (* "*") (cast_expression "(int *)(unaff_EBX + 0x2828f)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBX + 0x2828f)" (( "(") (binary_expression "unaff_EBX + 0x2828f" (identifier "unaff_EBX") (+ "+") (number_literal "0x2828f")) () ")")))) (+ "+") (parenthesized_expression "(uVar1 >> 1 & 0x7f)" (( "(") (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" (identifier "uVar1") (>> ">>") (number_literal "1")) (& "&") (number_literal "0x7f")) () ")"))) () ")"))))) (; ";")) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" (identifier "iVar2") (= "=") (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" (identifier "uVar3") (* "*") (number_literal "2")) (- "-") (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" (identifier "uVar3") (* "*") (identifier "uVar3")) (* "*") (identifier "uVar1")))) (; ";")) (expression_statement "__gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" (identifier "__gmpn_sbpi1_bdiv_q") (argument_list "(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_7") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" (identifier "uVar1") (* "*") (identifier "iVar2")) (* "*") (identifier "iVar2")) (+ "+") (binary_expression "iVar2 * -2" (identifier "iVar2") (* "*") (number_literal "-2"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_6 < 2000) {\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_6 < 2000)" (( "(") (binary_expression "param_6 < 2000" (identifier "param_6") (< "<") (number_literal "2000")) () ")")) (compound_statement "{\n    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);\n    uVar1 = *param_5;\n    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));\n    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;\n    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);" (call_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4)" (parenthesized_expression "(**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))" (( "(") (pointer_expression "**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (* "*") (pointer_expression "*(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (* "*") (cast_expression "(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(unaff_EBX + 0x2815b) + 0x28)" (( "(") (binary_expression "*(int *)(unaff_EBX + 0x2815b) + 0x28" (pointer_expression "*(int *)(unaff_EBX + 0x2815b)" (* "*") (cast_expression "(int *)(unaff_EBX + 0x2815b)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBX + 0x2815b)" (( "(") (binary_expression "unaff_EBX + 0x2815b" (identifier "unaff_EBX") (+ "+") (number_literal "0x2815b")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(param_7,param_3,param_4)" (( "(") (identifier "param_7") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "uVar1 = *param_5;" (assignment_expression "uVar1 = *param_5" (identifier "uVar1") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (identifier "uVar3") (= "=") (binary_expression "(uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f))" (( "(") (binary_expression "*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f)" (pointer_expression "*(int *)(unaff_EBX + 0x2828f)" (* "*") (cast_expression "(int *)(unaff_EBX + 0x2828f)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBX + 0x2828f)" (( "(") (binary_expression "unaff_EBX + 0x2828f" (identifier "unaff_EBX") (+ "+") (number_literal "0x2828f")) () ")")))) (+ "+") (parenthesized_expression "(uVar1 >> 1 & 0x7f)" (( "(") (binary_expression "uVar1 >> 1 & 0x7f" (binary_expression "uVar1 >> 1" (identifier "uVar1") (>> ">>") (number_literal "1")) (& "&") (number_literal "0x7f")) () ")"))) () ")"))))) (; ";")) (expression_statement "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;" (assignment_expression "iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1" (identifier "iVar2") (= "=") (binary_expression "uVar3 * 2 - uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * 2" (identifier "uVar3") (* "*") (number_literal "2")) (- "-") (binary_expression "uVar3 * uVar3 * uVar1" (binary_expression "uVar3 * uVar3" (identifier "uVar3") (* "*") (identifier "uVar3")) (* "*") (identifier "uVar1")))) (; ";")) (expression_statement "__gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2);" (call_expression "__gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" (identifier "__gmpn_dcpi1_bdiv_q") (argument_list "(unaff_retaddr,param_7,param_4,param_5,param_6,\n                        uVar1 * iVar2 * iVar2 + iVar2 * -2)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_7") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (binary_expression "uVar1 * iVar2 * iVar2 + iVar2 * -2" (binary_expression "uVar1 * iVar2 * iVar2" (binary_expression "uVar1 * iVar2" (identifier "uVar1") (* "*") (identifier "iVar2")) (* "*") (identifier "iVar2")) (+ "+") (binary_expression "iVar2 * -2" (identifier "iVar2") (* "*") (number_literal "-2"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);" (call_expression "__gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7)" (identifier "__gmpn_mu_bdiv_q") (argument_list "(unaff_retaddr,param_3,param_4,param_5,param_6,param_7)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 qp,type_2 np,type_3 nn,type_2 dp,type_3 var_1,type_1 tp)

{
  type_4 var_3;
  int var_6;
  type_4 var_4;
  
  if (var_1 < 0xb4) {
    (**(type_5 **)(var_2 + 0x28))(tp,np,nn);
    var_3 = *dp;
    var_4 = (type_4)(type_6)PTR___gmp_binvert_limb_table_0009dec8[var_3 >> 1 & 0x7f];
    var_6 = var_4 * 2 - var_4 * var_4 * var_3;
    var_5(qp,tp,nn,dp,var_1,var_3 * var_6 * var_6 + var_6 * -2);
    return;
  }
  if (var_1 < 2000) {
    (**(type_5 **)(var_2 + 0x28))(tp,np,nn);
    var_3 = *dp;
    var_4 = (type_4)(type_6)PTR___gmp_binvert_limb_table_0009dec8[var_3 >> 1 & 0x7f];
    var_6 = var_4 * 2 - var_4 * var_4 * var_3;
    var_7(qp,tp,nn,dp,var_1,var_3 * var_6 * var_6 + var_6 * -2);
    return;
  }
  var_8(qp,np,nn,dp,var_1,tp);
  return;
}


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

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

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  int unaff_EBX;
  undefined4 unaff_retaddr;
  
  entry(param_2,0x75c39);
  if (param_6 < 0xb4) {
    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);
    uVar1 = *param_5;
    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));
    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;
    __gmpn_sbpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,
                        uVar1 * iVar2 * iVar2 + iVar2 * -2);
    return;
  }
  if (param_6 < 2000) {
    (**(code **)(*(int *)(unaff_EBX + 0x2815b) + 0x28))(param_7,param_3,param_4);
    uVar1 = *param_5;
    uVar3 = (uint)*(byte *)(*(int *)(unaff_EBX + 0x2828f) + (uVar1 >> 1 & 0x7f));
    iVar2 = uVar3 * 2 - uVar3 * uVar3 * uVar1;
    __gmpn_dcpi1_bdiv_q(unaff_retaddr,param_7,param_4,param_5,param_6,
                        uVar1 * iVar2 * iVar2 + iVar2 * -2);
    return;
  }
  __gmpn_mu_bdiv_q(unaff_retaddr,param_3,param_4,param_5,param_6,param_7);
  return;
}

