
char * tail(char *path)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strrchr_00077f44)(path,0x2f);
  if (iVar1 != 0) {
    return (char *)(iVar1 + 1);
  }
  return path;
}



int tail(int param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);
  if (iVar1 != 0) {
    return iVar1 + 1;
  }
  return param_1;
}


lui gp,0x4
addiu gp,gp,-0x29d0
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x75dc(gp)
li a1,0x2f
sw s0,0x18(sp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_or s0,a0,zero
beq v0,zero,0x00041f34
_lw ra,0x1c(sp)
addiu v0,v0,0x1
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
or v0,s0,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "int tail(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}\n\n" (function_definition "int tail(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}" primitive_type (function_declarator "tail(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f)" identifier = (call_expression "(*(code *)PTR_strrchr_00077f44)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_00077f44)" ( (pointer_expression "*(code *)PTR_strrchr_00077f44" * (cast_expression "(code *)PTR_strrchr_00077f44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return iVar1 + 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar1 + 1;\n  }" { (return_statement "return iVar1 + 1;" return (binary_expression "iVar1 + 1" identifier + number_literal) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "char * tail(char *path)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(path,0x2f);\n  if (iVar1 != 0) {\n    return (char *)(iVar1 + 1);\n  }\n  return path;\n}\n\n" (function_definition "char * tail(char *path)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(path,0x2f);\n  if (iVar1 != 0) {\n    return (char *)(iVar1 + 1);\n  }\n  return path;\n}" primitive_type (pointer_declarator "* tail(char *path)" * (function_declarator "tail(char *path)" identifier (parameter_list "(char *path)" ( (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(path,0x2f);\n  if (iVar1 != 0) {\n    return (char *)(iVar1 + 1);\n  }\n  return path;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strrchr_00077f44)(path,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_00077f44)(path,0x2f)" identifier = (call_expression "(*(code *)PTR_strrchr_00077f44)(path,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_00077f44)" ( (pointer_expression "*(code *)PTR_strrchr_00077f44" * (cast_expression "(code *)PTR_strrchr_00077f44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(path,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return (char *)(iVar1 + 1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return (char *)(iVar1 + 1);\n  }" { (return_statement "return (char *)(iVar1 + 1);" return (cast_expression "(char *)(iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) ))) ;) })) (return_statement "return path;" return identifier ;) })))
(translation_unit "int tail(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}\n\n" (function_definition "int tail(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}" primitive_type (function_declarator "tail(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f)" identifier = (call_expression "(*(code *)PTR_strrchr_00077f44)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_00077f44)" ( (pointer_expression "*(code *)PTR_strrchr_00077f44" * (cast_expression "(code *)PTR_strrchr_00077f44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return iVar1 + 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar1 + 1;\n  }" { (return_statement "return iVar1 + 1;" return (binary_expression "iVar1 + 1" identifier + number_literal) ;) })) (return_statement "return param_1;" 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 ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int tail(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}" (primitive_type "int") (function_declarator "tail(int param_1)" (identifier "tail") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);\n  if (iVar1 != 0) {\n    return iVar1 + 1;\n  }\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strrchr_00077f44)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_00077f44)" (( "(") (pointer_expression "*(code *)PTR_strrchr_00077f44" (* "*") (cast_expression "(code *)PTR_strrchr_00077f44" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strrchr_00077f44"))) () ")")) (argument_list "(param_1,0x2f)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return iVar1 + 1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return iVar1 + 1;\n  }" ({ "{") (return_statement "return iVar1 + 1;" (return "return") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

char * function_1(char *path)

{
  int var_1;
  
  var_1 = (*(type_1 *)PTR_strrchr_00077f44)(path,0x2f);
  if (var_1 != 0) {
    return (char *)(var_1 + 1);
  }
  return path;
}


(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 (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 (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strrchr_00077f44)(param_1,0x2f);
  if (iVar1 != 0) {
    return iVar1 + 1;
  }
  return param_1;
}

