
int gmon_io_read(FILE *ifp,char *buf,size_t n)

{
  size_t sVar1;
  
  sVar1 = (*(code *)PTR_fread_0003a68c)(buf,1,n,ifp);
  return (uint)(sVar1 != n);
}



bool gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);
  return iVar1 != param_3;
}


lui gp,0x2
addiu gp,gp,0x731c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7d24(gp)
or v0,a1,zero
li a1,0x1
sw s0,0x18(sp)
or a3,a0,zero
sw ra,0x1c(sp)
or a0,v0,zero
sw gp,0x10(sp)
jalr t9
_or s0,a2,zero
lw ra,0x1c(sp)
xor v0,v0,s0
sltu v0,zero,v0
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "bool gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}\n\n" (function_definition "bool gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}" primitive_type (function_declarator "gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1)" identifier = (call_expression "(*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1)" (parenthesized_expression "(*(code *)PTR_fread_0003a68c)" ( (pointer_expression "*(code *)PTR_fread_0003a68c" * (cast_expression "(code *)PTR_fread_0003a68c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,1,param_3,param_1)" ( identifier , number_literal , identifier , identifier )))) ;) (return_statement "return iVar1 != param_3;" return (binary_expression "iVar1 != param_3" identifier != identifier) ;) })))
(translation_unit "int gmon_io_read(FILE *ifp,char *buf,size_t n)\n\n{\n  size_t sVar1;\n  \n  sVar1 = (*(code *)PTR_fread_0003a68c)(buf,1,n,ifp);\n  return (uint)(sVar1 != n);\n}\n\n" (function_definition "int gmon_io_read(FILE *ifp,char *buf,size_t n)\n\n{\n  size_t sVar1;\n  \n  sVar1 = (*(code *)PTR_fread_0003a68c)(buf,1,n,ifp);\n  return (uint)(sVar1 != n);\n}" primitive_type (function_declarator "gmon_io_read(FILE *ifp,char *buf,size_t n)" identifier (parameter_list "(FILE *ifp,char *buf,size_t n)" ( (parameter_declaration "FILE *ifp" type_identifier (pointer_declarator "*ifp" * identifier)) , (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) , (parameter_declaration "size_t n" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = (*(code *)PTR_fread_0003a68c)(buf,1,n,ifp);\n  return (uint)(sVar1 != n);\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = (*(code *)PTR_fread_0003a68c)(buf,1,n,ifp);" (assignment_expression "sVar1 = (*(code *)PTR_fread_0003a68c)(buf,1,n,ifp)" identifier = (call_expression "(*(code *)PTR_fread_0003a68c)(buf,1,n,ifp)" (parenthesized_expression "(*(code *)PTR_fread_0003a68c)" ( (pointer_expression "*(code *)PTR_fread_0003a68c" * (cast_expression "(code *)PTR_fread_0003a68c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(buf,1,n,ifp)" ( identifier , number_literal , identifier , identifier )))) ;) (return_statement "return (uint)(sVar1 != n);" return (call_expression "(uint)(sVar1 != n)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(sVar1 != n)" ( (binary_expression "sVar1 != n" identifier != identifier) ))) ;) })))
(translation_unit "bool gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}\n\n" (function_definition "bool gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}" primitive_type (function_declarator "gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1)" identifier = (call_expression "(*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1)" (parenthesized_expression "(*(code *)PTR_fread_0003a68c)" ( (pointer_expression "*(code *)PTR_fread_0003a68c" * (cast_expression "(code *)PTR_fread_0003a68c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,1,param_3,param_1)" ( identifier , number_literal , identifier , identifier )))) ;) (return_statement "return iVar1 != param_3;" return (binary_expression "iVar1 != param_3" identifier != identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT )))) ;) (return_statement return (binary_expression IDENT != IDENT) ;) })))
(function_definition "bool gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}" (primitive_type "bool") (function_declarator "gmon_io_read(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "gmon_io_read") (parameter_list "(undefined4 param_1,undefined4 param_2,int 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 "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);\n  return iVar1 != param_3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1)" (parenthesized_expression "(*(code *)PTR_fread_0003a68c)" (( "(") (pointer_expression "*(code *)PTR_fread_0003a68c" (* "*") (cast_expression "(code *)PTR_fread_0003a68c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fread_0003a68c"))) () ")")) (argument_list "(param_2,1,param_3,param_1)" (( "(") (identifier "param_2") (, ",") (number_literal "1") (, ",") (identifier "param_3") (, ",") (identifier "param_1") () ")")))) (; ";")) (return_statement "return iVar1 != param_3;" (return "return") (binary_expression "iVar1 != param_3" (identifier "iVar1") (!= "!=") (identifier "param_3")) (; ";")) (} "}")))
(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier))))) (return_statement (binary_expression left: (identifier) right: (identifier))))))

bool MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_fread_0003a68c)(param_2,1,param_3,param_1);
  return iVar1 != param_3;
}

