
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void dispose_exec_redirects(void)

{
  undefined *puVar1;
  
  puVar1 = PTR_exec_redirection_undo_list_00144c58;
  if (*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58 != (REDIRECT *)0x0) {
    dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58);
    *(undefined4 *)puVar1 = 0;
  }
  return;
}



void dispose_exec_redirects(void)

{
  undefined *puVar1;
  
  puVar1 = PTR_exec_redirection_undo_list_00144c58;
  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {
    dispose_redirects();
    *(undefined4 *)puVar1 = 0;
  }
  return;
}


lui gp,0x10
addiu gp,gp,0x25b8
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
lw s0,-0x78e8(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,0x0(s0)
beq a0,zero,0x00049fc0
_lw t9,-0x7a04(gp)
bal 0x00048270
_nop
sw zero,0x0(s0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void dispose_exec_redirects(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}\n\n" (function_definition "void dispose_exec_redirects(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" primitive_type (function_declarator "dispose_exec_redirects(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_exec_redirection_undo_list_00144c58;" (assignment_expression "puVar1 = PTR_exec_redirection_undo_list_00144c58" identifier = identifier) ;) (if_statement "if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_exec_redirection_undo_list_00144c58 != 0)" ( (binary_expression "*(int *)PTR_exec_redirection_undo_list_00144c58 != 0" (pointer_expression "*(int *)PTR_exec_redirection_undo_list_00144c58" * (cast_expression "(int *)PTR_exec_redirection_undo_list_00144c58" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }" { (expression_statement "dispose_redirects();" (call_expression "dispose_redirects()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)puVar1 = 0;" (assignment_expression "*(undefined4 *)puVar1 = 0" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid dispose_exec_redirects(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58 != (REDIRECT *)0x0) {\n    dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58);\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}\n\n" comment (function_definition "void dispose_exec_redirects(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58 != (REDIRECT *)0x0) {\n    dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58);\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" primitive_type (function_declarator "dispose_exec_redirects(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58 != (REDIRECT *)0x0) {\n    dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58);\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_exec_redirection_undo_list_00144c58;" (assignment_expression "puVar1 = PTR_exec_redirection_undo_list_00144c58" identifier = identifier) ;) (if_statement "if (*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58 != (REDIRECT *)0x0) {\n    dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58);\n    *(undefined4 *)puVar1 = 0;\n  }" if (parenthesized_expression "(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58 != (REDIRECT *)0x0)" ( (binary_expression "*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58 != (REDIRECT *)0x0" (pointer_expression "*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58" * (cast_expression "(REDIRECT **)PTR_exec_redirection_undo_list_00144c58" ( (type_descriptor "REDIRECT **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(REDIRECT *)0x0" ( (type_descriptor "REDIRECT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58);\n    *(undefined4 *)puVar1 = 0;\n  }" { (expression_statement "dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58);" (call_expression "dispose_redirects(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58)" identifier (argument_list "(*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58)" ( (pointer_expression "*(REDIRECT **)PTR_exec_redirection_undo_list_00144c58" * (cast_expression "(REDIRECT **)PTR_exec_redirection_undo_list_00144c58" ( (type_descriptor "REDIRECT **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "*(undefined4 *)puVar1 = 0;" (assignment_expression "*(undefined4 *)puVar1 = 0" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void dispose_exec_redirects(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}\n\n" (function_definition "void dispose_exec_redirects(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" primitive_type (function_declarator "dispose_exec_redirects(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_exec_redirection_undo_list_00144c58;" (assignment_expression "puVar1 = PTR_exec_redirection_undo_list_00144c58" identifier = identifier) ;) (if_statement "if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_exec_redirection_undo_list_00144c58 != 0)" ( (binary_expression "*(int *)PTR_exec_redirection_undo_list_00144c58 != 0" (pointer_expression "*(int *)PTR_exec_redirection_undo_list_00144c58" * (cast_expression "(int *)PTR_exec_redirection_undo_list_00144c58" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }" { (expression_statement "dispose_redirects();" (call_expression "dispose_redirects()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)puVar1 = 0;" (assignment_expression "*(undefined4 *)puVar1 = 0" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void dispose_exec_redirects(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "dispose_exec_redirects(void)" (identifier "dispose_exec_redirects") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_exec_redirection_undo_list_00144c58;\n  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = PTR_exec_redirection_undo_list_00144c58;" (assignment_expression "puVar1 = PTR_exec_redirection_undo_list_00144c58" (identifier "puVar1") (= "=") (identifier "PTR_exec_redirection_undo_list_00144c58")) (; ";")) (if_statement "if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_exec_redirection_undo_list_00144c58 != 0)" (( "(") (binary_expression "*(int *)PTR_exec_redirection_undo_list_00144c58 != 0" (pointer_expression "*(int *)PTR_exec_redirection_undo_list_00144c58" (* "*") (cast_expression "(int *)PTR_exec_redirection_undo_list_00144c58" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_exec_redirection_undo_list_00144c58"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    dispose_redirects();\n    *(undefined4 *)puVar1 = 0;\n  }" ({ "{") (expression_statement "dispose_redirects();" (call_expression "dispose_redirects()" (identifier "dispose_redirects") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)puVar1 = 0;" (assignment_expression "*(undefined4 *)puVar1 = 0" (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *puVar1;
  
  puVar1 = PTR_exec_redirection_undo_list_00144c58;
  if (*(type_2 **)PTR_exec_redirection_undo_list_00144c58 != (type_2 *)0x0) {
    var_1(*(type_2 **)PTR_exec_redirection_undo_list_00144c58);
    *(type_3 *)puVar1 = 0;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  
  puVar1 = PTR_exec_redirection_undo_list_00144c58;
  if (*(int *)PTR_exec_redirection_undo_list_00144c58 != 0) {
    dispose_redirects();
    *(undefined4 *)puVar1 = 0;
  }
  return;
}

