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

int disown_builtin(WORD_LIST *list)

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  int iVar4;
  char *s;
  int iVar5;
  word_list *list_00;
  int in_GS_OFFSET;
  int local_138;
  intmax_t pid_value;
  sigset_t set;
  sigset_t oset;
  
  iVar5 = 0;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  reset_internal_getopt();
  bVar3 = false;
  bVar2 = false;
  while (iVar4 = internal_getopt(list,"ahr"), iVar4 != -1) {
    if (iVar4 == 0x61) {
      bVar3 = true;
    }
    else {
      if (iVar4 < 0x62) {
        if (iVar4 == -99) {
          builtin_help();
          local_138 = 0x102;
        }
        else {
LAB_000a5130:
          builtin_usage();
          local_138 = 0x102;
        }
        goto LAB_000a50e7;
      }
      if (iVar4 == 0x68) {
        bVar2 = true;
      }
      else {
        if (iVar4 != 0x72) goto LAB_000a5130;
        iVar5 = 1;
      }
    }
  }
  if ((loptend == (WORD_LIST *)0x0) && (bVar3 || iVar5 != 0)) {
    if (bVar2) {
      local_138 = 0;
      nohup_all_jobs(iVar5);
    }
    else {
      local_138 = 0;
      delete_all_jobs(iVar5);
    }
  }
  else {
    local_138 = 0;
    list_00 = loptend;
    do {
      sigemptyset((sigset_t *)&set);
      sigaddset((sigset_t *)&set,0x11);
      sigemptyset((sigset_t *)&oset);
      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);
      if (list_00 == (WORD_LIST *)0x0) {
        iVar5 = get_job_spec((WORD_LIST *)0x0);
        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {
LAB_000a52b0:
          s = (char *)dcgettext(0,"current",5);
          goto LAB_000a51d4;
        }
LAB_000a5265:
        if (jobs[iVar5] == (JOB *)0x0) {
          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;
          goto LAB_000a52b0;
        }
LAB_000a526c:
        if (bVar2) {
          nohup_job(iVar5);
        }
        else {
          delete_job(iVar5,1);
        }
      }
      else {
        iVar5 = legal_number(list_00->word->word,&pid_value);
        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {
          iVar5 = get_job_spec(list_00);
          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))
          goto LAB_000a5265;
        }
        else {
          iVar5 = get_job_by_pid((int)pid_value,0);
          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&
             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;
        }
LAB_000a51cf:
        s = list_00->word->word;
LAB_000a51d4:
        sh_badjob(s);
        local_138 = 1;
      }
      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);
    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)
            );
  }
LAB_000a50e7:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return local_138;
}



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

undefined4 disown_builtin(undefined4 param_1)

{
  bool bVar1;
  bool bVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int *piVar6;
  int in_GS_OFFSET;
  undefined4 local_138;
  int local_12c;
  int local_128;
  sigset_t local_120;
  sigset_t local_a0;
  int local_20;
  undefined4 uStack_14;
  
  iVar5 = 0;
  uStack_14 = 0xa506b;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  reset_internal_getopt();
  bVar2 = false;
  bVar1 = false;
  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {
    if (iVar3 == 0x61) {
      bVar2 = true;
    }
    else {
      if (iVar3 < 0x62) {
        if (iVar3 == -99) {
          builtin_help();
          local_138 = 0x102;
        }
        else {
LAB_000a5130:
          builtin_usage();
          local_138 = 0x102;
        }
        goto LAB_000a50e7;
      }
      if (iVar3 == 0x68) {
        bVar1 = true;
      }
      else {
        if (iVar3 != 0x72) goto LAB_000a5130;
        iVar5 = 1;
      }
    }
  }
  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {
    if (bVar1) {
      local_138 = 0;
      nohup_all_jobs(iVar5);
    }
    else {
      local_138 = 0;
      delete_all_jobs(iVar5);
    }
  }
  else {
    local_138 = 0;
    piVar6 = loptend;
    do {
      sigemptyset(&local_120);
      sigaddset(&local_120,0x11);
      sigemptyset(&local_a0);
      sigprocmask(0,&local_120,&local_a0);
      if (piVar6 == (int *)0x0) {
        iVar5 = get_job_spec(0);
        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {
LAB_000a52b0:
          uVar4 = dcgettext(0,"current",5);
          goto LAB_000a51d4;
        }
LAB_000a5265:
        if (*(int *)(jobs + iVar5 * 4) == 0) {
          if (piVar6 != (int *)0x0) goto LAB_000a51cf;
          goto LAB_000a52b0;
        }
LAB_000a526c:
        if (bVar1) {
          nohup_job(iVar5);
        }
        else {
          delete_job(iVar5,1);
        }
      }
      else {
        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);
        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {
          iVar5 = get_job_spec(piVar6);
          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))
          goto LAB_000a5265;
        }
        else {
          iVar5 = get_job_by_pid(local_12c,0);
          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&
             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;
        }
LAB_000a51cf:
        uVar4 = *(undefined4 *)piVar6[1];
LAB_000a51d4:
        sh_badjob(uVar4);
        local_138 = 1;
      }
      sigprocmask(2,&local_a0,(sigset_t *)0x0);
    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));
  }
LAB_000a50e7:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000ecc40();
  }
  return local_138;
}


PUSH EBP
XOR EBP,EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00031ed0
ADD EBX,0xa4f95
SUB ESP,0x12c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x11c],EAX
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x140]
CALL 0x000b3030
MOV dword ptr [ESP + 0x4],0x0
LEA ESI,[EBX + 0xfffb821b]
MOV dword ptr [ESP],0x0
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x000b2be0
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x000a5140
CMP EAX,0x61
JZ 0x000a5120
JLE 0x000a50d8
CMP EAX,0x68
JZ 0x000a5110
CMP EAX,0x72
JNZ 0x000a5130
MOV EBP,0x1
JMP 0x000a50a7
CMP EAX,-0x63
JNZ 0x000a5130
CALL 0x000a3450
MOV EDI,0x102
MOV ECX,dword ptr [ESP + 0x11c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDI
JNZ 0x000a5391
ADD ESP,0x12c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP],0x1
JMP 0x000a50a7
MOV dword ptr [ESP + 0x4],0x1
JMP 0x000a50a7
CALL 0x0009b510
MOV EDI,0x102
JMP 0x000a50e7
LEA EAX,[EBX + 0xd8a4]
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JZ 0x000a5358
LEA EDX,[EBX + 0x5ef4]
LEA ECX,[EBX + 0x7c0]
XOR EDI,EDI
LEA EAX,[ESP + 0x9c]
MOV dword ptr [ESP + 0x4],EDI
LEA EBP,[ESP + 0x1c]
MOV EDI,EAX
MOV dword ptr [ESP + 0x8],EDX
MOV dword ptr [ESP + 0xc],ECX
JMP 0x000a520a
SUB ESP,0x8
LEA EAX,[ESP + 0x18]
PUSH EAX
MOV EAX,dword ptr [ESI + 0x4]
PUSH dword ptr [EAX]
CALL 0x00041140
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000a51aa
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,ECX
CDQ
CMP dword ptr [ESP + 0x14],EDX
JZ 0x000a52e8
SUB ESP,0xc
PUSH ESI
CALL 0x0009c380
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x000a51cf
LEA EDX,[EBX + 0x5ef4]
MOV EDX,dword ptr [EDX]
TEST EAX,EAX
JS 0x000a51cf
TEST EDX,EDX
JNZ 0x000a52d0
MOV EAX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EAX]
SUB ESP,0xc
PUSH EAX
CALL 0x0009b930
ADD ESP,0x10
MOV dword ptr [ESP + 0x4],0x1
SUB ESP,0x4
PUSH 0x0
PUSH EDI
PUSH 0x2
CALL 0x0002f1a0
ADD ESP,0x10
TEST ESI,ESI
JZ 0x000a5290
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JZ 0x000a5290
SUB ESP,0xc
PUSH EBP
CALL 0x0002fa40
POP ECX
POP EAX
PUSH 0x11
PUSH EBP
CALL 0x0002f810
MOV dword ptr [ESP],EDI
CALL 0x0002fa40
ADD ESP,0xc
PUSH EDI
PUSH EBP
PUSH 0x0
CALL 0x0002f1a0
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x000a5180
SUB ESP,0xc
PUSH 0x0
CALL 0x0009c380
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x000a52b0
MOV EDX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JZ 0x000a52b0
TEST EAX,EAX
JS 0x000a52b0
MOV ECX,dword ptr [ESP + 0xc]
CMP EAX,dword ptr [ECX + 0x18]
JGE 0x000a52b0
MOV EDX,dword ptr [EDX + EAX*0x4]
TEST EDX,EDX
JZ 0x000a52a0
MOV ECX,dword ptr [ESP]
TEST ECX,ECX
JZ 0x000a5340
SUB ESP,0xc
PUSH EAX
CALL 0x0005e900
ADD ESP,0x10
JMP 0x000a51e8
MOV EDI,dword ptr [ESP + 0x4]
JMP 0x000a50e7
TEST ESI,ESI
JNZ 0x000a51cf
LEA ESI,[ESI]
NOP
SUB ESP,0x4
LEA EAX,[EBX + 0xfffb7e72]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x0002f380
ADD ESP,0x10
JMP 0x000a51d4
LEA ECX,[EBX + 0x7c0]
CMP EAX,dword ptr [ECX + 0x18]
JGE 0x000a51cf
JMP 0x000a5265
SUB ESP,0x8
PUSH 0x0
PUSH ECX
CALL 0x0005f230
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x000a51cf
LEA EDX,[EBX + 0x5ef4]
MOV EDX,dword ptr [EDX]
TEST EAX,EAX
JS 0x000a51cf
TEST EDX,EDX
JZ 0x000a51cf
LEA ECX,[EBX + 0x7c0]
CMP EAX,dword ptr [ECX + 0x18]
JGE 0x000a51cf
MOV EDX,dword ptr [EDX + EAX*0x4]
TEST EDX,EDX
JNZ 0x000a526c
JMP 0x000a51cf
SUB ESP,0x8
PUSH 0x1
PUSH EAX
CALL 0x0005efd0
ADD ESP,0x10
JMP 0x000a51e8
MOV EAX,dword ptr [ESP + 0x4]
OR EAX,EBP
JZ 0x000a5150
MOV EAX,dword ptr [ESP]
TEST EAX,EAX
JZ 0x000a537e
SUB ESP,0xc
XOR EDI,EDI
PUSH EBP
CALL 0x00063fc0
ADD ESP,0x10
JMP 0x000a50e7
SUB ESP,0xc
XOR EDI,EDI
PUSH EBP
CALL 0x00063e50
ADD ESP,0x10
JMP 0x000a50e7
CALL 0x000ecc40
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 disown_builtin(undefined4 param_1)\n\n{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return local_138;\n}\n\n" comment (function_definition "undefined4 disown_builtin(undefined4 param_1)\n\n{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return local_138;\n}" type_identifier (function_declarator "disown_builtin(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return local_138;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_138;" type_identifier identifier ;) (declaration "int local_12c;" primitive_type identifier ;) (declaration "int local_128;" primitive_type identifier ;) (declaration "sigset_t local_120;" type_identifier identifier ;) (declaration "sigset_t local_a0;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xa506b;" (assignment_expression "uStack_14 = 0xa506b" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "reset_internal_getopt();" (call_expression "reset_internal_getopt()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (while_statement "while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" while (parenthesized_expression "(iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1)" ( (comma_expression "iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1" (assignment_expression "iVar3 = internal_getopt(param_1,&DAT_0010221b)" identifier = (call_expression "internal_getopt(param_1,&DAT_0010221b)" identifier (argument_list "(param_1,&DAT_0010221b)" ( identifier , (pointer_expression "&DAT_0010221b" & identifier) )))) , (binary_expression "iVar3 != -1" identifier != number_literal)) )) (compound_statement "{\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" { (if_statement "if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" if (parenthesized_expression "(iVar3 == 0x61)" ( (binary_expression "iVar3 == 0x61" identifier == number_literal) )) (compound_statement "{\n      bVar2 = true;\n    }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) }) (else_clause "else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" else (compound_statement "{\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" { (if_statement "if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" if (parenthesized_expression "(iVar3 < 0x62)" ( (binary_expression "iVar3 < 0x62" identifier < number_literal) )) (compound_statement "{\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" { (if_statement "if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" if (parenthesized_expression "(iVar3 == -99)" ( (binary_expression "iVar3 == -99" identifier == number_literal) )) (compound_statement "{\n          builtin_help();\n          local_138 = 0x102;\n        }" { (expression_statement "builtin_help();" (call_expression "builtin_help()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" else (compound_statement "{\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" { (labeled_statement "LAB_000a5130:\n          builtin_usage();" statement_identifier : (expression_statement "builtin_usage();" (call_expression "builtin_usage()" identifier (argument_list "()" ( ))) ;)) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" identifier = number_literal) ;) }))) (goto_statement "goto LAB_000a50e7;" goto statement_identifier ;) })) (if_statement "if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" if (parenthesized_expression "(iVar3 == 0x68)" ( (binary_expression "iVar3 == 0x68" identifier == number_literal) )) (compound_statement "{\n        bVar1 = true;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" else (compound_statement "{\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" { (if_statement "if (iVar3 != 0x72) goto LAB_000a5130;" if (parenthesized_expression "(iVar3 != 0x72)" ( (binary_expression "iVar3 != 0x72" identifier != number_literal) )) (goto_statement "goto LAB_000a5130;" goto statement_identifier ;)) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }))) }))) })) (if_statement "if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" if (parenthesized_expression "((loptend == (int *)0x0) && (bVar2 || iVar5 != 0))" ( (binary_expression "(loptend == (int *)0x0) && (bVar2 || iVar5 != 0)" (parenthesized_expression "(loptend == (int *)0x0)" ( (binary_expression "loptend == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2 || iVar5 != 0)" ( (binary_expression "bVar2 || iVar5 != 0" identifier || (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }" { (if_statement "if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "nohup_all_jobs(iVar5);" (call_expression "nohup_all_jobs(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }) (else_clause "else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" else (compound_statement "{\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "delete_all_jobs(iVar5);" (call_expression "delete_all_jobs(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }))) }) (else_clause "else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" else (compound_statement "{\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = loptend;" (assignment_expression "piVar6 = loptend" identifier = identifier) ;) (do_statement "do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));" do (compound_statement "{\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    }" { (expression_statement "sigemptyset(&local_120);" (call_expression "sigemptyset(&local_120)" identifier (argument_list "(&local_120)" ( (pointer_expression "&local_120" & identifier) ))) ;) (expression_statement "sigaddset(&local_120,0x11);" (call_expression "sigaddset(&local_120,0x11)" identifier (argument_list "(&local_120,0x11)" ( (pointer_expression "&local_120" & identifier) , number_literal ))) ;) (expression_statement "sigemptyset(&local_a0);" (call_expression "sigemptyset(&local_a0)" identifier (argument_list "(&local_a0)" ( (pointer_expression "&local_a0" & identifier) ))) ;) (expression_statement "sigprocmask(0,&local_120,&local_a0);" (call_expression "sigprocmask(0,&local_120,&local_a0)" identifier (argument_list "(0,&local_120,&local_a0)" ( number_literal , (pointer_expression "&local_120" & identifier) , (pointer_expression "&local_a0" & identifier) ))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }" { (expression_statement "iVar5 = get_job_spec(0);" (assignment_expression "iVar5 = get_job_spec(0)" identifier = (call_expression "get_job_spec(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" if (parenthesized_expression "((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5))))" ( (binary_expression "(iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))" (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) || (parenthesized_expression "(((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))" ( (parenthesized_expression "((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5))" ( (binary_expression "(jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)" (parenthesized_expression "(jobs == 0 || (iVar5 < 0))" ( (binary_expression "jobs == 0 || (iVar5 < 0)" (binary_expression "jobs == 0" identifier == number_literal) || (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) ))) )) || (parenthesized_expression "(DAT_0014a7d8 <= iVar5)" ( (binary_expression "DAT_0014a7d8 <= iVar5" identifier <= identifier) ))) )) ))) )) (compound_statement "{\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" { (labeled_statement "LAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);" statement_identifier : (expression_statement "uVar4 = dcgettext(0,"current",5);" (assignment_expression "uVar4 = dcgettext(0,"current",5)" identifier = (call_expression "dcgettext(0,"current",5)" identifier (argument_list "(0,"current",5)" ( number_literal , (string_literal ""current"" " string_content ") , number_literal )))) ;)) (goto_statement "goto LAB_000a51d4;" goto statement_identifier ;) })) (labeled_statement "LAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" statement_identifier : (if_statement "if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" if (parenthesized_expression "(*(int *)(jobs + iVar5 * 4) == 0)" ( (binary_expression "*(int *)(jobs + iVar5 * 4) == 0" (pointer_expression "*(int *)(jobs + iVar5 * 4)" * (cast_expression "(int *)(jobs + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(jobs + iVar5 * 4)" ( (binary_expression "jobs + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" { (if_statement "if (piVar6 != (int *)0x0) goto LAB_000a51cf;" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000a51cf;" goto statement_identifier ;)) (goto_statement "goto LAB_000a52b0;" goto statement_identifier ;) }))) (labeled_statement "LAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" statement_identifier : (if_statement "if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n          nohup_job(iVar5);\n        }" { (expression_statement "nohup_job(iVar5);" (call_expression "nohup_job(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }) (else_clause "else {\n          delete_job(iVar5,1);\n        }" else (compound_statement "{\n          delete_job(iVar5,1);\n        }" { (expression_statement "delete_job(iVar5,1);" (call_expression "delete_job(iVar5,1)" identifier (argument_list "(iVar5,1)" ( identifier , number_literal ))) ;) })))) }) (else_clause "else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" else (compound_statement "{\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" { (expression_statement "iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);" (assignment_expression "iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c)" identifier = (call_expression "legal_number(*(undefined4 *)piVar6[1],&local_12c)" identifier (argument_list "(*(undefined4 *)piVar6[1],&local_12c)" ( (pointer_expression "*(undefined4 *)piVar6[1]" * (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) , (pointer_expression "&local_12c" & identifier) )))) ;) (if_statement "if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" if (parenthesized_expression "((iVar5 == 0) || (local_128 != local_12c >> 0x1f))" ( (binary_expression "(iVar5 == 0) || (local_128 != local_12c >> 0x1f)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_128 != local_12c >> 0x1f)" ( (binary_expression "local_128 != local_12c >> 0x1f" identifier != (binary_expression "local_12c >> 0x1f" identifier >> number_literal)) ))) )) (compound_statement "{\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }" { (expression_statement "iVar5 = get_job_spec(piVar6);" (assignment_expression "iVar5 = get_job_spec(piVar6)" identifier = (call_expression "get_job_spec(piVar6)" identifier (argument_list "(piVar6)" ( identifier )))) ;) (if_statement "if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;" if (parenthesized_expression "((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))" ( (binary_expression "(iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)))" (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) && (parenthesized_expression "(((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)))" ( (parenthesized_expression "((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))" ( (binary_expression "(-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)" (parenthesized_expression "(-1 < iVar5 && (jobs != 0))" ( (binary_expression "-1 < iVar5 && (jobs != 0)" (binary_expression "-1 < iVar5" number_literal < identifier) && (parenthesized_expression "(jobs != 0)" ( (binary_expression "jobs != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(iVar5 < DAT_0014a7d8)" ( (binary_expression "iVar5 < DAT_0014a7d8" identifier < identifier) ))) )) ))) )) (goto_statement "goto LAB_000a5265;" goto statement_identifier ;)) }) (else_clause "else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" else (compound_statement "{\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" { (expression_statement "iVar5 = get_job_by_pid(local_12c,0);" (assignment_expression "iVar5 = get_job_by_pid(local_12c,0)" identifier = (call_expression "get_job_by_pid(local_12c,0)" identifier (argument_list "(local_12c,0)" ( identifier , number_literal )))) ;) (if_statement "if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;" if (parenthesized_expression "((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0))))" ( (binary_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))" (parenthesized_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0))" ( (binary_expression "((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)" (parenthesized_expression "((iVar5 != -1) && (-1 < iVar5))" ( (binary_expression "(iVar5 != -1) && (-1 < iVar5)" (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) && (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) ))) )) && (parenthesized_expression "(jobs != 0)" ( (binary_expression "jobs != 0" identifier != number_literal) ))) )) && (parenthesized_expression "((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))" ( (parenthesized_expression "(iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0))" ( (binary_expression "iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)" (binary_expression "iVar5 < DAT_0014a7d8" identifier < identifier) && (parenthesized_expression "(*(int *)(jobs + iVar5 * 4) != 0)" ( (binary_expression "*(int *)(jobs + iVar5 * 4) != 0" (pointer_expression "*(int *)(jobs + iVar5 * 4)" * (cast_expression "(int *)(jobs + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(jobs + iVar5 * 4)" ( (binary_expression "jobs + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) != number_literal) ))) )) ))) )) (goto_statement "goto LAB_000a526c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];" statement_identifier : (expression_statement "uVar4 = *(undefined4 *)piVar6[1];" (assignment_expression "uVar4 = *(undefined4 *)piVar6[1]" identifier = (pointer_expression "*(undefined4 *)piVar6[1]" * (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])))) ;)) (labeled_statement "LAB_000a51d4:\n        sh_badjob(uVar4);" statement_identifier : (expression_statement "sh_badjob(uVar4);" (call_expression "sh_badjob(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;)) (expression_statement "local_138 = 1;" (assignment_expression "local_138 = 1" identifier = number_literal) ;) }))) (expression_statement "sigprocmask(2,&local_a0,(sigset_t *)0x0);" (call_expression "sigprocmask(2,&local_a0,(sigset_t *)0x0)" identifier (argument_list "(2,&local_a0,(sigset_t *)0x0)" ( number_literal , (pointer_expression "&local_a0" & identifier) , (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) }) while (parenthesized_expression "((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0))" ( (binary_expression "(piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0)" (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar6 = (int *)*piVar6, piVar6 != (int *)0x0)" ( (comma_expression "piVar6 = (int *)*piVar6, piVar6 != (int *)0x0" (assignment_expression "piVar6 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) , (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ;) }))) (labeled_statement "LAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }" { comment (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_138;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint disown_builtin(WORD_LIST *list)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int iVar4;\n  char *s;\n  int iVar5;\n  word_list *list_00;\n  int in_GS_OFFSET;\n  int local_138;\n  intmax_t pid_value;\n  sigset_t set;\n  sigset_t oset;\n  \n  iVar5 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar3 = false;\n  bVar2 = false;\n  while (iVar4 = internal_getopt(list,"ahr"), iVar4 != -1) {\n    if (iVar4 == 0x61) {\n      bVar3 = true;\n    }\n    else {\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (WORD_LIST *)0x0) && (bVar3 || iVar5 != 0)) {\n    if (bVar2) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    list_00 = loptend;\n    do {\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            );\n  }\nLAB_000a50e7:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_138;\n}\n\n" comment (function_definition "int disown_builtin(WORD_LIST *list)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int iVar4;\n  char *s;\n  int iVar5;\n  word_list *list_00;\n  int in_GS_OFFSET;\n  int local_138;\n  intmax_t pid_value;\n  sigset_t set;\n  sigset_t oset;\n  \n  iVar5 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar3 = false;\n  bVar2 = false;\n  while (iVar4 = internal_getopt(list,"ahr"), iVar4 != -1) {\n    if (iVar4 == 0x61) {\n      bVar3 = true;\n    }\n    else {\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (WORD_LIST *)0x0) && (bVar3 || iVar5 != 0)) {\n    if (bVar2) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    list_00 = loptend;\n    do {\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            );\n  }\nLAB_000a50e7:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_138;\n}" primitive_type (function_declarator "disown_builtin(WORD_LIST *list)" identifier (parameter_list "(WORD_LIST *list)" ( (parameter_declaration "WORD_LIST *list" type_identifier (pointer_declarator "*list" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  int iVar4;\n  char *s;\n  int iVar5;\n  word_list *list_00;\n  int in_GS_OFFSET;\n  int local_138;\n  intmax_t pid_value;\n  sigset_t set;\n  sigset_t oset;\n  \n  iVar5 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar3 = false;\n  bVar2 = false;\n  while (iVar4 = internal_getopt(list,"ahr"), iVar4 != -1) {\n    if (iVar4 == 0x61) {\n      bVar3 = true;\n    }\n    else {\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (WORD_LIST *)0x0) && (bVar3 || iVar5 != 0)) {\n    if (bVar2) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    list_00 = loptend;\n    do {\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            );\n  }\nLAB_000a50e7:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_138;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "word_list *list_00;" type_identifier (pointer_declarator "*list_00" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_138;" primitive_type identifier ;) (declaration "intmax_t pid_value;" type_identifier identifier ;) (declaration "sigset_t set;" type_identifier identifier ;) (declaration "sigset_t oset;" type_identifier identifier ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "reset_internal_getopt();" (call_expression "reset_internal_getopt()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (while_statement "while (iVar4 = internal_getopt(list,"ahr"), iVar4 != -1) {\n    if (iVar4 == 0x61) {\n      bVar3 = true;\n    }\n    else {\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" while (parenthesized_expression "(iVar4 = internal_getopt(list,"ahr"), iVar4 != -1)" ( (comma_expression "iVar4 = internal_getopt(list,"ahr"), iVar4 != -1" (assignment_expression "iVar4 = internal_getopt(list,"ahr")" identifier = (call_expression "internal_getopt(list,"ahr")" identifier (argument_list "(list,"ahr")" ( identifier , (string_literal ""ahr"" " string_content ") )))) , (binary_expression "iVar4 != -1" identifier != number_literal)) )) (compound_statement "{\n    if (iVar4 == 0x61) {\n      bVar3 = true;\n    }\n    else {\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" { (if_statement "if (iVar4 == 0x61) {\n      bVar3 = true;\n    }\n    else {\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" if (parenthesized_expression "(iVar4 == 0x61)" ( (binary_expression "iVar4 == 0x61" identifier == number_literal) )) (compound_statement "{\n      bVar3 = true;\n    }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) }) (else_clause "else {\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" else (compound_statement "{\n      if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" { (if_statement "if (iVar4 < 0x62) {\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" if (parenthesized_expression "(iVar4 < 0x62)" ( (binary_expression "iVar4 < 0x62" identifier < number_literal) )) (compound_statement "{\n        if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" { (if_statement "if (iVar4 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" if (parenthesized_expression "(iVar4 == -99)" ( (binary_expression "iVar4 == -99" identifier == number_literal) )) (compound_statement "{\n          builtin_help();\n          local_138 = 0x102;\n        }" { (expression_statement "builtin_help();" (call_expression "builtin_help()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" else (compound_statement "{\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" { (labeled_statement "LAB_000a5130:\n          builtin_usage();" statement_identifier : (expression_statement "builtin_usage();" (call_expression "builtin_usage()" identifier (argument_list "()" ( ))) ;)) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" identifier = number_literal) ;) }))) (goto_statement "goto LAB_000a50e7;" goto statement_identifier ;) })) (if_statement "if (iVar4 == 0x68) {\n        bVar2 = true;\n      }\n      else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" if (parenthesized_expression "(iVar4 == 0x68)" ( (binary_expression "iVar4 == 0x68" identifier == number_literal) )) (compound_statement "{\n        bVar2 = true;\n      }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) }) (else_clause "else {\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" else (compound_statement "{\n        if (iVar4 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" { (if_statement "if (iVar4 != 0x72) goto LAB_000a5130;" if (parenthesized_expression "(iVar4 != 0x72)" ( (binary_expression "iVar4 != 0x72" identifier != number_literal) )) (goto_statement "goto LAB_000a5130;" goto statement_identifier ;)) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }))) }))) })) (if_statement "if ((loptend == (WORD_LIST *)0x0) && (bVar3 || iVar5 != 0)) {\n    if (bVar2) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    list_00 = loptend;\n    do {\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            );\n  }" if (parenthesized_expression "((loptend == (WORD_LIST *)0x0) && (bVar3 || iVar5 != 0))" ( (binary_expression "(loptend == (WORD_LIST *)0x0) && (bVar3 || iVar5 != 0)" (parenthesized_expression "(loptend == (WORD_LIST *)0x0)" ( (binary_expression "loptend == (WORD_LIST *)0x0" identifier == (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar3 || iVar5 != 0)" ( (binary_expression "bVar3 || iVar5 != 0" identifier || (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (bVar2) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }" { (if_statement "if (bVar2) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "nohup_all_jobs(iVar5);" (call_expression "nohup_all_jobs(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }) (else_clause "else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" else (compound_statement "{\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "delete_all_jobs(iVar5);" (call_expression "delete_all_jobs(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }))) }) (else_clause "else {\n    local_138 = 0;\n    list_00 = loptend;\n    do {\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            );\n  }" else (compound_statement "{\n    local_138 = 0;\n    list_00 = loptend;\n    do {\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            );\n  }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "list_00 = loptend;" (assignment_expression "list_00 = loptend" identifier = identifier) ;) (do_statement "do {\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    } while ((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            );" do (compound_statement "{\n      sigemptyset((sigset_t *)&set);\n      sigaddset((sigset_t *)&set,0x11);\n      sigemptyset((sigset_t *)&oset);\n      sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);\n      if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }\n      sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);\n    }" { (expression_statement "sigemptyset((sigset_t *)&set);" (call_expression "sigemptyset((sigset_t *)&set)" identifier (argument_list "((sigset_t *)&set)" ( (cast_expression "(sigset_t *)&set" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&set" & identifier)) ))) ;) (expression_statement "sigaddset((sigset_t *)&set,0x11);" (call_expression "sigaddset((sigset_t *)&set,0x11)" identifier (argument_list "((sigset_t *)&set,0x11)" ( (cast_expression "(sigset_t *)&set" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&set" & identifier)) , number_literal ))) ;) (expression_statement "sigemptyset((sigset_t *)&oset);" (call_expression "sigemptyset((sigset_t *)&oset)" identifier (argument_list "((sigset_t *)&oset)" ( (cast_expression "(sigset_t *)&oset" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&oset" & identifier)) ))) ;) (expression_statement "sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset);" (call_expression "sigprocmask(0,(sigset_t *)&set,(sigset_t *)&oset)" identifier (argument_list "(0,(sigset_t *)&set,(sigset_t *)&oset)" ( number_literal , (cast_expression "(sigset_t *)&set" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&set" & identifier)) , (cast_expression "(sigset_t *)&oset" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&oset" & identifier)) ))) ;) (if_statement "if (list_00 == (WORD_LIST *)0x0) {\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }" if (parenthesized_expression "(list_00 == (WORD_LIST *)0x0)" ( (binary_expression "list_00 == (WORD_LIST *)0x0" identifier == (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar5 = get_job_spec((WORD_LIST *)0x0);\n        if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }" { (expression_statement "iVar5 = get_job_spec((WORD_LIST *)0x0);" (assignment_expression "iVar5 = get_job_spec((WORD_LIST *)0x0)" identifier = (call_expression "get_job_spec((WORD_LIST *)0x0)" identifier (argument_list "((WORD_LIST *)0x0)" ( (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if ((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))) {\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" if (parenthesized_expression "((iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5))))" ( (binary_expression "(iVar5 == -1) || (((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))" (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) || (parenthesized_expression "(((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)))" ( (parenthesized_expression "((jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5))" ( (binary_expression "(jobs == (JOB **)0x0 || (iVar5 < 0)) || (js.j_jobslots <= iVar5)" (parenthesized_expression "(jobs == (JOB **)0x0 || (iVar5 < 0))" ( (binary_expression "jobs == (JOB **)0x0 || (iVar5 < 0)" (binary_expression "jobs == (JOB **)0x0" identifier == (cast_expression "(JOB **)0x0" ( (type_descriptor "JOB **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) || (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) ))) )) || (parenthesized_expression "(js.j_jobslots <= iVar5)" ( (binary_expression "js.j_jobslots <= iVar5" (field_expression "js.j_jobslots" identifier . field_identifier) <= identifier) ))) )) ))) )) (compound_statement "{\nLAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" { (labeled_statement "LAB_000a52b0:\n          s = (char *)dcgettext(0,"current",5);" statement_identifier : (expression_statement "s = (char *)dcgettext(0,"current",5);" (assignment_expression "s = (char *)dcgettext(0,"current",5)" identifier = (cast_expression "(char *)dcgettext(0,"current",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"current",5)" identifier (argument_list "(0,"current",5)" ( number_literal , (string_literal ""current"" " string_content ") , number_literal ))))) ;)) (goto_statement "goto LAB_000a51d4;" goto statement_identifier ;) })) (labeled_statement "LAB_000a5265:\n        if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" statement_identifier : (if_statement "if (jobs[iVar5] == (JOB *)0x0) {\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" if (parenthesized_expression "(jobs[iVar5] == (JOB *)0x0)" ( (binary_expression "jobs[iVar5] == (JOB *)0x0" (subscript_expression "jobs[iVar5]" identifier [ identifier ]) == (cast_expression "(JOB *)0x0" ( (type_descriptor "JOB *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" { (if_statement "if (list_00 != (WORD_LIST *)0x0) goto LAB_000a51cf;" if (parenthesized_expression "(list_00 != (WORD_LIST *)0x0)" ( (binary_expression "list_00 != (WORD_LIST *)0x0" identifier != (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000a51cf;" goto statement_identifier ;)) (goto_statement "goto LAB_000a52b0;" goto statement_identifier ;) }))) (labeled_statement "LAB_000a526c:\n        if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" statement_identifier : (if_statement "if (bVar2) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n          nohup_job(iVar5);\n        }" { (expression_statement "nohup_job(iVar5);" (call_expression "nohup_job(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }) (else_clause "else {\n          delete_job(iVar5,1);\n        }" else (compound_statement "{\n          delete_job(iVar5,1);\n        }" { (expression_statement "delete_job(iVar5,1);" (call_expression "delete_job(iVar5,1)" identifier (argument_list "(iVar5,1)" ( identifier , number_literal ))) ;) })))) }) (else_clause "else {\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }" else (compound_statement "{\n        iVar5 = legal_number(list_00->word->word,&pid_value);\n        if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        s = list_00->word->word;\nLAB_000a51d4:\n        sh_badjob(s);\n        local_138 = 1;\n      }" { (expression_statement "iVar5 = legal_number(list_00->word->word,&pid_value);" (assignment_expression "iVar5 = legal_number(list_00->word->word,&pid_value)" identifier = (call_expression "legal_number(list_00->word->word,&pid_value)" identifier (argument_list "(list_00->word->word,&pid_value)" ( (field_expression "list_00->word->word" (field_expression "list_00->word" identifier -> field_identifier) -> field_identifier) , (pointer_expression "&pid_value" & identifier) )))) ;) (if_statement "if ((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }" if (parenthesized_expression "((iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f))" ( (binary_expression "(iVar5 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(pid_value._4_4_ != (int)pid_value >> 0x1f)" ( (binary_expression "pid_value._4_4_ != (int)pid_value >> 0x1f" (field_expression "pid_value._4_4_" identifier . field_identifier) != (binary_expression "(int)pid_value >> 0x1f" (cast_expression "(int)pid_value" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ))) )) (compound_statement "{\n          iVar5 = get_job_spec(list_00);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;\n        }" { (expression_statement "iVar5 = get_job_spec(list_00);" (assignment_expression "iVar5 = get_job_spec(list_00)" identifier = (call_expression "get_job_spec(list_00)" identifier (argument_list "(list_00)" ( identifier )))) ;) (if_statement "if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))\n          goto LAB_000a5265;" if (parenthesized_expression "((iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))))" ( (binary_expression "(iVar5 != -1) && (((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots)))" (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) && (parenthesized_expression "(((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots)))" ( (parenthesized_expression "((-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots))" ( (binary_expression "(-1 < iVar5 && (jobs != (JOB **)0x0)) && (iVar5 < js.j_jobslots)" (parenthesized_expression "(-1 < iVar5 && (jobs != (JOB **)0x0))" ( (binary_expression "-1 < iVar5 && (jobs != (JOB **)0x0)" (binary_expression "-1 < iVar5" number_literal < identifier) && (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)) ))) )) && (parenthesized_expression "(iVar5 < js.j_jobslots)" ( (binary_expression "iVar5 < js.j_jobslots" identifier < (field_expression "js.j_jobslots" identifier . field_identifier)) ))) )) ))) )) (goto_statement "goto LAB_000a5265;" goto statement_identifier ;)) }) (else_clause "else {\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }" else (compound_statement "{\n          iVar5 = get_job_by_pid((int)pid_value,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;\n        }" { (expression_statement "iVar5 = get_job_by_pid((int)pid_value,0);" (assignment_expression "iVar5 = get_job_by_pid((int)pid_value,0)" identifier = (call_expression "get_job_by_pid((int)pid_value,0)" identifier (argument_list "((int)pid_value,0)" ( (cast_expression "(int)pid_value" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal )))) ;) (if_statement "if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))) goto LAB_000a526c;" if (parenthesized_expression "((((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0))))" ( (binary_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)) &&\n             ((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))" (parenthesized_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0))" ( (binary_expression "((iVar5 != -1) && (-1 < iVar5)) && (jobs != (JOB **)0x0)" (parenthesized_expression "((iVar5 != -1) && (-1 < iVar5))" ( (binary_expression "(iVar5 != -1) && (-1 < iVar5)" (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) && (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) ))) )) && (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)) ))) )) && (parenthesized_expression "((iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)))" ( (parenthesized_expression "(iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0))" ( (binary_expression "iVar5 < js.j_jobslots && (jobs[iVar5] != (JOB *)0x0)" (binary_expression "iVar5 < js.j_jobslots" identifier < (field_expression "js.j_jobslots" identifier . field_identifier)) && (parenthesized_expression "(jobs[iVar5] != (JOB *)0x0)" ( (binary_expression "jobs[iVar5] != (JOB *)0x0" (subscript_expression "jobs[iVar5]" identifier [ identifier ]) != (cast_expression "(JOB *)0x0" ( (type_descriptor "JOB *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) ))) )) (goto_statement "goto LAB_000a526c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000a51cf:\n        s = list_00->word->word;" statement_identifier : (expression_statement "s = list_00->word->word;" (assignment_expression "s = list_00->word->word" identifier = (field_expression "list_00->word->word" (field_expression "list_00->word" identifier -> field_identifier) -> field_identifier)) ;)) (labeled_statement "LAB_000a51d4:\n        sh_badjob(s);" statement_identifier : (expression_statement "sh_badjob(s);" (call_expression "sh_badjob(s)" identifier (argument_list "(s)" ( identifier ))) ;)) (expression_statement "local_138 = 1;" (assignment_expression "local_138 = 1" identifier = number_literal) ;) }))) (expression_statement "sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0);" (call_expression "sigprocmask(2,(sigset_t *)&oset,(sigset_t *)0x0)" identifier (argument_list "(2,(sigset_t *)&oset,(sigset_t *)0x0)" ( number_literal , (cast_expression "(sigset_t *)&oset" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&oset" & identifier)) , (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) }) while (parenthesized_expression "((list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)\n            )" ( (binary_expression "(list_00 != (WORD_LIST *)0x0) && (list_00 = list_00->next, list_00 != (word_list *)0x0)" (parenthesized_expression "(list_00 != (WORD_LIST *)0x0)" ( (binary_expression "list_00 != (WORD_LIST *)0x0" identifier != (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(list_00 = list_00->next, list_00 != (word_list *)0x0)" ( (comma_expression "list_00 = list_00->next, list_00 != (word_list *)0x0" (assignment_expression "list_00 = list_00->next" identifier = (field_expression "list_00->next" identifier -> field_identifier)) , (binary_expression "list_00 != (word_list *)0x0" identifier != (cast_expression "(word_list *)0x0" ( (type_descriptor "word_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ;) }))) (labeled_statement "LAB_000a50e7:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_138;" return identifier ;) })))
(translation_unit "undefined4 disown_builtin(undefined4 param_1)\n\n{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return local_138;\n}\n\n" (function_definition "undefined4 disown_builtin(undefined4 param_1)\n\n{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return local_138;\n}" type_identifier (function_declarator "disown_builtin(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return local_138;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_138;" type_identifier identifier ;) (declaration "int local_12c;" primitive_type identifier ;) (declaration "int local_128;" primitive_type identifier ;) (declaration "sigset_t local_120;" type_identifier identifier ;) (declaration "sigset_t local_a0;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xa506b;" (assignment_expression "uStack_14 = 0xa506b" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "reset_internal_getopt();" (call_expression "reset_internal_getopt()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (while_statement "while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" while (parenthesized_expression "(iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1)" ( (comma_expression "iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1" (assignment_expression "iVar3 = internal_getopt(param_1,&DAT_0010221b)" identifier = (call_expression "internal_getopt(param_1,&DAT_0010221b)" identifier (argument_list "(param_1,&DAT_0010221b)" ( identifier , (pointer_expression "&DAT_0010221b" & identifier) )))) , (binary_expression "iVar3 != -1" identifier != number_literal)) )) (compound_statement "{\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" { (if_statement "if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" if (parenthesized_expression "(iVar3 == 0x61)" ( (binary_expression "iVar3 == 0x61" identifier == number_literal) )) (compound_statement "{\n      bVar2 = true;\n    }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) }) (else_clause "else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" else (compound_statement "{\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" { (if_statement "if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" if (parenthesized_expression "(iVar3 < 0x62)" ( (binary_expression "iVar3 < 0x62" identifier < number_literal) )) (compound_statement "{\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" { (if_statement "if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" if (parenthesized_expression "(iVar3 == -99)" ( (binary_expression "iVar3 == -99" identifier == number_literal) )) (compound_statement "{\n          builtin_help();\n          local_138 = 0x102;\n        }" { (expression_statement "builtin_help();" (call_expression "builtin_help()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" else (compound_statement "{\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" { (labeled_statement "LAB_000a5130:\n          builtin_usage();" statement_identifier : (expression_statement "builtin_usage();" (call_expression "builtin_usage()" identifier (argument_list "()" ( ))) ;)) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" identifier = number_literal) ;) }))) (goto_statement "goto LAB_000a50e7;" goto statement_identifier ;) })) (if_statement "if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" if (parenthesized_expression "(iVar3 == 0x68)" ( (binary_expression "iVar3 == 0x68" identifier == number_literal) )) (compound_statement "{\n        bVar1 = true;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" else (compound_statement "{\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" { (if_statement "if (iVar3 != 0x72) goto LAB_000a5130;" if (parenthesized_expression "(iVar3 != 0x72)" ( (binary_expression "iVar3 != 0x72" identifier != number_literal) )) (goto_statement "goto LAB_000a5130;" goto statement_identifier ;)) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }))) }))) })) (if_statement "if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" if (parenthesized_expression "((loptend == (int *)0x0) && (bVar2 || iVar5 != 0))" ( (binary_expression "(loptend == (int *)0x0) && (bVar2 || iVar5 != 0)" (parenthesized_expression "(loptend == (int *)0x0)" ( (binary_expression "loptend == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2 || iVar5 != 0)" ( (binary_expression "bVar2 || iVar5 != 0" identifier || (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }" { (if_statement "if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "nohup_all_jobs(iVar5);" (call_expression "nohup_all_jobs(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }) (else_clause "else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" else (compound_statement "{\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "delete_all_jobs(iVar5);" (call_expression "delete_all_jobs(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }))) }) (else_clause "else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" else (compound_statement "{\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = loptend;" (assignment_expression "piVar6 = loptend" identifier = identifier) ;) (do_statement "do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));" do (compound_statement "{\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    }" { (expression_statement "sigemptyset(&local_120);" (call_expression "sigemptyset(&local_120)" identifier (argument_list "(&local_120)" ( (pointer_expression "&local_120" & identifier) ))) ;) (expression_statement "sigaddset(&local_120,0x11);" (call_expression "sigaddset(&local_120,0x11)" identifier (argument_list "(&local_120,0x11)" ( (pointer_expression "&local_120" & identifier) , number_literal ))) ;) (expression_statement "sigemptyset(&local_a0);" (call_expression "sigemptyset(&local_a0)" identifier (argument_list "(&local_a0)" ( (pointer_expression "&local_a0" & identifier) ))) ;) (expression_statement "sigprocmask(0,&local_120,&local_a0);" (call_expression "sigprocmask(0,&local_120,&local_a0)" identifier (argument_list "(0,&local_120,&local_a0)" ( number_literal , (pointer_expression "&local_120" & identifier) , (pointer_expression "&local_a0" & identifier) ))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }" { (expression_statement "iVar5 = get_job_spec(0);" (assignment_expression "iVar5 = get_job_spec(0)" identifier = (call_expression "get_job_spec(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" if (parenthesized_expression "((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5))))" ( (binary_expression "(iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))" (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) || (parenthesized_expression "(((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))" ( (parenthesized_expression "((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5))" ( (binary_expression "(jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)" (parenthesized_expression "(jobs == 0 || (iVar5 < 0))" ( (binary_expression "jobs == 0 || (iVar5 < 0)" (binary_expression "jobs == 0" identifier == number_literal) || (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) ))) )) || (parenthesized_expression "(DAT_0014a7d8 <= iVar5)" ( (binary_expression "DAT_0014a7d8 <= iVar5" identifier <= identifier) ))) )) ))) )) (compound_statement "{\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" { (labeled_statement "LAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);" statement_identifier : (expression_statement "uVar4 = dcgettext(0,"current",5);" (assignment_expression "uVar4 = dcgettext(0,"current",5)" identifier = (call_expression "dcgettext(0,"current",5)" identifier (argument_list "(0,"current",5)" ( number_literal , (string_literal ""current"" " string_content ") , number_literal )))) ;)) (goto_statement "goto LAB_000a51d4;" goto statement_identifier ;) })) (labeled_statement "LAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" statement_identifier : (if_statement "if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" if (parenthesized_expression "(*(int *)(jobs + iVar5 * 4) == 0)" ( (binary_expression "*(int *)(jobs + iVar5 * 4) == 0" (pointer_expression "*(int *)(jobs + iVar5 * 4)" * (cast_expression "(int *)(jobs + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(jobs + iVar5 * 4)" ( (binary_expression "jobs + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" { (if_statement "if (piVar6 != (int *)0x0) goto LAB_000a51cf;" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000a51cf;" goto statement_identifier ;)) (goto_statement "goto LAB_000a52b0;" goto statement_identifier ;) }))) (labeled_statement "LAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" statement_identifier : (if_statement "if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n          nohup_job(iVar5);\n        }" { (expression_statement "nohup_job(iVar5);" (call_expression "nohup_job(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }) (else_clause "else {\n          delete_job(iVar5,1);\n        }" else (compound_statement "{\n          delete_job(iVar5,1);\n        }" { (expression_statement "delete_job(iVar5,1);" (call_expression "delete_job(iVar5,1)" identifier (argument_list "(iVar5,1)" ( identifier , number_literal ))) ;) })))) }) (else_clause "else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" else (compound_statement "{\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" { (expression_statement "iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);" (assignment_expression "iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c)" identifier = (call_expression "legal_number(*(undefined4 *)piVar6[1],&local_12c)" identifier (argument_list "(*(undefined4 *)piVar6[1],&local_12c)" ( (pointer_expression "*(undefined4 *)piVar6[1]" * (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) , (pointer_expression "&local_12c" & identifier) )))) ;) (if_statement "if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" if (parenthesized_expression "((iVar5 == 0) || (local_128 != local_12c >> 0x1f))" ( (binary_expression "(iVar5 == 0) || (local_128 != local_12c >> 0x1f)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_128 != local_12c >> 0x1f)" ( (binary_expression "local_128 != local_12c >> 0x1f" identifier != (binary_expression "local_12c >> 0x1f" identifier >> number_literal)) ))) )) (compound_statement "{\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }" { (expression_statement "iVar5 = get_job_spec(piVar6);" (assignment_expression "iVar5 = get_job_spec(piVar6)" identifier = (call_expression "get_job_spec(piVar6)" identifier (argument_list "(piVar6)" ( identifier )))) ;) (if_statement "if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;" if (parenthesized_expression "((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))" ( (binary_expression "(iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)))" (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) && (parenthesized_expression "(((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)))" ( (parenthesized_expression "((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))" ( (binary_expression "(-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)" (parenthesized_expression "(-1 < iVar5 && (jobs != 0))" ( (binary_expression "-1 < iVar5 && (jobs != 0)" (binary_expression "-1 < iVar5" number_literal < identifier) && (parenthesized_expression "(jobs != 0)" ( (binary_expression "jobs != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(iVar5 < DAT_0014a7d8)" ( (binary_expression "iVar5 < DAT_0014a7d8" identifier < identifier) ))) )) ))) )) (goto_statement "goto LAB_000a5265;" goto statement_identifier ;)) }) (else_clause "else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" else (compound_statement "{\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" { (expression_statement "iVar5 = get_job_by_pid(local_12c,0);" (assignment_expression "iVar5 = get_job_by_pid(local_12c,0)" identifier = (call_expression "get_job_by_pid(local_12c,0)" identifier (argument_list "(local_12c,0)" ( identifier , number_literal )))) ;) (if_statement "if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;" if (parenthesized_expression "((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0))))" ( (binary_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))" (parenthesized_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0))" ( (binary_expression "((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)" (parenthesized_expression "((iVar5 != -1) && (-1 < iVar5))" ( (binary_expression "(iVar5 != -1) && (-1 < iVar5)" (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) && (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) ))) )) && (parenthesized_expression "(jobs != 0)" ( (binary_expression "jobs != 0" identifier != number_literal) ))) )) && (parenthesized_expression "((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))" ( (parenthesized_expression "(iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0))" ( (binary_expression "iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)" (binary_expression "iVar5 < DAT_0014a7d8" identifier < identifier) && (parenthesized_expression "(*(int *)(jobs + iVar5 * 4) != 0)" ( (binary_expression "*(int *)(jobs + iVar5 * 4) != 0" (pointer_expression "*(int *)(jobs + iVar5 * 4)" * (cast_expression "(int *)(jobs + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(jobs + iVar5 * 4)" ( (binary_expression "jobs + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) != number_literal) ))) )) ))) )) (goto_statement "goto LAB_000a526c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];" statement_identifier : (expression_statement "uVar4 = *(undefined4 *)piVar6[1];" (assignment_expression "uVar4 = *(undefined4 *)piVar6[1]" identifier = (pointer_expression "*(undefined4 *)piVar6[1]" * (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])))) ;)) (labeled_statement "LAB_000a51d4:\n        sh_badjob(uVar4);" statement_identifier : (expression_statement "sh_badjob(uVar4);" (call_expression "sh_badjob(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;)) (expression_statement "local_138 = 1;" (assignment_expression "local_138 = 1" identifier = number_literal) ;) }))) (expression_statement "sigprocmask(2,&local_a0,(sigset_t *)0x0);" (call_expression "sigprocmask(2,&local_a0,(sigset_t *)0x0)" identifier (argument_list "(2,&local_a0,(sigset_t *)0x0)" ( number_literal , (pointer_expression "&local_a0" & identifier) , (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) }) while (parenthesized_expression "((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0))" ( (binary_expression "(piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0)" (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar6 = (int *)*piVar6, piVar6 != (int *)0x0)" ( (comma_expression "piVar6 = (int *)*piVar6, piVar6 != (int *)0x0" (assignment_expression "piVar6 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) , (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ;) }))) (labeled_statement "LAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_000ecc40();\n  }" { (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_138;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (if_statement if (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 ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT || (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;)) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT >> LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT < IDENT) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) ))) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) != LIT) ))) )) ))) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 disown_builtin(undefined4 param_1)\n\n{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return local_138;\n}" (type_identifier "undefined4") (function_declarator "disown_builtin(undefined4 param_1)" (identifier "disown_builtin") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined4 local_138;\n  int local_12c;\n  int local_128;\n  sigset_t local_120;\n  sigset_t local_a0;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar5 = 0;\n  uStack_14 = 0xa506b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  reset_internal_getopt();\n  bVar2 = false;\n  bVar1 = false;\n  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }\n  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }\nLAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return local_138;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_138;" (type_identifier "undefined4") (identifier "local_138") (; ";")) (declaration "int local_12c;" (primitive_type "int") (identifier "local_12c") (; ";")) (declaration "int local_128;" (primitive_type "int") (identifier "local_128") (; ";")) (declaration "sigset_t local_120;" (type_identifier "sigset_t") (identifier "local_120") (; ";")) (declaration "sigset_t local_a0;" (type_identifier "sigset_t") (identifier "local_a0") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0xa506b;" (assignment_expression "uStack_14 = 0xa506b" (identifier "uStack_14") (= "=") (number_literal "0xa506b")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "reset_internal_getopt();" (call_expression "reset_internal_getopt()" (identifier "reset_internal_getopt") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (while_statement "while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" (while "while") (parenthesized_expression "(iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1)" (( "(") (comma_expression "iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1" (assignment_expression "iVar3 = internal_getopt(param_1,&DAT_0010221b)" (identifier "iVar3") (= "=") (call_expression "internal_getopt(param_1,&DAT_0010221b)" (identifier "internal_getopt") (argument_list "(param_1,&DAT_0010221b)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_0010221b" (& "&") (identifier "DAT_0010221b")) () ")")))) (, ",") (binary_expression "iVar3 != -1" (identifier "iVar3") (!= "!=") (number_literal "-1"))) () ")")) (compound_statement "{\n    if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }\n  }" ({ "{") (if_statement "if (iVar3 == 0x61) {\n      bVar2 = true;\n    }\n    else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" (if "if") (parenthesized_expression "(iVar3 == 0x61)" (( "(") (binary_expression "iVar3 == 0x61" (identifier "iVar3") (== "==") (number_literal "0x61")) () ")")) (compound_statement "{\n      bVar2 = true;\n    }" ({ "{") (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" (else "else") (compound_statement "{\n      if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }\n      if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }\n    }" ({ "{") (if_statement "if (iVar3 < 0x62) {\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" (if "if") (parenthesized_expression "(iVar3 < 0x62)" (( "(") (binary_expression "iVar3 < 0x62" (identifier "iVar3") (< "<") (number_literal "0x62")) () ")")) (compound_statement "{\n        if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }\n        goto LAB_000a50e7;\n      }" ({ "{") (if_statement "if (iVar3 == -99) {\n          builtin_help();\n          local_138 = 0x102;\n        }\n        else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" (if "if") (parenthesized_expression "(iVar3 == -99)" (( "(") (binary_expression "iVar3 == -99" (identifier "iVar3") (== "==") (number_literal "-99")) () ")")) (compound_statement "{\n          builtin_help();\n          local_138 = 0x102;\n        }" ({ "{") (expression_statement "builtin_help();" (call_expression "builtin_help()" (identifier "builtin_help") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" (identifier "local_138") (= "=") (number_literal "0x102")) (; ";")) (} "}")) (else_clause "else {\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" (else "else") (compound_statement "{\nLAB_000a5130:\n          builtin_usage();\n          local_138 = 0x102;\n        }" ({ "{") (labeled_statement "LAB_000a5130:\n          builtin_usage();" (statement_identifier "LAB_000a5130") (: ":") (expression_statement "builtin_usage();" (call_expression "builtin_usage()" (identifier "builtin_usage") (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "local_138 = 0x102;" (assignment_expression "local_138 = 0x102" (identifier "local_138") (= "=") (number_literal "0x102")) (; ";")) (} "}")))) (goto_statement "goto LAB_000a50e7;" (goto "goto") (statement_identifier "LAB_000a50e7") (; ";")) (} "}"))) (if_statement "if (iVar3 == 0x68) {\n        bVar1 = true;\n      }\n      else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0x68)" (( "(") (binary_expression "iVar3 == 0x68" (identifier "iVar3") (== "==") (number_literal "0x68")) () ")")) (compound_statement "{\n        bVar1 = true;\n      }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" (else "else") (compound_statement "{\n        if (iVar3 != 0x72) goto LAB_000a5130;\n        iVar5 = 1;\n      }" ({ "{") (if_statement "if (iVar3 != 0x72) goto LAB_000a5130;" (if "if") (parenthesized_expression "(iVar3 != 0x72)" (( "(") (binary_expression "iVar3 != 0x72" (identifier "iVar3") (!= "!=") (number_literal "0x72")) () ")")) (goto_statement "goto LAB_000a5130;" (goto "goto") (statement_identifier "LAB_000a5130") (; ";"))) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}")))) (} "}"))) (if_statement "if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }\n  else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" (if "if") (parenthesized_expression "((loptend == (int *)0x0) && (bVar2 || iVar5 != 0))" (( "(") (binary_expression "(loptend == (int *)0x0) && (bVar2 || iVar5 != 0)" (parenthesized_expression "(loptend == (int *)0x0)" (( "(") (binary_expression "loptend == (int *)0x0" (identifier "loptend") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar2 || iVar5 != 0)" (( "(") (binary_expression "bVar2 || iVar5 != 0" (identifier "bVar2") (|| "||") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }\n  }" ({ "{") (if_statement "if (bVar1) {\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }\n    else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n      local_138 = 0;\n      nohup_all_jobs(iVar5);\n    }" ({ "{") (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" (identifier "local_138") (= "=") (number_literal "0")) (; ";")) (expression_statement "nohup_all_jobs(iVar5);" (call_expression "nohup_all_jobs(iVar5)" (identifier "nohup_all_jobs") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" (else "else") (compound_statement "{\n      local_138 = 0;\n      delete_all_jobs(iVar5);\n    }" ({ "{") (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" (identifier "local_138") (= "=") (number_literal "0")) (; ";")) (expression_statement "delete_all_jobs(iVar5);" (call_expression "delete_all_jobs(iVar5)" (identifier "delete_all_jobs") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" (else "else") (compound_statement "{\n    local_138 = 0;\n    piVar6 = loptend;\n    do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));\n  }" ({ "{") (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" (identifier "local_138") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6 = loptend;" (assignment_expression "piVar6 = loptend" (identifier "piVar6") (= "=") (identifier "loptend")) (; ";")) (do_statement "do {\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));" (do "do") (compound_statement "{\n      sigemptyset(&local_120);\n      sigaddset(&local_120,0x11);\n      sigemptyset(&local_a0);\n      sigprocmask(0,&local_120,&local_a0);\n      if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }\n      sigprocmask(2,&local_a0,(sigset_t *)0x0);\n    }" ({ "{") (expression_statement "sigemptyset(&local_120);" (call_expression "sigemptyset(&local_120)" (identifier "sigemptyset") (argument_list "(&local_120)" (( "(") (pointer_expression "&local_120" (& "&") (identifier "local_120")) () ")"))) (; ";")) (expression_statement "sigaddset(&local_120,0x11);" (call_expression "sigaddset(&local_120,0x11)" (identifier "sigaddset") (argument_list "(&local_120,0x11)" (( "(") (pointer_expression "&local_120" (& "&") (identifier "local_120")) (, ",") (number_literal "0x11") () ")"))) (; ";")) (expression_statement "sigemptyset(&local_a0);" (call_expression "sigemptyset(&local_a0)" (identifier "sigemptyset") (argument_list "(&local_a0)" (( "(") (pointer_expression "&local_a0" (& "&") (identifier "local_a0")) () ")"))) (; ";")) (expression_statement "sigprocmask(0,&local_120,&local_a0);" (call_expression "sigprocmask(0,&local_120,&local_a0)" (identifier "sigprocmask") (argument_list "(0,&local_120,&local_a0)" (( "(") (number_literal "0") (, ",") (pointer_expression "&local_120" (& "&") (identifier "local_120")) (, ",") (pointer_expression "&local_a0" (& "&") (identifier "local_a0")) () ")"))) (; ";")) (if_statement "if (piVar6 == (int *)0x0) {\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }\n      else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" (if "if") (parenthesized_expression "(piVar6 == (int *)0x0)" (( "(") (binary_expression "piVar6 == (int *)0x0" (identifier "piVar6") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        iVar5 = get_job_spec(0);\n        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }\nLAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }\nLAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }\n      }" ({ "{") (expression_statement "iVar5 = get_job_spec(0);" (assignment_expression "iVar5 = get_job_spec(0)" (identifier "iVar5") (= "=") (call_expression "get_job_spec(0)" (identifier "get_job_spec") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" (if "if") (parenthesized_expression "((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5))))" (( "(") (binary_expression "(iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))" (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (|| "||") (parenthesized_expression "(((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))" (( "(") (parenthesized_expression "((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5))" (( "(") (binary_expression "(jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)" (parenthesized_expression "(jobs == 0 || (iVar5 < 0))" (( "(") (binary_expression "jobs == 0 || (iVar5 < 0)" (binary_expression "jobs == 0" (identifier "jobs") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(DAT_0014a7d8 <= iVar5)" (( "(") (binary_expression "DAT_0014a7d8 <= iVar5" (identifier "DAT_0014a7d8") (<= "<=") (identifier "iVar5")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\nLAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);\n          goto LAB_000a51d4;\n        }" ({ "{") (labeled_statement "LAB_000a52b0:\n          uVar4 = dcgettext(0,"current",5);" (statement_identifier "LAB_000a52b0") (: ":") (expression_statement "uVar4 = dcgettext(0,"current",5);" (assignment_expression "uVar4 = dcgettext(0,"current",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"current",5)" (identifier "dcgettext") (argument_list "(0,"current",5)" (( "(") (number_literal "0") (, ",") (string_literal ""current"" (" """) (string_content "current") (" """)) (, ",") (number_literal "5") () ")")))) (; ";"))) (goto_statement "goto LAB_000a51d4;" (goto "goto") (statement_identifier "LAB_000a51d4") (; ";")) (} "}"))) (labeled_statement "LAB_000a5265:\n        if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" (statement_identifier "LAB_000a5265") (: ":") (if_statement "if (*(int *)(jobs + iVar5 * 4) == 0) {\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" (if "if") (parenthesized_expression "(*(int *)(jobs + iVar5 * 4) == 0)" (( "(") (binary_expression "*(int *)(jobs + iVar5 * 4) == 0" (pointer_expression "*(int *)(jobs + iVar5 * 4)" (* "*") (cast_expression "(int *)(jobs + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(jobs + iVar5 * 4)" (( "(") (binary_expression "jobs + iVar5 * 4" (identifier "jobs") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (piVar6 != (int *)0x0) goto LAB_000a51cf;\n          goto LAB_000a52b0;\n        }" ({ "{") (if_statement "if (piVar6 != (int *)0x0) goto LAB_000a51cf;" (if "if") (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000a51cf;" (goto "goto") (statement_identifier "LAB_000a51cf") (; ";"))) (goto_statement "goto LAB_000a52b0;" (goto "goto") (statement_identifier "LAB_000a52b0") (; ";")) (} "}")))) (labeled_statement "LAB_000a526c:\n        if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" (statement_identifier "LAB_000a526c") (: ":") (if_statement "if (bVar1) {\n          nohup_job(iVar5);\n        }\n        else {\n          delete_job(iVar5,1);\n        }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n          nohup_job(iVar5);\n        }" ({ "{") (expression_statement "nohup_job(iVar5);" (call_expression "nohup_job(iVar5)" (identifier "nohup_job") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          delete_job(iVar5,1);\n        }" (else "else") (compound_statement "{\n          delete_job(iVar5,1);\n        }" ({ "{") (expression_statement "delete_job(iVar5,1);" (call_expression "delete_job(iVar5,1)" (identifier "delete_job") (argument_list "(iVar5,1)" (( "(") (identifier "iVar5") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}"))))) (} "}")) (else_clause "else {\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" (else "else") (compound_statement "{\n        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);\n        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }\nLAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];\nLAB_000a51d4:\n        sh_badjob(uVar4);\n        local_138 = 1;\n      }" ({ "{") (expression_statement "iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);" (assignment_expression "iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c)" (identifier "iVar5") (= "=") (call_expression "legal_number(*(undefined4 *)piVar6[1],&local_12c)" (identifier "legal_number") (argument_list "(*(undefined4 *)piVar6[1],&local_12c)" (( "(") (pointer_expression "*(undefined4 *)piVar6[1]" (* "*") (cast_expression "(undefined4 *)piVar6[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")))) (, ",") (pointer_expression "&local_12c" (& "&") (identifier "local_12c")) () ")")))) (; ";")) (if_statement "if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }\n        else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" (if "if") (parenthesized_expression "((iVar5 == 0) || (local_128 != local_12c >> 0x1f))" (( "(") (binary_expression "(iVar5 == 0) || (local_128 != local_12c >> 0x1f)" (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_128 != local_12c >> 0x1f)" (( "(") (binary_expression "local_128 != local_12c >> 0x1f" (identifier "local_128") (!= "!=") (binary_expression "local_12c >> 0x1f" (identifier "local_12c") (>> ">>") (number_literal "0x1f"))) () ")"))) () ")")) (compound_statement "{\n          iVar5 = get_job_spec(piVar6);\n          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;\n        }" ({ "{") (expression_statement "iVar5 = get_job_spec(piVar6);" (assignment_expression "iVar5 = get_job_spec(piVar6)" (identifier "iVar5") (= "=") (call_expression "get_job_spec(piVar6)" (identifier "get_job_spec") (argument_list "(piVar6)" (( "(") (identifier "piVar6") () ")")))) (; ";")) (if_statement "if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))\n          goto LAB_000a5265;" (if "if") (parenthesized_expression "((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))" (( "(") (binary_expression "(iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)))" (parenthesized_expression "(iVar5 != -1)" (( "(") (binary_expression "iVar5 != -1" (identifier "iVar5") (!= "!=") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)))" (( "(") (parenthesized_expression "((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))" (( "(") (binary_expression "(-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8)" (parenthesized_expression "(-1 < iVar5 && (jobs != 0))" (( "(") (binary_expression "-1 < iVar5 && (jobs != 0)" (binary_expression "-1 < iVar5" (number_literal "-1") (< "<") (identifier "iVar5")) (&& "&&") (parenthesized_expression "(jobs != 0)" (( "(") (binary_expression "jobs != 0" (identifier "jobs") (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar5 < DAT_0014a7d8)" (( "(") (binary_expression "iVar5 < DAT_0014a7d8" (identifier "iVar5") (< "<") (identifier "DAT_0014a7d8")) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_000a5265;" (goto "goto") (statement_identifier "LAB_000a5265") (; ";"))) (} "}")) (else_clause "else {\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" (else "else") (compound_statement "{\n          iVar5 = get_job_by_pid(local_12c,0);\n          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;\n        }" ({ "{") (expression_statement "iVar5 = get_job_by_pid(local_12c,0);" (assignment_expression "iVar5 = get_job_by_pid(local_12c,0)" (identifier "iVar5") (= "=") (call_expression "get_job_by_pid(local_12c,0)" (identifier "get_job_by_pid") (argument_list "(local_12c,0)" (( "(") (identifier "local_12c") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;" (if "if") (parenthesized_expression "((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0))))" (( "(") (binary_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&\n             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))" (parenthesized_expression "(((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0))" (( "(") (binary_expression "((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)" (parenthesized_expression "((iVar5 != -1) && (-1 < iVar5))" (( "(") (binary_expression "(iVar5 != -1) && (-1 < iVar5)" (parenthesized_expression "(iVar5 != -1)" (( "(") (binary_expression "iVar5 != -1" (identifier "iVar5") (!= "!=") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(-1 < iVar5)" (( "(") (binary_expression "-1 < iVar5" (number_literal "-1") (< "<") (identifier "iVar5")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(jobs != 0)" (( "(") (binary_expression "jobs != 0" (identifier "jobs") (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))" (( "(") (parenthesized_expression "(iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0))" (( "(") (binary_expression "iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)" (binary_expression "iVar5 < DAT_0014a7d8" (identifier "iVar5") (< "<") (identifier "DAT_0014a7d8")) (&& "&&") (parenthesized_expression "(*(int *)(jobs + iVar5 * 4) != 0)" (( "(") (binary_expression "*(int *)(jobs + iVar5 * 4) != 0" (pointer_expression "*(int *)(jobs + iVar5 * 4)" (* "*") (cast_expression "(int *)(jobs + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(jobs + iVar5 * 4)" (( "(") (binary_expression "jobs + iVar5 * 4" (identifier "jobs") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_000a526c;" (goto "goto") (statement_identifier "LAB_000a526c") (; ";"))) (} "}")))) (labeled_statement "LAB_000a51cf:\n        uVar4 = *(undefined4 *)piVar6[1];" (statement_identifier "LAB_000a51cf") (: ":") (expression_statement "uVar4 = *(undefined4 *)piVar6[1];" (assignment_expression "uVar4 = *(undefined4 *)piVar6[1]" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)piVar6[1]" (* "*") (cast_expression "(undefined4 *)piVar6[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))))) (; ";"))) (labeled_statement "LAB_000a51d4:\n        sh_badjob(uVar4);" (statement_identifier "LAB_000a51d4") (: ":") (expression_statement "sh_badjob(uVar4);" (call_expression "sh_badjob(uVar4)" (identifier "sh_badjob") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";"))) (expression_statement "local_138 = 1;" (assignment_expression "local_138 = 1" (identifier "local_138") (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "sigprocmask(2,&local_a0,(sigset_t *)0x0);" (call_expression "sigprocmask(2,&local_a0,(sigset_t *)0x0)" (identifier "sigprocmask") (argument_list "(2,&local_a0,(sigset_t *)0x0)" (( "(") (number_literal "2") (, ",") (pointer_expression "&local_a0" (& "&") (identifier "local_a0")) (, ",") (cast_expression "(sigset_t *)0x0" (( "(") (type_descriptor "sigset_t *" (type_identifier "sigset_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0))" (( "(") (binary_expression "(piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0)" (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(piVar6 = (int *)*piVar6, piVar6 != (int *)0x0)" (( "(") (comma_expression "piVar6 = (int *)*piVar6, piVar6 != (int *)0x0" (assignment_expression "piVar6 = (int *)*piVar6" (identifier "piVar6") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (, ",") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (; ";")) (} "}")))) (labeled_statement "LAB_000a50e7:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" (statement_identifier "LAB_000a50e7") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_000ecc40();\n  }" ({ "{") (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" (identifier "FUN_000ecc40") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return local_138;" (return "return") (identifier "local_138") (; ";")) (} "}")))

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

int function_1(type_1 *list)

{
  int var_24;
  bool bVar2;
  bool var_8;
  int var_4;
  char *s;
  int var_9;
  type_2 *var_15;
  int var_1;
  int local_138;
  type_3 pid_value;
  type_4 set;
  type_4 oset;
  
  var_9 = 0;
  var_24 = *(int *)(var_1 + 0x14);
  var_2();
  var_8 = false;
  bVar2 = false;
  while (var_4 = var_3(list,"ahr"), var_4 != -1) {
    if (var_4 == 0x61) {
      var_8 = true;
    }
    else {
      if (var_4 < 0x62) {
        if (var_4 == -99) {
          var_5();
          local_138 = 0x102;
        }
        else {
LAB_000a5130:
          var_6();
          local_138 = 0x102;
        }
        goto LAB_000a50e7;
      }
      if (var_4 == 0x68) {
        bVar2 = true;
      }
      else {
        if (var_4 != 0x72) goto LAB_000a5130;
        var_9 = 1;
      }
    }
  }
  if ((var_7 == (type_1 *)0x0) && (var_8 || var_9 != 0)) {
    if (bVar2) {
      local_138 = 0;
      var_10(var_9);
    }
    else {
      local_138 = 0;
      var_11(var_9);
    }
  }
  else {
    local_138 = 0;
    var_15 = var_7;
    do {
      var_12((type_4 *)&set);
      var_13((type_4 *)&set,0x11);
      var_12((type_4 *)&oset);
      var_14(0,(type_4 *)&set,(type_4 *)&oset);
      if (var_15 == (type_1 *)0x0) {
        var_9 = var_16((type_1 *)0x0);
        if ((var_9 == -1) || (((var_17 == (type_5 **)0x0 || (var_9 < 0)) || (js.j_jobslots <= var_9)))) {
LAB_000a52b0:
          s = (char *)var_18(0,"current",5);
          goto LAB_000a51d4;
        }
LAB_000a5265:
        if (var_17[var_9] == (type_5 *)0x0) {
          if (var_15 != (type_1 *)0x0) goto LAB_000a51cf;
          goto LAB_000a52b0;
        }
LAB_000a526c:
        if (bVar2) {
          var_19(var_9);
        }
        else {
          var_20(var_9,1);
        }
      }
      else {
        var_9 = var_21(var_15->word->word,&pid_value);
        if ((var_9 == 0) || (pid_value._4_4_ != (int)pid_value >> 0x1f)) {
          var_9 = var_16(var_15);
          if ((var_9 != -1) && (((-1 < var_9 && (var_17 != (type_5 **)0x0)) && (var_9 < js.j_jobslots))))
          goto LAB_000a5265;
        }
        else {
          var_9 = var_22((int)pid_value,0);
          if ((((var_9 != -1) && (-1 < var_9)) && (var_17 != (type_5 **)0x0)) &&
             ((var_9 < js.j_jobslots && (var_17[var_9] != (type_5 *)0x0)))) goto LAB_000a526c;
        }
LAB_000a51cf:
        s = var_15->word->word;
LAB_000a51d4:
        var_23(s);
        local_138 = 1;
      }
      var_14(2,(type_4 *)&oset,(type_4 *)0x0);
    } while ((var_15 != (type_1 *)0x0) && (var_15 = var_15->next, var_15 != (type_2 *)0x0)
            );
  }
LAB_000a50e7:
  if (var_24 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_25();
  }
  return local_138;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (false))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true)))) alternative: (else_clause (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (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 (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_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: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) (pointer_expression argument: (identifier)))))) (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: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (number_literal) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) 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: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))))))) consequence: (goto_statement label: (statement_identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier)) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

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

undefined4 MASKED(undefined4 param_1)

{
  bool bVar1;
  bool bVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int *piVar6;
  int in_GS_OFFSET;
  undefined4 local_138;
  int local_12c;
  int local_128;
  sigset_t local_120;
  sigset_t local_a0;
  int local_20;
  undefined4 uStack_14;
  
  iVar5 = 0;
  uStack_14 = 0xa506b;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  reset_internal_getopt();
  bVar2 = false;
  bVar1 = false;
  while (iVar3 = internal_getopt(param_1,&DAT_0010221b), iVar3 != -1) {
    if (iVar3 == 0x61) {
      bVar2 = true;
    }
    else {
      if (iVar3 < 0x62) {
        if (iVar3 == -99) {
          builtin_help();
          local_138 = 0x102;
        }
        else {
LAB_000a5130:
          builtin_usage();
          local_138 = 0x102;
        }
        goto LAB_000a50e7;
      }
      if (iVar3 == 0x68) {
        bVar1 = true;
      }
      else {
        if (iVar3 != 0x72) goto LAB_000a5130;
        iVar5 = 1;
      }
    }
  }
  if ((loptend == (int *)0x0) && (bVar2 || iVar5 != 0)) {
    if (bVar1) {
      local_138 = 0;
      nohup_all_jobs(iVar5);
    }
    else {
      local_138 = 0;
      delete_all_jobs(iVar5);
    }
  }
  else {
    local_138 = 0;
    piVar6 = loptend;
    do {
      sigemptyset(&local_120);
      sigaddset(&local_120,0x11);
      sigemptyset(&local_a0);
      sigprocmask(0,&local_120,&local_a0);
      if (piVar6 == (int *)0x0) {
        iVar5 = get_job_spec(0);
        if ((iVar5 == -1) || (((jobs == 0 || (iVar5 < 0)) || (DAT_0014a7d8 <= iVar5)))) {
LAB_000a52b0:
          uVar4 = dcgettext(0,"current",5);
          goto LAB_000a51d4;
        }
LAB_000a5265:
        if (*(int *)(jobs + iVar5 * 4) == 0) {
          if (piVar6 != (int *)0x0) goto LAB_000a51cf;
          goto LAB_000a52b0;
        }
LAB_000a526c:
        if (bVar1) {
          nohup_job(iVar5);
        }
        else {
          delete_job(iVar5,1);
        }
      }
      else {
        iVar5 = legal_number(*(undefined4 *)piVar6[1],&local_12c);
        if ((iVar5 == 0) || (local_128 != local_12c >> 0x1f)) {
          iVar5 = get_job_spec(piVar6);
          if ((iVar5 != -1) && (((-1 < iVar5 && (jobs != 0)) && (iVar5 < DAT_0014a7d8))))
          goto LAB_000a5265;
        }
        else {
          iVar5 = get_job_by_pid(local_12c,0);
          if ((((iVar5 != -1) && (-1 < iVar5)) && (jobs != 0)) &&
             ((iVar5 < DAT_0014a7d8 && (*(int *)(jobs + iVar5 * 4) != 0)))) goto LAB_000a526c;
        }
LAB_000a51cf:
        uVar4 = *(undefined4 *)piVar6[1];
LAB_000a51d4:
        sh_badjob(uVar4);
        local_138 = 1;
      }
      sigprocmask(2,&local_a0,(sigset_t *)0x0);
    } while ((piVar6 != (int *)0x0) && (piVar6 = (int *)*piVar6, piVar6 != (int *)0x0));
  }
LAB_000a50e7:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000ecc40();
  }
  return local_138;
}

