
void fadvise(FILE *fp,fadvice_t advice)

{
  int __fd;
  undefined4 in_stack_ffffffec;
  
  if (fp != (FILE *)0x0) {
    __fd = (*(code *)PTR_fileno_0002e278)();
    fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0);
    return;
  }
  return;
}



void fadvise(int param_1,undefined4 param_2)

{
  int __fd;
  undefined4 in_stack_ffffffec;
  
  if (param_1 != 0) {
    __fd = (*(code *)PTR_fileno_0002e278)();
    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);
    return;
  }
  return;
}


lui gp,0x2
addiu gp,gp,-0xfa8
addu gp,gp,t9
beq a0,zero,0x000170e0
_lw t9,-0x7e58(gp)
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s0,0x28(sp)
sw gp,0x20(sp)
jalr t9
_or s0,a1,zero
or a1,zero,zero
lw gp,0x20(sp)
or a0,zero,zero
or a3,zero,zero
sw a1,0x14(sp)
or a2,zero,zero
sw a0,0x10(sp)
sw s0,0x18(sp)
lw t9,-0x7f5c(gp)
bal 0x00017060
_or a0,v0,zero
lw ra,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x30
jr ra
_nop
(translation_unit "void fadvise(int param_1,undefined4 param_2)\n\n{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fadvise(int param_1,undefined4 param_2)\n\n{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fadvise(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" { (declaration "int __fd;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffec;" type_identifier identifier ;) (if_statement "if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }" { (expression_statement "__fd = (*(code *)PTR_fileno_0002e278)();" (assignment_expression "__fd = (*(code *)PTR_fileno_0002e278)()" identifier = (call_expression "(*(code *)PTR_fileno_0002e278)()" (parenthesized_expression "(*(code *)PTR_fileno_0002e278)" ( (pointer_expression "*(code *)PTR_fileno_0002e278" * (cast_expression "(code *)PTR_fileno_0002e278" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);" (call_expression "fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0)" identifier (argument_list "(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0)" ( identifier , number_literal , (call_expression "CONCAT44(param_2,in_stack_ffffffec)" identifier (argument_list "(param_2,in_stack_ffffffec)" ( identifier , identifier ))) , number_literal ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void fadvise(FILE *fp,fadvice_t advice)\n\n{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (fp != (FILE *)0x0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fadvise(FILE *fp,fadvice_t advice)\n\n{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (fp != (FILE *)0x0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fadvise(FILE *fp,fadvice_t advice)" identifier (parameter_list "(FILE *fp,fadvice_t advice)" ( (parameter_declaration "FILE *fp" type_identifier (pointer_declarator "*fp" * identifier)) , (parameter_declaration "fadvice_t advice" type_identifier identifier) ))) (compound_statement "{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (fp != (FILE *)0x0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" { (declaration "int __fd;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffec;" type_identifier identifier ;) (if_statement "if (fp != (FILE *)0x0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0);\n    return;\n  }" if (parenthesized_expression "(fp != (FILE *)0x0)" ( (binary_expression "fp != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0);\n    return;\n  }" { (expression_statement "__fd = (*(code *)PTR_fileno_0002e278)();" (assignment_expression "__fd = (*(code *)PTR_fileno_0002e278)()" identifier = (call_expression "(*(code *)PTR_fileno_0002e278)()" (parenthesized_expression "(*(code *)PTR_fileno_0002e278)" ( (pointer_expression "*(code *)PTR_fileno_0002e278" * (cast_expression "(code *)PTR_fileno_0002e278" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0);" (call_expression "fdadvise(__fd,0,CONCAT44(advice,in_stack_ffffffec),0)" identifier (argument_list "(__fd,0,CONCAT44(advice,in_stack_ffffffec),0)" ( identifier , number_literal , (call_expression "CONCAT44(advice,in_stack_ffffffec)" identifier (argument_list "(advice,in_stack_ffffffec)" ( identifier , identifier ))) , number_literal ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void fadvise(int param_1,undefined4 param_2)\n\n{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fadvise(int param_1,undefined4 param_2)\n\n{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fadvise(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" { (declaration "int __fd;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffec;" type_identifier identifier ;) (if_statement "if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }" { (expression_statement "__fd = (*(code *)PTR_fileno_0002e278)();" (assignment_expression "__fd = (*(code *)PTR_fileno_0002e278)()" identifier = (call_expression "(*(code *)PTR_fileno_0002e278)()" (parenthesized_expression "(*(code *)PTR_fileno_0002e278)" ( (pointer_expression "*(code *)PTR_fileno_0002e278" * (cast_expression "(code *)PTR_fileno_0002e278" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);" (call_expression "fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0)" identifier (argument_list "(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0)" ( identifier , number_literal , (call_expression "CONCAT44(param_2,in_stack_ffffffec)" identifier (argument_list "(param_2,in_stack_ffffffec)" ( identifier , identifier ))) , number_literal ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (call_expression IDENT (argument_list ( IDENT , IDENT ))) , LIT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void fadvise(int param_1,undefined4 param_2)\n\n{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "fadvise(int param_1,undefined4 param_2)" (identifier "fadvise") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int __fd;\n  undefined4 in_stack_ffffffec;\n  \n  if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int __fd;" (primitive_type "int") (identifier "__fd") (; ";")) (declaration "undefined4 in_stack_ffffffec;" (type_identifier "undefined4") (identifier "in_stack_ffffffec") (; ";")) (if_statement "if (param_1 != 0) {\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __fd = (*(code *)PTR_fileno_0002e278)();\n    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);\n    return;\n  }" ({ "{") (expression_statement "__fd = (*(code *)PTR_fileno_0002e278)();" (assignment_expression "__fd = (*(code *)PTR_fileno_0002e278)()" (identifier "__fd") (= "=") (call_expression "(*(code *)PTR_fileno_0002e278)()" (parenthesized_expression "(*(code *)PTR_fileno_0002e278)" (( "(") (pointer_expression "*(code *)PTR_fileno_0002e278" (* "*") (cast_expression "(code *)PTR_fileno_0002e278" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fileno_0002e278"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);" (call_expression "fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0)" (identifier "fdadvise") (argument_list "(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0)" (( "(") (identifier "__fd") (, ",") (number_literal "0") (, ",") (call_expression "CONCAT44(param_2,in_stack_ffffffec)" (identifier "CONCAT44") (argument_list "(param_2,in_stack_ffffffec)" (( "(") (identifier "param_2") (, ",") (identifier "in_stack_ffffffec") () ")"))) (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1,type_2 advice)

{
  int __fd;
  type_3 in_stack_ffffffec;
  
  if (var_1 != (type_1 *)0x0) {
    __fd = (*(type_4 *)PTR_fileno_0002e278)();
    var_2(__fd,0,var_3(advice,in_stack_ffffffec),0);
    return;
  }
  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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))) (number_literal)))) (return_statement))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  int __fd;
  undefined4 in_stack_ffffffec;
  
  if (param_1 != 0) {
    __fd = (*(code *)PTR_fileno_0002e278)();
    fdadvise(__fd,0,CONCAT44(param_2,in_stack_ffffffec),0);
    return;
  }
  return;
}

