
void coproc_fdclose(coproc *cp,int fd)

{
  coproc_rclose(cp,fd);
  coproc_wclose(cp,fd);
  coproc_setvars(cp);
  return;
}



void coproc_fdclose(undefined4 param_1,undefined4 param_2)

{
  coproc_rclose();
  coproc_wclose(param_1,param_2);
  coproc_setvars(param_1);
  return;
}


lui gp,0x11
addiu gp,gp,0x1dfc
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s0,a0,zero
or s1,a1,zero
lw t9,-0x7890(gp)
bal 0x0004c1ac
_nop
lw gp,0x10(sp)
or a1,s1,zero
or a0,s0,zero
lw t9,-0x788c(gp)
bal 0x0004c210
_nop
lw gp,0x10(sp)
or a0,s0,zero
lw t9,-0x7898(gp)
bal 0x0004c310
_nop
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void coproc_fdclose(undefined4 param_1,undefined4 param_2)\n\n{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}\n\n" (function_definition "void coproc_fdclose(undefined4 param_1,undefined4 param_2)\n\n{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}" primitive_type (function_declarator "coproc_fdclose(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}" { (expression_statement "coproc_rclose();" (call_expression "coproc_rclose()" identifier (argument_list "()" ( ))) ;) (expression_statement "coproc_wclose(param_1,param_2);" (call_expression "coproc_wclose(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "coproc_setvars(param_1);" (call_expression "coproc_setvars(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void coproc_fdclose(coproc *cp,int fd)\n\n{\n  coproc_rclose(cp,fd);\n  coproc_wclose(cp,fd);\n  coproc_setvars(cp);\n  return;\n}\n\n" (function_definition "void coproc_fdclose(coproc *cp,int fd)\n\n{\n  coproc_rclose(cp,fd);\n  coproc_wclose(cp,fd);\n  coproc_setvars(cp);\n  return;\n}" primitive_type (function_declarator "coproc_fdclose(coproc *cp,int fd)" identifier (parameter_list "(coproc *cp,int fd)" ( (parameter_declaration "coproc *cp" type_identifier (pointer_declarator "*cp" * identifier)) , (parameter_declaration "int fd" primitive_type identifier) ))) (compound_statement "{\n  coproc_rclose(cp,fd);\n  coproc_wclose(cp,fd);\n  coproc_setvars(cp);\n  return;\n}" { (expression_statement "coproc_rclose(cp,fd);" (call_expression "coproc_rclose(cp,fd)" identifier (argument_list "(cp,fd)" ( identifier , identifier ))) ;) (expression_statement "coproc_wclose(cp,fd);" (call_expression "coproc_wclose(cp,fd)" identifier (argument_list "(cp,fd)" ( identifier , identifier ))) ;) (expression_statement "coproc_setvars(cp);" (call_expression "coproc_setvars(cp)" identifier (argument_list "(cp)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void coproc_fdclose(undefined4 param_1,undefined4 param_2)\n\n{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}\n\n" (function_definition "void coproc_fdclose(undefined4 param_1,undefined4 param_2)\n\n{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}" primitive_type (function_declarator "coproc_fdclose(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}" { (expression_statement "coproc_rclose();" (call_expression "coproc_rclose()" identifier (argument_list "()" ( ))) ;) (expression_statement "coproc_wclose(param_1,param_2);" (call_expression "coproc_wclose(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "coproc_setvars(param_1);" (call_expression "coproc_setvars(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (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 ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void coproc_fdclose(undefined4 param_1,undefined4 param_2)\n\n{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "coproc_fdclose(undefined4 param_1,undefined4 param_2)" (identifier "coproc_fdclose") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  coproc_rclose();\n  coproc_wclose(param_1,param_2);\n  coproc_setvars(param_1);\n  return;\n}" ({ "{") (expression_statement "coproc_rclose();" (call_expression "coproc_rclose()" (identifier "coproc_rclose") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "coproc_wclose(param_1,param_2);" (call_expression "coproc_wclose(param_1,param_2)" (identifier "coproc_wclose") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "coproc_setvars(param_1);" (call_expression "coproc_setvars(param_1)" (identifier "coproc_setvars") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *cp,int fd)

{
  var_1(cp,fd);
  var_2(cp,fd);
  var_3(cp);
  return;
}


(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)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  coproc_rclose();
  coproc_wclose(param_1,param_2);
  coproc_setvars(param_1);
  return;
}

