
/* WARNING: Unknown calling convention */

void coproc_fdsave(coproc *cp)

{
  cp->c_rsave = cp->c_rfd;
  cp->c_wsave = cp->c_wfd;
  return;
}



void coproc_fdsave(int param_1)

{
  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);
  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);
  return;
}


lw v1,0x8(a0)
lw v0,0xc(a0)
sw v1,0x10(a0)
jr ra
_sw v0,0x14(a0)
(translation_unit "void coproc_fdsave(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}\n\n" (function_definition "void coproc_fdsave(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}" primitive_type (function_declarator "coproc_fdsave(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid coproc_fdsave(coproc *cp)\n\n{\n  cp->c_rsave = cp->c_rfd;\n  cp->c_wsave = cp->c_wfd;\n  return;\n}\n\n" comment (function_definition "void coproc_fdsave(coproc *cp)\n\n{\n  cp->c_rsave = cp->c_rfd;\n  cp->c_wsave = cp->c_wfd;\n  return;\n}" primitive_type (function_declarator "coproc_fdsave(coproc *cp)" identifier (parameter_list "(coproc *cp)" ( (parameter_declaration "coproc *cp" type_identifier (pointer_declarator "*cp" * identifier)) ))) (compound_statement "{\n  cp->c_rsave = cp->c_rfd;\n  cp->c_wsave = cp->c_wfd;\n  return;\n}" { (expression_statement "cp->c_rsave = cp->c_rfd;" (assignment_expression "cp->c_rsave = cp->c_rfd" (field_expression "cp->c_rsave" identifier -> field_identifier) = (field_expression "cp->c_rfd" identifier -> field_identifier)) ;) (expression_statement "cp->c_wsave = cp->c_wfd;" (assignment_expression "cp->c_wsave = cp->c_wfd" (field_expression "cp->c_wsave" identifier -> field_identifier) = (field_expression "cp->c_wfd" identifier -> field_identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void coproc_fdsave(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}\n\n" (function_definition "void coproc_fdsave(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}" primitive_type (function_declarator "coproc_fdsave(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) })))
(function_definition "void coproc_fdsave(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}" (primitive_type "void") (function_declarator "coproc_fdsave(int param_1)" (identifier "coproc_fdsave") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);\n  return;\n}" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *cp)

{
  cp->c_rsave = cp->c_rfd;
  cp->c_wsave = cp->c_wfd;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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(int param_1)

{
  *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);
  *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(param_1 + 0xc);
  return;
}

