
int strmatch(char *pattern,char *string,int flags)

{
  int iVar1;
  
  if ((string != (char *)0x0) && (pattern != (char *)0x0)) {
    iVar1 = xstrmatch(pattern,string,flags);
    return iVar1;
  }
  return 1;
}



undefined4 strmatch(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if ((param_2 != 0) && (param_1 != 0)) {
    uVar1 = xstrmatch();
    return uVar1;
  }
  return 1;
}


lui gp,0x8
addiu gp,gp,-0x4660
addu gp,gp,t9
beq a1,zero,0x000d0bc4
_nop
beq a0,zero,0x000d0bc4
_lw t9,-0x69d8(gp)
b 0x000d48f8
_nop
jr ra
_li v0,0x1
(translation_unit "undefined4 strmatch(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 strmatch(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}" type_identifier (function_declarator "strmatch(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  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }" if (parenthesized_expression "((param_2 != 0) && (param_1 != 0))" ( (binary_expression "(param_2 != 0) && (param_1 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar1 = xstrmatch();\n    return uVar1;\n  }" { (expression_statement "uVar1 = xstrmatch();" (assignment_expression "uVar1 = xstrmatch()" identifier = (call_expression "xstrmatch()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int strmatch(char *pattern,char *string,int flags)\n\n{\n  int iVar1;\n  \n  if ((string != (char *)0x0) && (pattern != (char *)0x0)) {\n    iVar1 = xstrmatch(pattern,string,flags);\n    return iVar1;\n  }\n  return 1;\n}\n\n" (function_definition "int strmatch(char *pattern,char *string,int flags)\n\n{\n  int iVar1;\n  \n  if ((string != (char *)0x0) && (pattern != (char *)0x0)) {\n    iVar1 = xstrmatch(pattern,string,flags);\n    return iVar1;\n  }\n  return 1;\n}" primitive_type (function_declarator "strmatch(char *pattern,char *string,int flags)" identifier (parameter_list "(char *pattern,char *string,int flags)" ( (parameter_declaration "char *pattern" primitive_type (pointer_declarator "*pattern" * identifier)) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((string != (char *)0x0) && (pattern != (char *)0x0)) {\n    iVar1 = xstrmatch(pattern,string,flags);\n    return iVar1;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((string != (char *)0x0) && (pattern != (char *)0x0)) {\n    iVar1 = xstrmatch(pattern,string,flags);\n    return iVar1;\n  }" if (parenthesized_expression "((string != (char *)0x0) && (pattern != (char *)0x0))" ( (binary_expression "(string != (char *)0x0) && (pattern != (char *)0x0)" (parenthesized_expression "(string != (char *)0x0)" ( (binary_expression "string != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pattern != (char *)0x0)" ( (binary_expression "pattern != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    iVar1 = xstrmatch(pattern,string,flags);\n    return iVar1;\n  }" { (expression_statement "iVar1 = xstrmatch(pattern,string,flags);" (assignment_expression "iVar1 = xstrmatch(pattern,string,flags)" identifier = (call_expression "xstrmatch(pattern,string,flags)" identifier (argument_list "(pattern,string,flags)" ( identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 strmatch(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 strmatch(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}" type_identifier (function_declarator "strmatch(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  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }" if (parenthesized_expression "((param_2 != 0) && (param_1 != 0))" ( (binary_expression "(param_2 != 0) && (param_1 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar1 = xstrmatch();\n    return uVar1;\n  }" { (expression_statement "uVar1 = xstrmatch();" (assignment_expression "uVar1 = xstrmatch()" identifier = (call_expression "xstrmatch()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 strmatch(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "strmatch(int param_1,int param_2)" (identifier "strmatch") (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  undefined4 uVar1;\n  \n  if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }\n  return 1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if ((param_2 != 0) && (param_1 != 0)) {\n    uVar1 = xstrmatch();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "((param_2 != 0) && (param_1 != 0))" (( "(") (binary_expression "(param_2 != 0) && (param_1 != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = xstrmatch();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = xstrmatch();" (assignment_expression "uVar1 = xstrmatch()" (identifier "uVar1") (= "=") (call_expression "xstrmatch()" (identifier "xstrmatch") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(char *var_2,char *var_1,int flags)

{
  int iVar1;
  
  if ((var_1 != (char *)0x0) && (var_2 != (char *)0x0)) {
    iVar1 = var_3(var_2,var_1,flags);
    return iVar1;
  }
  return 1;
}


(translation_unit (function_definition type: (type_identifier) 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 (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if ((param_2 != 0) && (param_1 != 0)) {
    uVar1 = xMASKED();
    return uVar1;
  }
  return 1;
}

