
int open3_or_warn(char *pathname,int flags,int mode)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_open64_00131f1c)();
  if (iVar1 < 0) {
    bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname);
  }
  return iVar1;
}



int FUN_0001a8a8(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_open64_00131f1c)();
  if (iVar1 < 0) {
    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);
  }
  return iVar1;
}


lui gp,0x12
addiu gp,gp,-0x1758
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 s1,a0,zero
lw t9,-0x7234(gp)
jalr t9
_nop
lw gp,0x10(sp)
bgez v0,0x0001a900
_or s0,v0,zero
or a1,s1,zero
lw a0,-0x7fc4(gp)
addiu a0,a0,0x6b54
lw t9,-0x7f04(gp)
bal 0x00018f7c
_nop
lw gp,0x10(sp)
or v0,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "int FUN_0001a8a8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0001a8a8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0001a8a8(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_open64_00131f1c)();" (assignment_expression "iVar1 = (*(code *)PTR_open64_00131f1c)()" identifier = (call_expression "(*(code *)PTR_open64_00131f1c)()" (parenthesized_expression "(*(code *)PTR_open64_00131f1c)" ( (pointer_expression "*(code *)PTR_open64_00131f1c" * (cast_expression "(code *)PTR_open64_00131f1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }" { (expression_statement "FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);" (call_expression "FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1)" identifier (argument_list "(PTR_LAB_0013118c + 0x6b54,param_1)" ( (binary_expression "PTR_LAB_0013118c + 0x6b54" identifier + number_literal) , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int open3_or_warn(char *pathname,int flags,int mode)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname);\n  }\n  return iVar1;\n}\n\n" (function_definition "int open3_or_warn(char *pathname,int flags,int mode)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "open3_or_warn(char *pathname,int flags,int mode)" identifier (parameter_list "(char *pathname,int flags,int mode)" ( (parameter_declaration "char *pathname" primitive_type (pointer_declarator "*pathname" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) , (parameter_declaration "int mode" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_open64_00131f1c)();" (assignment_expression "iVar1 = (*(code *)PTR_open64_00131f1c)()" identifier = (call_expression "(*(code *)PTR_open64_00131f1c)()" (parenthesized_expression "(*(code *)PTR_open64_00131f1c)" ( (pointer_expression "*(code *)PTR_open64_00131f1c" * (cast_expression "(code *)PTR_open64_00131f1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 < 0) {\n    bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname);\n  }" { (expression_statement "bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname);" (call_expression "bb_perror_msg(PTR_LAB_0013118c + 0x6b54,pathname)" identifier (argument_list "(PTR_LAB_0013118c + 0x6b54,pathname)" ( (binary_expression "PTR_LAB_0013118c + 0x6b54" identifier + number_literal) , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_0001a8a8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0001a8a8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0001a8a8(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_open64_00131f1c)();" (assignment_expression "iVar1 = (*(code *)PTR_open64_00131f1c)()" identifier = (call_expression "(*(code *)PTR_open64_00131f1c)()" (parenthesized_expression "(*(code *)PTR_open64_00131f1c)" ( (pointer_expression "*(code *)PTR_open64_00131f1c" * (cast_expression "(code *)PTR_open64_00131f1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }" { (expression_statement "FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);" (call_expression "FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1)" identifier (argument_list "(PTR_LAB_0013118c + 0x6b54,param_1)" ( (binary_expression "PTR_LAB_0013118c + 0x6b54" identifier + number_literal) , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0001a8a8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0001a8a8(undefined4 param_1)" (identifier "FUN_0001a8a8") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_open64_00131f1c)();\n  if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_open64_00131f1c)();" (assignment_expression "iVar1 = (*(code *)PTR_open64_00131f1c)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_open64_00131f1c)()" (parenthesized_expression "(*(code *)PTR_open64_00131f1c)" (( "(") (pointer_expression "*(code *)PTR_open64_00131f1c" (* "*") (cast_expression "(code *)PTR_open64_00131f1c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_open64_00131f1c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 < 0) {\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);\n  }" ({ "{") (expression_statement "FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);" (call_expression "FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1)" (identifier "FUN_00018f7c") (argument_list "(PTR_LAB_0013118c + 0x6b54,param_1)" (( "(") (binary_expression "PTR_LAB_0013118c + 0x6b54" (identifier "PTR_LAB_0013118c") (+ "+") (number_literal "0x6b54")) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) 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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (return_statement (identifier)))))

int MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_open64_00131f1c)();
  if (iVar1 < 0) {
    FUN_00018f7c(PTR_LAB_0013118c + 0x6b54,param_1);
  }
  return iVar1;
}

