
int __gmpq_cmp_z(mpq_srcptr op1,mpz_srcptr op2)

{
  int iVar1;
  
  iVar1 = mpq_cmp_numden(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,
                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c));
  return iVar1;
}



void __gmpq_cmp_z(undefined4 param_1,int param_2)

{
  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);
  return;
}


lui gp,0x7
addiu gp,gp,-0x389c
addu gp,gp,t9
lw v0,-0x7fe4(gp)
addiu sp,sp,-0x28
lw t9,-0x7fc8(gp)
or a2,a1,zero
lw a1,0x4(a1)
li a3,0x1
addiu v0,v0,-0x317c
sw ra,0x24(sp)
sw gp,0x18(sp)
addiu t9,t9,-0x7d10
sw v0,0x10(sp)
bal 0x000382f0
_addiu a2,a2,0x8
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void __gmpq_cmp_z(undefined4 param_1,int param_2)\n\n{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}\n\n" (function_definition "void __gmpq_cmp_z(undefined4 param_1,int param_2)\n\n{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}" primitive_type (function_declarator "__gmpq_cmp_z(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}" { (expression_statement "FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);" (call_expression "FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c)" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c)" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , (binary_expression "param_2 + 8" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0009d05c + -0x317c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int __gmpq_cmp_z(mpq_srcptr op1,mpz_srcptr op2)\n\n{\n  int iVar1;\n  \n  iVar1 = mpq_cmp_numden(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,\n                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c));\n  return iVar1;\n}\n\n" (function_definition "int __gmpq_cmp_z(mpq_srcptr op1,mpz_srcptr op2)\n\n{\n  int iVar1;\n  \n  iVar1 = mpq_cmp_numden(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,\n                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c));\n  return iVar1;\n}" primitive_type (function_declarator "__gmpq_cmp_z(mpq_srcptr op1,mpz_srcptr op2)" identifier (parameter_list "(mpq_srcptr op1,mpz_srcptr op2)" ( (parameter_declaration "mpq_srcptr op1" type_identifier identifier) , (parameter_declaration "mpz_srcptr op2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = mpq_cmp_numden(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,\n                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c));\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = mpq_cmp_numden(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,\n                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c));" (assignment_expression "iVar1 = mpq_cmp_numden(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,\n                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c))" identifier = (call_expression "mpq_cmp_numden(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,\n                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c))" identifier (argument_list "(op1,(mpz_srcptr)op2->_mp_size,(mpz_srcptr)&op2->_mp_d,\n                         (mpz_srcptr)&DAT_00000001,(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c))" ( identifier , (cast_expression "(mpz_srcptr)op2->_mp_size" ( (type_descriptor "mpz_srcptr" type_identifier) ) (field_expression "op2->_mp_size" identifier -> field_identifier)) , (binary_expression "(mpz_srcptr)&op2->_mp_d" (parenthesized_expression "(mpz_srcptr)" ( identifier )) & (field_expression "op2->_mp_d" identifier -> field_identifier)) , (binary_expression "(mpz_srcptr)&DAT_00000001" (parenthesized_expression "(mpz_srcptr)" ( identifier )) & identifier) , (call_expression "(mpz_srcptr)(PTR_DAT_0009d05c + -0x317c)" (parenthesized_expression "(mpz_srcptr)" ( identifier )) (argument_list "(PTR_DAT_0009d05c + -0x317c)" ( (binary_expression "PTR_DAT_0009d05c + -0x317c" identifier + number_literal) ))) )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void __gmpq_cmp_z(undefined4 param_1,int param_2)\n\n{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}\n\n" (function_definition "void __gmpq_cmp_z(undefined4 param_1,int param_2)\n\n{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}" primitive_type (function_declarator "__gmpq_cmp_z(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}" { (expression_statement "FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);" (call_expression "FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c)" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c)" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , (binary_expression "param_2 + 8" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0009d05c + -0x317c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void __gmpq_cmp_z(undefined4 param_1,int param_2)\n\n{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}" (primitive_type "void") (function_declarator "__gmpq_cmp_z(undefined4 param_1,int param_2)" (identifier "__gmpq_cmp_z") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);\n  return;\n}" ({ "{") (expression_statement "FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);" (call_expression "FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c)" (identifier "FUN_000382f0") (argument_list "(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (, ",") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_DAT_0009d05c + -0x317c" (identifier "PTR_DAT_0009d05c") (+ "+") (number_literal "-0x317c")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(type_1 op1,type_2 op2)

{
  int iVar1;
  
  iVar1 = var_1(op1,(type_2)op2->_mp_size,(type_2)&op2->_mp_d,
                         (type_2)&var_2,(type_2)(var_3 + -0x317c));
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  FUN_000382f0(param_1,*(undefined4 *)(param_2 + 4),param_2 + 8,1,PTR_DAT_0009d05c + -0x317c);
  return;
}

