
void restore_pipestatus_array(ARRAY *a)

{
  undefined *UNRECOVERED_JUMPTABLE;
  SHELL_VAR *pSVar1;
  
  pSVar1 = find_variable(PTR_LAB_00144578 + 0x730c);
  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;
  if (((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)) &&
     (pSVar1->value != (char *)0x0)) {
    pSVar1->value = (char *)a;
                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)UNRECOVERED_JUMPTABLE)();
    return;
  }
  return;
}



void restore_pipestatus_array(undefined4 param_1)

{
  undefined *UNRECOVERED_JUMPTABLE;
  int iVar1;
  
  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);
  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;
  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {
    *(undefined4 *)(iVar1 + 4) = param_1;
                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)UNRECOVERED_JUMPTABLE)();
    return;
  }
  return;
}


lui gp,0xf
addiu gp,gp,-0x24ac
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7db8(gp)
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,-0x7fc8(gp)
bal 0x00055be0
_addiu a0,a0,0x730c
beq v0,zero,0x0005ea50
_lw gp,0x10(sp)
lw v1,0x14(v0)
andi v1,v1,0x4
beq v1,zero,0x0005ea54
_lw ra,0x1c(sp)
lw a0,0x4(v0)
beq a0,zero,0x0005ea54
_lw t9,-0x768c(gp)
sw s0,0x4(v0)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void restore_pipestatus_array(undefined4 param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void restore_pipestatus_array(undefined4 param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "restore_pipestatus_array(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" { (declaration "undefined *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);" (assignment_expression "iVar1 = find_variable(PTR_LAB_00144578 + 0x730c)" identifier = (call_expression "find_variable(PTR_LAB_00144578 + 0x730c)" identifier (argument_list "(PTR_LAB_00144578 + 0x730c)" ( (binary_expression "PTR_LAB_00144578 + 0x730c" identifier + number_literal) )))) ;) (expression_statement "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4" identifier = identifier) ;) (if_statement "if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" if (parenthesized_expression "(((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0))" ( (binary_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0))" ( (binary_expression "(iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(iVar1 + 0x14) & 4) != 0)" ( (binary_expression "(*(uint *)(iVar1 + 0x14) & 4) != 0" (parenthesized_expression "(*(uint *)(iVar1 + 0x14) & 4)" ( (binary_expression "*(uint *)(iVar1 + 0x14) & 4" (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 4) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) comment comment (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)();" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" * (cast_expression "(code *)UNRECOVERED_JUMPTABLE" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void restore_pipestatus_array(ARRAY *a)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  SHELL_VAR *pSVar1;\n  \n  pSVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)) &&\n     (pSVar1->value != (char *)0x0)) {\n    pSVar1->value = (char *)a;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void restore_pipestatus_array(ARRAY *a)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  SHELL_VAR *pSVar1;\n  \n  pSVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)) &&\n     (pSVar1->value != (char *)0x0)) {\n    pSVar1->value = (char *)a;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "restore_pipestatus_array(ARRAY *a)" identifier (parameter_list "(ARRAY *a)" ( (parameter_declaration "ARRAY *a" type_identifier (pointer_declarator "*a" * identifier)) ))) (compound_statement "{\n  undefined *UNRECOVERED_JUMPTABLE;\n  SHELL_VAR *pSVar1;\n  \n  pSVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)) &&\n     (pSVar1->value != (char *)0x0)) {\n    pSVar1->value = (char *)a;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" { (declaration "undefined *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (declaration "SHELL_VAR *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (expression_statement "pSVar1 = find_variable(PTR_LAB_00144578 + 0x730c);" (assignment_expression "pSVar1 = find_variable(PTR_LAB_00144578 + 0x730c)" identifier = (call_expression "find_variable(PTR_LAB_00144578 + 0x730c)" identifier (argument_list "(PTR_LAB_00144578 + 0x730c)" ( (binary_expression "PTR_LAB_00144578 + 0x730c" identifier + number_literal) )))) ;) (expression_statement "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4" identifier = identifier) ;) (if_statement "if (((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)) &&\n     (pSVar1->value != (char *)0x0)) {\n    pSVar1->value = (char *)a;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" if (parenthesized_expression "(((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)) &&\n     (pSVar1->value != (char *)0x0))" ( (binary_expression "((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)) &&\n     (pSVar1->value != (char *)0x0)" (parenthesized_expression "((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0))" ( (binary_expression "(pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 4U) != 0)" (parenthesized_expression "(pSVar1 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar1 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((pSVar1->attributes & 4U) != 0)" ( (binary_expression "(pSVar1->attributes & 4U) != 0" (parenthesized_expression "(pSVar1->attributes & 4U)" ( (binary_expression "pSVar1->attributes & 4U" (field_expression "pSVar1->attributes" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(pSVar1->value != (char *)0x0)" ( (binary_expression "pSVar1->value != (char *)0x0" (field_expression "pSVar1->value" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    pSVar1->value = (char *)a;\n                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" { (expression_statement "pSVar1->value = (char *)a;" (assignment_expression "pSVar1->value = (char *)a" (field_expression "pSVar1->value" identifier -> field_identifier) = (cast_expression "(char *)a" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) comment comment (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)();" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" * (cast_expression "(code *)UNRECOVERED_JUMPTABLE" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void restore_pipestatus_array(undefined4 param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void restore_pipestatus_array(undefined4 param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "restore_pipestatus_array(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" { (declaration "undefined *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);" (assignment_expression "iVar1 = find_variable(PTR_LAB_00144578 + 0x730c)" identifier = (call_expression "find_variable(PTR_LAB_00144578 + 0x730c)" identifier (argument_list "(PTR_LAB_00144578 + 0x730c)" ( (binary_expression "PTR_LAB_00144578 + 0x730c" identifier + number_literal) )))) ;) (expression_statement "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4" identifier = identifier) ;) (if_statement "if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" if (parenthesized_expression "(((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0))" ( (binary_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0))" ( (binary_expression "(iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(iVar1 + 0x14) & 4) != 0)" ( (binary_expression "(*(uint *)(iVar1 + 0x14) & 4) != 0" (parenthesized_expression "(*(uint *)(iVar1 + 0x14) & 4)" ( (binary_expression "*(uint *)(iVar1 + 0x14) & 4" (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 4) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)();" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" * (cast_expression "(code *)UNRECOVERED_JUMPTABLE" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (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) ))) )) && (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void restore_pipestatus_array(undefined4 param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "restore_pipestatus_array(undefined4 param_1)" (identifier "restore_pipestatus_array") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *UNRECOVERED_JUMPTABLE;\n  int iVar1;\n  \n  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);\n  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;\n  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *UNRECOVERED_JUMPTABLE;" (type_identifier "undefined") (pointer_declarator "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);" (assignment_expression "iVar1 = find_variable(PTR_LAB_00144578 + 0x730c)" (identifier "iVar1") (= "=") (call_expression "find_variable(PTR_LAB_00144578 + 0x730c)" (identifier "find_variable") (argument_list "(PTR_LAB_00144578 + 0x730c)" (( "(") (binary_expression "PTR_LAB_00144578 + 0x730c" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x730c")) () ")")))) (; ";")) (expression_statement "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4" (identifier "UNRECOVERED_JUMPTABLE") (= "=") (identifier "PTR_array_dispose_00144eb4")) (; ";")) (if_statement "if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" (if "if") (parenthesized_expression "(((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0))" (( "(") (binary_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)" (parenthesized_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0))" (( "(") (binary_expression "(iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(iVar1 + 0x14) & 4) != 0)" (( "(") (binary_expression "(*(uint *)(iVar1 + 0x14) & 4) != 0" (parenthesized_expression "(*(uint *)(iVar1 + 0x14) & 4)" (( "(") (binary_expression "*(uint *)(iVar1 + 0x14) & 4" (pointer_expression "*(uint *)(iVar1 + 0x14)" (* "*") (cast_expression "(uint *)(iVar1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar1 + 4) = param_1;\n                    \n                    \n    (*(code *)UNRECOVERED_JUMPTABLE)();\n    return;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 4) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)();" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" (( "(") (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" (* "*") (cast_expression "(code *)UNRECOVERED_JUMPTABLE" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "UNRECOVERED_JUMPTABLE"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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))))) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (return_statement))) (return_statement))))

void MASKED(undefined4 param_1)

{
  undefined *UNRECOVERED_JUMPTABLE;
  int iVar1;
  
  iVar1 = find_variable(PTR_LAB_00144578 + 0x730c);
  UNRECOVERED_JUMPTABLE = PTR_array_dispose_00144eb4;
  if (((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 4) != 0)) && (*(int *)(iVar1 + 4) != 0)) {
    *(undefined4 *)(iVar1 + 4) = param_1;
                    /* WARNING: Could not recover jumptable at 0x0005ea48. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)UNRECOVERED_JUMPTABLE)();
    return;
  }
  return;
}

