
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void notify_and_cleanup(void)

{
  if (jobs_list_frozen == 0) {
    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&
       (jobs != (JOB **)0x0)) {
      if (js.j_jobslots != 0) {
        notify_of_job_status();
        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;
      }
    }
    else if (js.j_jobslots != 0) {
LAB_00060921:
      cleanup_dead_jobs();
      return;
    }
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void notify_and_cleanup(void)

{
  if (DAT_00151020 == 0) {
    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {
      if (DAT_0014a7d8 != 0) {
        FUN_0005e090();
        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;
      }
    }
    else if (DAT_0014a7d8 != 0) {
LAB_00060921:
      FUN_000606a0();
      return;
    }
  }
  return;
}


PUSH EBX
CALL 0x00031ed0
ADD EBX,0xe971a
SUB ESP,0x8
MOV ECX,dword ptr [EBX + 0x7020]
TEST ECX,ECX
JNZ 0x00060957
LEA EDX,[EBX + 0x4848]
MOV EAX,dword ptr [EBX + 0x7d8]
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JZ 0x00060930
LEA EDX,[EBX + 0x484c]
MOV ECX,dword ptr [EDX]
LEA EDX,[EBX + 0x7670]
OR ECX,dword ptr [EDX]
JNZ 0x00060930
TEST EAX,EAX
JZ 0x00060957
ADD ESP,0x8
POP EBX
JMP 0x000606a0
MOV ECX,dword ptr [EBX + 0x5ef4]
TEST ECX,ECX
JZ 0x0006091d
TEST EAX,EAX
JZ 0x00060957
CALL 0x0005e090
MOV EDX,dword ptr [EBX + 0x7d8]
TEST EDX,EDX
JZ 0x00060957
MOV EAX,dword ptr [EBX + 0x7020]
TEST EAX,EAX
JZ 0x00060921
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid notify_and_cleanup(void)\n\n{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void notify_and_cleanup(void)\n\n{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "notify_and_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}" { (if_statement "if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }" if (parenthesized_expression "(DAT_00151020 == 0)" ( (binary_expression "DAT_00151020 == 0" identifier == number_literal) )) (compound_statement "{\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }" { (if_statement "if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" if (parenthesized_expression "(((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0))" ( (binary_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)" (parenthesized_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0))" ( (binary_expression "(interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)" (parenthesized_expression "(interactive_shell == 0)" ( (binary_expression "interactive_shell == 0" identifier == number_literal) )) || (parenthesized_expression "(interactive != 0 || sourcelevel != 0)" ( (binary_expression "interactive != 0 || sourcelevel != 0" (binary_expression "interactive != 0" identifier != number_literal) || (binary_expression "sourcelevel != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(jobs != 0)" ( (binary_expression "jobs != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }" { (if_statement "if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }" if (parenthesized_expression "(DAT_0014a7d8 != 0)" ( (binary_expression "DAT_0014a7d8 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }" { (expression_statement "FUN_0005e090();" (call_expression "FUN_0005e090()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;" if (parenthesized_expression "((DAT_0014a7d8 != 0) && (DAT_00151020 == 0))" ( (binary_expression "(DAT_0014a7d8 != 0) && (DAT_00151020 == 0)" (parenthesized_expression "(DAT_0014a7d8 != 0)" ( (binary_expression "DAT_0014a7d8 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_00151020 == 0)" ( (binary_expression "DAT_00151020 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_00060921;" goto statement_identifier ;)) })) }) (else_clause "else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" else (if_statement "if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" if (parenthesized_expression "(DAT_0014a7d8 != 0)" ( (binary_expression "DAT_0014a7d8 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" { (labeled_statement "LAB_00060921:\n      FUN_000606a0();" statement_identifier : (expression_statement "FUN_000606a0();" (call_expression "FUN_000606a0()" identifier (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })))) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid notify_and_cleanup(void)\n\n{\n  if (jobs_list_frozen == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0)) {\n      if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }\n    }\n    else if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void notify_and_cleanup(void)\n\n{\n  if (jobs_list_frozen == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0)) {\n      if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }\n    }\n    else if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "notify_and_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (jobs_list_frozen == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0)) {\n      if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }\n    }\n    else if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }\n  }\n  return;\n}" { (if_statement "if (jobs_list_frozen == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0)) {\n      if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }\n    }\n    else if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }\n  }" if (parenthesized_expression "(jobs_list_frozen == 0)" ( (binary_expression "jobs_list_frozen == 0" identifier == number_literal) )) (compound_statement "{\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0)) {\n      if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }\n    }\n    else if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }\n  }" { (if_statement "if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0)) {\n      if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }\n    }\n    else if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }" if (parenthesized_expression "(((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0))" ( (binary_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) &&\n       (jobs != (JOB **)0x0)" (parenthesized_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0))" ( (binary_expression "(interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)" (parenthesized_expression "(interactive_shell == 0)" ( (binary_expression "interactive_shell == 0" identifier == number_literal) )) || (parenthesized_expression "(interactive != 0 || sourcelevel != 0)" ( (binary_expression "interactive != 0 || sourcelevel != 0" (binary_expression "interactive != 0" identifier != number_literal) || (binary_expression "sourcelevel != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(jobs != (JOB **)0x0)" ( (binary_expression "jobs != (JOB **)0x0" identifier != (cast_expression "(JOB **)0x0" ( (type_descriptor "JOB **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ))) )) (compound_statement "{\n      if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }\n    }" { (if_statement "if (js.j_jobslots != 0) {\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }" if (parenthesized_expression "(js.j_jobslots != 0)" ( (binary_expression "js.j_jobslots != 0" (field_expression "js.j_jobslots" identifier . field_identifier) != number_literal) )) (compound_statement "{\n        notify_of_job_status();\n        if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;\n      }" { (expression_statement "notify_of_job_status();" (call_expression "notify_of_job_status()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((js.j_jobslots != 0) && (jobs_list_frozen == 0)) goto LAB_00060921;" if (parenthesized_expression "((js.j_jobslots != 0) && (jobs_list_frozen == 0))" ( (binary_expression "(js.j_jobslots != 0) && (jobs_list_frozen == 0)" (parenthesized_expression "(js.j_jobslots != 0)" ( (binary_expression "js.j_jobslots != 0" (field_expression "js.j_jobslots" identifier . field_identifier) != number_literal) )) && (parenthesized_expression "(jobs_list_frozen == 0)" ( (binary_expression "jobs_list_frozen == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_00060921;" goto statement_identifier ;)) })) }) (else_clause "else if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }" else (if_statement "if (js.j_jobslots != 0) {\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }" if (parenthesized_expression "(js.j_jobslots != 0)" ( (binary_expression "js.j_jobslots != 0" (field_expression "js.j_jobslots" identifier . field_identifier) != number_literal) )) (compound_statement "{\nLAB_00060921:\n      cleanup_dead_jobs();\n      return;\n    }" { (labeled_statement "LAB_00060921:\n      cleanup_dead_jobs();" statement_identifier : (expression_statement "cleanup_dead_jobs();" (call_expression "cleanup_dead_jobs()" identifier (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })))) })) (return_statement "return;" return ;) })))
(translation_unit "void notify_and_cleanup(void)\n\n{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void notify_and_cleanup(void)\n\n{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "notify_and_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}" { (if_statement "if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }" if (parenthesized_expression "(DAT_00151020 == 0)" ( (binary_expression "DAT_00151020 == 0" identifier == number_literal) )) (compound_statement "{\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }" { (if_statement "if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" if (parenthesized_expression "(((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0))" ( (binary_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)" (parenthesized_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0))" ( (binary_expression "(interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)" (parenthesized_expression "(interactive_shell == 0)" ( (binary_expression "interactive_shell == 0" identifier == number_literal) )) || (parenthesized_expression "(interactive != 0 || sourcelevel != 0)" ( (binary_expression "interactive != 0 || sourcelevel != 0" (binary_expression "interactive != 0" identifier != number_literal) || (binary_expression "sourcelevel != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(jobs != 0)" ( (binary_expression "jobs != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }" { (if_statement "if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }" if (parenthesized_expression "(DAT_0014a7d8 != 0)" ( (binary_expression "DAT_0014a7d8 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }" { (expression_statement "FUN_0005e090();" (call_expression "FUN_0005e090()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;" if (parenthesized_expression "((DAT_0014a7d8 != 0) && (DAT_00151020 == 0))" ( (binary_expression "(DAT_0014a7d8 != 0) && (DAT_00151020 == 0)" (parenthesized_expression "(DAT_0014a7d8 != 0)" ( (binary_expression "DAT_0014a7d8 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_00151020 == 0)" ( (binary_expression "DAT_00151020 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_00060921;" goto statement_identifier ;)) })) }) (else_clause "else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" else (if_statement "if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" if (parenthesized_expression "(DAT_0014a7d8 != 0)" ( (binary_expression "DAT_0014a7d8 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" { (labeled_statement "LAB_00060921:\n      FUN_000606a0();" statement_identifier : (expression_statement "FUN_000606a0();" (call_expression "FUN_000606a0()" identifier (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })))) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (return_statement return ;) })))) })) (return_statement return ;) })))
(function_definition "void notify_and_cleanup(void)\n\n{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "notify_and_cleanup(void)" (identifier "notify_and_cleanup") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_00151020 == 0) {\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_00151020 == 0)" (( "(") (binary_expression "DAT_00151020 == 0" (identifier "DAT_00151020") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }\n  }" ({ "{") (if_statement "if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }\n    else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" (if "if") (parenthesized_expression "(((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0))" (( "(") (binary_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)" (parenthesized_expression "((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0))" (( "(") (binary_expression "(interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)" (parenthesized_expression "(interactive_shell == 0)" (( "(") (binary_expression "interactive_shell == 0" (identifier "interactive_shell") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(interactive != 0 || sourcelevel != 0)" (( "(") (binary_expression "interactive != 0 || sourcelevel != 0" (binary_expression "interactive != 0" (identifier "interactive") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "sourcelevel != 0" (identifier "sourcelevel") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(jobs != 0)" (( "(") (binary_expression "jobs != 0" (identifier "jobs") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }\n    }" ({ "{") (if_statement "if (DAT_0014a7d8 != 0) {\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }" (if "if") (parenthesized_expression "(DAT_0014a7d8 != 0)" (( "(") (binary_expression "DAT_0014a7d8 != 0" (identifier "DAT_0014a7d8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0005e090();\n        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;\n      }" ({ "{") (expression_statement "FUN_0005e090();" (call_expression "FUN_0005e090()" (identifier "FUN_0005e090") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;" (if "if") (parenthesized_expression "((DAT_0014a7d8 != 0) && (DAT_00151020 == 0))" (( "(") (binary_expression "(DAT_0014a7d8 != 0) && (DAT_00151020 == 0)" (parenthesized_expression "(DAT_0014a7d8 != 0)" (( "(") (binary_expression "DAT_0014a7d8 != 0" (identifier "DAT_0014a7d8") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(DAT_00151020 == 0)" (( "(") (binary_expression "DAT_00151020 == 0" (identifier "DAT_00151020") (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00060921;" (goto "goto") (statement_identifier "LAB_00060921") (; ";"))) (} "}"))) (} "}")) (else_clause "else if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" (else "else") (if_statement "if (DAT_0014a7d8 != 0) {\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" (if "if") (parenthesized_expression "(DAT_0014a7d8 != 0)" (( "(") (binary_expression "DAT_0014a7d8 != 0" (identifier "DAT_0014a7d8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00060921:\n      FUN_000606a0();\n      return;\n    }" ({ "{") (labeled_statement "LAB_00060921:\n      FUN_000606a0();" (statement_identifier "LAB_00060921") (: ":") (expression_statement "FUN_000606a0();" (call_expression "FUN_000606a0()" (identifier "FUN_000606a0") (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if (var_1 == 0) {
    if (((var_2 == 0) || (var_3 != 0 || var_4 != 0)) &&
       (var_5 != (type_1 **)0x0)) {
      if (js.j_jobslots != 0) {
        var_6();
        if ((js.j_jobslots != 0) && (var_1 == 0)) goto LAB_00060921;
      }
    }
    else if (js.j_jobslots != 0) {
LAB_00060921:
      var_7();
      return;
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (return_statement))))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(void)

{
  if (DAT_00151020 == 0) {
    if (((interactive_shell == 0) || (interactive != 0 || sourcelevel != 0)) && (jobs != 0)) {
      if (DAT_0014a7d8 != 0) {
        FUN_0005e090();
        if ((DAT_0014a7d8 != 0) && (DAT_00151020 == 0)) goto LAB_00060921;
      }
    }
    else if (DAT_0014a7d8 != 0) {
LAB_00060921:
      FUN_000606a0();
      return;
    }
  }
  return;
}

