
_Bool sg_if_can2stderr(char *leadin,int exit_status)

{
  _Bool _Var1;
  
  if (*(FILE **)PTR_sg_warnings_strm_00054940 != (FILE *)0x0) {
    _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940);
    return _Var1;
  }
  _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_stderr_00054a70);
  return _Var1;
}



void sg_if_can2stderr(undefined4 param_1,undefined4 param_2)

{
  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {
    FUN_000190d4();
    return;
  }
  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);
  return;
}


lui gp,0x4
addiu gp,gp,0x362c
addu gp,gp,t9
lw v0,-0x7ed0(gp)
lw a2,0x0(v0)
beq a2,zero,0x0001920c
_lw t9,-0x7fcc(gp)
addiu t9,t9,-0x6f2c
b 0x000190d4
_nop
lw v0,-0x7da0(gp)
addiu t9,t9,-0x6f2c
b 0x000190d4
_lw a2,0x0(v0)
(translation_unit "void sg_if_can2stderr(undefined4 param_1,undefined4 param_2)\n\n{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}\n\n" (function_definition "void sg_if_can2stderr(undefined4 param_1,undefined4 param_2)\n\n{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}" primitive_type (function_declarator "sg_if_can2stderr(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}" { (if_statement "if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_sg_warnings_strm_00054940 != 0)" ( (binary_expression "*(int *)PTR_sg_warnings_strm_00054940 != 0" (pointer_expression "*(int *)PTR_sg_warnings_strm_00054940" * (cast_expression "(int *)PTR_sg_warnings_strm_00054940" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    FUN_000190d4();\n    return;\n  }" { (expression_statement "FUN_000190d4();" (call_expression "FUN_000190d4()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);" (call_expression "FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70)" identifier (argument_list "(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70)" ( identifier , identifier , (pointer_expression "*(undefined4 *)PTR_stderr_00054a70" * (cast_expression "(undefined4 *)PTR_stderr_00054a70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "_Bool sg_if_can2stderr(char *leadin,int exit_status)\n\n{\n  _Bool _Var1;\n  \n  if (*(FILE **)PTR_sg_warnings_strm_00054940 != (FILE *)0x0) {\n    _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940);\n    return _Var1;\n  }\n  _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_stderr_00054a70);\n  return _Var1;\n}\n\n" (function_definition "_Bool sg_if_can2stderr(char *leadin,int exit_status)\n\n{\n  _Bool _Var1;\n  \n  if (*(FILE **)PTR_sg_warnings_strm_00054940 != (FILE *)0x0) {\n    _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940);\n    return _Var1;\n  }\n  _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_stderr_00054a70);\n  return _Var1;\n}" type_identifier (function_declarator "sg_if_can2stderr(char *leadin,int exit_status)" identifier (parameter_list "(char *leadin,int exit_status)" ( (parameter_declaration "char *leadin" primitive_type (pointer_declarator "*leadin" * identifier)) , (parameter_declaration "int exit_status" primitive_type identifier) ))) (compound_statement "{\n  _Bool _Var1;\n  \n  if (*(FILE **)PTR_sg_warnings_strm_00054940 != (FILE *)0x0) {\n    _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940);\n    return _Var1;\n  }\n  _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_stderr_00054a70);\n  return _Var1;\n}" { (declaration "_Bool _Var1;" type_identifier identifier ;) (if_statement "if (*(FILE **)PTR_sg_warnings_strm_00054940 != (FILE *)0x0) {\n    _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940);\n    return _Var1;\n  }" if (parenthesized_expression "(*(FILE **)PTR_sg_warnings_strm_00054940 != (FILE *)0x0)" ( (binary_expression "*(FILE **)PTR_sg_warnings_strm_00054940 != (FILE *)0x0" (pointer_expression "*(FILE **)PTR_sg_warnings_strm_00054940" * (cast_expression "(FILE **)PTR_sg_warnings_strm_00054940" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    _Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940);\n    return _Var1;\n  }" { (expression_statement "_Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940);" (assignment_expression "_Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940)" identifier = (call_expression "sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940)" identifier (argument_list "(leadin,exit_status,*(FILE **)PTR_sg_warnings_strm_00054940)" ( identifier , identifier , (pointer_expression "*(FILE **)PTR_sg_warnings_strm_00054940" * (cast_expression "(FILE **)PTR_sg_warnings_strm_00054940" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) )))) ;) (return_statement "return _Var1;" return identifier ;) })) (expression_statement "_Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_stderr_00054a70);" (assignment_expression "_Var1 = sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_stderr_00054a70)" identifier = (call_expression "sg_if_can2fp(leadin,exit_status,*(FILE **)PTR_stderr_00054a70)" identifier (argument_list "(leadin,exit_status,*(FILE **)PTR_stderr_00054a70)" ( identifier , identifier , (pointer_expression "*(FILE **)PTR_stderr_00054a70" * (cast_expression "(FILE **)PTR_stderr_00054a70" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) )))) ;) (return_statement "return _Var1;" return identifier ;) })))
(translation_unit "void sg_if_can2stderr(undefined4 param_1,undefined4 param_2)\n\n{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}\n\n" (function_definition "void sg_if_can2stderr(undefined4 param_1,undefined4 param_2)\n\n{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}" primitive_type (function_declarator "sg_if_can2stderr(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}" { (if_statement "if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_sg_warnings_strm_00054940 != 0)" ( (binary_expression "*(int *)PTR_sg_warnings_strm_00054940 != 0" (pointer_expression "*(int *)PTR_sg_warnings_strm_00054940" * (cast_expression "(int *)PTR_sg_warnings_strm_00054940" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    FUN_000190d4();\n    return;\n  }" { (expression_statement "FUN_000190d4();" (call_expression "FUN_000190d4()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);" (call_expression "FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70)" identifier (argument_list "(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70)" ( identifier , identifier , (pointer_expression "*(undefined4 *)PTR_stderr_00054a70" * (cast_expression "(undefined4 *)PTR_stderr_00054a70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (return_statement return ;) })))
(function_definition "void sg_if_can2stderr(undefined4 param_1,undefined4 param_2)\n\n{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}" (primitive_type "void") (function_declarator "sg_if_can2stderr(undefined4 param_1,undefined4 param_2)" (identifier "sg_if_can2stderr") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }\n  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);\n  return;\n}" ({ "{") (if_statement "if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {\n    FUN_000190d4();\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_sg_warnings_strm_00054940 != 0)" (( "(") (binary_expression "*(int *)PTR_sg_warnings_strm_00054940 != 0" (pointer_expression "*(int *)PTR_sg_warnings_strm_00054940" (* "*") (cast_expression "(int *)PTR_sg_warnings_strm_00054940" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_warnings_strm_00054940"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000190d4();\n    return;\n  }" ({ "{") (expression_statement "FUN_000190d4();" (call_expression "FUN_000190d4()" (identifier "FUN_000190d4") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);" (call_expression "FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70)" (identifier "FUN_000190d4") (argument_list "(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)PTR_stderr_00054a70" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00054a70" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00054a70"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  if (*(int *)PTR_sg_warnings_strm_00054940 != 0) {
    FUN_000190d4();
    return;
  }
  FUN_000190d4(param_1,param_2,*(undefined4 *)PTR_stderr_00054a70);
  return;
}

