
void move_fd(int oldfd,int newfd)

{
  if (oldfd == newfd) {
    return;
  }
  (*(code *)PTR_dup2_0003f588)();
  (*(code *)PTR_close_0003f3ac)(oldfd);
  return;
}



void FUN_00016128(int param_1,int param_2)

{
  if (param_1 == param_2) {
    return;
  }
  (*(code *)PTR_dup2_0003f588)();
  (*(code *)PTR_close_0003f3ac)(param_1);
  return;
}


lui gp,0x3
addiu gp,gp,0x1058
addu gp,gp,t9
bne a0,a1,0x00016144
_lw t9,-0x7bf8(gp)
jr ra
_nop
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a0,zero
jalr t9
_nop
lw gp,0x10(sp)
or a0,s0,zero
lw t9,-0x7dd4(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_00016128(int param_1,int param_2)\n\n{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00016128(int param_1,int param_2)\n\n{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00016128(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}" { (if_statement "if (param_1 == param_2) {\n    return;\n  }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_dup2_0003f588)();" (call_expression "(*(code *)PTR_dup2_0003f588)()" (parenthesized_expression "(*(code *)PTR_dup2_0003f588)" ( (pointer_expression "*(code *)PTR_dup2_0003f588" * (cast_expression "(code *)PTR_dup2_0003f588" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_close_0003f3ac)(param_1);" (call_expression "(*(code *)PTR_close_0003f3ac)(param_1)" (parenthesized_expression "(*(code *)PTR_close_0003f3ac)" ( (pointer_expression "*(code *)PTR_close_0003f3ac" * (cast_expression "(code *)PTR_close_0003f3ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void move_fd(int oldfd,int newfd)\n\n{\n  if (oldfd == newfd) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(oldfd);\n  return;\n}\n\n" (function_definition "void move_fd(int oldfd,int newfd)\n\n{\n  if (oldfd == newfd) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(oldfd);\n  return;\n}" primitive_type (function_declarator "move_fd(int oldfd,int newfd)" identifier (parameter_list "(int oldfd,int newfd)" ( (parameter_declaration "int oldfd" primitive_type identifier) , (parameter_declaration "int newfd" primitive_type identifier) ))) (compound_statement "{\n  if (oldfd == newfd) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(oldfd);\n  return;\n}" { (if_statement "if (oldfd == newfd) {\n    return;\n  }" if (parenthesized_expression "(oldfd == newfd)" ( (binary_expression "oldfd == newfd" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_dup2_0003f588)();" (call_expression "(*(code *)PTR_dup2_0003f588)()" (parenthesized_expression "(*(code *)PTR_dup2_0003f588)" ( (pointer_expression "*(code *)PTR_dup2_0003f588" * (cast_expression "(code *)PTR_dup2_0003f588" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_close_0003f3ac)(oldfd);" (call_expression "(*(code *)PTR_close_0003f3ac)(oldfd)" (parenthesized_expression "(*(code *)PTR_close_0003f3ac)" ( (pointer_expression "*(code *)PTR_close_0003f3ac" * (cast_expression "(code *)PTR_close_0003f3ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(oldfd)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00016128(int param_1,int param_2)\n\n{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00016128(int param_1,int param_2)\n\n{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00016128(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}" { (if_statement "if (param_1 == param_2) {\n    return;\n  }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_dup2_0003f588)();" (call_expression "(*(code *)PTR_dup2_0003f588)()" (parenthesized_expression "(*(code *)PTR_dup2_0003f588)" ( (pointer_expression "*(code *)PTR_dup2_0003f588" * (cast_expression "(code *)PTR_dup2_0003f588" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_close_0003f3ac)(param_1);" (call_expression "(*(code *)PTR_close_0003f3ac)(param_1)" (parenthesized_expression "(*(code *)PTR_close_0003f3ac)" ( (pointer_expression "*(code *)PTR_close_0003f3ac" * (cast_expression "(code *)PTR_close_0003f3ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) 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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00016128(int param_1,int param_2)\n\n{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00016128(int param_1,int param_2)" (identifier "FUN_00016128") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_1 == param_2) {\n    return;\n  }\n  (*(code *)PTR_dup2_0003f588)();\n  (*(code *)PTR_close_0003f3ac)(param_1);\n  return;\n}" ({ "{") (if_statement "if (param_1 == param_2) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == param_2)" (( "(") (binary_expression "param_1 == param_2" (identifier "param_1") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_dup2_0003f588)();" (call_expression "(*(code *)PTR_dup2_0003f588)()" (parenthesized_expression "(*(code *)PTR_dup2_0003f588)" (( "(") (pointer_expression "*(code *)PTR_dup2_0003f588" (* "*") (cast_expression "(code *)PTR_dup2_0003f588" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dup2_0003f588"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_close_0003f3ac)(param_1);" (call_expression "(*(code *)PTR_close_0003f3ac)(param_1)" (parenthesized_expression "(*(code *)PTR_close_0003f3ac)" (( "(") (pointer_expression "*(code *)PTR_close_0003f3ac" (* "*") (cast_expression "(code *)PTR_close_0003f3ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_0003f3ac"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(int var_1,int var_2)

{
  if (var_1 == var_2) {
    return;
  }
  (*(type_1 *)PTR_dup2_0003f588)();
  (*(type_1 *)PTR_close_0003f3ac)(var_1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (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))) (expression_statement (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)))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  if (param_1 == param_2) {
    return;
  }
  (*(code *)PTR_dup2_0003f588)();
  (*(code *)PTR_close_0003f3ac)(param_1);
  return;
}

