
/* WARNING: Unknown calling convention */

void set_local_file(char **file,char *default_file)

{
  if (*(char **)(PTR_opt_000b746c + 0x94) == (char *)0x0) {
    *file = default_file;
  }
  else if (*PTR_output_stream_regular_000b78a0 != '\0') {
    *file = *(char **)(PTR_opt_000b746c + 0x94);
    return;
  }
  return;
}



void set_local_file(int *param_1,int param_2)

{
  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {
    *param_1 = param_2;
  }
  else if (*PTR_output_stream_regular_000b78a0 != '\0') {
    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);
    return;
  }
  return;
}


lui gp,0x7
addiu gp,gp,-0x40b4
addu gp,gp,t9
lw v0,-0x7fc4(gp)
lw v0,0x94(v0)
beq v0,zero,0x00053514
_lw v1,-0x7b90(gp)
lbu v1,0x0(v1)
beq v1,zero,0x00053518
_nop
jr ra
_sw v0,0x0(a0)
sw a1,0x0(a0)
jr ra
_nop
(translation_unit "void set_local_file(int *param_1,int param_2)\n\n{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void set_local_file(int *param_1,int param_2)\n\n{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_local_file(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" { (if_statement "if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_opt_000b746c + 0x94) == 0)" ( (binary_expression "*(int *)(PTR_opt_000b746c + 0x94) == 0" (pointer_expression "*(int *)(PTR_opt_000b746c + 0x94)" * (cast_expression "(int *)(PTR_opt_000b746c + 0x94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_opt_000b746c + 0x94)" ( (binary_expression "PTR_opt_000b746c + 0x94" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *param_1 = param_2;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" else (if_statement "if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" if (parenthesized_expression "(*PTR_output_stream_regular_000b78a0 != '\0')" ( (binary_expression "*PTR_output_stream_regular_000b78a0 != '\0'" (pointer_expression "*PTR_output_stream_regular_000b78a0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" { (expression_statement "*param_1 = *(int *)(PTR_opt_000b746c + 0x94);" (assignment_expression "*param_1 = *(int *)(PTR_opt_000b746c + 0x94)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(int *)(PTR_opt_000b746c + 0x94)" * (cast_expression "(int *)(PTR_opt_000b746c + 0x94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_opt_000b746c + 0x94)" ( (binary_expression "PTR_opt_000b746c + 0x94" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid set_local_file(char **file,char *default_file)\n\n{\n  if (*(char **)(PTR_opt_000b746c + 0x94) == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *file = *(char **)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void set_local_file(char **file,char *default_file)\n\n{\n  if (*(char **)(PTR_opt_000b746c + 0x94) == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *file = *(char **)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_local_file(char **file,char *default_file)" identifier (parameter_list "(char **file,char *default_file)" ( (parameter_declaration "char **file" primitive_type (pointer_declarator "**file" * (pointer_declarator "*file" * identifier))) , (parameter_declaration "char *default_file" primitive_type (pointer_declarator "*default_file" * identifier)) ))) (compound_statement "{\n  if (*(char **)(PTR_opt_000b746c + 0x94) == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *file = *(char **)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" { (if_statement "if (*(char **)(PTR_opt_000b746c + 0x94) == (char *)0x0) {\n    *file = default_file;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *file = *(char **)(PTR_opt_000b746c + 0x94);\n    return;\n  }" if (parenthesized_expression "(*(char **)(PTR_opt_000b746c + 0x94) == (char *)0x0)" ( (binary_expression "*(char **)(PTR_opt_000b746c + 0x94) == (char *)0x0" (pointer_expression "*(char **)(PTR_opt_000b746c + 0x94)" * (cast_expression "(char **)(PTR_opt_000b746c + 0x94)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_opt_000b746c + 0x94)" ( (binary_expression "PTR_opt_000b746c + 0x94" identifier + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *file = default_file;\n  }" { (expression_statement "*file = default_file;" (assignment_expression "*file = default_file" (pointer_expression "*file" * identifier) = identifier) ;) }) (else_clause "else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *file = *(char **)(PTR_opt_000b746c + 0x94);\n    return;\n  }" else (if_statement "if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *file = *(char **)(PTR_opt_000b746c + 0x94);\n    return;\n  }" if (parenthesized_expression "(*PTR_output_stream_regular_000b78a0 != '\0')" ( (binary_expression "*PTR_output_stream_regular_000b78a0 != '\0'" (pointer_expression "*PTR_output_stream_regular_000b78a0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *file = *(char **)(PTR_opt_000b746c + 0x94);\n    return;\n  }" { (expression_statement "*file = *(char **)(PTR_opt_000b746c + 0x94);" (assignment_expression "*file = *(char **)(PTR_opt_000b746c + 0x94)" (pointer_expression "*file" * identifier) = (pointer_expression "*(char **)(PTR_opt_000b746c + 0x94)" * (cast_expression "(char **)(PTR_opt_000b746c + 0x94)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_opt_000b746c + 0x94)" ( (binary_expression "PTR_opt_000b746c + 0x94" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void set_local_file(int *param_1,int param_2)\n\n{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void set_local_file(int *param_1,int param_2)\n\n{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_local_file(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" { (if_statement "if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_opt_000b746c + 0x94) == 0)" ( (binary_expression "*(int *)(PTR_opt_000b746c + 0x94) == 0" (pointer_expression "*(int *)(PTR_opt_000b746c + 0x94)" * (cast_expression "(int *)(PTR_opt_000b746c + 0x94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_opt_000b746c + 0x94)" ( (binary_expression "PTR_opt_000b746c + 0x94" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *param_1 = param_2;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" else (if_statement "if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" if (parenthesized_expression "(*PTR_output_stream_regular_000b78a0 != '\0')" ( (binary_expression "*PTR_output_stream_regular_000b78a0 != '\0'" (pointer_expression "*PTR_output_stream_regular_000b78a0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" { (expression_statement "*param_1 = *(int *)(PTR_opt_000b746c + 0x94);" (assignment_expression "*param_1 = *(int *)(PTR_opt_000b746c + 0x94)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(int *)(PTR_opt_000b746c + 0x94)" * (cast_expression "(int *)(PTR_opt_000b746c + 0x94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_opt_000b746c + 0x94)" ( (binary_expression "PTR_opt_000b746c + 0x94" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) })))) (return_statement return ;) })))
(function_definition "void set_local_file(int *param_1,int param_2)\n\n{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "set_local_file(int *param_1,int param_2)" (identifier "set_local_file") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {\n    *param_1 = param_2;\n  }\n  else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_opt_000b746c + 0x94) == 0)" (( "(") (binary_expression "*(int *)(PTR_opt_000b746c + 0x94) == 0" (pointer_expression "*(int *)(PTR_opt_000b746c + 0x94)" (* "*") (cast_expression "(int *)(PTR_opt_000b746c + 0x94)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_opt_000b746c + 0x94)" (( "(") (binary_expression "PTR_opt_000b746c + 0x94" (identifier "PTR_opt_000b746c") (+ "+") (number_literal "0x94")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = param_2;\n  }" ({ "{") (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" (else "else") (if_statement "if (*PTR_output_stream_regular_000b78a0 != '\0') {\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" (if "if") (parenthesized_expression "(*PTR_output_stream_regular_000b78a0 != '\0')" (( "(") (binary_expression "*PTR_output_stream_regular_000b78a0 != '\0'" (pointer_expression "*PTR_output_stream_regular_000b78a0" (* "*") (identifier "PTR_output_stream_regular_000b78a0")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *(int *)(PTR_opt_000b746c + 0x94);" (assignment_expression "*param_1 = *(int *)(PTR_opt_000b746c + 0x94)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*(int *)(PTR_opt_000b746c + 0x94)" (* "*") (cast_expression "(int *)(PTR_opt_000b746c + 0x94)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_opt_000b746c + 0x94)" (( "(") (binary_expression "PTR_opt_000b746c + 0x94" (identifier "PTR_opt_000b746c") (+ "+") (number_literal "0x94")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(char **file,char *default_file)

{
  if (*(char **)(var_1 + 0x94) == (char *)0x0) {
    *file = default_file;
  }
  else if (*PTR_output_stream_regular_000b78a0 != '\0') {
    *file = *(char **)(var_1 + 0x94);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (return_statement))))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  if (*(int *)(PTR_opt_000b746c + 0x94) == 0) {
    *param_1 = param_2;
  }
  else if (*PTR_output_stream_regular_000b78a0 != '\0') {
    *param_1 = *(int *)(PTR_opt_000b746c + 0x94);
    return;
  }
  return;
}

