
void maybe_set_error_trap(char *command)

{
  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {
    return;
  }
  set_signal(0x81,command);
  return;
}



void maybe_set_error_trap(undefined4 param_1)

{
  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {
    return;
  }
  set_signal(0x81,param_1);
  return;
}


lui gp,0xc
addiu gp,gp,0x350c
addu gp,gp,t9
lw v0,-0x73ec(gp)
lw v0,-0x6db8(v0)
andi v0,v0,0x1
beq v0,zero,0x0008905c
_or a1,a0,zero
jr ra
_nop
lw t9,-0x71a4(gp)
b 0x00088cec
_li a0,0x81
(translation_unit "void maybe_set_error_trap(undefined4 param_1)\n\n{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}\n\n" (function_definition "void maybe_set_error_trap(undefined4 param_1)\n\n{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}" primitive_type (function_declarator "maybe_set_error_trap(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}" { (if_statement "if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }" if (parenthesized_expression "((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0)" ( (binary_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0" (parenthesized_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1)" ( (binary_expression "*(uint *)(PTR___environ_00145154 + -0x6db8) & 1" (pointer_expression "*(uint *)(PTR___environ_00145154 + -0x6db8)" * (cast_expression "(uint *)(PTR___environ_00145154 + -0x6db8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6db8)" ( (binary_expression "PTR___environ_00145154 + -0x6db8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "set_signal(0x81,param_1);" (call_expression "set_signal(0x81,param_1)" identifier (argument_list "(0x81,param_1)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void maybe_set_error_trap(char *command)\n\n{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,command);\n  return;\n}\n\n" (function_definition "void maybe_set_error_trap(char *command)\n\n{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,command);\n  return;\n}" primitive_type (function_declarator "maybe_set_error_trap(char *command)" identifier (parameter_list "(char *command)" ( (parameter_declaration "char *command" primitive_type (pointer_declarator "*command" * identifier)) ))) (compound_statement "{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,command);\n  return;\n}" { (if_statement "if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }" if (parenthesized_expression "((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0)" ( (binary_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0" (parenthesized_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1)" ( (binary_expression "*(uint *)(PTR___environ_00145154 + -0x6db8) & 1" (pointer_expression "*(uint *)(PTR___environ_00145154 + -0x6db8)" * (cast_expression "(uint *)(PTR___environ_00145154 + -0x6db8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6db8)" ( (binary_expression "PTR___environ_00145154 + -0x6db8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "set_signal(0x81,command);" (call_expression "set_signal(0x81,command)" identifier (argument_list "(0x81,command)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void maybe_set_error_trap(undefined4 param_1)\n\n{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}\n\n" (function_definition "void maybe_set_error_trap(undefined4 param_1)\n\n{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}" primitive_type (function_declarator "maybe_set_error_trap(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}" { (if_statement "if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }" if (parenthesized_expression "((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0)" ( (binary_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0" (parenthesized_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1)" ( (binary_expression "*(uint *)(PTR___environ_00145154 + -0x6db8) & 1" (pointer_expression "*(uint *)(PTR___environ_00145154 + -0x6db8)" * (cast_expression "(uint *)(PTR___environ_00145154 + -0x6db8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6db8)" ( (binary_expression "PTR___environ_00145154 + -0x6db8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "set_signal(0x81,param_1);" (call_expression "set_signal(0x81,param_1)" identifier (argument_list "(0x81,param_1)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void maybe_set_error_trap(undefined4 param_1)\n\n{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}" (primitive_type "void") (function_declarator "maybe_set_error_trap(undefined4 param_1)" (identifier "maybe_set_error_trap") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }\n  set_signal(0x81,param_1);\n  return;\n}" ({ "{") (if_statement "if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0)" (( "(") (binary_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0" (parenthesized_expression "(*(uint *)(PTR___environ_00145154 + -0x6db8) & 1)" (( "(") (binary_expression "*(uint *)(PTR___environ_00145154 + -0x6db8) & 1" (pointer_expression "*(uint *)(PTR___environ_00145154 + -0x6db8)" (* "*") (cast_expression "(uint *)(PTR___environ_00145154 + -0x6db8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x6db8)" (( "(") (binary_expression "PTR___environ_00145154 + -0x6db8" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x6db8")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "set_signal(0x81,param_1);" (call_expression "set_signal(0x81,param_1)" (identifier "set_signal") (argument_list "(0x81,param_1)" (( "(") (number_literal "0x81") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *command)

{
  if ((*(type_1 *)(var_1 + -0x6db8) & 1) != 0) {
    return;
  }
  var_2(0x81,command);
  return;
}


(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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1)

{
  if ((*(uint *)(PTR___environ_00145154 + -0x6db8) & 1) != 0) {
    return;
  }
  set_signal(0x81,param_1);
  return;
}

