
int should_suppress_fork(COMMAND *command)

{
  int iVar1;
  
  if (*(int *)PTR_startup_state_00144594 == 2) {
    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {
      return 0;
    }
    if (*(int *)PTR_running_trap_00144bb0 != 0) {
      return 0;
    }
    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {
      return 0;
    }
    if (command->type != cm_simple) {
      return 0;
    }
    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);
    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {
      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();
      if (-1 < iVar1) {
        return 0;
      }
      if (command->redirects != (REDIRECT *)0x0) {
        return 0;
      }
      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {
        return (uint)((command->flags & 0x84U) == 0);
      }
    }
  }
  return 0;
}



bool should_suppress_fork(int *param_1)

{
  int iVar1;
  
  if (*(int *)PTR_startup_state_00144594 == 2) {
    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {
      return false;
    }
    if (*(int *)PTR_running_trap_00144bb0 != 0) {
      return false;
    }
    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {
      return false;
    }
    if (*param_1 != 4) {
      return false;
    }
    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);
    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {
      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();
      if (-1 < iVar1) {
        return false;
      }
      if (param_1[3] != 0) {
        return false;
      }
      if (*(int *)(param_1[4] + 0xc) == 0) {
        return (param_1[1] & 0x84U) == 0;
      }
    }
  }
  return false;
}


lui gp,0x9
addiu gp,gp,0x6594
addu gp,gp,t9
lw v1,-0x7fac(gp)
addiu sp,sp,-0x20
li v0,0x2
sw gp,0x10(sp)
sw ra,0x1c(sp)
sw s0,0x18(sp)
lw v1,0x0(v1)
beq v1,v0,0x000b5ff0
_lw v1,-0x7c44(gp)
or v0,zero,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
li v0,0x1
lw v1,0x0(v1)
bne v1,v0,0x000b5fe0
_or v0,zero,zero
lw v0,-0x7990(gp)
lw v0,0x0(v0)
bne v0,zero,0x000b5fe0
_or v0,zero,zero
lw v0,-0x7e9c(gp)
lw v0,0x8(v0)
lb v0,0x0(v0)
bne v0,zero,0x000b5fe0
_or v0,zero,zero
lw v1,0x0(a0)
li v0,0x4
bne v1,v0,0x000b5fe0
_or v0,zero,zero
lw t9,-0x7edc(gp)
or s0,a0,zero
jalr t9
_or a0,zero,zero
bne v0,zero,0x000b5fdc
_lw gp,0x10(sp)
lw t9,-0x7edc(gp)
jalr t9
_li a0,0x81
bne v0,zero,0x000b5fdc
_lw gp,0x10(sp)
lw t9,-0x6c08(gp)
jalr t9
_nop
bgez v0,0x000b5fe0
_or v0,zero,zero
lw v0,0xc(s0)
bne v0,zero,0x000b5fe0
_or v0,zero,zero
lw v0,0x10(s0)
lw v0,0xc(v0)
bne v0,zero,0x000b5fdc
_nop
lw v0,0x4(s0)
andi v0,v0,0x84
b 0x000b5fe0
_sltiu v0,v0,0x1
(translation_unit "bool should_suppress_fork(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}\n\n" (function_definition "bool should_suppress_fork(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "should_suppress_fork(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)PTR_startup_state_00144594 == 2)" ( (binary_expression "*(int *)PTR_startup_state_00144594 == 2" (pointer_expression "*(int *)PTR_startup_state_00144594" * (cast_expression "(int *)PTR_startup_state_00144594" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }" { (if_statement "if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }" if (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001448fc != 1)" ( (binary_expression "*(int *)PTR_parse_and_execute_level_001448fc != 1" (pointer_expression "*(int *)PTR_parse_and_execute_level_001448fc" * (cast_expression "(int *)PTR_parse_and_execute_level_001448fc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }" if (parenthesized_expression "(*(int *)PTR_running_trap_00144bb0 != 0)" ( (binary_expression "*(int *)PTR_running_trap_00144bb0 != 0" (pointer_expression "*(int *)PTR_running_trap_00144bb0" * (cast_expression "(int *)PTR_running_trap_00144bb0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }" if (parenthesized_expression "(**(char **)(PTR_bash_input_001446a4 + 8) != '\0')" ( (binary_expression "**(char **)(PTR_bash_input_001446a4 + 8) != '\0'" (pointer_expression "**(char **)(PTR_bash_input_001446a4 + 8)" * (pointer_expression "*(char **)(PTR_bash_input_001446a4 + 8)" * (cast_expression "(char **)(PTR_bash_input_001446a4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bash_input_001446a4 + 8)" ( (binary_expression "PTR_bash_input_001446a4 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (*param_1 != 4) {\n      return false;\n    }" if (parenthesized_expression "(*param_1 != 4)" ( (binary_expression "*param_1 != 4" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0)" identifier = (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" ( (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" * (cast_expression "(code *)PTR_signal_is_trapped_00144664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81)" identifier = (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0x81)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" ( (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" * (cast_expression "(code *)PTR_signal_is_trapped_00144664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x81)" ( number_literal )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();" (assignment_expression "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)()" identifier = (call_expression "(*(code *)PTR_any_signals_trapped_00145938)()" (parenthesized_expression "(*(code *)PTR_any_signals_trapped_00145938)" ( (pointer_expression "*(code *)PTR_any_signals_trapped_00145938" * (cast_expression "(code *)PTR_any_signals_trapped_00145938" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (-1 < iVar1) {\n        return false;\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (param_1[3] != 0) {\n        return false;\n      }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }" if (parenthesized_expression "(*(int *)(param_1[4] + 0xc) == 0)" ( (binary_expression "*(int *)(param_1[4] + 0xc) == 0" (pointer_expression "*(int *)(param_1[4] + 0xc)" * (cast_expression "(int *)(param_1[4] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + 0xc)" ( (binary_expression "param_1[4] + 0xc" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal) )))) == number_literal) )) (compound_statement "{\n        return (param_1[1] & 0x84U) == 0;\n      }" { (return_statement "return (param_1[1] & 0x84U) == 0;" return (binary_expression "(param_1[1] & 0x84U) == 0" (parenthesized_expression "(param_1[1] & 0x84U)" ( (binary_expression "param_1[1] & 0x84U" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) ;) })) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "int should_suppress_fork(COMMAND *command)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return 0;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return 0;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return 0;\n    }\n    if (command->type != cm_simple) {\n      return 0;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return 0;\n      }\n      if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }\n      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int should_suppress_fork(COMMAND *command)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return 0;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return 0;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return 0;\n    }\n    if (command->type != cm_simple) {\n      return 0;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return 0;\n      }\n      if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }\n      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "should_suppress_fork(COMMAND *command)" identifier (parameter_list "(COMMAND *command)" ( (parameter_declaration "COMMAND *command" type_identifier (pointer_declarator "*command" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return 0;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return 0;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return 0;\n    }\n    if (command->type != cm_simple) {\n      return 0;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return 0;\n      }\n      if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }\n      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return 0;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return 0;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return 0;\n    }\n    if (command->type != cm_simple) {\n      return 0;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return 0;\n      }\n      if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }\n      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)PTR_startup_state_00144594 == 2)" ( (binary_expression "*(int *)PTR_startup_state_00144594 == 2" (pointer_expression "*(int *)PTR_startup_state_00144594" * (cast_expression "(int *)PTR_startup_state_00144594" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return 0;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return 0;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return 0;\n    }\n    if (command->type != cm_simple) {\n      return 0;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return 0;\n      }\n      if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }\n      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }\n    }\n  }" { (if_statement "if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return 0;\n    }" if (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001448fc != 1)" ( (binary_expression "*(int *)PTR_parse_and_execute_level_001448fc != 1" (pointer_expression "*(int *)PTR_parse_and_execute_level_001448fc" * (cast_expression "(int *)PTR_parse_and_execute_level_001448fc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(*(int *)PTR_running_trap_00144bb0 != 0)" ( (binary_expression "*(int *)PTR_running_trap_00144bb0 != 0" (pointer_expression "*(int *)PTR_running_trap_00144bb0" * (cast_expression "(int *)PTR_running_trap_00144bb0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return 0;\n    }" if (parenthesized_expression "(**(char **)(PTR_bash_input_001446a4 + 8) != '\0')" ( (binary_expression "**(char **)(PTR_bash_input_001446a4 + 8) != '\0'" (pointer_expression "**(char **)(PTR_bash_input_001446a4 + 8)" * (pointer_expression "*(char **)(PTR_bash_input_001446a4 + 8)" * (cast_expression "(char **)(PTR_bash_input_001446a4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bash_input_001446a4 + 8)" ( (binary_expression "PTR_bash_input_001446a4 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (command->type != cm_simple) {\n      return 0;\n    }" if (parenthesized_expression "(command->type != cm_simple)" ( (binary_expression "command->type != cm_simple" (field_expression "command->type" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0)" identifier = (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" ( (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" * (cast_expression "(code *)PTR_signal_is_trapped_00144664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return 0;\n      }\n      if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }\n      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }\n    }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81)" identifier = (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0x81)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" ( (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" * (cast_expression "(code *)PTR_signal_is_trapped_00144664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x81)" ( number_literal )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return 0;\n      }\n      if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }\n      if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();" (assignment_expression "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)()" identifier = (call_expression "(*(code *)PTR_any_signals_trapped_00145938)()" (parenthesized_expression "(*(code *)PTR_any_signals_trapped_00145938)" ( (pointer_expression "*(code *)PTR_any_signals_trapped_00145938" * (cast_expression "(code *)PTR_any_signals_trapped_00145938" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (-1 < iVar1) {\n        return 0;\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (command->redirects != (REDIRECT *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(command->redirects != (REDIRECT *)0x0)" ( (binary_expression "command->redirects != (REDIRECT *)0x0" (field_expression "command->redirects" identifier -> field_identifier) != (cast_expression "(REDIRECT *)0x0" ( (type_descriptor "REDIRECT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (((command->value).For)->map_list == (WORD_LIST *)0x0) {\n        return (uint)((command->flags & 0x84U) == 0);\n      }" if (parenthesized_expression "(((command->value).For)->map_list == (WORD_LIST *)0x0)" ( (binary_expression "((command->value).For)->map_list == (WORD_LIST *)0x0" (field_expression "((command->value).For)->map_list" (parenthesized_expression "((command->value).For)" ( (field_expression "(command->value).For" (parenthesized_expression "(command->value)" ( (field_expression "command->value" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) == (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (uint)((command->flags & 0x84U) == 0);\n      }" { (return_statement "return (uint)((command->flags & 0x84U) == 0);" return (call_expression "(uint)((command->flags & 0x84U) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((command->flags & 0x84U) == 0)" ( (binary_expression "(command->flags & 0x84U) == 0" (parenthesized_expression "(command->flags & 0x84U)" ( (binary_expression "command->flags & 0x84U" (field_expression "command->flags" identifier -> field_identifier) & number_literal) )) == number_literal) ))) ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bool should_suppress_fork(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}\n\n" (function_definition "bool should_suppress_fork(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "should_suppress_fork(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)PTR_startup_state_00144594 == 2)" ( (binary_expression "*(int *)PTR_startup_state_00144594 == 2" (pointer_expression "*(int *)PTR_startup_state_00144594" * (cast_expression "(int *)PTR_startup_state_00144594" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }" { (if_statement "if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }" if (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001448fc != 1)" ( (binary_expression "*(int *)PTR_parse_and_execute_level_001448fc != 1" (pointer_expression "*(int *)PTR_parse_and_execute_level_001448fc" * (cast_expression "(int *)PTR_parse_and_execute_level_001448fc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }" if (parenthesized_expression "(*(int *)PTR_running_trap_00144bb0 != 0)" ( (binary_expression "*(int *)PTR_running_trap_00144bb0 != 0" (pointer_expression "*(int *)PTR_running_trap_00144bb0" * (cast_expression "(int *)PTR_running_trap_00144bb0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }" if (parenthesized_expression "(**(char **)(PTR_bash_input_001446a4 + 8) != '\0')" ( (binary_expression "**(char **)(PTR_bash_input_001446a4 + 8) != '\0'" (pointer_expression "**(char **)(PTR_bash_input_001446a4 + 8)" * (pointer_expression "*(char **)(PTR_bash_input_001446a4 + 8)" * (cast_expression "(char **)(PTR_bash_input_001446a4 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bash_input_001446a4 + 8)" ( (binary_expression "PTR_bash_input_001446a4 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (*param_1 != 4) {\n      return false;\n    }" if (parenthesized_expression "(*param_1 != 4)" ( (binary_expression "*param_1 != 4" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0)" identifier = (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" ( (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" * (cast_expression "(code *)PTR_signal_is_trapped_00144664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81)" identifier = (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0x81)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" ( (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" * (cast_expression "(code *)PTR_signal_is_trapped_00144664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x81)" ( number_literal )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();" (assignment_expression "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)()" identifier = (call_expression "(*(code *)PTR_any_signals_trapped_00145938)()" (parenthesized_expression "(*(code *)PTR_any_signals_trapped_00145938)" ( (pointer_expression "*(code *)PTR_any_signals_trapped_00145938" * (cast_expression "(code *)PTR_any_signals_trapped_00145938" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (-1 < iVar1) {\n        return false;\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (param_1[3] != 0) {\n        return false;\n      }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }" if (parenthesized_expression "(*(int *)(param_1[4] + 0xc) == 0)" ( (binary_expression "*(int *)(param_1[4] + 0xc) == 0" (pointer_expression "*(int *)(param_1[4] + 0xc)" * (cast_expression "(int *)(param_1[4] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + 0xc)" ( (binary_expression "param_1[4] + 0xc" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal) )))) == number_literal) )) (compound_statement "{\n        return (param_1[1] & 0x84U) == 0;\n      }" { (return_statement "return (param_1[1] & 0x84U) == 0;" return (binary_expression "(param_1[1] & 0x84U) == 0" (parenthesized_expression "(param_1[1] & 0x84U)" ( (binary_expression "param_1[1] & 0x84U" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) ;) })) })) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) == LIT) )) (compound_statement { (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) ;) })) })) })) (return_statement return BOOL ;) })))
(function_definition "bool should_suppress_fork(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "should_suppress_fork(int *param_1)" (identifier "should_suppress_fork") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }\n  return false;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(int *)PTR_startup_state_00144594 == 2) {\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_startup_state_00144594 == 2)" (( "(") (binary_expression "*(int *)PTR_startup_state_00144594 == 2" (pointer_expression "*(int *)PTR_startup_state_00144594" (* "*") (cast_expression "(int *)PTR_startup_state_00144594" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_startup_state_00144594"))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }\n    if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }\n    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }\n    if (*param_1 != 4) {\n      return false;\n    }\n    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }\n  }" ({ "{") (if_statement "if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {\n      return false;\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001448fc != 1)" (( "(") (binary_expression "*(int *)PTR_parse_and_execute_level_001448fc != 1" (pointer_expression "*(int *)PTR_parse_and_execute_level_001448fc" (* "*") (cast_expression "(int *)PTR_parse_and_execute_level_001448fc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parse_and_execute_level_001448fc"))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      return false;\n    }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (*(int *)PTR_running_trap_00144bb0 != 0) {\n      return false;\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_running_trap_00144bb0 != 0)" (( "(") (binary_expression "*(int *)PTR_running_trap_00144bb0 != 0" (pointer_expression "*(int *)PTR_running_trap_00144bb0" (* "*") (cast_expression "(int *)PTR_running_trap_00144bb0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_running_trap_00144bb0"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return false;\n    }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {\n      return false;\n    }" (if "if") (parenthesized_expression "(**(char **)(PTR_bash_input_001446a4 + 8) != '\0')" (( "(") (binary_expression "**(char **)(PTR_bash_input_001446a4 + 8) != '\0'" (pointer_expression "**(char **)(PTR_bash_input_001446a4 + 8)" (* "*") (pointer_expression "*(char **)(PTR_bash_input_001446a4 + 8)" (* "*") (cast_expression "(char **)(PTR_bash_input_001446a4 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_bash_input_001446a4 + 8)" (( "(") (binary_expression "PTR_bash_input_001446a4 + 8" (identifier "PTR_bash_input_001446a4") (+ "+") (number_literal "8")) () ")"))))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return false;\n    }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (*param_1 != 4) {\n      return false;\n    }" (if "if") (parenthesized_expression "(*param_1 != 4)" (( "(") (binary_expression "*param_1 != 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n      return false;\n    }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" (( "(") (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" (* "*") (cast_expression "(code *)PTR_signal_is_trapped_00144664" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_signal_is_trapped_00144664"))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }" (if "if") (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0))" (( "(") (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)" (( "(") (comma_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_signal_is_trapped_00144664)(0x81)" (parenthesized_expression "(*(code *)PTR_signal_is_trapped_00144664)" (( "(") (pointer_expression "*(code *)PTR_signal_is_trapped_00144664" (* "*") (cast_expression "(code *)PTR_signal_is_trapped_00144664" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_signal_is_trapped_00144664"))) () ")")) (argument_list "(0x81)" (( "(") (number_literal "0x81") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();\n      if (-1 < iVar1) {\n        return false;\n      }\n      if (param_1[3] != 0) {\n        return false;\n      }\n      if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();" (assignment_expression "iVar1 = (*(code *)PTR_any_signals_trapped_00145938)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_any_signals_trapped_00145938)()" (parenthesized_expression "(*(code *)PTR_any_signals_trapped_00145938)" (( "(") (pointer_expression "*(code *)PTR_any_signals_trapped_00145938" (* "*") (cast_expression "(code *)PTR_any_signals_trapped_00145938" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_any_signals_trapped_00145938"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (-1 < iVar1) {\n        return false;\n      }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        return false;\n      }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (param_1[3] != 0) {\n        return false;\n      }" (if "if") (parenthesized_expression "(param_1[3] != 0)" (( "(") (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return false;\n      }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1[4] + 0xc) == 0) {\n        return (param_1[1] & 0x84U) == 0;\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1[4] + 0xc) == 0)" (( "(") (binary_expression "*(int *)(param_1[4] + 0xc) == 0" (pointer_expression "*(int *)(param_1[4] + 0xc)" (* "*") (cast_expression "(int *)(param_1[4] + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[4] + 0xc)" (( "(") (binary_expression "param_1[4] + 0xc" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return (param_1[1] & 0x84U) == 0;\n      }" ({ "{") (return_statement "return (param_1[1] & 0x84U) == 0;" (return "return") (binary_expression "(param_1[1] & 0x84U) == 0" (parenthesized_expression "(param_1[1] & 0x84U)" (( "(") (binary_expression "param_1[1] & 0x84U" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x84U")) () ")")) (== "==") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

int function_1(type_1 *command)

{
  int var_3;
  
  if (*(int *)PTR_startup_state_00144594 == 2) {
    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {
      return 0;
    }
    if (*(int *)PTR_running_trap_00144bb0 != 0) {
      return 0;
    }
    if (**(char **)(var_1 + 8) != '\0') {
      return 0;
    }
    if (command->type != var_2) {
      return 0;
    }
    var_3 = (*(type_2 *)PTR_signal_is_trapped_00144664)(0);
    if ((var_3 == 0) && (var_3 = (*(type_2 *)PTR_signal_is_trapped_00144664)(0x81), var_3 == 0)) {
      var_3 = (*(type_2 *)PTR_any_signals_trapped_00145938)();
      if (-1 < var_3) {
        return 0;
      }
      if (command->redirects != (type_3 *)0x0) {
        return 0;
      }
      if (((command->value).For)->map_list == (type_4 *)0x0) {
        return (uint)((command->flags & 0x84U) == 0);
      }
    }
  }
  return 0;
}


(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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (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 (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 (return_statement (false)))) (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 (return_statement (false)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (false)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (expression_statement (assignment_expression left: (identifier) right: (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 (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (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 (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (return_statement (false)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))))))))) (return_statement (false)))))

bool MASKED(int *param_1)

{
  int iVar1;
  
  if (*(int *)PTR_startup_state_00144594 == 2) {
    if (*(int *)PTR_parse_and_execute_level_001448fc != 1) {
      return false;
    }
    if (*(int *)PTR_running_trap_00144bb0 != 0) {
      return false;
    }
    if (**(char **)(PTR_bash_input_001446a4 + 8) != '\0') {
      return false;
    }
    if (*param_1 != 4) {
      return false;
    }
    iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0);
    if ((iVar1 == 0) && (iVar1 = (*(code *)PTR_signal_is_trapped_00144664)(0x81), iVar1 == 0)) {
      iVar1 = (*(code *)PTR_any_signals_trapped_00145938)();
      if (-1 < iVar1) {
        return false;
      }
      if (param_1[3] != 0) {
        return false;
      }
      if (*(int *)(param_1[4] + 0xc) == 0) {
        return (param_1[1] & 0x84U) == 0;
      }
    }
  }
  return false;
}

