
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

Bignum ecf_square(Bignum a,ec_curve *curve)

{
  Bignum_conflict pBVar1;
  
  pBVar1 = modmul((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p);
  return pBVar1;
}



void FUN_000328ec(undefined4 param_1,int param_2)

{
  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));
  return;
}


lui gp,0x4
addiu gp,gp,0x4744
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
lw a2,0x10(a1)
or a1,a0,zero
lw t9,-0x7d40(gp)
bal 0x0002888c
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_000328ec(undefined4 param_1,int param_2)\n\n{\n  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}\n\n" (function_definition "void FUN_000328ec(undefined4 param_1,int param_2)\n\n{\n  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}" primitive_type (function_declarator "FUN_000328ec(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  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}" { (expression_statement "modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));" (call_expression "modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(param_1,param_1,*(undefined4 *)(param_2 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nBignum ecf_square(Bignum a,ec_curve *curve)\n\n{\n  Bignum_conflict pBVar1;\n  \n  pBVar1 = modmul((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p);\n  return pBVar1;\n}\n\n" comment (function_definition "Bignum ecf_square(Bignum a,ec_curve *curve)\n\n{\n  Bignum_conflict pBVar1;\n  \n  pBVar1 = modmul((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p);\n  return pBVar1;\n}" type_identifier (function_declarator "ecf_square(Bignum a,ec_curve *curve)" identifier (parameter_list "(Bignum a,ec_curve *curve)" ( (parameter_declaration "Bignum a" type_identifier identifier) , (parameter_declaration "ec_curve *curve" type_identifier (pointer_declarator "*curve" * identifier)) ))) (compound_statement "{\n  Bignum_conflict pBVar1;\n  \n  pBVar1 = modmul((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p);\n  return pBVar1;\n}" { (declaration "Bignum_conflict pBVar1;" type_identifier identifier ;) (expression_statement "pBVar1 = modmul((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p);" (assignment_expression "pBVar1 = modmul((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p)" identifier = (call_expression "modmul((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p)" identifier (argument_list "((Bignum_conflict)a,(Bignum_conflict)a,(Bignum_conflict)curve->p)" ( (cast_expression "(Bignum_conflict)a" ( (type_descriptor "Bignum_conflict" type_identifier) ) identifier) , (cast_expression "(Bignum_conflict)a" ( (type_descriptor "Bignum_conflict" type_identifier) ) identifier) , (cast_expression "(Bignum_conflict)curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "curve->p" identifier -> field_identifier)) )))) ;) (return_statement "return pBVar1;" return identifier ;) })))
(translation_unit "void FUN_000328ec(undefined4 param_1,int param_2)\n\n{\n  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}\n\n" (function_definition "void FUN_000328ec(undefined4 param_1,int param_2)\n\n{\n  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}" primitive_type (function_declarator "FUN_000328ec(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  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}" { (expression_statement "modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));" (call_expression "modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(param_1,param_1,*(undefined4 *)(param_2 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" 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 , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000328ec(undefined4 param_1,int param_2)\n\n{\n  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000328ec(undefined4 param_1,int param_2)" (identifier "FUN_000328ec") (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  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));\n  return;\n}" ({ "{") (expression_statement "modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));" (call_expression "modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10))" (identifier "modmul") (argument_list "(param_1,param_1,*(undefined4 *)(param_2 + 0x10))" (( "(") (identifier "param_1") (, ",") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(type_1 a,type_2 *curve)

{
  type_3 pBVar1;
  
  pBVar1 = var_1((type_3)a,(type_3)a,(type_3)curve->p);
  return pBVar1;
}


(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) (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)))))))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  modmul(param_1,param_1,*(undefined4 *)(param_2 + 0x10));
  return;
}

