
int start_job(int job,int foreground)

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  PROCESS *pPVar4;
  char *pcVar5;
  int iVar6;
  int *piVar7;
  int iVar8;
  undefined4 *puVar9;
  undefined *puVar10;
  int iVar11;
  undefined *puVar12;
  undefined *puVar13;
  undefined4 uVar14;
  int *piVar15;
  int *piVar16;
  int iVar17;
  pid_t pid;
  int *piVar18;
  undefined *puVar19;
  undefined *puVar20;
  int *piVar21;
  int *piVar22;
  undefined *puVar23;
  code *pcVar24;
  int iVar25;
  char *local_134;
  sigset_t set;
  sigset_t oset;
  
  puVar23 = PTR___stack_chk_guard_001464dc;
  piVar18 = (int *)PTR_jobs_00144e5c;
  iVar17 = job * 4;
  iVar1 = *(int *)PTR___stack_chk_guard_001464dc;
  (*(code *)PTR_sigemptyset_001462d4)(&set);
  (*(code *)PTR_sigaddset_00146364)(&set,0x12);
  (*(code *)PTR_sigemptyset_001462d4)(&oset);
  (*(code *)PTR_sigprocmask_00146514)(1,&set,&oset);
  iVar25 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);
  if (iVar25 == 4) {
    iVar17 = -1;
    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);
    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728);
    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);
  }
  else if (foreground == 0) {
    if (iVar25 != 1) {
      local_134 = current_working_directory();
      iVar6 = *(int *)(*piVar18 + iVar17);
      iVar8 = *(int *)PTR_posixly_correct_0014458c;
      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;
      if (iVar8 == 0) {
        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {
          puVar12 = PTR_LAB_00144578 + 0x7144;
        }
        else {
          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;
          puVar12 = PTR_LAB_00144578 + 0x7d98;
        }
      }
      else {
LAB_0006b860:
        puVar12 = PTR_LAB_00144578 + 0x7b04;
      }
      piVar22 = *(int **)(iVar6 + 4);
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);
      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);
      goto LAB_0006b898;
    }
    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);
    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);
LAB_0006b9dc:
    iVar17 = 0;
    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);
  }
  else {
    local_134 = current_working_directory();
    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =
         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;
    set_current_job(job);
    iVar6 = *(int *)(*piVar18 + iVar17);
    piVar2 = *(int **)(iVar6 + 4);
    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;
    piVar22 = piVar2;
LAB_0006b898:
    puVar19 = PTR_LAB_00144578 + 0x6298;
    puVar12 = PTR_DAT_001445ac + -0x6800;
    puVar20 = PTR_LAB_00144578 + 0x6720;
    do {
      puVar10 = (undefined *)piVar22[4];
      if ((undefined *)piVar22[4] == (undefined *)0x0) {
        puVar10 = puVar12;
      }
      puVar13 = puVar20;
      if ((int *)*piVar22 == piVar2) {
        puVar13 = puVar12;
      }
      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);
      piVar22 = (int *)*piVar22;
      puVar9 = *(undefined4 **)(*piVar18 + iVar17);
      piVar2 = (int *)puVar9[1];
    } while (piVar2 != piVar22);
    if (foreground == 0) {
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);
      puVar9 = *(undefined4 **)(*piVar18 + iVar17);
    }
    uVar14 = *puVar9;
    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);
    if (iVar6 != 0) {
      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);
    }
    (*(code *)PTR_putchar_00146340)(10);
    if (iVar25 == 1) {
      if (foreground == 0) {
        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =
             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;
        goto LAB_0006b9c8;
      }
      get_tty_state();
      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);
      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);
      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);
      piVar22 = piVar2;
      piVar21 = piVar15;
      do {
        piVar3 = piVar22 + 4;
        piVar7 = piVar21 + 4;
        iVar11 = piVar22[1];
        iVar8 = piVar22[2];
        iVar6 = piVar22[3];
        *piVar21 = *piVar22;
        piVar21[1] = iVar11;
        piVar21[2] = iVar8;
        piVar21[3] = iVar6;
        piVar22 = piVar3;
        piVar21 = piVar7;
      } while (piVar3 != piVar16);
      iVar6 = *piVar18;
      iVar8 = *piVar3;
      *piVar7 = iVar8;
      iVar6 = *(int *)(iVar6 + iVar17);
      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;
    }
    else {
      iVar6 = *(int *)(*piVar18 + iVar17);
      piVar2 = *(int **)(iVar6 + 4);
      piVar22 = piVar2;
      do {
        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {
          piVar22[3] = 1;
        }
        piVar22 = (int *)*piVar22;
      } while (piVar2 != piVar22);
      *(undefined4 *)(iVar6 + 0xc) = 1;
      puVar12 = PTR_killpg_00146474;
      if (foreground == 0) {
        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;
        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);
LAB_0006b9c8:
        reset_current();
        goto LAB_0006b9dc;
      }
      get_tty_state();
      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);
      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);
      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);
      piVar22 = piVar2;
      piVar21 = piVar15;
      do {
        piVar3 = piVar22 + 4;
        piVar7 = piVar21 + 4;
        iVar11 = piVar22[1];
        iVar8 = piVar22[2];
        iVar6 = piVar22[3];
        *piVar21 = *piVar22;
        piVar21[1] = iVar11;
        piVar21[2] = iVar8;
        piVar21[3] = iVar6;
        piVar22 = piVar3;
        piVar21 = piVar7;
      } while (piVar3 != piVar16);
      iVar6 = *piVar18;
      *piVar7 = *piVar3;
      iVar6 = *(int *)(iVar6 + iVar17);
      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {
        iVar25 = *piVar18;
      }
      else {
LAB_0006bce0:
        iVar8 = 0;
        give_terminal_to(*(pid_t *)(iVar6 + 8),0);
        if (iVar25 == 1) goto LAB_0006bbc8;
        iVar25 = *piVar18;
      }
      puVar12 = PTR_killpg_00146474;
      iVar8 = 0x19;
      iVar17 = *(int *)(iVar25 + iVar17);
      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;
      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));
    }
LAB_0006bbc8:
    pPVar4 = find_last_proc(job,iVar8);
    pid = pPVar4->pid;
    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);
    iVar17 = wait_for(pid);
    piVar22 = piVar15;
    do {
      piVar16 = piVar22 + 4;
      piVar21 = piVar2 + 4;
      iVar8 = piVar22[1];
      iVar6 = piVar22[2];
      iVar25 = piVar22[3];
      *piVar2 = *piVar22;
      piVar2[1] = iVar8;
      piVar2[2] = iVar6;
      piVar2[3] = iVar25;
      piVar2 = piVar21;
      piVar22 = piVar16;
    } while (piVar16 != piVar15 + 0xc);
    *piVar21 = *piVar16;
    set_tty_state();
  }
  if (iVar1 == *(int *)puVar23) {
    return iVar17;
  }
  puVar23 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  piVar22 = *(int **)(puVar23 + 0xd8b10);
  iVar17 = (**(code **)(puVar23 + 0xda6dc))();
  *piVar22 = iVar17;
  if (iVar17 == -1) {
    pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5);
    sys_error(pcVar5);
    (**(code **)(puVar23 + 0xda620))(1);
LAB_0006c3c8:
    uVar14 = *(undefined4 *)foreground;
LAB_0006be24:
    uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);
    iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14);
    *piVar18 = iVar1;
    if (iVar1 != -1) goto LAB_0006bf80;
    pcVar24 = *(code **)(puVar23 + 0xda670);
    if (*piVar22 == 0) goto LAB_0006bf08;
LAB_0006be5c:
    iVar1 = *piVar18;
  }
  else {
    job = *(int *)(puVar23 + 0xd87f4);
    foreground = *(int *)(puVar23 + 0xda77c);
    uVar14 = *(undefined4 *)foreground;
    if (iVar1 == 0 && *(int *)job == 0) {
      piVar2 = *(int **)(puVar23 + 0xd8b0c);
      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);
      pcVar24 = *(code **)(puVar23 + 0xda58c);
      piVar18 = *(int **)(puVar23 + 0xd93fc);
      *piVar2 = 0;
      *puVar9 = 0xffffffff;
      iVar1 = (*pcVar24)(uVar14);
      pcVar24 = *(code **)(puVar23 + 0xda598);
      *piVar18 = iVar1;
      iVar1 = (*pcVar24)(iVar1);
      iVar17 = *piVar22;
      **(int **)(puVar23 + 0xd9434) = iVar1;
      goto LAB_0006bff4;
    }
    piVar18 = *(int **)(puVar23 + 0xd93fc);
    iVar1 = **(int **)(puVar23 + 0xd87e4);
    *piVar18 = -1;
    if (iVar1 == 0) goto LAB_0006be24;
    uVar14 = (**(code **)(puVar23 + 0xda58c))();
    iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);
    if (iVar1 == 0) {
      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);
      *piVar18 = iVar1;
    }
    else {
      iVar1 = *piVar18;
    }
    if (iVar1 == -1) goto LAB_0006c3c8;
LAB_0006bf80:
    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);
    *piVar18 = iVar1;
    pcVar24 = *(code **)(puVar23 + 0xda670);
    if (*piVar22 != 0) goto LAB_0006be5c;
LAB_0006bf08:
    iVar1 = (*pcVar24)();
    pcVar24 = *(code **)(puVar23 + 0xda4fc);
    *piVar22 = iVar1;
    (*pcVar24)(0,iVar1);
    iVar1 = *piVar18;
    if (iVar1 != -1) {
      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);
      goto LAB_0006be5c;
    }
  }
  iVar17 = 0x12;
  piVar21 = *(int **)(puVar23 + 0xd9434);
  piVar2 = *(int **)(puVar23 + 0xd8a98);
  while( true ) {
    iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1);
    *piVar21 = iVar1;
    if (iVar1 == -1) break;
    if (*piVar22 == iVar1) {
      iVar25 = -1;
      goto LAB_0006c118;
    }
    pcVar24 = *(code **)(puVar23 + 0xd8aac);
    if (*piVar2 != 0) {
      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);
      pcVar24 = *(code **)(puVar23 + 0xd8aac);
    }
    iVar17 = iVar17 + -1;
    uVar14 = (*pcVar24)(0x1a,0);
    (**(code **)(puVar23 + 0xda61c))(0,0x1a);
    (**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14);
    if (iVar17 == 0) {
      piVar2 = *(int **)(puVar23 + 0xd8b0c);
      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);
      sys_error(pcVar5);
      iVar1 = *piVar21;
      iVar17 = *piVar22;
      *piVar2 = 0;
      **(int **)(puVar23 + 0xd9070) = iVar1;
      goto LAB_0006bff4;
    }
    iVar1 = *piVar18;
  }
  piVar2 = (int *)(**(code **)(puVar23 + 0xda5a0))();
  iVar25 = *piVar2;
  iVar1 = *piVar22;
LAB_0006c118:
  piVar16 = *(int **)(puVar23 + 0xd9070);
  pcVar24 = *(code **)(puVar23 + 0xda670);
  *piVar16 = iVar1;
  iVar1 = (*pcVar24)();
  iVar17 = *piVar16;
  *piVar22 = iVar1;
  if (iVar1 == iVar17) {
LAB_0006c138:
    piVar2 = *(int **)(puVar23 + 0xd8b0c);
    *piVar2 = 1;
LAB_0006c144:
    pcVar24 = *(code **)(puVar23 + 0xda598);
LAB_0006c148:
    iVar17 = (*pcVar24)(*piVar18);
    if ((iVar17 == -1) || (*piVar22 != iVar17)) {
      if (iVar25 != -1) {
        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();
        *piVar16 = iVar25;
      }
      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);
      sys_error(pcVar5,iVar17);
      *piVar2 = 0;
      goto LAB_0006c230;
    }
    iVar1 = *(int *)(puVar23 + 0xd87dc);
    if (*piVar2 != 0) {
      iVar1 = *piVar21;
      goto LAB_0006bff4;
    }
  }
  else {
    iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);
    if (iVar1 < 0) {
      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);
      sys_error(pcVar5);
      *piVar22 = *piVar16;
      goto LAB_0006c138;
    }
    piVar2 = *(int **)(puVar23 + 0xd8b0c);
    iVar17 = *piVar22;
    iVar1 = *piVar16;
    *piVar2 = 1;
    if (iVar17 == iVar1) goto LAB_0006c144;
    pcVar24 = *(code **)(puVar23 + 0xda598);
    if (*piVar21 == iVar17) goto LAB_0006c148;
    iVar1 = give_terminal_to(iVar17,0);
    if (iVar1 < 0) {
      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();
      uVar14 = *puVar9;
      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);
      iVar1 = *(int *)(puVar23 + 0xd87dc);
      pcVar24 = *(code **)(puVar23 + 0xda6fc);
      *piVar22 = *piVar16;
      *puVar9 = uVar14;
      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);
      sys_error(pcVar5,*piVar22);
      *piVar2 = 0;
    }
    else {
      pcVar24 = *(code **)(puVar23 + 0xda598);
      if (*piVar2 != 0) goto LAB_0006c148;
    }
LAB_0006c230:
    iVar1 = *(int *)(puVar23 + 0xd87dc);
  }
  pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5);
  internal_error(pcVar5);
  iVar1 = *piVar21;
  iVar17 = *piVar22;
LAB_0006bff4:
  pcVar24 = *(code **)(puVar23 + 0xda58c);
  uVar14 = *(undefined4 *)foreground;
  **(uint **)(puVar23 + 0xd8954) = (uint)(iVar17 != iVar1);
  iVar1 = (*pcVar24)(uVar14);
  if (iVar1 != *piVar18) {
    (**(code **)(puVar23 + 0xda540))(*piVar18,2,1);
  }
  (**(code **)(puVar23 + 0xd8aac))(0x12,*(int *)(puVar23 + 0xd942c) + -0x6fbc);
  iVar1 = 0x2b;
  if (*piVar2 != 0) {
    iVar1 = 0x2d;
  }
  change_flag(0x6d,iVar1);
  if (*(int *)job != 0) {
    get_tty_state();
  }
  piVar18 = *(int **)(puVar23 + 0xd90bc);
  if (*piVar18 < 0) {
    iVar1 = (**(code **)(puVar23 + 0xd93d8))();
    if (iVar1 < 0) {
      iVar1 = 0x20;
    }
    *piVar18 = iVar1;
    return *piVar2;
  }
  return *piVar2;
}



int start_job(int *param_1,undefined4 *param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  undefined *puVar9;
  undefined4 uVar10;
  undefined *puVar11;
  undefined *puVar12;
  undefined4 *puVar13;
  undefined4 uVar14;
  undefined4 *puVar15;
  int *piVar16;
  int iVar17;
  int *piVar18;
  undefined *puVar19;
  undefined4 *puVar20;
  undefined *puVar21;
  int *piVar22;
  int *piVar23;
  undefined *puVar24;
  code *pcVar25;
  int iVar26;
  undefined4 local_134;
  undefined1 auStack_12c [128];
  undefined1 auStack_ac [128];
  int local_2c;
  
  puVar24 = PTR___stack_chk_guard_001464dc;
  piVar18 = (int *)PTR_jobs_00144e5c;
  iVar17 = (int)param_1 * 4;
  local_2c = *(int *)PTR___stack_chk_guard_001464dc;
  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);
  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);
  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);
  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);
  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);
  if (iVar26 == 4) {
    iVar17 = -1;
    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);
    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);
    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);
  }
  else if (param_2 == (undefined4 *)0x0) {
    if (iVar26 != 1) {
      local_134 = FUN_000649c8();
      iVar3 = *(int *)(*piVar18 + iVar17);
      iVar6 = *(int *)PTR_posixly_correct_0014458c;
      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;
      if (iVar6 == 0) {
        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {
          puVar11 = PTR_LAB_00144578 + 0x7144;
        }
        else {
          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;
          puVar11 = PTR_LAB_00144578 + 0x7d98;
        }
      }
      else {
LAB_0006b860:
        puVar11 = PTR_LAB_00144578 + 0x7b04;
      }
      piVar23 = *(int **)(iVar3 + 4);
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);
      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);
      goto LAB_0006b898;
    }
    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);
    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);
LAB_0006b9dc:
    iVar17 = 0;
    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);
  }
  else {
    local_134 = FUN_000649c8();
    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =
         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;
    FUN_00064368(param_1);
    iVar3 = *(int *)(*piVar18 + iVar17);
    piVar1 = *(int **)(iVar3 + 4);
    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;
    piVar23 = piVar1;
LAB_0006b898:
    puVar19 = PTR_LAB_00144578 + 0x6298;
    puVar11 = PTR_DAT_001445ac + -0x6800;
    puVar21 = PTR_LAB_00144578 + 0x6720;
    do {
      puVar9 = (undefined *)piVar23[4];
      if ((undefined *)piVar23[4] == (undefined *)0x0) {
        puVar9 = puVar11;
      }
      puVar12 = puVar21;
      if ((int *)*piVar23 == piVar1) {
        puVar12 = puVar11;
      }
      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);
      piVar23 = (int *)*piVar23;
      puVar7 = *(undefined4 **)(*piVar18 + iVar17);
      piVar1 = (int *)puVar7[1];
    } while (piVar1 != piVar23);
    if (param_2 == (undefined4 *)0x0) {
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);
      puVar7 = *(undefined4 **)(*piVar18 + iVar17);
    }
    uVar14 = *puVar7;
    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);
    if (iVar3 != 0) {
      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);
    }
    (*(code *)PTR_putchar_00146340)(10);
    if (iVar26 == 1) {
      if (param_2 == (undefined4 *)0x0) {
        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =
             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;
        goto LAB_0006b9c8;
      }
      get_tty_state();
      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);
      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);
      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);
      puVar7 = puVar20;
      puVar4 = puVar15;
      do {
        puVar2 = puVar7 + 4;
        puVar5 = puVar4 + 4;
        uVar10 = puVar7[1];
        uVar8 = puVar7[2];
        uVar14 = puVar7[3];
        *puVar4 = *puVar7;
        puVar4[1] = uVar10;
        puVar4[2] = uVar8;
        puVar4[3] = uVar14;
        puVar7 = puVar2;
        puVar4 = puVar5;
      } while (puVar2 != puVar13);
      iVar3 = *piVar18;
      *puVar5 = *puVar2;
      iVar3 = *(int *)(iVar3 + iVar17);
      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;
    }
    else {
      iVar3 = *(int *)(*piVar18 + iVar17);
      piVar1 = *(int **)(iVar3 + 4);
      piVar23 = piVar1;
      do {
        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {
          piVar23[3] = 1;
        }
        piVar23 = (int *)*piVar23;
      } while (piVar1 != piVar23);
      *(undefined4 *)(iVar3 + 0xc) = 1;
      puVar11 = PTR_killpg_00146474;
      if (param_2 == (undefined4 *)0x0) {
        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;
        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);
LAB_0006b9c8:
        FUN_00064490();
        goto LAB_0006b9dc;
      }
      get_tty_state();
      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);
      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);
      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);
      puVar7 = puVar20;
      puVar4 = puVar15;
      do {
        puVar2 = puVar7 + 4;
        puVar5 = puVar4 + 4;
        uVar10 = puVar7[1];
        uVar8 = puVar7[2];
        uVar14 = puVar7[3];
        *puVar4 = *puVar7;
        puVar4[1] = uVar10;
        puVar4[2] = uVar8;
        puVar4[3] = uVar14;
        puVar7 = puVar2;
        puVar4 = puVar5;
      } while (puVar2 != puVar13);
      iVar3 = *piVar18;
      *puVar5 = *puVar2;
      iVar3 = *(int *)(iVar3 + iVar17);
      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {
        iVar26 = *piVar18;
      }
      else {
LAB_0006bce0:
        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);
        if (iVar26 == 1) goto LAB_0006bbc8;
        iVar26 = *piVar18;
      }
      puVar11 = PTR_killpg_00146474;
      iVar17 = *(int *)(iVar26 + iVar17);
      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;
      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);
    }
LAB_0006bbc8:
    iVar17 = FUN_00065a6c(param_1);
    uVar14 = *(undefined4 *)(iVar17 + 4);
    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);
    iVar17 = wait_for(uVar14);
    puVar7 = puVar15;
    do {
      puVar13 = puVar7 + 4;
      puVar4 = puVar20 + 4;
      uVar10 = puVar7[1];
      uVar8 = puVar7[2];
      uVar14 = puVar7[3];
      *puVar20 = *puVar7;
      puVar20[1] = uVar10;
      puVar20[2] = uVar8;
      puVar20[3] = uVar14;
      puVar20 = puVar4;
      puVar7 = puVar13;
    } while (puVar13 != puVar15 + 0xc);
    *puVar4 = *puVar13;
    set_tty_state();
  }
  if (local_2c == *(int *)puVar24) {
    return iVar17;
  }
  iVar17 = local_2c;
  puVar24 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  piVar23 = *(int **)(puVar24 + 0xd8b10);
  iVar26 = (**(code **)(puVar24 + 0xda6dc))();
  *piVar23 = iVar26;
  if (iVar26 == -1) {
    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);
    sys_error(uVar14);
    (**(code **)(puVar24 + 0xda620))(1);
LAB_0006c3c8:
    uVar14 = *param_2;
LAB_0006be24:
    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);
    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);
    *piVar18 = iVar17;
    if (iVar17 != -1) goto LAB_0006bf80;
    pcVar25 = *(code **)(puVar24 + 0xda670);
    if (*piVar23 == 0) goto LAB_0006bf08;
LAB_0006be5c:
    iVar17 = *piVar18;
  }
  else {
    param_1 = *(int **)(puVar24 + 0xd87f4);
    param_2 = *(undefined4 **)(puVar24 + 0xda77c);
    uVar14 = *param_2;
    if (iVar17 == 0 && *param_1 == 0) {
      piVar1 = *(int **)(puVar24 + 0xd8b0c);
      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);
      pcVar25 = *(code **)(puVar24 + 0xda58c);
      piVar18 = *(int **)(puVar24 + 0xd93fc);
      *piVar1 = 0;
      *puVar7 = 0xffffffff;
      iVar17 = (*pcVar25)(uVar14);
      pcVar25 = *(code **)(puVar24 + 0xda598);
      *piVar18 = iVar17;
      iVar17 = (*pcVar25)(iVar17);
      iVar26 = *piVar23;
      **(int **)(puVar24 + 0xd9434) = iVar17;
      goto LAB_0006bff4;
    }
    piVar18 = *(int **)(puVar24 + 0xd93fc);
    iVar17 = **(int **)(puVar24 + 0xd87e4);
    *piVar18 = -1;
    if (iVar17 == 0) goto LAB_0006be24;
    uVar14 = (**(code **)(puVar24 + 0xda58c))();
    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);
    if (iVar17 == 0) {
      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);
      *piVar18 = iVar17;
    }
    else {
      iVar17 = *piVar18;
    }
    if (iVar17 == -1) goto LAB_0006c3c8;
LAB_0006bf80:
    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);
    *piVar18 = iVar17;
    pcVar25 = *(code **)(puVar24 + 0xda670);
    if (*piVar23 != 0) goto LAB_0006be5c;
LAB_0006bf08:
    iVar17 = (*pcVar25)();
    pcVar25 = *(code **)(puVar24 + 0xda4fc);
    *piVar23 = iVar17;
    (*pcVar25)(0,iVar17);
    iVar17 = *piVar18;
    if (iVar17 != -1) {
      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);
      goto LAB_0006be5c;
    }
  }
  iVar26 = 0x12;
  piVar22 = *(int **)(puVar24 + 0xd9434);
  piVar1 = *(int **)(puVar24 + 0xd8a98);
  while( true ) {
    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);
    *piVar22 = iVar17;
    if (iVar17 == -1) break;
    if (*piVar23 == iVar17) {
      iVar3 = -1;
      goto LAB_0006c118;
    }
    pcVar25 = *(code **)(puVar24 + 0xd8aac);
    if (*piVar1 != 0) {
      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);
      pcVar25 = *(code **)(puVar24 + 0xd8aac);
    }
    iVar26 = iVar26 + -1;
    uVar14 = (*pcVar25)(0x1a,0);
    (**(code **)(puVar24 + 0xda61c))(0,0x1a);
    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);
    if (iVar26 == 0) {
      piVar1 = *(int **)(puVar24 + 0xd8b0c);
      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);
      sys_error(uVar14);
      iVar17 = *piVar22;
      iVar26 = *piVar23;
      *piVar1 = 0;
      **(int **)(puVar24 + 0xd9070) = iVar17;
      goto LAB_0006bff4;
    }
    iVar17 = *piVar18;
  }
  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();
  iVar3 = *piVar1;
  iVar17 = *piVar23;
LAB_0006c118:
  piVar16 = *(int **)(puVar24 + 0xd9070);
  pcVar25 = *(code **)(puVar24 + 0xda670);
  *piVar16 = iVar17;
  iVar17 = (*pcVar25)();
  iVar26 = *piVar16;
  *piVar23 = iVar17;
  if (iVar17 == iVar26) {
LAB_0006c138:
    piVar1 = *(int **)(puVar24 + 0xd8b0c);
    *piVar1 = 1;
LAB_0006c144:
    pcVar25 = *(code **)(puVar24 + 0xda598);
LAB_0006c148:
    iVar26 = (*pcVar25)(*piVar18);
    if ((iVar26 == -1) || (*piVar23 != iVar26)) {
      if (iVar3 != -1) {
        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();
        *piVar16 = iVar3;
      }
      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);
      sys_error(uVar14,iVar26);
      *piVar1 = 0;
      goto LAB_0006c230;
    }
    iVar17 = *(int *)(puVar24 + 0xd87dc);
    if (*piVar1 != 0) {
      iVar17 = *piVar22;
      goto LAB_0006bff4;
    }
  }
  else {
    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);
    if (iVar17 < 0) {
      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);
      sys_error(uVar14);
      *piVar23 = *piVar16;
      goto LAB_0006c138;
    }
    piVar1 = *(int **)(puVar24 + 0xd8b0c);
    iVar26 = *piVar23;
    iVar17 = *piVar16;
    *piVar1 = 1;
    if (iVar26 == iVar17) goto LAB_0006c144;
    pcVar25 = *(code **)(puVar24 + 0xda598);
    if (*piVar22 == iVar26) goto LAB_0006c148;
    iVar17 = give_terminal_to(iVar26,0);
    if (iVar17 < 0) {
      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();
      uVar14 = *puVar7;
      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);
      iVar17 = *(int *)(puVar24 + 0xd87dc);
      pcVar25 = *(code **)(puVar24 + 0xda6fc);
      *piVar23 = *piVar16;
      *puVar7 = uVar14;
      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);
      sys_error(uVar14,*piVar23);
      *piVar1 = 0;
    }
    else {
      pcVar25 = *(code **)(puVar24 + 0xda598);
      if (*piVar1 != 0) goto LAB_0006c148;
    }
LAB_0006c230:
    iVar17 = *(int *)(puVar24 + 0xd87dc);
  }
  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);
  internal_error(uVar14);
  iVar17 = *piVar22;
  iVar26 = *piVar23;
LAB_0006bff4:
  pcVar25 = *(code **)(puVar24 + 0xda58c);
  uVar14 = *param_2;
  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);
  iVar17 = (*pcVar25)(uVar14);
  if (iVar17 != *piVar18) {
    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);
  }
  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);
  uVar14 = 0x2b;
  if (*piVar1 != 0) {
    uVar14 = 0x2d;
  }
  change_flag(0x6d,uVar14);
  if (*param_1 != 0) {
    get_tty_state();
  }
  piVar18 = *(int **)(puVar24 + 0xd90bc);
  if (*piVar18 < 0) {
    iVar17 = (**(code **)(puVar24 + 0xd93d8))();
    if (iVar17 < 0) {
      iVar17 = 0x20;
    }
    *piVar18 = iVar17;
    return *piVar1;
  }
  return *piVar1;
}


lui gp,0xe
addiu gp,gp,0xe04
addu gp,gp,t9
lw v0,-0x6064(gp)
addiu sp,sp,-0x158
lw t9,-0x626c(gp)
sw v0,0x20(sp)
sw s3,0x13c(sp)
addiu s3,sp,0xac
sw s0,0x130(sp)
addiu s0,sp,0x2c
sw ra,0x154(sp)
sw gp,0x10(sp)
sw s8,0x150(sp)
sw s7,0x14c(sp)
or s7,a0,zero
sw s6,0x148(sp)
or a0,s0,zero
sw s2,0x138(sp)
or s6,a1,zero
sw s1,0x134(sp)
sll s1,s7,0x2
sw s5,0x144(sp)
sw s4,0x140(sp)
sw s3,0x1c(sp)
lw v0,0x0(v0)
lw s2,-0x76e4(gp)
sw v0,0x12c(sp)
jalr t9
_nop
li a1,0x12
lw gp,0x10(sp)
lw t9,-0x61dc(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x626c(gp)
jalr t9
_or a0,s3,zero
li a0,0x1
lw gp,0x10(sp)
or a2,s3,zero
lw t9,-0x602c(gp)
jalr t9
_or a1,s0,zero
li v1,0x4
lw v0,0x0(s2)
addu v0,v0,s1
lw v0,0x0(v0)
lw s8,0xc(v0)
beq s8,v1,0x0006bd3c
_lw gp,0x10(sp)
bne s6,zero,0x0006bab4
_lw t9,-0x7550(gp)
li v0,0x1
beq s8,v0,0x0006bd00
_addiu s0,s7,0x1
lw t9,-0x7550(gp)
addiu t9,t9,0x49c8
bal 0x000649c8
_nop
li a1,-0x3
lw v1,0x0(s2)
lw gp,0x10(sp)
sw v0,0x24(sp)
addu v1,v1,s1
lw v0,-0x7fb4(gp)
lw v1,0x0(v1)
lw a0,0x0(v0)
lw v0,0x10(v1)
and v0,v0,a1
beq a0,zero,0x0006b8fc
_sw v0,0x10(v1)
lw a3,-0x7fc8(gp)
addiu a3,a3,0x7b04
lw a1,-0x7fc8(gp)
li a0,0x1
lw t9,-0x6254(gp)
or a2,s0,zero
lw s5,0x4(v1)
jalr t9
_addiu a1,a1,0x7dd8
lw v0,0x0(s2)
lw gp,0x10(sp)
addu v0,v0,s1
lw v0,0x0(v0)
lw v0,0x4(v0)
lw s3,-0x7fc8(gp)
lw s0,-0x7f94(gp)
lw s4,-0x7fc8(gp)
addiu s3,s3,0x6298
addiu s0,s0,-0x6800
b 0x0006b8e4
_addiu s4,s4,0x6720
or a3,s4,zero
lw t9,-0x6254(gp)
li a0,0x1
jalr t9
_or a1,s3,zero
lw v0,0x0(s2)
lw s5,0x0(s5)
addu v0,v0,s1
lw a0,0x0(v0)
lw v0,0x4(a0)
beq v0,s5,0x0006b920
_lw gp,0x10(sp)
lw a2,0x10(s5)
lw a0,0x0(s5)
bne a0,v0,0x0006b8b4
_movz a2,s0,a2
b 0x0006b8b8
_or a3,s0,zero
lw v0,-0x76e8(gp)
lw a0,0x2c(v0)
beq a0,s7,0x0006bc58
_lw a3,-0x7fc8(gp)
lw v0,0x30(v0)
bne v0,s7,0x0006b860
_lw a3,-0x7fc8(gp)
b 0x0006b868
_addiu a3,a3,0x7d98
beq s6,zero,0x0006ba90
_lw a1,-0x7fc8(gp)
lw s0,0x0(a0)
lw t9,-0x5ff8(gp)
lw a0,0x24(sp)
jalr t9
_or a1,s0,zero
bne v0,zero,0x0006ba60
_lw gp,0x10(sp)
lw t9,-0x6200(gp)
jalr t9
_li a0,0xa
li v0,0x1
beq s8,v0,0x0006ba3c
_lw gp,0x10(sp)
lw v0,0x0(s2)
li a1,0x7f
li a3,0x1
addu v0,v0,s1
lw a2,0x0(v0)
lw a0,0x4(a2)
or v0,a0,zero
lbu v1,0xb(v0)
bne v1,a1,0x0006b988
_nop
sw a3,0xc(v0)
lw v0,0x0(v0)
bne a0,v0,0x0006b978
_nop
li v0,0x1
bne s6,zero,0x0006bb1c
_sw v0,0xc(a2)
lw v0,0x10(a2)
li v1,-0x2
lw t9,-0x60cc(gp)
li a1,0x19
lw a0,0x8(a2)
and v0,v0,v1
ori v0,v0,0x2
jalr t9
_sw v0,0x10(a2)
lw gp,0x10(sp)
lw t9,-0x7550(gp)
addiu t9,t9,0x4490
bal 0x00064490
_nop
lw gp,0x10(sp)
lw a1,0x1c(sp)
or a2,zero,zero
lw t9,-0x602c(gp)
li a0,0x3
jalr t9
_or s0,zero,zero
lw gp,0x10(sp)
lw v1,0x20(sp)
or v0,s0,zero
lw a0,0x12c(sp)
lw v1,0x0(v1)
bne a0,v1,0x0006bd90
_lw ra,0x154(sp)
lw s8,0x150(sp)
lw s7,0x14c(sp)
lw s6,0x148(sp)
lw s5,0x144(sp)
lw s4,0x140(sp)
lw s3,0x13c(sp)
lw s2,0x138(sp)
lw s1,0x134(sp)
lw s0,0x130(sp)
jr ra
_addiu sp,sp,0x158
bne s6,zero,0x0006bc60
_li a0,-0x2
lw v0,0x0(s2)
addu s1,v0,s1
lw v1,0x0(s1)
lw v0,0x10(v1)
and v0,v0,a0
b 0x0006b9c8
_sw v0,0x10(v1)
lw t9,-0x7bd0(gp)
jalr t9
_or a0,s0,zero
li a0,0x1
lw gp,0x10(sp)
or a2,v0,zero
lw a1,-0x7fc8(gp)
lw t9,-0x6254(gp)
jalr t9
_addiu a1,a1,0x7de0
b 0x0006b944
_lw gp,0x10(sp)
li a0,0x1
lw t9,-0x6254(gp)
jalr t9
_addiu a1,a1,0x7b74
lw v0,0x0(s2)
lw gp,0x10(sp)
addu v0,v0,s1
b 0x0006b928
_lw a0,0x0(v0)
addiu t9,t9,0x49c8
bal 0x000649c8
_nop
li a1,-0x3
lw v1,0x0(s2)
or a0,s7,zero
lw gp,0x10(sp)
sw v0,0x24(sp)
addu v1,v1,s1
lw t9,-0x7550(gp)
lw v1,0x0(v1)
addiu t9,t9,0x4368
lw v0,0x10(v1)
and v0,v0,a1
bal 0x00064368
_sw v0,0x10(v1)
lw v0,0x0(s2)
lw gp,0x10(sp)
addu v0,v0,s1
lw v0,0x0(v0)
lw a0,0x10(v0)
lw s5,0x4(v0)
ori a0,a0,0x1
sw a0,0x10(v0)
b 0x0006b898
_or v0,s5,zero
lw t9,-0x7d54(gp)
bal 0x000677bc
_nop
lw gp,0x10(sp)
lw v0,-0x73ec(gp)
lw v1,-0x7fd8(gp)
addiu s3,v0,-0x70d0
addiu s0,v1,0x7ee8
addiu t0,s3,0x30
or v0,s3,zero
or v1,s0,zero
lw a3,0x0(v0)
addiu v0,v0,0x10
addiu v1,v1,0x10
lw a2,-0xc(v0)
lw a1,-0x8(v0)
lw a0,-0x4(v0)
sw a3,-0x10(v1)
sw a2,-0xc(v1)
sw a1,-0x8(v1)
bne v0,t0,0x0006bb48
_sw a0,-0x4(v1)
lw a0,0x0(s2)
lw a1,0x0(v0)
addu v0,a0,s1
sw a1,0x0(v1)
lw v1,0x0(v0)
lw v0,0x10(v1)
andi v0,v0,0x4
bne v0,zero,0x0006bce0
_lw t9,-0x7c80(gp)
lw v0,0x0(s2)
li a1,0x19
lw t9,-0x60cc(gp)
addu s1,v0,s1
lw v0,0x0(s1)
lw v1,0x10(v0)
lw a0,0x8(v0)
ori v1,v1,0x2
jalr t9
_sw v1,0x10(v0)
lw gp,0x10(sp)
lw t9,-0x7550(gp)
addiu t9,t9,0x5a6c
bal 0x00065a6c
_or a0,s7,zero
or a2,zero,zero
lw gp,0x10(sp)
li a0,0x3
lw a1,0x1c(sp)
lw t9,-0x602c(gp)
jalr t9
_lw s1,0x4(v0)
lw gp,0x10(sp)
lw t9,-0x77a4(gp)
bal 0x00069a4c
_or a0,s1,zero
or v1,s0,zero
lw gp,0x10(sp)
addiu t0,s0,0x30
or s0,v0,zero
or v0,s3,zero
lw a3,0x0(v1)
addiu v1,v1,0x10
addiu v0,v0,0x10
lw a2,-0xc(v1)
lw a1,-0x8(v1)
lw a0,-0x4(v1)
sw a3,-0x10(v0)
sw a2,-0xc(v0)
sw a1,-0x8(v0)
bne v1,t0,0x0006bc14
_sw a0,-0x4(v0)
lw v1,0x0(v1)
lw t9,-0x7360(gp)
bal 0x00067868
_sw v1,0x0(v0)
b 0x0006b9f8
_lw gp,0x10(sp)
b 0x0006b868
_addiu a3,a3,0x7144
lw t9,-0x7d54(gp)
bal 0x000677bc
_nop
lw gp,0x10(sp)
lw v0,-0x73ec(gp)
lw v1,-0x7fd8(gp)
addiu s3,v0,-0x70d0
addiu s0,v1,0x7ee8
addiu t0,s3,0x30
or v0,s3,zero
or v1,s0,zero
lw a3,0x0(v0)
addiu v0,v0,0x10
addiu v1,v1,0x10
lw a2,-0xc(v0)
lw a1,-0x8(v0)
lw a0,-0x4(v0)
sw a3,-0x10(v1)
sw a2,-0xc(v1)
sw a1,-0x8(v1)
bne v0,t0,0x0006bc8c
_sw a0,-0x4(v1)
lw a0,0x0(s2)
lw a1,0x0(v0)
addu v0,a0,s1
sw a1,0x0(v1)
lw v1,0x0(v0)
lw v0,0x10(v1)
andi v0,v0,0x4
beq v0,zero,0x0006bbc8
_lw t9,-0x7550(gp)
lw t9,-0x7c80(gp)
or a1,zero,zero
bal 0x00069244
_lw a0,0x8(v1)
li v0,0x1
beq s8,v0,0x0006bbc4
_lw gp,0x10(sp)
b 0x0006bb9c
_lw v0,0x0(s2)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x60a8(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x7db4
or a2,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw v0,-0x7e18(gp)
lw t9,-0x7d44(gp)
bal 0x0005faf8
_lw a1,0x0(v0)
b 0x0006b9dc
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x60a8(gp)
or a0,zero,zero
li s0,-0x1
jalr t9
_addiu a1,a1,0x7d9c
lw gp,0x10(sp)
or a0,v0,zero
lw v0,-0x7e18(gp)
lw t9,-0x7d44(gp)
bal 0x0005faf8
_lw a1,0x0(v0)
or a2,zero,zero
lw gp,0x10(sp)
li a0,0x3
lw t9,-0x602c(gp)
jalr t9
_lw a1,0x1c(sp)
b 0x0006b9f8
_lw gp,0x10(sp)
lw t9,-0x60b8(gp)
jalr t9
_nop
(translation_unit "int start_job(int *param_1,undefined4 *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}\n\n" (function_definition "int start_job(int *param_1,undefined4 *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}" primitive_type (function_declarator "start_job(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "undefined *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "undefined4 *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "int *piVar22;" primitive_type (pointer_declarator "*piVar22" * identifier) ;) (declaration "int *piVar23;" primitive_type (pointer_declarator "*piVar23" * identifier) ;) (declaration "undefined *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "code *pcVar25;" type_identifier (pointer_declarator "*pcVar25" * identifier) ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "undefined4 local_134;" type_identifier identifier ;) (declaration "undefined1 auStack_12c [128];" type_identifier (array_declarator "auStack_12c [128]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_ac [128];" type_identifier (array_declarator "auStack_ac [128]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar24 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar24 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "piVar18 = (int *)PTR_jobs_00144e5c;" (assignment_expression "piVar18 = (int *)PTR_jobs_00144e5c" identifier = (cast_expression "(int *)PTR_jobs_00144e5c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar17 = (int)param_1 * 4;" (assignment_expression "iVar17 = (int)param_1 * 4" identifier = (binary_expression "(int)param_1 * 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(auStack_12c);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(auStack_12c)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" ( (pointer_expression "*(code *)PTR_sigemptyset_001462d4" * (cast_expression "(code *)PTR_sigemptyset_001462d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_12c)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);" (call_expression "(*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00146364)" ( (pointer_expression "*(code *)PTR_sigaddset_00146364" * (cast_expression "(code *)PTR_sigaddset_00146364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_12c,0x12)" ( identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(auStack_ac);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(auStack_ac)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" ( (pointer_expression "*(code *)PTR_sigemptyset_001462d4" * (cast_expression "(code *)PTR_sigemptyset_001462d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_ac)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,auStack_12c,auStack_ac)" ( number_literal , identifier , identifier ))) ;) (expression_statement "iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);" (assignment_expression "iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" identifier = (pointer_expression "*(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" * (cast_expression "(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0xc)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0xc" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) ))))) ;) (if_statement "if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" if (parenthesized_expression "(iVar26 == 4)" ( (binary_expression "iVar26 == 4" identifier == number_literal) )) (compound_statement "{\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }" { (expression_statement "iVar17 = -1;" (assignment_expression "iVar17 = -1" identifier = number_literal) ;) (expression_statement "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);" (assignment_expression "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7d9c,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7d9c" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);" (call_expression "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728)" identifier (argument_list "(uVar14,*(undefined4 *)PTR_this_command_name_00144728)" ( identifier , (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" * (cast_expression "(undefined4 *)PTR_this_command_name_00144728" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_ac,0)" ( number_literal , identifier , number_literal ))) ;) }) (else_clause "else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" else (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }" { (if_statement "if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" if (parenthesized_expression "(iVar26 != 1)" ( (binary_expression "iVar26 != 1" identifier != number_literal) )) (compound_statement "{\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" { (expression_statement "local_134 = FUN_000649c8();" (assignment_expression "local_134 = FUN_000649c8()" identifier = (call_expression "FUN_000649c8()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "iVar6 = *(int *)PTR_posixly_correct_0014458c;" (assignment_expression "iVar6 = *(int *)PTR_posixly_correct_0014458c" identifier = (pointer_expression "*(int *)PTR_posixly_correct_0014458c" * (cast_expression "(int *)PTR_posixly_correct_0014458c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }" { (if_statement "if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" if (parenthesized_expression "(*(int **)(PTR_js_00144e58 + 0x2c) == param_1)" ( (binary_expression "*(int **)(PTR_js_00144e58 + 0x2c) == param_1" (pointer_expression "*(int **)(PTR_js_00144e58 + 0x2c)" * (cast_expression "(int **)(PTR_js_00144e58 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_js_00144e58 + 0x2c)" ( (binary_expression "PTR_js_00144e58 + 0x2c" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }" { (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7144;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7144" identifier = (binary_expression "PTR_LAB_00144578 + 0x7144" identifier + number_literal)) ;) }) (else_clause "else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" else (compound_statement "{\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" { (if_statement "if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;" if (parenthesized_expression "(*(int **)(PTR_js_00144e58 + 0x30) != param_1)" ( (binary_expression "*(int **)(PTR_js_00144e58 + 0x30) != param_1" (pointer_expression "*(int **)(PTR_js_00144e58 + 0x30)" * (cast_expression "(int **)(PTR_js_00144e58 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_js_00144e58 + 0x30)" ( (binary_expression "PTR_js_00144e58 + 0x30" identifier + number_literal) )))) != identifier) )) (goto_statement "goto LAB_0006b860;" goto statement_identifier ;)) (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7d98;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7d98" identifier = (binary_expression "PTR_LAB_00144578 + 0x7d98" identifier + number_literal)) ;) }))) }) (else_clause "else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" else (compound_statement "{\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" { (labeled_statement "LAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;" statement_identifier : (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7b04;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7b04" identifier = (binary_expression "PTR_LAB_00144578 + 0x7b04" identifier + number_literal)) ;)) }))) (expression_statement "piVar23 = *(int **)(iVar3 + 4);" (assignment_expression "piVar23 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7dd8" identifier + number_literal) , (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) (expression_statement "piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(*piVar18 + iVar17) + 4)" * (cast_expression "(int **)(*(int *)(*piVar18 + iVar17) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 4)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 4" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_0006b898;" goto statement_identifier ;) })) (expression_statement "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);" (assignment_expression "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7db4,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7db4" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);" (call_expression "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1)" identifier (argument_list "(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1)" ( identifier , (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" * (cast_expression "(undefined4 *)PTR_this_command_name_00144728" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) ;) (labeled_statement "LAB_0006b9dc:\n    iVar17 = 0;" statement_identifier : (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_ac,0)" ( number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" else (compound_statement "{\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" { (expression_statement "local_134 = FUN_000649c8();" (assignment_expression "local_134 = FUN_000649c8()" identifier = (call_expression "FUN_000649c8()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) = (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) & number_literal)) ;) (expression_statement "FUN_00064368(param_1);" (call_expression "FUN_00064368(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar1 = *(int **)(iVar3 + 4);" (assignment_expression "piVar1 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) | 1" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "piVar23 = piVar1;" (assignment_expression "piVar23 = piVar1" identifier = identifier) ;) (labeled_statement "LAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;" statement_identifier : (expression_statement "puVar19 = PTR_LAB_00144578 + 0x6298;" (assignment_expression "puVar19 = PTR_LAB_00144578 + 0x6298" identifier = (binary_expression "PTR_LAB_00144578 + 0x6298" identifier + number_literal)) ;)) (expression_statement "puVar11 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "puVar11 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_LAB_00144578 + 0x6720;" (assignment_expression "puVar21 = PTR_LAB_00144578 + 0x6720" identifier = (binary_expression "PTR_LAB_00144578 + 0x6720" identifier + number_literal)) ;) (do_statement "do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);" do (compound_statement "{\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    }" { (expression_statement "puVar9 = (undefined *)piVar23[4];" (assignment_expression "puVar9 = (undefined *)piVar23[4]" identifier = (cast_expression "(undefined *)piVar23[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar23[4]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }" if (parenthesized_expression "((undefined *)piVar23[4] == (undefined *)0x0)" ( (binary_expression "(undefined *)piVar23[4] == (undefined *)0x0" (cast_expression "(undefined *)piVar23[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar23[4]" identifier [ number_literal ])) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar9 = puVar11;\n      }" { (expression_statement "puVar9 = puVar11;" (assignment_expression "puVar9 = puVar11" identifier = identifier) ;) })) (expression_statement "puVar12 = puVar21;" (assignment_expression "puVar12 = puVar21" identifier = identifier) ;) (if_statement "if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }" if (parenthesized_expression "((int *)*piVar23 == piVar1)" ( (binary_expression "(int *)*piVar23 == piVar1" (cast_expression "(int *)*piVar23" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar23" * identifier)) == identifier) )) (compound_statement "{\n        puVar12 = puVar11;\n      }" { (expression_statement "puVar12 = puVar11;" (assignment_expression "puVar12 = puVar11" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar19,puVar9,puVar12)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "piVar23 = (int *)*piVar23;" (assignment_expression "piVar23 = (int *)*piVar23" identifier = (cast_expression "(int *)*piVar23" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar23" * identifier))) ;) (expression_statement "puVar7 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar7 = *(undefined4 **)(*piVar18 + iVar17)" identifier = (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" * (cast_expression "(undefined4 **)(*piVar18 + iVar17)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar1 = (int *)puVar7[1];" (assignment_expression "piVar1 = (int *)puVar7[1]" identifier = (cast_expression "(int *)puVar7[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(piVar1 != piVar23)" ( (binary_expression "piVar1 != piVar23" identifier != identifier) )) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }" { (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7b74)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7b74" identifier + number_literal) ))) ;) (expression_statement "puVar7 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar7 = *(undefined4 **)(*piVar18 + iVar17)" identifier = (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" * (cast_expression "(undefined4 **)(*piVar18 + iVar17)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) })) (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(local_134,uVar14)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_134,uVar14)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" { (expression_statement "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);" (assignment_expression "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14)" identifier = (call_expression "(*(code *)PTR_polite_directory_format_00144970)(uVar14)" (parenthesized_expression "(*(code *)PTR_polite_directory_format_00144970)" ( (pointer_expression "*(code *)PTR_polite_directory_format_00144970" * (cast_expression "(code *)PTR_polite_directory_format_00144970" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7de0,uVar14)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7de0" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" ( (pointer_expression "*(code *)PTR_putchar_00146340" * (cast_expression "(code *)PTR_putchar_00146340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (if_statement "if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" if (parenthesized_expression "(iVar26 == 1)" ( (binary_expression "iVar26 == 1" identifier == number_literal) )) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" { (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) = (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) & number_literal)) ;) (goto_statement "goto LAB_0006b9c8;" goto statement_identifier ;) })) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" ( (binary_expression "PTR___environ_00145154 + -0x70d0" identifier + number_literal) )))) ;) (expression_statement "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" identifier = (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" ( (binary_expression "PTR_data_start_00144568 + 0x7ee8" identifier + number_literal) )))) ;) (expression_statement "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" ( (binary_expression "PTR___environ_00145154 + -0x70a0" identifier + number_literal) )))) ;) (expression_statement "puVar7 = puVar20;" (assignment_expression "puVar7 = puVar20" identifier = identifier) ;) (expression_statement "puVar4 = puVar15;" (assignment_expression "puVar4 = puVar15" identifier = identifier) ;) (do_statement "do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);" do (compound_statement "{\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      }" { (expression_statement "puVar2 = puVar7 + 4;" (assignment_expression "puVar2 = puVar7 + 4" identifier = (binary_expression "puVar7 + 4" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar4 + 4;" (assignment_expression "puVar5 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" identifier = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" identifier = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar4[1] = uVar10;" (assignment_expression "puVar4[1] = uVar10" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = uVar8;" (assignment_expression "puVar4[2] = uVar8" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = uVar14;" (assignment_expression "puVar4[3] = uVar14" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7 = puVar2;" (assignment_expression "puVar7 = puVar2" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != puVar13)" ( (binary_expression "puVar2 != puVar13" identifier != identifier) )) ;) (expression_statement "iVar3 = *piVar18;" (assignment_expression "iVar3 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "*puVar5 = *puVar2;" (assignment_expression "*puVar5 = *puVar2" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar3 + iVar17);" (assignment_expression "iVar3 = *(int *)(iVar3 + iVar17)" identifier = (pointer_expression "*(int *)(iVar3 + iVar17)" * (cast_expression "(int *)(iVar3 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar17)" ( (binary_expression "iVar3 + iVar17" identifier + identifier) ))))) ;) (if_statement "if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;" if (parenthesized_expression "((*(uint *)(iVar3 + 0x10) & 4) != 0)" ( (binary_expression "(*(uint *)(iVar3 + 0x10) & 4) != 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x10) & 4)" ( (binary_expression "*(uint *)(iVar3 + 0x10) & 4" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0006bce0;" goto statement_identifier ;)) }) (else_clause "else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" else (compound_statement "{\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" { (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar1 = *(int **)(iVar3 + 4);" (assignment_expression "piVar1 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar23 = piVar1;" (assignment_expression "piVar23 = piVar1" identifier = identifier) ;) (do_statement "do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);" do (compound_statement "{\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      }" { (if_statement "if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }" if (parenthesized_expression "(*(char *)((int)piVar23 + 0xb) == '\x7f')" ( (binary_expression "*(char *)((int)piVar23 + 0xb) == '\x7f'" (pointer_expression "*(char *)((int)piVar23 + 0xb)" * (cast_expression "(char *)((int)piVar23 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar23 + 0xb)" ( (binary_expression "(int)piVar23 + 0xb" (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\x7f'" ' escape_sequence ')) )) (compound_statement "{\n          piVar23[3] = 1;\n        }" { (expression_statement "piVar23[3] = 1;" (assignment_expression "piVar23[3] = 1" (subscript_expression "piVar23[3]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "piVar23 = (int *)*piVar23;" (assignment_expression "piVar23 = (int *)*piVar23" identifier = (cast_expression "(int *)*piVar23" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar23" * identifier))) ;) }) while (parenthesized_expression "(piVar1 != piVar23)" ( (binary_expression "piVar1 != piVar23" identifier != identifier) )) ;) (expression_statement "*(undefined4 *)(iVar3 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar3 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar11 = PTR_killpg_00146474;" (assignment_expression "puVar11 = PTR_killpg_00146474" identifier = identifier) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }" { (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffe | 2" (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "(*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);" (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19)" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 8),0x19)" ( (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) , number_literal ))) ;) (labeled_statement "LAB_0006b9c8:\n        FUN_00064490();" statement_identifier : (expression_statement "FUN_00064490();" (call_expression "FUN_00064490()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_0006b9dc;" goto statement_identifier ;) })) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" ( (binary_expression "PTR___environ_00145154 + -0x70d0" identifier + number_literal) )))) ;) (expression_statement "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" identifier = (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" ( (binary_expression "PTR_data_start_00144568 + 0x7ee8" identifier + number_literal) )))) ;) (expression_statement "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" ( (binary_expression "PTR___environ_00145154 + -0x70a0" identifier + number_literal) )))) ;) (expression_statement "puVar7 = puVar20;" (assignment_expression "puVar7 = puVar20" identifier = identifier) ;) (expression_statement "puVar4 = puVar15;" (assignment_expression "puVar4 = puVar15" identifier = identifier) ;) (do_statement "do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);" do (compound_statement "{\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      }" { (expression_statement "puVar2 = puVar7 + 4;" (assignment_expression "puVar2 = puVar7 + 4" identifier = (binary_expression "puVar7 + 4" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar4 + 4;" (assignment_expression "puVar5 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" identifier = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" identifier = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar4[1] = uVar10;" (assignment_expression "puVar4[1] = uVar10" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = uVar8;" (assignment_expression "puVar4[2] = uVar8" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = uVar14;" (assignment_expression "puVar4[3] = uVar14" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7 = puVar2;" (assignment_expression "puVar7 = puVar2" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != puVar13)" ( (binary_expression "puVar2 != puVar13" identifier != identifier) )) ;) (expression_statement "iVar3 = *piVar18;" (assignment_expression "iVar3 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "*puVar5 = *puVar2;" (assignment_expression "*puVar5 = *puVar2" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar3 + iVar17);" (assignment_expression "iVar3 = *(int *)(iVar3 + iVar17)" identifier = (pointer_expression "*(int *)(iVar3 + iVar17)" * (cast_expression "(int *)(iVar3 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar17)" ( (binary_expression "iVar3 + iVar17" identifier + identifier) ))))) ;) (if_statement "if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" if (parenthesized_expression "((*(uint *)(iVar3 + 0x10) & 4) == 0)" ( (binary_expression "(*(uint *)(iVar3 + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x10) & 4)" ( (binary_expression "*(uint *)(iVar3 + 0x10) & 4" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar26 = *piVar18;\n      }" { (expression_statement "iVar26 = *piVar18;" (assignment_expression "iVar26 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }) (else_clause "else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" else (compound_statement "{\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" { (labeled_statement "LAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);" statement_identifier : (expression_statement "give_terminal_to(*(undefined4 *)(iVar3 + 8),0);" (call_expression "give_terminal_to(*(undefined4 *)(iVar3 + 8),0)" identifier (argument_list "(*(undefined4 *)(iVar3 + 8),0)" ( (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) , number_literal ))) ;)) (if_statement "if (iVar26 == 1) goto LAB_0006bbc8;" if (parenthesized_expression "(iVar26 == 1)" ( (binary_expression "iVar26 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0006bbc8;" goto statement_identifier ;)) (expression_statement "iVar26 = *piVar18;" (assignment_expression "iVar26 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }))) (expression_statement "puVar11 = PTR_killpg_00146474;" (assignment_expression "puVar11 = PTR_killpg_00146474" identifier = identifier) ;) (expression_statement "iVar17 = *(int *)(iVar26 + iVar17);" (assignment_expression "iVar17 = *(int *)(iVar26 + iVar17)" identifier = (pointer_expression "*(int *)(iVar26 + iVar17)" * (cast_expression "(int *)(iVar26 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar17)" ( (binary_expression "iVar26 + iVar17" identifier + identifier) ))))) ;) (expression_statement "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;" (assignment_expression "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" * (cast_expression "(uint *)(iVar17 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 0x10)" ( (binary_expression "iVar17 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" * (cast_expression "(uint *)(iVar17 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 0x10)" ( (binary_expression "iVar17 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "(*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);" (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19)" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar17 + 8),0x19)" ( (pointer_expression "*(undefined4 *)(iVar17 + 8)" * (cast_expression "(undefined4 *)(iVar17 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 8)" ( (binary_expression "iVar17 + 8" identifier + number_literal) )))) , number_literal ))) ;) }))) (labeled_statement "LAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);" statement_identifier : (expression_statement "iVar17 = FUN_00065a6c(param_1);" (assignment_expression "iVar17 = FUN_00065a6c(param_1)" identifier = (call_expression "FUN_00065a6c(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;)) (expression_statement "uVar14 = *(undefined4 *)(iVar17 + 4);" (assignment_expression "uVar14 = *(undefined4 *)(iVar17 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar17 + 4)" * (cast_expression "(undefined4 *)(iVar17 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 4)" ( (binary_expression "iVar17 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_ac,0)" ( number_literal , identifier , number_literal ))) ;) (expression_statement "iVar17 = wait_for(uVar14);" (assignment_expression "iVar17 = wait_for(uVar14)" identifier = (call_expression "wait_for(uVar14)" identifier (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "puVar7 = puVar15;" (assignment_expression "puVar7 = puVar15" identifier = identifier) ;) (do_statement "do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);" do (compound_statement "{\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    }" { (expression_statement "puVar13 = puVar7 + 4;" (assignment_expression "puVar13 = puVar7 + 4" identifier = (binary_expression "puVar7 + 4" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar20 + 4;" (assignment_expression "puVar4 = puVar20 + 4" identifier = (binary_expression "puVar20 + 4" identifier + number_literal)) ;) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" identifier = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" identifier = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar20 = *puVar7;" (assignment_expression "*puVar20 = *puVar7" (pointer_expression "*puVar20" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar20[1] = uVar10;" (assignment_expression "puVar20[1] = uVar10" (subscript_expression "puVar20[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar20[2] = uVar8;" (assignment_expression "puVar20[2] = uVar8" (subscript_expression "puVar20[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar20[3] = uVar14;" (assignment_expression "puVar20[3] = uVar14" (subscript_expression "puVar20[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar20 = puVar4;" (assignment_expression "puVar20 = puVar4" identifier = identifier) ;) (expression_statement "puVar7 = puVar13;" (assignment_expression "puVar7 = puVar13" identifier = identifier) ;) }) while (parenthesized_expression "(puVar13 != puVar15 + 0xc)" ( (binary_expression "puVar13 != puVar15 + 0xc" identifier != (binary_expression "puVar15 + 0xc" identifier + number_literal)) )) ;) (expression_statement "*puVar4 = *puVar13;" (assignment_expression "*puVar4 = *puVar13" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "set_tty_state();" (call_expression "set_tty_state()" identifier (argument_list "()" ( ))) ;) }))))) (if_statement "if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar24)" ( (binary_expression "local_2c == *(int *)puVar24" identifier == (pointer_expression "*(int *)puVar24" * (cast_expression "(int *)puVar24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar17;\n  }" { (return_statement "return iVar17;" return identifier ;) })) (expression_statement "iVar17 = local_2c;" (assignment_expression "iVar17 = local_2c" identifier = identifier) ;) (expression_statement "puVar24 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar24 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar23 = *(int **)(puVar24 + 0xd8b10);" (assignment_expression "piVar23 = *(int **)(puVar24 + 0xd8b10)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b10)" * (cast_expression "(int **)(puVar24 + 0xd8b10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b10)" ( (binary_expression "puVar24 + 0xd8b10" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = (**(code **)(puVar24 + 0xda6dc))();" (assignment_expression "iVar26 = (**(code **)(puVar24 + 0xda6dc))()" identifier = (call_expression "(**(code **)(puVar24 + 0xda6dc))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda6dc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6dc)" * (pointer_expression "*(code **)(puVar24 + 0xda6dc)" * (cast_expression "(code **)(puVar24 + 0xda6dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6dc)" ( (binary_expression "puVar24 + 0xda6dc" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "*piVar23 = iVar26;" (assignment_expression "*piVar23 = iVar26" (pointer_expression "*piVar23" * identifier) = identifier) ;) (if_statement "if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" if (parenthesized_expression "(iVar26 == -1)" ( (binary_expression "iVar26 == -1" identifier == number_literal) )) (compound_statement "{\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }" { (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7dec" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar24 + 0xda620))(1);" (call_expression "(**(code **)(puVar24 + 0xda620))(1)" (parenthesized_expression "(**(code **)(puVar24 + 0xda620))" ( (pointer_expression "**(code **)(puVar24 + 0xda620)" * (pointer_expression "*(code **)(puVar24 + 0xda620)" * (cast_expression "(code **)(puVar24 + 0xda620)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda620)" ( (binary_expression "puVar24 + 0xda620" identifier + number_literal) ))))) )) (argument_list "(1)" ( number_literal ))) ;) (labeled_statement "LAB_0006c3c8:\n    uVar14 = *param_2;" statement_identifier : (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;)) (labeled_statement "LAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);" statement_identifier : (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14)" identifier = (call_expression "(**(code **)(puVar24 + 0xda58c))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda58c))" ( (pointer_expression "**(code **)(puVar24 + 0xda58c)" * (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;)) (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14)" identifier = (call_expression "(**(code **)(puVar24 + 0xda780))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda780))" ( (pointer_expression "**(code **)(puVar24 + 0xda780)" * (pointer_expression "*(code **)(puVar24 + 0xda780)" * (cast_expression "(code **)(puVar24 + 0xda780)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda780)" ( (binary_expression "puVar24 + 0xda780" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (if_statement "if (iVar17 != -1) goto LAB_0006bf80;" if (parenthesized_expression "(iVar17 != -1)" ( (binary_expression "iVar17 != -1" identifier != number_literal) )) (goto_statement "goto LAB_0006bf80;" goto statement_identifier ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda670)" * (cast_expression "(code **)(puVar24 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda670)" ( (binary_expression "puVar24 + 0xda670" identifier + number_literal) ))))) ;) (if_statement "if (*piVar23 == 0) goto LAB_0006bf08;" if (parenthesized_expression "(*piVar23 == 0)" ( (binary_expression "*piVar23 == 0" (pointer_expression "*piVar23" * identifier) == number_literal) )) (goto_statement "goto LAB_0006bf08;" goto statement_identifier ;)) (labeled_statement "LAB_0006be5c:\n    iVar17 = *piVar18;" statement_identifier : (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;)) }) (else_clause "else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" else (compound_statement "{\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" { (expression_statement "param_1 = *(int **)(puVar24 + 0xd87f4);" (assignment_expression "param_1 = *(int **)(puVar24 + 0xd87f4)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd87f4)" * (cast_expression "(int **)(puVar24 + 0xd87f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd87f4)" ( (binary_expression "puVar24 + 0xd87f4" identifier + number_literal) ))))) ;) (expression_statement "param_2 = *(undefined4 **)(puVar24 + 0xda77c);" (assignment_expression "param_2 = *(undefined4 **)(puVar24 + 0xda77c)" identifier = (pointer_expression "*(undefined4 **)(puVar24 + 0xda77c)" * (cast_expression "(undefined4 **)(puVar24 + 0xda77c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda77c)" ( (binary_expression "puVar24 + 0xda77c" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(iVar17 == 0 && *param_1 == 0)" ( (binary_expression "iVar17 == 0 && *param_1 == 0" (binary_expression "iVar17 == 0" identifier == number_literal) && (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal)) )) (compound_statement "{\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }" { (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = *(undefined4 **)(puVar24 + 0xd9070);" (assignment_expression "puVar7 = *(undefined4 **)(puVar24 + 0xd9070)" identifier = (pointer_expression "*(undefined4 **)(puVar24 + 0xd9070)" * (cast_expression "(undefined4 **)(puVar24 + 0xd9070)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9070)" ( (binary_expression "puVar24 + 0xd9070" identifier + number_literal) ))))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda58c);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda58c)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) ;) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd93fc)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd93fc)" * (cast_expression "(int **)(puVar24 + 0xd93fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd93fc)" ( (binary_expression "puVar24 + 0xd93fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "*puVar7 = 0xffffffff;" (assignment_expression "*puVar7 = 0xffffffff" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "iVar17 = (*pcVar25)(uVar14);" (assignment_expression "iVar17 = (*pcVar25)(uVar14)" identifier = (call_expression "(*pcVar25)(uVar14)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (expression_statement "iVar17 = (*pcVar25)(iVar17);" (assignment_expression "iVar17 = (*pcVar25)(iVar17)" identifier = (call_expression "(*pcVar25)(iVar17)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(iVar17)" ( identifier )))) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (expression_statement "**(int **)(puVar24 + 0xd9434) = iVar17;" (assignment_expression "**(int **)(puVar24 + 0xd9434) = iVar17" (pointer_expression "**(int **)(puVar24 + 0xd9434)" * (pointer_expression "*(int **)(puVar24 + 0xd9434)" * (cast_expression "(int **)(puVar24 + 0xd9434)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9434)" ( (binary_expression "puVar24 + 0xd9434" identifier + number_literal) ))))) = identifier) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd93fc)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd93fc)" * (cast_expression "(int **)(puVar24 + 0xd93fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd93fc)" ( (binary_expression "puVar24 + 0xd93fc" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = **(int **)(puVar24 + 0xd87e4);" (assignment_expression "iVar17 = **(int **)(puVar24 + 0xd87e4)" identifier = (pointer_expression "**(int **)(puVar24 + 0xd87e4)" * (pointer_expression "*(int **)(puVar24 + 0xd87e4)" * (cast_expression "(int **)(puVar24 + 0xd87e4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd87e4)" ( (binary_expression "puVar24 + 0xd87e4" identifier + number_literal) )))))) ;) (expression_statement "*piVar18 = -1;" (assignment_expression "*piVar18 = -1" (pointer_expression "*piVar18" * identifier) = number_literal) ;) (if_statement "if (iVar17 == 0) goto LAB_0006be24;" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0006be24;" goto statement_identifier ;)) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda58c))();" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda58c))()" identifier = (call_expression "(**(code **)(puVar24 + 0xda58c))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda58c))" ( (pointer_expression "**(code **)(puVar24 + 0xda58c)" * (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14)" identifier = (call_expression "(**(code **)(puVar24 + 0xda4b0))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4b0))" ( (pointer_expression "**(code **)(puVar24 + 0xda4b0)" * (pointer_expression "*(code **)(puVar24 + 0xda4b0)" * (cast_expression "(code **)(puVar24 + 0xda4b0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4b0)" ( (binary_expression "puVar24 + 0xda4b0" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" identifier = (call_expression "(**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" (parenthesized_expression "(**(code **)(puVar24 + 0xda5dc))" ( (pointer_expression "**(code **)(puVar24 + 0xda5dc)" * (pointer_expression "*(code **)(puVar24 + 0xda5dc)" * (cast_expression "(code **)(puVar24 + 0xda5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5dc)" ( (binary_expression "puVar24 + 0xda5dc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" ( (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x62c0" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) }) (else_clause "else {\n      iVar17 = *piVar18;\n    }" else (compound_statement "{\n      iVar17 = *piVar18;\n    }" { (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }))) (if_statement "if (iVar17 == -1) goto LAB_0006c3c8;" if (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0006c3c8;" goto statement_identifier ;)) (labeled_statement "LAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);" statement_identifier : (expression_statement "iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff)" identifier = (call_expression "(**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8a0c))" ( (pointer_expression "**(code **)(puVar24 + 0xd8a0c)" * (pointer_expression "*(code **)(puVar24 + 0xd8a0c)" * (cast_expression "(code **)(puVar24 + 0xd8a0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8a0c)" ( (binary_expression "puVar24 + 0xd8a0c" identifier + number_literal) ))))) )) (argument_list "(iVar17,1,0xffffffff)" ( identifier , number_literal , number_literal )))) ;)) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda670)" * (cast_expression "(code **)(puVar24 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda670)" ( (binary_expression "puVar24 + 0xda670" identifier + number_literal) ))))) ;) (if_statement "if (*piVar23 != 0) goto LAB_0006be5c;" if (parenthesized_expression "(*piVar23 != 0)" ( (binary_expression "*piVar23 != 0" (pointer_expression "*piVar23" * identifier) != number_literal) )) (goto_statement "goto LAB_0006be5c;" goto statement_identifier ;)) (labeled_statement "LAB_0006bf08:\n    iVar17 = (*pcVar25)();" statement_identifier : (expression_statement "iVar17 = (*pcVar25)();" (assignment_expression "iVar17 = (*pcVar25)()" identifier = (call_expression "(*pcVar25)()" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "()" ( )))) ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda4fc);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda4fc)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda4fc)" * (cast_expression "(code **)(puVar24 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4fc)" ( (binary_expression "puVar24 + 0xda4fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar23 = iVar17;" (assignment_expression "*piVar23 = iVar17" (pointer_expression "*piVar23" * identifier) = identifier) ;) (expression_statement "(*pcVar25)(0,iVar17);" (call_expression "(*pcVar25)(0,iVar17)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(0,iVar17)" ( number_literal , identifier ))) ;) (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (if_statement "if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }" if (parenthesized_expression "(iVar17 != -1)" ( (binary_expression "iVar17 != -1" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }" { (expression_statement "(**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);" (call_expression "(**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23)" (parenthesized_expression "(**(code **)(puVar24 + 0xda73c))" ( (pointer_expression "**(code **)(puVar24 + 0xda73c)" * (pointer_expression "*(code **)(puVar24 + 0xda73c)" * (cast_expression "(code **)(puVar24 + 0xda73c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda73c)" ( (binary_expression "puVar24 + 0xda73c" identifier + number_literal) ))))) )) (argument_list "(iVar17,*piVar23)" ( identifier , (pointer_expression "*piVar23" * identifier) ))) ;) (goto_statement "goto LAB_0006be5c;" goto statement_identifier ;) })) }))) (expression_statement "iVar26 = 0x12;" (assignment_expression "iVar26 = 0x12" identifier = number_literal) ;) (expression_statement "piVar22 = *(int **)(puVar24 + 0xd9434);" (assignment_expression "piVar22 = *(int **)(puVar24 + 0xd9434)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd9434)" * (cast_expression "(int **)(puVar24 + 0xd9434)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9434)" ( (binary_expression "puVar24 + 0xd9434" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8a98);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8a98)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8a98)" * (cast_expression "(int **)(puVar24 + 0xd8a98)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8a98)" ( (binary_expression "puVar24 + 0xd8a98" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17)" identifier = (call_expression "(**(code **)(puVar24 + 0xda598))(iVar17)" (parenthesized_expression "(**(code **)(puVar24 + 0xda598))" ( (pointer_expression "**(code **)(puVar24 + 0xda598)" * (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) )) (argument_list "(iVar17)" ( identifier )))) ;) (expression_statement "*piVar22 = iVar17;" (assignment_expression "*piVar22 = iVar17" (pointer_expression "*piVar22" * identifier) = identifier) ;) (if_statement "if (iVar17 == -1) break;" if (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }" if (parenthesized_expression "(*piVar23 == iVar17)" ( (binary_expression "*piVar23 == iVar17" (pointer_expression "*piVar23" * identifier) == identifier) )) (compound_statement "{\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }" { (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0006c118;" goto statement_identifier ;) })) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xd8aac);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xd8aac)" identifier = (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }" { (expression_statement "(**(code **)(puVar24 + 0xd8a9c))(*piVar1);" (call_expression "(**(code **)(puVar24 + 0xd8a9c))(*piVar1)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8a9c))" ( (pointer_expression "**(code **)(puVar24 + 0xd8a9c)" * (pointer_expression "*(code **)(puVar24 + 0xd8a9c)" * (cast_expression "(code **)(puVar24 + 0xd8a9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8a9c)" ( (binary_expression "puVar24 + 0xd8a9c" identifier + number_literal) ))))) )) (argument_list "(*piVar1)" ( (pointer_expression "*piVar1" * identifier) ))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xd8aac);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xd8aac)" identifier = (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) ;) })) (expression_statement "iVar26 = iVar26 + -1;" (assignment_expression "iVar26 = iVar26 + -1" identifier = (binary_expression "iVar26 + -1" identifier + number_literal)) ;) (expression_statement "uVar14 = (*pcVar25)(0x1a,0);" (assignment_expression "uVar14 = (*pcVar25)(0x1a,0)" identifier = (call_expression "(*pcVar25)(0x1a,0)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(0x1a,0)" ( number_literal , number_literal )))) ;) (expression_statement "(**(code **)(puVar24 + 0xda61c))(0,0x1a);" (call_expression "(**(code **)(puVar24 + 0xda61c))(0,0x1a)" (parenthesized_expression "(**(code **)(puVar24 + 0xda61c))" ( (pointer_expression "**(code **)(puVar24 + 0xda61c)" * (pointer_expression "*(code **)(puVar24 + 0xda61c)" * (cast_expression "(code **)(puVar24 + 0xda61c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda61c)" ( (binary_expression "puVar24 + 0xda61c" identifier + number_literal) ))))) )) (argument_list "(0,0x1a)" ( number_literal , number_literal ))) ;) (expression_statement "(**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);" (call_expression "(**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8aac))" ( (pointer_expression "**(code **)(puVar24 + 0xd8aac)" * (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) )) (argument_list "(0x1a,uVar14)" ( number_literal , identifier ))) ;) (if_statement "if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }" { (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e14" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "**(int **)(puVar24 + 0xd9070) = iVar17;" (assignment_expression "**(int **)(puVar24 + 0xd9070) = iVar17" (pointer_expression "**(int **)(puVar24 + 0xd9070)" * (pointer_expression "*(int **)(puVar24 + 0xd9070)" * (cast_expression "(int **)(puVar24 + 0xd9070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9070)" ( (binary_expression "puVar24 + 0xd9070" identifier + number_literal) ))))) = identifier) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) })) (expression_statement "piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))()" identifier = (cast_expression "(int *)(**(code **)(puVar24 + 0xda5a0))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar24 + 0xda5a0)" * (pointer_expression "*(code **)(puVar24 + 0xda5a0)" * (cast_expression "(code **)(puVar24 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5a0)" ( (binary_expression "puVar24 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar17 = *piVar23;" (assignment_expression "iVar17 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (labeled_statement "LAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);" statement_identifier : (expression_statement "piVar16 = *(int **)(puVar24 + 0xd9070);" (assignment_expression "piVar16 = *(int **)(puVar24 + 0xd9070)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd9070)" * (cast_expression "(int **)(puVar24 + 0xd9070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9070)" ( (binary_expression "puVar24 + 0xd9070" identifier + number_literal) ))))) ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda670)" * (cast_expression "(code **)(puVar24 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda670)" ( (binary_expression "puVar24 + 0xda670" identifier + number_literal) ))))) ;) (expression_statement "*piVar16 = iVar17;" (assignment_expression "*piVar16 = iVar17" (pointer_expression "*piVar16" * identifier) = identifier) ;) (expression_statement "iVar17 = (*pcVar25)();" (assignment_expression "iVar17 = (*pcVar25)()" identifier = (call_expression "(*pcVar25)()" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "iVar26 = *piVar16;" (assignment_expression "iVar26 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*piVar23 = iVar17;" (assignment_expression "*piVar23 = iVar17" (pointer_expression "*piVar23" * identifier) = identifier) ;) (if_statement "if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" if (parenthesized_expression "(iVar17 == iVar26)" ( (binary_expression "iVar17 == iVar26" identifier == identifier) )) (compound_statement "{\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }" { (labeled_statement "LAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);" statement_identifier : (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;)) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (labeled_statement "LAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);" statement_identifier : (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);" statement_identifier : (expression_statement "iVar26 = (*pcVar25)(*piVar18);" (assignment_expression "iVar26 = (*pcVar25)(*piVar18)" identifier = (call_expression "(*pcVar25)(*piVar18)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(*piVar18)" ( (pointer_expression "*piVar18" * identifier) )))) ;)) (if_statement "if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }" if (parenthesized_expression "((iVar26 == -1) || (*piVar23 != iVar26))" ( (binary_expression "(iVar26 == -1) || (*piVar23 != iVar26)" (parenthesized_expression "(iVar26 == -1)" ( (binary_expression "iVar26 == -1" identifier == number_literal) )) || (parenthesized_expression "(*piVar23 != iVar26)" ( (binary_expression "*piVar23 != iVar26" (pointer_expression "*piVar23" * identifier) != identifier) ))) )) (compound_statement "{\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }" { (if_statement "if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (compound_statement "{\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }" { (expression_statement "piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))()" identifier = (cast_expression "(int *)(**(code **)(puVar24 + 0xda5a0))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar24 + 0xda5a0)" * (pointer_expression "*(code **)(puVar24 + 0xda5a0)" * (cast_expression "(code **)(puVar24 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5a0)" ( (binary_expression "puVar24 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "*piVar16 = iVar3;" (assignment_expression "*piVar16 = iVar3" (pointer_expression "*piVar16" * identifier) = identifier) ;) })) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e6c" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14,iVar26);" (call_expression "sys_error(uVar14,iVar26)" identifier (argument_list "(uVar14,iVar26)" ( identifier , identifier ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (goto_statement "goto LAB_0006c230;" goto statement_identifier ;) })) (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }" { (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" else (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17)" identifier = (call_expression "(**(code **)(puVar24 + 0xda4fc))(0,iVar17)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda4fc)" * (pointer_expression "*(code **)(puVar24 + 0xda4fc)" * (cast_expression "(code **)(puVar24 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4fc)" ( (binary_expression "puVar24 + 0xda4fc" identifier + number_literal) ))))) )) (argument_list "(0,iVar17)" ( number_literal , identifier )))) ;) (if_statement "if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }" { (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e4c" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "*piVar23 = *piVar16;" (assignment_expression "*piVar23 = *piVar16" (pointer_expression "*piVar23" * identifier) = (pointer_expression "*piVar16" * identifier)) ;) (goto_statement "goto LAB_0006c138;" goto statement_identifier ;) })) (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (expression_statement "iVar17 = *piVar16;" (assignment_expression "iVar17 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (if_statement "if (iVar26 == iVar17) goto LAB_0006c144;" if (parenthesized_expression "(iVar26 == iVar17)" ( (binary_expression "iVar26 == iVar17" identifier == identifier) )) (goto_statement "goto LAB_0006c144;" goto statement_identifier ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;) (if_statement "if (*piVar22 == iVar26) goto LAB_0006c148;" if (parenthesized_expression "(*piVar22 == iVar26)" ( (binary_expression "*piVar22 == iVar26" (pointer_expression "*piVar22" * identifier) == identifier) )) (goto_statement "goto LAB_0006c148;" goto statement_identifier ;)) (expression_statement "iVar17 = give_terminal_to(iVar26,0);" (assignment_expression "iVar17 = give_terminal_to(iVar26,0)" identifier = (call_expression "give_terminal_to(iVar26,0)" identifier (argument_list "(iVar26,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }" { (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar24 + 0xda5a0))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar24 + 0xda5a0)" * (pointer_expression "*(code **)(puVar24 + 0xda5a0)" * (cast_expression "(code **)(puVar24 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5a0)" ( (binary_expression "puVar24 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "(**(code **)(puVar24 + 0xda4fc))(0,*piVar16);" (call_expression "(**(code **)(puVar24 + 0xda4fc))(0,*piVar16)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda4fc)" * (pointer_expression "*(code **)(puVar24 + 0xda4fc)" * (cast_expression "(code **)(puVar24 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4fc)" ( (binary_expression "puVar24 + 0xda4fc" identifier + number_literal) ))))) )) (argument_list "(0,*piVar16)" ( number_literal , (pointer_expression "*piVar16" * identifier) ))) ;) (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) ))))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda6fc);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda6fc)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar23 = *piVar16;" (assignment_expression "*piVar23 = *piVar16" (pointer_expression "*piVar23" * identifier) = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*puVar7 = uVar14;" (assignment_expression "*puVar7 = uVar14" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);" (assignment_expression "uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5)" identifier = (call_expression "(*pcVar25)(0,iVar17 + 0x7e6c,5)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(0,iVar17 + 0x7e6c,5)" ( number_literal , (binary_expression "iVar17 + 0x7e6c" identifier + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14,*piVar23);" (call_expression "sys_error(uVar14,*piVar23)" identifier (argument_list "(uVar14,*piVar23)" ( identifier , (pointer_expression "*piVar23" * identifier) ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) }) (else_clause "else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" else (compound_statement "{\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" { (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) goto LAB_0006c148;" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (goto_statement "goto LAB_0006c148;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);" statement_identifier : (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) ))))) ;)) }))) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,iVar17 + 0x7e94,5)" ( number_literal , (binary_expression "iVar17 + 0x7e94" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar14);" (call_expression "internal_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (labeled_statement "LAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);" statement_identifier : (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda58c);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda58c)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) ;)) (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "**(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);" (assignment_expression "**(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17)" (pointer_expression "**(uint **)(puVar24 + 0xd8954)" * (pointer_expression "*(uint **)(puVar24 + 0xd8954)" * (cast_expression "(uint **)(puVar24 + 0xd8954)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8954)" ( (binary_expression "puVar24 + 0xd8954" identifier + number_literal) ))))) = (call_expression "(uint)(iVar26 != iVar17)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar26 != iVar17)" ( (binary_expression "iVar26 != iVar17" identifier != identifier) )))) ;) (expression_statement "iVar17 = (*pcVar25)(uVar14);" (assignment_expression "iVar17 = (*pcVar25)(uVar14)" identifier = (call_expression "(*pcVar25)(uVar14)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }" if (parenthesized_expression "(iVar17 != *piVar18)" ( (binary_expression "iVar17 != *piVar18" identifier != (pointer_expression "*piVar18" * identifier)) )) (compound_statement "{\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }" { (expression_statement "(**(code **)(puVar24 + 0xda540))(*piVar18,2,1);" (call_expression "(**(code **)(puVar24 + 0xda540))(*piVar18,2,1)" (parenthesized_expression "(**(code **)(puVar24 + 0xda540))" ( (pointer_expression "**(code **)(puVar24 + 0xda540)" * (pointer_expression "*(code **)(puVar24 + 0xda540)" * (cast_expression "(code **)(puVar24 + 0xda540)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda540)" ( (binary_expression "puVar24 + 0xda540" identifier + number_literal) ))))) )) (argument_list "(*piVar18,2,1)" ( (pointer_expression "*piVar18" * identifier) , number_literal , number_literal ))) ;) })) (expression_statement "(**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);" (call_expression "(**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8aac))" ( (pointer_expression "**(code **)(puVar24 + 0xd8aac)" * (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) )) (argument_list "(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd942c) + -0x6fbc" (pointer_expression "*(int *)(puVar24 + 0xd942c)" * (cast_expression "(int *)(puVar24 + 0xd942c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd942c)" ( (binary_expression "puVar24 + 0xd942c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "uVar14 = 0x2b;" (assignment_expression "uVar14 = 0x2b" identifier = number_literal) ;) (if_statement "if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n    uVar14 = 0x2d;\n  }" { (expression_statement "uVar14 = 0x2d;" (assignment_expression "uVar14 = 0x2d" identifier = number_literal) ;) })) (expression_statement "change_flag(0x6d,uVar14);" (call_expression "change_flag(0x6d,uVar14)" identifier (argument_list "(0x6d,uVar14)" ( number_literal , identifier ))) ;) (if_statement "if (*param_1 != 0) {\n    get_tty_state();\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    get_tty_state();\n  }" { (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd90bc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd90bc)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd90bc)" * (cast_expression "(int **)(puVar24 + 0xd90bc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd90bc)" ( (binary_expression "puVar24 + 0xd90bc" identifier + number_literal) ))))) ;) (if_statement "if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }" if (parenthesized_expression "(*piVar18 < 0)" ( (binary_expression "*piVar18 < 0" (pointer_expression "*piVar18" * identifier) < number_literal) )) (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xd93d8))();" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xd93d8))()" identifier = (call_expression "(**(code **)(puVar24 + 0xd93d8))()" (parenthesized_expression "(**(code **)(puVar24 + 0xd93d8))" ( (pointer_expression "**(code **)(puVar24 + 0xd93d8)" * (pointer_expression "*(code **)(puVar24 + 0xd93d8)" * (cast_expression "(code **)(puVar24 + 0xd93d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd93d8)" ( (binary_expression "puVar24 + 0xd93d8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar17 = 0x20;\n    }" { (expression_statement "iVar17 = 0x20;" (assignment_expression "iVar17 = 0x20" identifier = number_literal) ;) })) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (return_statement "return *piVar1;" return (pointer_expression "*piVar1" * identifier) ;) })) (return_statement "return *piVar1;" return (pointer_expression "*piVar1" * identifier) ;) })))
(translation_unit "int start_job(int job,int foreground)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  PROCESS *pPVar4;\n  char *pcVar5;\n  int iVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int iVar11;\n  undefined *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  int *piVar15;\n  int *piVar16;\n  int iVar17;\n  pid_t pid;\n  int *piVar18;\n  undefined *puVar19;\n  undefined *puVar20;\n  int *piVar21;\n  int *piVar22;\n  undefined *puVar23;\n  code *pcVar24;\n  int iVar25;\n  char *local_134;\n  sigset_t set;\n  sigset_t oset;\n  \n  puVar23 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = job * 4;\n  iVar1 = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(&set);\n  (*(code *)PTR_sigaddset_00146364)(&set,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(&oset);\n  (*(code *)PTR_sigprocmask_00146514)(1,&set,&oset);\n  iVar25 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar25 == 4) {\n    iVar17 = -1;\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else if (foreground == 0) {\n    if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else {\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }\n  if (iVar1 == *(int *)puVar23) {\n    return iVar17;\n  }\n  puVar23 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar22 = *(int **)(puVar23 + 0xd8b10);\n  iVar17 = (**(code **)(puVar23 + 0xda6dc))();\n  *piVar22 = iVar17;\n  if (iVar17 == -1) {\n    pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5);\n    sys_error(pcVar5);\n    (**(code **)(puVar23 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *(undefined4 *)foreground;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);\n    iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14);\n    *piVar18 = iVar1;\n    if (iVar1 != -1) goto LAB_0006bf80;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar1 = *piVar18;\n  }\n  else {\n    job = *(int *)(puVar23 + 0xd87f4);\n    foreground = *(int *)(puVar23 + 0xda77c);\n    uVar14 = *(undefined4 *)foreground;\n    if (iVar1 == 0 && *(int *)job == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar23 + 0xd93fc);\n    iVar1 = **(int **)(puVar23 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar1 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar23 + 0xda58c))();\n    iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);\n    if (iVar1 == 0) {\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }\n    else {\n      iVar1 = *piVar18;\n    }\n    if (iVar1 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);\n    *piVar18 = iVar1;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar1 = (*pcVar24)();\n    pcVar24 = *(code **)(puVar23 + 0xda4fc);\n    *piVar22 = iVar1;\n    (*pcVar24)(0,iVar1);\n    iVar1 = *piVar18;\n    if (iVar1 != -1) {\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar17 = 0x12;\n  piVar21 = *(int **)(puVar23 + 0xd9434);\n  piVar2 = *(int **)(puVar23 + 0xd8a98);\n  while( true ) {\n    iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1);\n    *piVar21 = iVar1;\n    if (iVar1 == -1) break;\n    if (*piVar22 == iVar1) {\n      iVar25 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    if (*piVar2 != 0) {\n      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);\n      pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    }\n    iVar17 = iVar17 + -1;\n    uVar14 = (*pcVar24)(0x1a,0);\n    (**(code **)(puVar23 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14);\n    if (iVar17 == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);\n      sys_error(pcVar5);\n      iVar1 = *piVar21;\n      iVar17 = *piVar22;\n      *piVar2 = 0;\n      **(int **)(puVar23 + 0xd9070) = iVar1;\n      goto LAB_0006bff4;\n    }\n    iVar1 = *piVar18;\n  }\n  piVar2 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n  iVar25 = *piVar2;\n  iVar1 = *piVar22;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar23 + 0xd9070);\n  pcVar24 = *(code **)(puVar23 + 0xda670);\n  *piVar16 = iVar1;\n  iVar1 = (*pcVar24)();\n  iVar17 = *piVar16;\n  *piVar22 = iVar1;\n  if (iVar1 == iVar17) {\nLAB_0006c138:\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    *piVar2 = 1;\nLAB_0006c144:\n    pcVar24 = *(code **)(puVar23 + 0xda598);\nLAB_0006c148:\n    iVar17 = (*pcVar24)(*piVar18);\n    if ((iVar17 == -1) || (*piVar22 != iVar17)) {\n      if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);\n      sys_error(pcVar5,iVar17);\n      *piVar2 = 0;\n      goto LAB_0006c230;\n    }\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n    if (*piVar2 != 0) {\n      iVar1 = *piVar21;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);\n    if (iVar1 < 0) {\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    iVar17 = *piVar22;\n    iVar1 = *piVar16;\n    *piVar2 = 1;\n    if (iVar17 == iVar1) goto LAB_0006c144;\n    pcVar24 = *(code **)(puVar23 + 0xda598);\n    if (*piVar21 == iVar17) goto LAB_0006c148;\n    iVar1 = give_terminal_to(iVar17,0);\n    if (iVar1 < 0) {\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n  }\n  pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5);\n  internal_error(pcVar5);\n  iVar1 = *piVar21;\n  iVar17 = *piVar22;\nLAB_0006bff4:\n  pcVar24 = *(code **)(puVar23 + 0xda58c);\n  uVar14 = *(undefined4 *)foreground;\n  **(uint **)(puVar23 + 0xd8954) = (uint)(iVar17 != iVar1);\n  iVar1 = (*pcVar24)(uVar14);\n  if (iVar1 != *piVar18) {\n    (**(code **)(puVar23 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar23 + 0xd8aac))(0x12,*(int *)(puVar23 + 0xd942c) + -0x6fbc);\n  iVar1 = 0x2b;\n  if (*piVar2 != 0) {\n    iVar1 = 0x2d;\n  }\n  change_flag(0x6d,iVar1);\n  if (*(int *)job != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar23 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar1 = (**(code **)(puVar23 + 0xd93d8))();\n    if (iVar1 < 0) {\n      iVar1 = 0x20;\n    }\n    *piVar18 = iVar1;\n    return *piVar2;\n  }\n  return *piVar2;\n}\n\n" (function_definition "int start_job(int job,int foreground)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  PROCESS *pPVar4;\n  char *pcVar5;\n  int iVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int iVar11;\n  undefined *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  int *piVar15;\n  int *piVar16;\n  int iVar17;\n  pid_t pid;\n  int *piVar18;\n  undefined *puVar19;\n  undefined *puVar20;\n  int *piVar21;\n  int *piVar22;\n  undefined *puVar23;\n  code *pcVar24;\n  int iVar25;\n  char *local_134;\n  sigset_t set;\n  sigset_t oset;\n  \n  puVar23 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = job * 4;\n  iVar1 = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(&set);\n  (*(code *)PTR_sigaddset_00146364)(&set,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(&oset);\n  (*(code *)PTR_sigprocmask_00146514)(1,&set,&oset);\n  iVar25 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar25 == 4) {\n    iVar17 = -1;\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else if (foreground == 0) {\n    if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else {\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }\n  if (iVar1 == *(int *)puVar23) {\n    return iVar17;\n  }\n  puVar23 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar22 = *(int **)(puVar23 + 0xd8b10);\n  iVar17 = (**(code **)(puVar23 + 0xda6dc))();\n  *piVar22 = iVar17;\n  if (iVar17 == -1) {\n    pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5);\n    sys_error(pcVar5);\n    (**(code **)(puVar23 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *(undefined4 *)foreground;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);\n    iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14);\n    *piVar18 = iVar1;\n    if (iVar1 != -1) goto LAB_0006bf80;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar1 = *piVar18;\n  }\n  else {\n    job = *(int *)(puVar23 + 0xd87f4);\n    foreground = *(int *)(puVar23 + 0xda77c);\n    uVar14 = *(undefined4 *)foreground;\n    if (iVar1 == 0 && *(int *)job == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar23 + 0xd93fc);\n    iVar1 = **(int **)(puVar23 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar1 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar23 + 0xda58c))();\n    iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);\n    if (iVar1 == 0) {\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }\n    else {\n      iVar1 = *piVar18;\n    }\n    if (iVar1 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);\n    *piVar18 = iVar1;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar1 = (*pcVar24)();\n    pcVar24 = *(code **)(puVar23 + 0xda4fc);\n    *piVar22 = iVar1;\n    (*pcVar24)(0,iVar1);\n    iVar1 = *piVar18;\n    if (iVar1 != -1) {\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar17 = 0x12;\n  piVar21 = *(int **)(puVar23 + 0xd9434);\n  piVar2 = *(int **)(puVar23 + 0xd8a98);\n  while( true ) {\n    iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1);\n    *piVar21 = iVar1;\n    if (iVar1 == -1) break;\n    if (*piVar22 == iVar1) {\n      iVar25 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    if (*piVar2 != 0) {\n      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);\n      pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    }\n    iVar17 = iVar17 + -1;\n    uVar14 = (*pcVar24)(0x1a,0);\n    (**(code **)(puVar23 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14);\n    if (iVar17 == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);\n      sys_error(pcVar5);\n      iVar1 = *piVar21;\n      iVar17 = *piVar22;\n      *piVar2 = 0;\n      **(int **)(puVar23 + 0xd9070) = iVar1;\n      goto LAB_0006bff4;\n    }\n    iVar1 = *piVar18;\n  }\n  piVar2 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n  iVar25 = *piVar2;\n  iVar1 = *piVar22;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar23 + 0xd9070);\n  pcVar24 = *(code **)(puVar23 + 0xda670);\n  *piVar16 = iVar1;\n  iVar1 = (*pcVar24)();\n  iVar17 = *piVar16;\n  *piVar22 = iVar1;\n  if (iVar1 == iVar17) {\nLAB_0006c138:\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    *piVar2 = 1;\nLAB_0006c144:\n    pcVar24 = *(code **)(puVar23 + 0xda598);\nLAB_0006c148:\n    iVar17 = (*pcVar24)(*piVar18);\n    if ((iVar17 == -1) || (*piVar22 != iVar17)) {\n      if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);\n      sys_error(pcVar5,iVar17);\n      *piVar2 = 0;\n      goto LAB_0006c230;\n    }\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n    if (*piVar2 != 0) {\n      iVar1 = *piVar21;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);\n    if (iVar1 < 0) {\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    iVar17 = *piVar22;\n    iVar1 = *piVar16;\n    *piVar2 = 1;\n    if (iVar17 == iVar1) goto LAB_0006c144;\n    pcVar24 = *(code **)(puVar23 + 0xda598);\n    if (*piVar21 == iVar17) goto LAB_0006c148;\n    iVar1 = give_terminal_to(iVar17,0);\n    if (iVar1 < 0) {\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n  }\n  pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5);\n  internal_error(pcVar5);\n  iVar1 = *piVar21;\n  iVar17 = *piVar22;\nLAB_0006bff4:\n  pcVar24 = *(code **)(puVar23 + 0xda58c);\n  uVar14 = *(undefined4 *)foreground;\n  **(uint **)(puVar23 + 0xd8954) = (uint)(iVar17 != iVar1);\n  iVar1 = (*pcVar24)(uVar14);\n  if (iVar1 != *piVar18) {\n    (**(code **)(puVar23 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar23 + 0xd8aac))(0x12,*(int *)(puVar23 + 0xd942c) + -0x6fbc);\n  iVar1 = 0x2b;\n  if (*piVar2 != 0) {\n    iVar1 = 0x2d;\n  }\n  change_flag(0x6d,iVar1);\n  if (*(int *)job != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar23 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar1 = (**(code **)(puVar23 + 0xd93d8))();\n    if (iVar1 < 0) {\n      iVar1 = 0x20;\n    }\n    *piVar18 = iVar1;\n    return *piVar2;\n  }\n  return *piVar2;\n}" primitive_type (function_declarator "start_job(int job,int foreground)" identifier (parameter_list "(int job,int foreground)" ( (parameter_declaration "int job" primitive_type identifier) , (parameter_declaration "int foreground" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  PROCESS *pPVar4;\n  char *pcVar5;\n  int iVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int iVar11;\n  undefined *puVar12;\n  undefined *puVar13;\n  undefined4 uVar14;\n  int *piVar15;\n  int *piVar16;\n  int iVar17;\n  pid_t pid;\n  int *piVar18;\n  undefined *puVar19;\n  undefined *puVar20;\n  int *piVar21;\n  int *piVar22;\n  undefined *puVar23;\n  code *pcVar24;\n  int iVar25;\n  char *local_134;\n  sigset_t set;\n  sigset_t oset;\n  \n  puVar23 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = job * 4;\n  iVar1 = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(&set);\n  (*(code *)PTR_sigaddset_00146364)(&set,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(&oset);\n  (*(code *)PTR_sigprocmask_00146514)(1,&set,&oset);\n  iVar25 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar25 == 4) {\n    iVar17 = -1;\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else if (foreground == 0) {\n    if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else {\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }\n  if (iVar1 == *(int *)puVar23) {\n    return iVar17;\n  }\n  puVar23 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar22 = *(int **)(puVar23 + 0xd8b10);\n  iVar17 = (**(code **)(puVar23 + 0xda6dc))();\n  *piVar22 = iVar17;\n  if (iVar17 == -1) {\n    pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5);\n    sys_error(pcVar5);\n    (**(code **)(puVar23 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *(undefined4 *)foreground;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);\n    iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14);\n    *piVar18 = iVar1;\n    if (iVar1 != -1) goto LAB_0006bf80;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar1 = *piVar18;\n  }\n  else {\n    job = *(int *)(puVar23 + 0xd87f4);\n    foreground = *(int *)(puVar23 + 0xda77c);\n    uVar14 = *(undefined4 *)foreground;\n    if (iVar1 == 0 && *(int *)job == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar23 + 0xd93fc);\n    iVar1 = **(int **)(puVar23 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar1 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar23 + 0xda58c))();\n    iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);\n    if (iVar1 == 0) {\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }\n    else {\n      iVar1 = *piVar18;\n    }\n    if (iVar1 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);\n    *piVar18 = iVar1;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar1 = (*pcVar24)();\n    pcVar24 = *(code **)(puVar23 + 0xda4fc);\n    *piVar22 = iVar1;\n    (*pcVar24)(0,iVar1);\n    iVar1 = *piVar18;\n    if (iVar1 != -1) {\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar17 = 0x12;\n  piVar21 = *(int **)(puVar23 + 0xd9434);\n  piVar2 = *(int **)(puVar23 + 0xd8a98);\n  while( true ) {\n    iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1);\n    *piVar21 = iVar1;\n    if (iVar1 == -1) break;\n    if (*piVar22 == iVar1) {\n      iVar25 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    if (*piVar2 != 0) {\n      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);\n      pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    }\n    iVar17 = iVar17 + -1;\n    uVar14 = (*pcVar24)(0x1a,0);\n    (**(code **)(puVar23 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14);\n    if (iVar17 == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);\n      sys_error(pcVar5);\n      iVar1 = *piVar21;\n      iVar17 = *piVar22;\n      *piVar2 = 0;\n      **(int **)(puVar23 + 0xd9070) = iVar1;\n      goto LAB_0006bff4;\n    }\n    iVar1 = *piVar18;\n  }\n  piVar2 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n  iVar25 = *piVar2;\n  iVar1 = *piVar22;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar23 + 0xd9070);\n  pcVar24 = *(code **)(puVar23 + 0xda670);\n  *piVar16 = iVar1;\n  iVar1 = (*pcVar24)();\n  iVar17 = *piVar16;\n  *piVar22 = iVar1;\n  if (iVar1 == iVar17) {\nLAB_0006c138:\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    *piVar2 = 1;\nLAB_0006c144:\n    pcVar24 = *(code **)(puVar23 + 0xda598);\nLAB_0006c148:\n    iVar17 = (*pcVar24)(*piVar18);\n    if ((iVar17 == -1) || (*piVar22 != iVar17)) {\n      if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);\n      sys_error(pcVar5,iVar17);\n      *piVar2 = 0;\n      goto LAB_0006c230;\n    }\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n    if (*piVar2 != 0) {\n      iVar1 = *piVar21;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);\n    if (iVar1 < 0) {\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    iVar17 = *piVar22;\n    iVar1 = *piVar16;\n    *piVar2 = 1;\n    if (iVar17 == iVar1) goto LAB_0006c144;\n    pcVar24 = *(code **)(puVar23 + 0xda598);\n    if (*piVar21 == iVar17) goto LAB_0006c148;\n    iVar1 = give_terminal_to(iVar17,0);\n    if (iVar1 < 0) {\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n  }\n  pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5);\n  internal_error(pcVar5);\n  iVar1 = *piVar21;\n  iVar17 = *piVar22;\nLAB_0006bff4:\n  pcVar24 = *(code **)(puVar23 + 0xda58c);\n  uVar14 = *(undefined4 *)foreground;\n  **(uint **)(puVar23 + 0xd8954) = (uint)(iVar17 != iVar1);\n  iVar1 = (*pcVar24)(uVar14);\n  if (iVar1 != *piVar18) {\n    (**(code **)(puVar23 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar23 + 0xd8aac))(0x12,*(int *)(puVar23 + 0xd942c) + -0x6fbc);\n  iVar1 = 0x2b;\n  if (*piVar2 != 0) {\n    iVar1 = 0x2d;\n  }\n  change_flag(0x6d,iVar1);\n  if (*(int *)job != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar23 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar1 = (**(code **)(puVar23 + 0xd93d8))();\n    if (iVar1 < 0) {\n      iVar1 = 0x20;\n    }\n    *piVar18 = iVar1;\n    return *piVar2;\n  }\n  return *piVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "PROCESS *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "pid_t pid;" type_identifier identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "undefined *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "undefined *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "int *piVar22;" primitive_type (pointer_declarator "*piVar22" * identifier) ;) (declaration "undefined *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "code *pcVar24;" type_identifier (pointer_declarator "*pcVar24" * identifier) ;) (declaration "int iVar25;" primitive_type identifier ;) (declaration "char *local_134;" primitive_type (pointer_declarator "*local_134" * identifier) ;) (declaration "sigset_t set;" type_identifier identifier ;) (declaration "sigset_t oset;" type_identifier identifier ;) (expression_statement "puVar23 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar23 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "piVar18 = (int *)PTR_jobs_00144e5c;" (assignment_expression "piVar18 = (int *)PTR_jobs_00144e5c" identifier = (cast_expression "(int *)PTR_jobs_00144e5c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar17 = job * 4;" (assignment_expression "iVar17 = job * 4" identifier = (binary_expression "job * 4" identifier * number_literal)) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(&set);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(&set)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" ( (pointer_expression "*(code *)PTR_sigemptyset_001462d4" * (cast_expression "(code *)PTR_sigemptyset_001462d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&set)" ( (pointer_expression "&set" & identifier) ))) ;) (expression_statement "(*(code *)PTR_sigaddset_00146364)(&set,0x12);" (call_expression "(*(code *)PTR_sigaddset_00146364)(&set,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00146364)" ( (pointer_expression "*(code *)PTR_sigaddset_00146364" * (cast_expression "(code *)PTR_sigaddset_00146364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&set,0x12)" ( (pointer_expression "&set" & identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(&oset);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(&oset)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" ( (pointer_expression "*(code *)PTR_sigemptyset_001462d4" * (cast_expression "(code *)PTR_sigemptyset_001462d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&oset)" ( (pointer_expression "&oset" & identifier) ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(1,&set,&oset);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(1,&set,&oset)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,&set,&oset)" ( number_literal , (pointer_expression "&set" & identifier) , (pointer_expression "&oset" & identifier) ))) ;) (expression_statement "iVar25 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);" (assignment_expression "iVar25 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" identifier = (pointer_expression "*(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" * (cast_expression "(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0xc)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0xc" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) ))))) ;) (if_statement "if (iVar25 == 4) {\n    iVar17 = -1;\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else if (foreground == 0) {\n    if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else {\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }" if (parenthesized_expression "(iVar25 == 4)" ( (binary_expression "iVar25 == 4" identifier == number_literal) )) (compound_statement "{\n    iVar17 = -1;\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }" { (expression_statement "iVar17 = -1;" (assignment_expression "iVar17 = -1" identifier = number_literal) ;) (expression_statement "pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7d9c,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7d9c" identifier + number_literal) , number_literal ))))) ;) (expression_statement "internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728);" (call_expression "internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728)" identifier (argument_list "(pcVar5,*(undefined4 *)PTR_this_command_name_00144728)" ( identifier , (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" * (cast_expression "(undefined4 *)PTR_this_command_name_00144728" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,&oset,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,&oset,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,&oset,0)" ( number_literal , (pointer_expression "&oset" & identifier) , number_literal ))) ;) }) (else_clause "else if (foreground == 0) {\n    if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else {\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }" else (if_statement "if (foreground == 0) {\n    if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }\n  else {\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }" if (parenthesized_expression "(foreground == 0)" ( (binary_expression "foreground == 0" identifier == number_literal) )) (compound_statement "{\n    if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n  }" { (if_statement "if (iVar25 != 1) {\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" if (parenthesized_expression "(iVar25 != 1)" ( (binary_expression "iVar25 != 1" identifier != number_literal) )) (compound_statement "{\n      local_134 = current_working_directory();\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      iVar8 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;\n      if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar22 = *(int **)(iVar6 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);\n      piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" { (expression_statement "local_134 = current_working_directory();" (assignment_expression "local_134 = current_working_directory()" identifier = (call_expression "current_working_directory()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar6 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "iVar8 = *(int *)PTR_posixly_correct_0014458c;" (assignment_expression "iVar8 = *(int *)PTR_posixly_correct_0014458c" identifier = (pointer_expression "*(int *)PTR_posixly_correct_0014458c" * (cast_expression "(int *)PTR_posixly_correct_0014458c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (iVar8 == 0) {\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }" { (if_statement "if (*(int *)(PTR_js_00144e58 + 0x2c) == job) {\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }" if (parenthesized_expression "(*(int *)(PTR_js_00144e58 + 0x2c) == job)" ( (binary_expression "*(int *)(PTR_js_00144e58 + 0x2c) == job" (pointer_expression "*(int *)(PTR_js_00144e58 + 0x2c)" * (cast_expression "(int *)(PTR_js_00144e58 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00144e58 + 0x2c)" ( (binary_expression "PTR_js_00144e58 + 0x2c" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          puVar12 = PTR_LAB_00144578 + 0x7144;\n        }" { (expression_statement "puVar12 = PTR_LAB_00144578 + 0x7144;" (assignment_expression "puVar12 = PTR_LAB_00144578 + 0x7144" identifier = (binary_expression "PTR_LAB_00144578 + 0x7144" identifier + number_literal)) ;) }) (else_clause "else {\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }" else (compound_statement "{\n          if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;\n          puVar12 = PTR_LAB_00144578 + 0x7d98;\n        }" { (if_statement "if (*(int *)(PTR_js_00144e58 + 0x30) != job) goto LAB_0006b860;" if (parenthesized_expression "(*(int *)(PTR_js_00144e58 + 0x30) != job)" ( (binary_expression "*(int *)(PTR_js_00144e58 + 0x30) != job" (pointer_expression "*(int *)(PTR_js_00144e58 + 0x30)" * (cast_expression "(int *)(PTR_js_00144e58 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00144e58 + 0x30)" ( (binary_expression "PTR_js_00144e58 + 0x30" identifier + number_literal) )))) != identifier) )) (goto_statement "goto LAB_0006b860;" goto statement_identifier ;)) (expression_statement "puVar12 = PTR_LAB_00144578 + 0x7d98;" (assignment_expression "puVar12 = PTR_LAB_00144578 + 0x7d98" identifier = (binary_expression "PTR_LAB_00144578 + 0x7d98" identifier + number_literal)) ;) }))) }) (else_clause "else {\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }" else (compound_statement "{\nLAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;\n      }" { (labeled_statement "LAB_0006b860:\n        puVar12 = PTR_LAB_00144578 + 0x7b04;" statement_identifier : (expression_statement "puVar12 = PTR_LAB_00144578 + 0x7b04;" (assignment_expression "puVar12 = PTR_LAB_00144578 + 0x7b04" identifier = (binary_expression "PTR_LAB_00144578 + 0x7b04" identifier + number_literal)) ;)) }))) (expression_statement "piVar22 = *(int **)(iVar6 + 4);" (assignment_expression "piVar22 = *(int **)(iVar6 + 4)" identifier = (pointer_expression "*(int **)(iVar6 + 4)" * (cast_expression "(int **)(iVar6 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7dd8,job + 1,puVar12)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7dd8" identifier + number_literal) , (binary_expression "job + 1" identifier + number_literal) , identifier ))) ;) (expression_statement "piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);" (assignment_expression "piVar2 = *(int **)(*(int *)(*piVar18 + iVar17) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(*piVar18 + iVar17) + 4)" * (cast_expression "(int **)(*(int *)(*piVar18 + iVar17) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 4)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 4" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_0006b898;" goto statement_identifier ;) })) (expression_statement "pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7db4,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7db4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1);" (call_expression "internal_error(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1)" identifier (argument_list "(pcVar5,*(undefined4 *)PTR_this_command_name_00144728,job + 1)" ( identifier , (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" * (cast_expression "(undefined4 *)PTR_this_command_name_00144728" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "job + 1" identifier + number_literal) ))) ;) (labeled_statement "LAB_0006b9dc:\n    iVar17 = 0;" statement_identifier : (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,&oset,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,&oset,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,&oset,0)" ( number_literal , (pointer_expression "&oset" & identifier) , number_literal ))) ;) }) (else_clause "else {\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }" else (compound_statement "{\n    local_134 = current_working_directory();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    set_current_job(job);\n    iVar6 = *(int *)(*piVar18 + iVar17);\n    piVar2 = *(int **)(iVar6 + 4);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;\n    piVar22 = piVar2;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar12 = PTR_DAT_001445ac + -0x6800;\n    puVar20 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);\n    if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar9;\n    iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }\nLAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);\n    pid = pPVar4->pid;\n    (*(code *)PTR_sigprocmask_00146514)(3,&oset,0);\n    iVar17 = wait_for(pid);\n    piVar22 = piVar15;\n    do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);\n    *piVar21 = *piVar16;\n    set_tty_state();\n  }" { (expression_statement "local_134 = current_working_directory();" (assignment_expression "local_134 = current_working_directory()" identifier = (call_expression "current_working_directory()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) = (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) & number_literal)) ;) (expression_statement "set_current_job(job);" (call_expression "set_current_job(job)" identifier (argument_list "(job)" ( identifier ))) ;) (expression_statement "iVar6 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar6 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar2 = *(int **)(iVar6 + 4);" (assignment_expression "piVar2 = *(int **)(iVar6 + 4)" identifier = (pointer_expression "*(int **)(iVar6 + 4)" * (cast_expression "(int **)(iVar6 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1;" (assignment_expression "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 1" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0x10) | 1" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "piVar22 = piVar2;" (assignment_expression "piVar22 = piVar2" identifier = identifier) ;) (labeled_statement "LAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;" statement_identifier : (expression_statement "puVar19 = PTR_LAB_00144578 + 0x6298;" (assignment_expression "puVar19 = PTR_LAB_00144578 + 0x6298" identifier = (binary_expression "PTR_LAB_00144578 + 0x6298" identifier + number_literal)) ;)) (expression_statement "puVar12 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "puVar12 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (expression_statement "puVar20 = PTR_LAB_00144578 + 0x6720;" (assignment_expression "puVar20 = PTR_LAB_00144578 + 0x6720" identifier = (binary_expression "PTR_LAB_00144578 + 0x6720" identifier + number_literal)) ;) (do_statement "do {\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    } while (piVar2 != piVar22);" do (compound_statement "{\n      puVar10 = (undefined *)piVar22[4];\n      if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }\n      puVar13 = puVar20;\n      if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);\n      piVar22 = (int *)*piVar22;\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar2 = (int *)puVar9[1];\n    }" { (expression_statement "puVar10 = (undefined *)piVar22[4];" (assignment_expression "puVar10 = (undefined *)piVar22[4]" identifier = (cast_expression "(undefined *)piVar22[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar22[4]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined *)piVar22[4] == (undefined *)0x0) {\n        puVar10 = puVar12;\n      }" if (parenthesized_expression "((undefined *)piVar22[4] == (undefined *)0x0)" ( (binary_expression "(undefined *)piVar22[4] == (undefined *)0x0" (cast_expression "(undefined *)piVar22[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar22[4]" identifier [ number_literal ])) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar10 = puVar12;\n      }" { (expression_statement "puVar10 = puVar12;" (assignment_expression "puVar10 = puVar12" identifier = identifier) ;) })) (expression_statement "puVar13 = puVar20;" (assignment_expression "puVar13 = puVar20" identifier = identifier) ;) (if_statement "if ((int *)*piVar22 == piVar2) {\n        puVar13 = puVar12;\n      }" if (parenthesized_expression "((int *)*piVar22 == piVar2)" ( (binary_expression "(int *)*piVar22 == piVar2" (cast_expression "(int *)*piVar22" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar22" * identifier)) == identifier) )) (compound_statement "{\n        puVar13 = puVar12;\n      }" { (expression_statement "puVar13 = puVar12;" (assignment_expression "puVar13 = puVar12" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar10,puVar13)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar19,puVar10,puVar13)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "piVar22 = (int *)*piVar22;" (assignment_expression "piVar22 = (int *)*piVar22" identifier = (cast_expression "(int *)*piVar22" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar22" * identifier))) ;) (expression_statement "puVar9 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar9 = *(undefined4 **)(*piVar18 + iVar17)" identifier = (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" * (cast_expression "(undefined4 **)(*piVar18 + iVar17)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar2 = (int *)puVar9[1];" (assignment_expression "piVar2 = (int *)puVar9[1]" identifier = (cast_expression "(int *)puVar9[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[1]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(piVar2 != piVar22)" ( (binary_expression "piVar2 != piVar22" identifier != identifier) )) ;) (if_statement "if (foreground == 0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }" if (parenthesized_expression "(foreground == 0)" ( (binary_expression "foreground == 0" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar9 = *(undefined4 **)(*piVar18 + iVar17);\n    }" { (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7b74)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7b74" identifier + number_literal) ))) ;) (expression_statement "puVar9 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar9 = *(undefined4 **)(*piVar18 + iVar17)" identifier = (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" * (cast_expression "(undefined4 **)(*piVar18 + iVar17)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) })) (expression_statement "uVar14 = *puVar9;" (assignment_expression "uVar14 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(local_134,uVar14)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_134,uVar14)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" { (expression_statement "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);" (assignment_expression "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14)" identifier = (call_expression "(*(code *)PTR_polite_directory_format_00144970)(uVar14)" (parenthesized_expression "(*(code *)PTR_polite_directory_format_00144970)" ( (pointer_expression "*(code *)PTR_polite_directory_format_00144970" * (cast_expression "(code *)PTR_polite_directory_format_00144970" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7de0,uVar14)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7de0" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" ( (pointer_expression "*(code *)PTR_putchar_00146340" * (cast_expression "(code *)PTR_putchar_00146340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (if_statement "if (iVar25 == 1) {\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }" if (parenthesized_expression "(iVar25 == 1)" ( (binary_expression "iVar25 == 1" identifier == number_literal) )) (compound_statement "{\n      if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      iVar8 = *piVar3;\n      *piVar7 = iVar8;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }" { (if_statement "if (foreground == 0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" if (parenthesized_expression "(foreground == 0)" ( (binary_expression "foreground == 0" identifier == number_literal) )) (compound_statement "{\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" { (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) = (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) & number_literal)) ;) (goto_statement "goto LAB_0006b9c8;" goto statement_identifier ;) })) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "piVar2 = (int *)(PTR___environ_00145154 + -0x70d0)" identifier = (cast_expression "(int *)(PTR___environ_00145154 + -0x70d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" ( (binary_expression "PTR___environ_00145154 + -0x70d0" identifier + number_literal) )))) ;) (expression_statement "piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8)" identifier = (cast_expression "(int *)(PTR_data_start_00144568 + 0x7ee8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" ( (binary_expression "PTR_data_start_00144568 + 0x7ee8" identifier + number_literal) )))) ;) (expression_statement "piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "piVar16 = (int *)(PTR___environ_00145154 + -0x70a0)" identifier = (cast_expression "(int *)(PTR___environ_00145154 + -0x70a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" ( (binary_expression "PTR___environ_00145154 + -0x70a0" identifier + number_literal) )))) ;) (expression_statement "piVar22 = piVar2;" (assignment_expression "piVar22 = piVar2" identifier = identifier) ;) (expression_statement "piVar21 = piVar15;" (assignment_expression "piVar21 = piVar15" identifier = identifier) ;) (do_statement "do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);" do (compound_statement "{\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      }" { (expression_statement "piVar3 = piVar22 + 4;" (assignment_expression "piVar3 = piVar22 + 4" identifier = (binary_expression "piVar22 + 4" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar21 + 4;" (assignment_expression "piVar7 = piVar21 + 4" identifier = (binary_expression "piVar21 + 4" identifier + number_literal)) ;) (expression_statement "iVar11 = piVar22[1];" (assignment_expression "iVar11 = piVar22[1]" identifier = (subscript_expression "piVar22[1]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = piVar22[2];" (assignment_expression "iVar8 = piVar22[2]" identifier = (subscript_expression "piVar22[2]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = piVar22[3];" (assignment_expression "iVar6 = piVar22[3]" identifier = (subscript_expression "piVar22[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar21 = *piVar22;" (assignment_expression "*piVar21 = *piVar22" (pointer_expression "*piVar21" * identifier) = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "piVar21[1] = iVar11;" (assignment_expression "piVar21[1] = iVar11" (subscript_expression "piVar21[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar21[2] = iVar8;" (assignment_expression "piVar21[2] = iVar8" (subscript_expression "piVar21[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar21[3] = iVar6;" (assignment_expression "piVar21[3] = iVar6" (subscript_expression "piVar21[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar22 = piVar3;" (assignment_expression "piVar22 = piVar3" identifier = identifier) ;) (expression_statement "piVar21 = piVar7;" (assignment_expression "piVar21 = piVar7" identifier = identifier) ;) }) while (parenthesized_expression "(piVar3 != piVar16)" ( (binary_expression "piVar3 != piVar16" identifier != identifier) )) ;) (expression_statement "iVar6 = *piVar18;" (assignment_expression "iVar6 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "iVar8 = *piVar3;" (assignment_expression "iVar8 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "*piVar7 = iVar8;" (assignment_expression "*piVar7 = iVar8" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "iVar6 = *(int *)(iVar6 + iVar17);" (assignment_expression "iVar6 = *(int *)(iVar6 + iVar17)" identifier = (pointer_expression "*(int *)(iVar6 + iVar17)" * (cast_expression "(int *)(iVar6 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar17)" ( (binary_expression "iVar6 + iVar17" identifier + identifier) ))))) ;) (if_statement "if ((*(uint *)(iVar6 + 0x10) & 4) != 0) goto LAB_0006bce0;" if (parenthesized_expression "((*(uint *)(iVar6 + 0x10) & 4) != 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x10) & 4) != 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x10) & 4)" ( (binary_expression "*(uint *)(iVar6 + 0x10) & 4" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0006bce0;" goto statement_identifier ;)) }) (else_clause "else {\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }" else (compound_statement "{\n      iVar6 = *(int *)(*piVar18 + iVar17);\n      piVar2 = *(int **)(iVar6 + 4);\n      piVar22 = piVar2;\n      do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);\n      *(undefined4 *)(iVar6 + 0xc) = 1;\n      puVar12 = PTR_killpg_00146474;\n      if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);\n      piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);\n      piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);\n      piVar22 = piVar2;\n      piVar21 = piVar15;\n      do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);\n      iVar6 = *piVar18;\n      *piVar7 = *piVar3;\n      iVar6 = *(int *)(iVar6 + iVar17);\n      if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }\n      puVar12 = PTR_killpg_00146474;\n      iVar8 = 0x19;\n      iVar17 = *(int *)(iVar25 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));\n    }" { (expression_statement "iVar6 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar6 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar2 = *(int **)(iVar6 + 4);" (assignment_expression "piVar2 = *(int **)(iVar6 + 4)" identifier = (pointer_expression "*(int **)(iVar6 + 4)" * (cast_expression "(int **)(iVar6 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar22 = piVar2;" (assignment_expression "piVar22 = piVar2" identifier = identifier) ;) (do_statement "do {\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      } while (piVar2 != piVar22);" do (compound_statement "{\n        if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }\n        piVar22 = (int *)*piVar22;\n      }" { (if_statement "if (*(char *)((int)piVar22 + 0xb) == '\x7f') {\n          piVar22[3] = 1;\n        }" if (parenthesized_expression "(*(char *)((int)piVar22 + 0xb) == '\x7f')" ( (binary_expression "*(char *)((int)piVar22 + 0xb) == '\x7f'" (pointer_expression "*(char *)((int)piVar22 + 0xb)" * (cast_expression "(char *)((int)piVar22 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar22 + 0xb)" ( (binary_expression "(int)piVar22 + 0xb" (cast_expression "(int)piVar22" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\x7f'" ' escape_sequence ')) )) (compound_statement "{\n          piVar22[3] = 1;\n        }" { (expression_statement "piVar22[3] = 1;" (assignment_expression "piVar22[3] = 1" (subscript_expression "piVar22[3]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "piVar22 = (int *)*piVar22;" (assignment_expression "piVar22 = (int *)*piVar22" identifier = (cast_expression "(int *)*piVar22" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar22" * identifier))) ;) }) while (parenthesized_expression "(piVar2 != piVar22)" ( (binary_expression "piVar2 != piVar22" identifier != identifier) )) ;) (expression_statement "*(undefined4 *)(iVar6 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar6 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar6 + 0xc)" * (cast_expression "(undefined4 *)(iVar6 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar12 = PTR_killpg_00146474;" (assignment_expression "puVar12 = PTR_killpg_00146474" identifier = identifier) ;) (if_statement "if (foreground == 0) {\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }" if (parenthesized_expression "(foreground == 0)" ( (binary_expression "foreground == 0" identifier == number_literal) )) (compound_statement "{\n        *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);\nLAB_0006b9c8:\n        reset_current();\n        goto LAB_0006b9dc;\n      }" { (expression_statement "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2;" (assignment_expression "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) & 0xfffffffe | 2" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0x10) & 0xfffffffe | 2" (binary_expression "*(uint *)(iVar6 + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "(*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19);" (call_expression "(*(code *)puVar12)(*(undefined4 *)(iVar6 + 8),0x19)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar6 + 8),0x19)" ( (pointer_expression "*(undefined4 *)(iVar6 + 8)" * (cast_expression "(undefined4 *)(iVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) , number_literal ))) ;) (labeled_statement "LAB_0006b9c8:\n        reset_current();" statement_identifier : (expression_statement "reset_current();" (call_expression "reset_current()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_0006b9dc;" goto statement_identifier ;) })) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "piVar2 = (int *)(PTR___environ_00145154 + -0x70d0)" identifier = (cast_expression "(int *)(PTR___environ_00145154 + -0x70d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" ( (binary_expression "PTR___environ_00145154 + -0x70d0" identifier + number_literal) )))) ;) (expression_statement "piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "piVar15 = (int *)(PTR_data_start_00144568 + 0x7ee8)" identifier = (cast_expression "(int *)(PTR_data_start_00144568 + 0x7ee8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" ( (binary_expression "PTR_data_start_00144568 + 0x7ee8" identifier + number_literal) )))) ;) (expression_statement "piVar16 = (int *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "piVar16 = (int *)(PTR___environ_00145154 + -0x70a0)" identifier = (cast_expression "(int *)(PTR___environ_00145154 + -0x70a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" ( (binary_expression "PTR___environ_00145154 + -0x70a0" identifier + number_literal) )))) ;) (expression_statement "piVar22 = piVar2;" (assignment_expression "piVar22 = piVar2" identifier = identifier) ;) (expression_statement "piVar21 = piVar15;" (assignment_expression "piVar21 = piVar15" identifier = identifier) ;) (do_statement "do {\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      } while (piVar3 != piVar16);" do (compound_statement "{\n        piVar3 = piVar22 + 4;\n        piVar7 = piVar21 + 4;\n        iVar11 = piVar22[1];\n        iVar8 = piVar22[2];\n        iVar6 = piVar22[3];\n        *piVar21 = *piVar22;\n        piVar21[1] = iVar11;\n        piVar21[2] = iVar8;\n        piVar21[3] = iVar6;\n        piVar22 = piVar3;\n        piVar21 = piVar7;\n      }" { (expression_statement "piVar3 = piVar22 + 4;" (assignment_expression "piVar3 = piVar22 + 4" identifier = (binary_expression "piVar22 + 4" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar21 + 4;" (assignment_expression "piVar7 = piVar21 + 4" identifier = (binary_expression "piVar21 + 4" identifier + number_literal)) ;) (expression_statement "iVar11 = piVar22[1];" (assignment_expression "iVar11 = piVar22[1]" identifier = (subscript_expression "piVar22[1]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = piVar22[2];" (assignment_expression "iVar8 = piVar22[2]" identifier = (subscript_expression "piVar22[2]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = piVar22[3];" (assignment_expression "iVar6 = piVar22[3]" identifier = (subscript_expression "piVar22[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar21 = *piVar22;" (assignment_expression "*piVar21 = *piVar22" (pointer_expression "*piVar21" * identifier) = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "piVar21[1] = iVar11;" (assignment_expression "piVar21[1] = iVar11" (subscript_expression "piVar21[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar21[2] = iVar8;" (assignment_expression "piVar21[2] = iVar8" (subscript_expression "piVar21[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar21[3] = iVar6;" (assignment_expression "piVar21[3] = iVar6" (subscript_expression "piVar21[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar22 = piVar3;" (assignment_expression "piVar22 = piVar3" identifier = identifier) ;) (expression_statement "piVar21 = piVar7;" (assignment_expression "piVar21 = piVar7" identifier = identifier) ;) }) while (parenthesized_expression "(piVar3 != piVar16)" ( (binary_expression "piVar3 != piVar16" identifier != identifier) )) ;) (expression_statement "iVar6 = *piVar18;" (assignment_expression "iVar6 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "*piVar7 = *piVar3;" (assignment_expression "*piVar7 = *piVar3" (pointer_expression "*piVar7" * identifier) = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "iVar6 = *(int *)(iVar6 + iVar17);" (assignment_expression "iVar6 = *(int *)(iVar6 + iVar17)" identifier = (pointer_expression "*(int *)(iVar6 + iVar17)" * (cast_expression "(int *)(iVar6 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar17)" ( (binary_expression "iVar6 + iVar17" identifier + identifier) ))))) ;) (if_statement "if ((*(uint *)(iVar6 + 0x10) & 4) == 0) {\n        iVar25 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }" if (parenthesized_expression "((*(uint *)(iVar6 + 0x10) & 4) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x10) & 4)" ( (binary_expression "*(uint *)(iVar6 + 0x10) & 4" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar25 = *piVar18;\n      }" { (expression_statement "iVar25 = *piVar18;" (assignment_expression "iVar25 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }) (else_clause "else {\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }" else (compound_statement "{\nLAB_0006bce0:\n        iVar8 = 0;\n        give_terminal_to(*(pid_t *)(iVar6 + 8),0);\n        if (iVar25 == 1) goto LAB_0006bbc8;\n        iVar25 = *piVar18;\n      }" { (labeled_statement "LAB_0006bce0:\n        iVar8 = 0;" statement_identifier : (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;)) (expression_statement "give_terminal_to(*(pid_t *)(iVar6 + 8),0);" (call_expression "give_terminal_to(*(pid_t *)(iVar6 + 8),0)" identifier (argument_list "(*(pid_t *)(iVar6 + 8),0)" ( (pointer_expression "*(pid_t *)(iVar6 + 8)" * (cast_expression "(pid_t *)(iVar6 + 8)" ( (type_descriptor "pid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) , number_literal ))) ;) (if_statement "if (iVar25 == 1) goto LAB_0006bbc8;" if (parenthesized_expression "(iVar25 == 1)" ( (binary_expression "iVar25 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0006bbc8;" goto statement_identifier ;)) (expression_statement "iVar25 = *piVar18;" (assignment_expression "iVar25 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }))) (expression_statement "puVar12 = PTR_killpg_00146474;" (assignment_expression "puVar12 = PTR_killpg_00146474" identifier = identifier) ;) (expression_statement "iVar8 = 0x19;" (assignment_expression "iVar8 = 0x19" identifier = number_literal) ;) (expression_statement "iVar17 = *(int *)(iVar25 + iVar17);" (assignment_expression "iVar17 = *(int *)(iVar25 + iVar17)" identifier = (pointer_expression "*(int *)(iVar25 + iVar17)" * (cast_expression "(int *)(iVar25 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + iVar17)" ( (binary_expression "iVar25 + iVar17" identifier + identifier) ))))) ;) (expression_statement "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;" (assignment_expression "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" * (cast_expression "(uint *)(iVar17 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 0x10)" ( (binary_expression "iVar17 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" * (cast_expression "(uint *)(iVar17 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 0x10)" ( (binary_expression "iVar17 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "(*(code *)puVar12)(*(undefined4 *)(iVar17 + 8));" (call_expression "(*(code *)puVar12)(*(undefined4 *)(iVar17 + 8))" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar17 + 8))" ( (pointer_expression "*(undefined4 *)(iVar17 + 8)" * (cast_expression "(undefined4 *)(iVar17 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 8)" ( (binary_expression "iVar17 + 8" identifier + number_literal) )))) ))) ;) }))) (labeled_statement "LAB_0006bbc8:\n    pPVar4 = find_last_proc(job,iVar8);" statement_identifier : (expression_statement "pPVar4 = find_last_proc(job,iVar8);" (assignment_expression "pPVar4 = find_last_proc(job,iVar8)" identifier = (call_expression "find_last_proc(job,iVar8)" identifier (argument_list "(job,iVar8)" ( identifier , identifier )))) ;)) (expression_statement "pid = pPVar4->pid;" (assignment_expression "pid = pPVar4->pid" identifier = (field_expression "pPVar4->pid" identifier -> field_identifier)) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,&oset,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,&oset,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,&oset,0)" ( number_literal , (pointer_expression "&oset" & identifier) , number_literal ))) ;) (expression_statement "iVar17 = wait_for(pid);" (assignment_expression "iVar17 = wait_for(pid)" identifier = (call_expression "wait_for(pid)" identifier (argument_list "(pid)" ( identifier )))) ;) (expression_statement "piVar22 = piVar15;" (assignment_expression "piVar22 = piVar15" identifier = identifier) ;) (do_statement "do {\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    } while (piVar16 != piVar15 + 0xc);" do (compound_statement "{\n      piVar16 = piVar22 + 4;\n      piVar21 = piVar2 + 4;\n      iVar8 = piVar22[1];\n      iVar6 = piVar22[2];\n      iVar25 = piVar22[3];\n      *piVar2 = *piVar22;\n      piVar2[1] = iVar8;\n      piVar2[2] = iVar6;\n      piVar2[3] = iVar25;\n      piVar2 = piVar21;\n      piVar22 = piVar16;\n    }" { (expression_statement "piVar16 = piVar22 + 4;" (assignment_expression "piVar16 = piVar22 + 4" identifier = (binary_expression "piVar22 + 4" identifier + number_literal)) ;) (expression_statement "piVar21 = piVar2 + 4;" (assignment_expression "piVar21 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) (expression_statement "iVar8 = piVar22[1];" (assignment_expression "iVar8 = piVar22[1]" identifier = (subscript_expression "piVar22[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = piVar22[2];" (assignment_expression "iVar6 = piVar22[2]" identifier = (subscript_expression "piVar22[2]" identifier [ number_literal ])) ;) (expression_statement "iVar25 = piVar22[3];" (assignment_expression "iVar25 = piVar22[3]" identifier = (subscript_expression "piVar22[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar2 = *piVar22;" (assignment_expression "*piVar2 = *piVar22" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "piVar2[1] = iVar8;" (assignment_expression "piVar2[1] = iVar8" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[2] = iVar6;" (assignment_expression "piVar2[2] = iVar6" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[3] = iVar25;" (assignment_expression "piVar2[3] = iVar25" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2 = piVar21;" (assignment_expression "piVar2 = piVar21" identifier = identifier) ;) (expression_statement "piVar22 = piVar16;" (assignment_expression "piVar22 = piVar16" identifier = identifier) ;) }) while (parenthesized_expression "(piVar16 != piVar15 + 0xc)" ( (binary_expression "piVar16 != piVar15 + 0xc" identifier != (binary_expression "piVar15 + 0xc" identifier + number_literal)) )) ;) (expression_statement "*piVar21 = *piVar16;" (assignment_expression "*piVar21 = *piVar16" (pointer_expression "*piVar21" * identifier) = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "set_tty_state();" (call_expression "set_tty_state()" identifier (argument_list "()" ( ))) ;) }))))) (if_statement "if (iVar1 == *(int *)puVar23) {\n    return iVar17;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar23)" ( (binary_expression "iVar1 == *(int *)puVar23" identifier == (pointer_expression "*(int *)puVar23" * (cast_expression "(int *)puVar23" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar17;\n  }" { (return_statement "return iVar17;" return identifier ;) })) (expression_statement "puVar23 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar23 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar22 = *(int **)(puVar23 + 0xd8b10);" (assignment_expression "piVar22 = *(int **)(puVar23 + 0xd8b10)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd8b10)" * (cast_expression "(int **)(puVar23 + 0xd8b10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8b10)" ( (binary_expression "puVar23 + 0xd8b10" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = (**(code **)(puVar23 + 0xda6dc))();" (assignment_expression "iVar17 = (**(code **)(puVar23 + 0xda6dc))()" identifier = (call_expression "(**(code **)(puVar23 + 0xda6dc))()" (parenthesized_expression "(**(code **)(puVar23 + 0xda6dc))" ( (pointer_expression "**(code **)(puVar23 + 0xda6dc)" * (pointer_expression "*(code **)(puVar23 + 0xda6dc)" * (cast_expression "(code **)(puVar23 + 0xda6dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda6dc)" ( (binary_expression "puVar23 + 0xda6dc" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "*piVar22 = iVar17;" (assignment_expression "*piVar22 = iVar17" (pointer_expression "*piVar22" * identifier) = identifier) ;) (if_statement "if (iVar17 == -1) {\n    pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5);\n    sys_error(pcVar5);\n    (**(code **)(puVar23 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *(undefined4 *)foreground;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);\n    iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14);\n    *piVar18 = iVar1;\n    if (iVar1 != -1) goto LAB_0006bf80;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar1 = *piVar18;\n  }\n  else {\n    job = *(int *)(puVar23 + 0xd87f4);\n    foreground = *(int *)(puVar23 + 0xda77c);\n    uVar14 = *(undefined4 *)foreground;\n    if (iVar1 == 0 && *(int *)job == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar23 + 0xd93fc);\n    iVar1 = **(int **)(puVar23 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar1 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar23 + 0xda58c))();\n    iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);\n    if (iVar1 == 0) {\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }\n    else {\n      iVar1 = *piVar18;\n    }\n    if (iVar1 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);\n    *piVar18 = iVar1;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar1 = (*pcVar24)();\n    pcVar24 = *(code **)(puVar23 + 0xda4fc);\n    *piVar22 = iVar1;\n    (*pcVar24)(0,iVar1);\n    iVar1 = *piVar18;\n    if (iVar1 != -1) {\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }\n  }" if (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) (compound_statement "{\n    pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5);\n    sys_error(pcVar5);\n    (**(code **)(puVar23 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *(undefined4 *)foreground;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);\n    iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14);\n    *piVar18 = iVar1;\n    if (iVar1 != -1) goto LAB_0006bf80;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar1 = *piVar18;\n  }" { (expression_statement "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5);" (assignment_expression "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5)" identifier = (cast_expression "(char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5)" (parenthesized_expression "(**(code **)(puVar23 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar23 + 0xda6fc)" * (pointer_expression "*(code **)(puVar23 + 0xda6fc)" * (cast_expression "(code **)(puVar23 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda6fc)" ( (binary_expression "puVar23 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar23 + 0xd87dc) + 0x7dec,5)" ( number_literal , (binary_expression "*(int *)(puVar23 + 0xd87dc) + 0x7dec" (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal ))))) ;) (expression_statement "sys_error(pcVar5);" (call_expression "sys_error(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar23 + 0xda620))(1);" (call_expression "(**(code **)(puVar23 + 0xda620))(1)" (parenthesized_expression "(**(code **)(puVar23 + 0xda620))" ( (pointer_expression "**(code **)(puVar23 + 0xda620)" * (pointer_expression "*(code **)(puVar23 + 0xda620)" * (cast_expression "(code **)(puVar23 + 0xda620)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda620)" ( (binary_expression "puVar23 + 0xda620" identifier + number_literal) ))))) )) (argument_list "(1)" ( number_literal ))) ;) (labeled_statement "LAB_0006c3c8:\n    uVar14 = *(undefined4 *)foreground;" statement_identifier : (expression_statement "uVar14 = *(undefined4 *)foreground;" (assignment_expression "uVar14 = *(undefined4 *)foreground" identifier = (pointer_expression "*(undefined4 *)foreground" * (cast_expression "(undefined4 *)foreground" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;)) (labeled_statement "LAB_0006be24:\n    uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);" statement_identifier : (expression_statement "uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14);" (assignment_expression "uVar14 = (**(code **)(puVar23 + 0xda58c))(uVar14)" identifier = (call_expression "(**(code **)(puVar23 + 0xda58c))(uVar14)" (parenthesized_expression "(**(code **)(puVar23 + 0xda58c))" ( (pointer_expression "**(code **)(puVar23 + 0xda58c)" * (pointer_expression "*(code **)(puVar23 + 0xda58c)" * (cast_expression "(code **)(puVar23 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda58c)" ( (binary_expression "puVar23 + 0xda58c" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;)) (expression_statement "iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14);" (assignment_expression "iVar1 = (**(code **)(puVar23 + 0xda780))(uVar14)" identifier = (call_expression "(**(code **)(puVar23 + 0xda780))(uVar14)" (parenthesized_expression "(**(code **)(puVar23 + 0xda780))" ( (pointer_expression "**(code **)(puVar23 + 0xda780)" * (pointer_expression "*(code **)(puVar23 + 0xda780)" * (cast_expression "(code **)(puVar23 + 0xda780)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda780)" ( (binary_expression "puVar23 + 0xda780" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "*piVar18 = iVar1;" (assignment_expression "*piVar18 = iVar1" (pointer_expression "*piVar18" * identifier) = identifier) ;) (if_statement "if (iVar1 != -1) goto LAB_0006bf80;" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (goto_statement "goto LAB_0006bf80;" goto statement_identifier ;)) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda670);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda670)" * (cast_expression "(code **)(puVar23 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda670)" ( (binary_expression "puVar23 + 0xda670" identifier + number_literal) ))))) ;) (if_statement "if (*piVar22 == 0) goto LAB_0006bf08;" if (parenthesized_expression "(*piVar22 == 0)" ( (binary_expression "*piVar22 == 0" (pointer_expression "*piVar22" * identifier) == number_literal) )) (goto_statement "goto LAB_0006bf08;" goto statement_identifier ;)) (labeled_statement "LAB_0006be5c:\n    iVar1 = *piVar18;" statement_identifier : (expression_statement "iVar1 = *piVar18;" (assignment_expression "iVar1 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;)) }) (else_clause "else {\n    job = *(int *)(puVar23 + 0xd87f4);\n    foreground = *(int *)(puVar23 + 0xda77c);\n    uVar14 = *(undefined4 *)foreground;\n    if (iVar1 == 0 && *(int *)job == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar23 + 0xd93fc);\n    iVar1 = **(int **)(puVar23 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar1 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar23 + 0xda58c))();\n    iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);\n    if (iVar1 == 0) {\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }\n    else {\n      iVar1 = *piVar18;\n    }\n    if (iVar1 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);\n    *piVar18 = iVar1;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar1 = (*pcVar24)();\n    pcVar24 = *(code **)(puVar23 + 0xda4fc);\n    *piVar22 = iVar1;\n    (*pcVar24)(0,iVar1);\n    iVar1 = *piVar18;\n    if (iVar1 != -1) {\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }\n  }" else (compound_statement "{\n    job = *(int *)(puVar23 + 0xd87f4);\n    foreground = *(int *)(puVar23 + 0xda77c);\n    uVar14 = *(undefined4 *)foreground;\n    if (iVar1 == 0 && *(int *)job == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar23 + 0xd93fc);\n    iVar1 = **(int **)(puVar23 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar1 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar23 + 0xda58c))();\n    iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);\n    if (iVar1 == 0) {\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }\n    else {\n      iVar1 = *piVar18;\n    }\n    if (iVar1 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);\n    *piVar18 = iVar1;\n    pcVar24 = *(code **)(puVar23 + 0xda670);\n    if (*piVar22 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar1 = (*pcVar24)();\n    pcVar24 = *(code **)(puVar23 + 0xda4fc);\n    *piVar22 = iVar1;\n    (*pcVar24)(0,iVar1);\n    iVar1 = *piVar18;\n    if (iVar1 != -1) {\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }\n  }" { (expression_statement "job = *(int *)(puVar23 + 0xd87f4);" (assignment_expression "job = *(int *)(puVar23 + 0xd87f4)" identifier = (pointer_expression "*(int *)(puVar23 + 0xd87f4)" * (cast_expression "(int *)(puVar23 + 0xd87f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87f4)" ( (binary_expression "puVar23 + 0xd87f4" identifier + number_literal) ))))) ;) (expression_statement "foreground = *(int *)(puVar23 + 0xda77c);" (assignment_expression "foreground = *(int *)(puVar23 + 0xda77c)" identifier = (pointer_expression "*(int *)(puVar23 + 0xda77c)" * (cast_expression "(int *)(puVar23 + 0xda77c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xda77c)" ( (binary_expression "puVar23 + 0xda77c" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(undefined4 *)foreground;" (assignment_expression "uVar14 = *(undefined4 *)foreground" identifier = (pointer_expression "*(undefined4 *)foreground" * (cast_expression "(undefined4 *)foreground" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar1 == 0 && *(int *)job == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(iVar1 == 0 && *(int *)job == 0)" ( (binary_expression "iVar1 == 0 && *(int *)job == 0" (binary_expression "iVar1 == 0" identifier == number_literal) && (binary_expression "*(int *)job == 0" (pointer_expression "*(int *)job" * (cast_expression "(int *)job" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal)) )) (compound_statement "{\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      puVar9 = *(undefined4 **)(puVar23 + 0xd9070);\n      pcVar24 = *(code **)(puVar23 + 0xda58c);\n      piVar18 = *(int **)(puVar23 + 0xd93fc);\n      *piVar2 = 0;\n      *puVar9 = 0xffffffff;\n      iVar1 = (*pcVar24)(uVar14);\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      *piVar18 = iVar1;\n      iVar1 = (*pcVar24)(iVar1);\n      iVar17 = *piVar22;\n      **(int **)(puVar23 + 0xd9434) = iVar1;\n      goto LAB_0006bff4;\n    }" { (expression_statement "piVar2 = *(int **)(puVar23 + 0xd8b0c);" (assignment_expression "piVar2 = *(int **)(puVar23 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd8b0c)" * (cast_expression "(int **)(puVar23 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8b0c)" ( (binary_expression "puVar23 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = *(undefined4 **)(puVar23 + 0xd9070);" (assignment_expression "puVar9 = *(undefined4 **)(puVar23 + 0xd9070)" identifier = (pointer_expression "*(undefined4 **)(puVar23 + 0xd9070)" * (cast_expression "(undefined4 **)(puVar23 + 0xd9070)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd9070)" ( (binary_expression "puVar23 + 0xd9070" identifier + number_literal) ))))) ;) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda58c);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda58c)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda58c)" * (cast_expression "(code **)(puVar23 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda58c)" ( (binary_expression "puVar23 + 0xda58c" identifier + number_literal) ))))) ;) (expression_statement "piVar18 = *(int **)(puVar23 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar23 + 0xd93fc)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd93fc)" * (cast_expression "(int **)(puVar23 + 0xd93fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd93fc)" ( (binary_expression "puVar23 + 0xd93fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "*puVar9 = 0xffffffff;" (assignment_expression "*puVar9 = 0xffffffff" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "iVar1 = (*pcVar24)(uVar14);" (assignment_expression "iVar1 = (*pcVar24)(uVar14)" identifier = (call_expression "(*pcVar24)(uVar14)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda598);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda598)" * (cast_expression "(code **)(puVar23 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda598)" ( (binary_expression "puVar23 + 0xda598" identifier + number_literal) ))))) ;) (expression_statement "*piVar18 = iVar1;" (assignment_expression "*piVar18 = iVar1" (pointer_expression "*piVar18" * identifier) = identifier) ;) (expression_statement "iVar1 = (*pcVar24)(iVar1);" (assignment_expression "iVar1 = (*pcVar24)(iVar1)" identifier = (call_expression "(*pcVar24)(iVar1)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "**(int **)(puVar23 + 0xd9434) = iVar1;" (assignment_expression "**(int **)(puVar23 + 0xd9434) = iVar1" (pointer_expression "**(int **)(puVar23 + 0xd9434)" * (pointer_expression "*(int **)(puVar23 + 0xd9434)" * (cast_expression "(int **)(puVar23 + 0xd9434)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd9434)" ( (binary_expression "puVar23 + 0xd9434" identifier + number_literal) ))))) = identifier) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) (expression_statement "piVar18 = *(int **)(puVar23 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar23 + 0xd93fc)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd93fc)" * (cast_expression "(int **)(puVar23 + 0xd93fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd93fc)" ( (binary_expression "puVar23 + 0xd93fc" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = **(int **)(puVar23 + 0xd87e4);" (assignment_expression "iVar1 = **(int **)(puVar23 + 0xd87e4)" identifier = (pointer_expression "**(int **)(puVar23 + 0xd87e4)" * (pointer_expression "*(int **)(puVar23 + 0xd87e4)" * (cast_expression "(int **)(puVar23 + 0xd87e4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd87e4)" ( (binary_expression "puVar23 + 0xd87e4" identifier + number_literal) )))))) ;) (expression_statement "*piVar18 = -1;" (assignment_expression "*piVar18 = -1" (pointer_expression "*piVar18" * identifier) = number_literal) ;) (if_statement "if (iVar1 == 0) goto LAB_0006be24;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0006be24;" goto statement_identifier ;)) (expression_statement "uVar14 = (**(code **)(puVar23 + 0xda58c))();" (assignment_expression "uVar14 = (**(code **)(puVar23 + 0xda58c))()" identifier = (call_expression "(**(code **)(puVar23 + 0xda58c))()" (parenthesized_expression "(**(code **)(puVar23 + 0xda58c))" ( (pointer_expression "**(code **)(puVar23 + 0xda58c)" * (pointer_expression "*(code **)(puVar23 + 0xda58c)" * (cast_expression "(code **)(puVar23 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda58c)" ( (binary_expression "puVar23 + 0xda58c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14);" (assignment_expression "iVar1 = (**(code **)(puVar23 + 0xda4b0))(uVar14)" identifier = (call_expression "(**(code **)(puVar23 + 0xda4b0))(uVar14)" (parenthesized_expression "(**(code **)(puVar23 + 0xda4b0))" ( (pointer_expression "**(code **)(puVar23 + 0xda4b0)" * (pointer_expression "*(code **)(puVar23 + 0xda4b0)" * (cast_expression "(code **)(puVar23 + 0xda4b0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda4b0)" ( (binary_expression "puVar23 + 0xda4b0" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }\n    else {\n      iVar1 = *piVar18;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar1;\n    }" { (expression_statement "iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82);" (assignment_expression "iVar1 = (**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82)" identifier = (call_expression "(**(code **)(puVar23 + 0xda5dc))(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82)" (parenthesized_expression "(**(code **)(puVar23 + 0xda5dc))" ( (pointer_expression "**(code **)(puVar23 + 0xda5dc)" * (pointer_expression "*(code **)(puVar23 + 0xda5dc)" * (cast_expression "(code **)(puVar23 + 0xda5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda5dc)" ( (binary_expression "puVar23 + 0xda5dc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar23 + 0xd87dc) + 0x62c0,0x82)" ( (binary_expression "*(int *)(puVar23 + 0xd87dc) + 0x62c0" (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "*piVar18 = iVar1;" (assignment_expression "*piVar18 = iVar1" (pointer_expression "*piVar18" * identifier) = identifier) ;) }) (else_clause "else {\n      iVar1 = *piVar18;\n    }" else (compound_statement "{\n      iVar1 = *piVar18;\n    }" { (expression_statement "iVar1 = *piVar18;" (assignment_expression "iVar1 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }))) (if_statement "if (iVar1 == -1) goto LAB_0006c3c8;" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0006c3c8;" goto statement_identifier ;)) (labeled_statement "LAB_0006bf80:\n    iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);" statement_identifier : (expression_statement "iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff);" (assignment_expression "iVar1 = (**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff)" identifier = (call_expression "(**(code **)(puVar23 + 0xd8a0c))(iVar1,1,0xffffffff)" (parenthesized_expression "(**(code **)(puVar23 + 0xd8a0c))" ( (pointer_expression "**(code **)(puVar23 + 0xd8a0c)" * (pointer_expression "*(code **)(puVar23 + 0xd8a0c)" * (cast_expression "(code **)(puVar23 + 0xd8a0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8a0c)" ( (binary_expression "puVar23 + 0xd8a0c" identifier + number_literal) ))))) )) (argument_list "(iVar1,1,0xffffffff)" ( identifier , number_literal , number_literal )))) ;)) (expression_statement "*piVar18 = iVar1;" (assignment_expression "*piVar18 = iVar1" (pointer_expression "*piVar18" * identifier) = identifier) ;) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda670);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda670)" * (cast_expression "(code **)(puVar23 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda670)" ( (binary_expression "puVar23 + 0xda670" identifier + number_literal) ))))) ;) (if_statement "if (*piVar22 != 0) goto LAB_0006be5c;" if (parenthesized_expression "(*piVar22 != 0)" ( (binary_expression "*piVar22 != 0" (pointer_expression "*piVar22" * identifier) != number_literal) )) (goto_statement "goto LAB_0006be5c;" goto statement_identifier ;)) (labeled_statement "LAB_0006bf08:\n    iVar1 = (*pcVar24)();" statement_identifier : (expression_statement "iVar1 = (*pcVar24)();" (assignment_expression "iVar1 = (*pcVar24)()" identifier = (call_expression "(*pcVar24)()" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "()" ( )))) ;)) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda4fc);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda4fc)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda4fc)" * (cast_expression "(code **)(puVar23 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda4fc)" ( (binary_expression "puVar23 + 0xda4fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar22 = iVar1;" (assignment_expression "*piVar22 = iVar1" (pointer_expression "*piVar22" * identifier) = identifier) ;) (expression_statement "(*pcVar24)(0,iVar1);" (call_expression "(*pcVar24)(0,iVar1)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(0,iVar1)" ( number_literal , identifier ))) ;) (expression_statement "iVar1 = *piVar18;" (assignment_expression "iVar1 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (if_statement "if (iVar1 != -1) {\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);\n      goto LAB_0006be5c;\n    }" { (expression_statement "(**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22);" (call_expression "(**(code **)(puVar23 + 0xda73c))(iVar1,*piVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0xda73c))" ( (pointer_expression "**(code **)(puVar23 + 0xda73c)" * (pointer_expression "*(code **)(puVar23 + 0xda73c)" * (cast_expression "(code **)(puVar23 + 0xda73c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda73c)" ( (binary_expression "puVar23 + 0xda73c" identifier + number_literal) ))))) )) (argument_list "(iVar1,*piVar22)" ( identifier , (pointer_expression "*piVar22" * identifier) ))) ;) (goto_statement "goto LAB_0006be5c;" goto statement_identifier ;) })) }))) (expression_statement "iVar17 = 0x12;" (assignment_expression "iVar17 = 0x12" identifier = number_literal) ;) (expression_statement "piVar21 = *(int **)(puVar23 + 0xd9434);" (assignment_expression "piVar21 = *(int **)(puVar23 + 0xd9434)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd9434)" * (cast_expression "(int **)(puVar23 + 0xd9434)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd9434)" ( (binary_expression "puVar23 + 0xd9434" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(puVar23 + 0xd8a98);" (assignment_expression "piVar2 = *(int **)(puVar23 + 0xd8a98)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd8a98)" * (cast_expression "(int **)(puVar23 + 0xd8a98)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8a98)" ( (binary_expression "puVar23 + 0xd8a98" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n    iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1);\n    *piVar21 = iVar1;\n    if (iVar1 == -1) break;\n    if (*piVar22 == iVar1) {\n      iVar25 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    if (*piVar2 != 0) {\n      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);\n      pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    }\n    iVar17 = iVar17 + -1;\n    uVar14 = (*pcVar24)(0x1a,0);\n    (**(code **)(puVar23 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14);\n    if (iVar17 == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);\n      sys_error(pcVar5);\n      iVar1 = *piVar21;\n      iVar17 = *piVar22;\n      *piVar2 = 0;\n      **(int **)(puVar23 + 0xd9070) = iVar1;\n      goto LAB_0006bff4;\n    }\n    iVar1 = *piVar18;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1);\n    *piVar21 = iVar1;\n    if (iVar1 == -1) break;\n    if (*piVar22 == iVar1) {\n      iVar25 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    if (*piVar2 != 0) {\n      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);\n      pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    }\n    iVar17 = iVar17 + -1;\n    uVar14 = (*pcVar24)(0x1a,0);\n    (**(code **)(puVar23 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14);\n    if (iVar17 == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);\n      sys_error(pcVar5);\n      iVar1 = *piVar21;\n      iVar17 = *piVar22;\n      *piVar2 = 0;\n      **(int **)(puVar23 + 0xd9070) = iVar1;\n      goto LAB_0006bff4;\n    }\n    iVar1 = *piVar18;\n  }" { (expression_statement "iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1);" (assignment_expression "iVar1 = (**(code **)(puVar23 + 0xda598))(iVar1)" identifier = (call_expression "(**(code **)(puVar23 + 0xda598))(iVar1)" (parenthesized_expression "(**(code **)(puVar23 + 0xda598))" ( (pointer_expression "**(code **)(puVar23 + 0xda598)" * (pointer_expression "*(code **)(puVar23 + 0xda598)" * (cast_expression "(code **)(puVar23 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda598)" ( (binary_expression "puVar23 + 0xda598" identifier + number_literal) ))))) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "*piVar21 = iVar1;" (assignment_expression "*piVar21 = iVar1" (pointer_expression "*piVar21" * identifier) = identifier) ;) (if_statement "if (iVar1 == -1) break;" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (*piVar22 == iVar1) {\n      iVar25 = -1;\n      goto LAB_0006c118;\n    }" if (parenthesized_expression "(*piVar22 == iVar1)" ( (binary_expression "*piVar22 == iVar1" (pointer_expression "*piVar22" * identifier) == identifier) )) (compound_statement "{\n      iVar25 = -1;\n      goto LAB_0006c118;\n    }" { (expression_statement "iVar25 = -1;" (assignment_expression "iVar25 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0006c118;" goto statement_identifier ;) })) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xd8aac);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xd8aac)" identifier = (pointer_expression "*(code **)(puVar23 + 0xd8aac)" * (cast_expression "(code **)(puVar23 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8aac)" ( (binary_expression "puVar23 + 0xd8aac" identifier + number_literal) ))))) ;) (if_statement "if (*piVar2 != 0) {\n      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);\n      pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar23 + 0xd8a9c))(*piVar2);\n      pcVar24 = *(code **)(puVar23 + 0xd8aac);\n    }" { (expression_statement "(**(code **)(puVar23 + 0xd8a9c))(*piVar2);" (call_expression "(**(code **)(puVar23 + 0xd8a9c))(*piVar2)" (parenthesized_expression "(**(code **)(puVar23 + 0xd8a9c))" ( (pointer_expression "**(code **)(puVar23 + 0xd8a9c)" * (pointer_expression "*(code **)(puVar23 + 0xd8a9c)" * (cast_expression "(code **)(puVar23 + 0xd8a9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8a9c)" ( (binary_expression "puVar23 + 0xd8a9c" identifier + number_literal) ))))) )) (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) ))) ;) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xd8aac);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xd8aac)" identifier = (pointer_expression "*(code **)(puVar23 + 0xd8aac)" * (cast_expression "(code **)(puVar23 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8aac)" ( (binary_expression "puVar23 + 0xd8aac" identifier + number_literal) ))))) ;) })) (expression_statement "iVar17 = iVar17 + -1;" (assignment_expression "iVar17 = iVar17 + -1" identifier = (binary_expression "iVar17 + -1" identifier + number_literal)) ;) (expression_statement "uVar14 = (*pcVar24)(0x1a,0);" (assignment_expression "uVar14 = (*pcVar24)(0x1a,0)" identifier = (call_expression "(*pcVar24)(0x1a,0)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(0x1a,0)" ( number_literal , number_literal )))) ;) (expression_statement "(**(code **)(puVar23 + 0xda61c))(0,0x1a);" (call_expression "(**(code **)(puVar23 + 0xda61c))(0,0x1a)" (parenthesized_expression "(**(code **)(puVar23 + 0xda61c))" ( (pointer_expression "**(code **)(puVar23 + 0xda61c)" * (pointer_expression "*(code **)(puVar23 + 0xda61c)" * (cast_expression "(code **)(puVar23 + 0xda61c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda61c)" ( (binary_expression "puVar23 + 0xda61c" identifier + number_literal) ))))) )) (argument_list "(0,0x1a)" ( number_literal , number_literal ))) ;) (expression_statement "(**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14);" (call_expression "(**(code **)(puVar23 + 0xd8aac))(0x1a,uVar14)" (parenthesized_expression "(**(code **)(puVar23 + 0xd8aac))" ( (pointer_expression "**(code **)(puVar23 + 0xd8aac)" * (pointer_expression "*(code **)(puVar23 + 0xd8aac)" * (cast_expression "(code **)(puVar23 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8aac)" ( (binary_expression "puVar23 + 0xd8aac" identifier + number_literal) ))))) )) (argument_list "(0x1a,uVar14)" ( number_literal , identifier ))) ;) (if_statement "if (iVar17 == 0) {\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);\n      sys_error(pcVar5);\n      iVar1 = *piVar21;\n      iVar17 = *piVar22;\n      *piVar2 = 0;\n      **(int **)(puVar23 + 0xd9070) = iVar1;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar2 = *(int **)(puVar23 + 0xd8b0c);\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);\n      sys_error(pcVar5);\n      iVar1 = *piVar21;\n      iVar17 = *piVar22;\n      *piVar2 = 0;\n      **(int **)(puVar23 + 0xd9070) = iVar1;\n      goto LAB_0006bff4;\n    }" { (expression_statement "piVar2 = *(int **)(puVar23 + 0xd8b0c);" (assignment_expression "piVar2 = *(int **)(puVar23 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd8b0c)" * (cast_expression "(int **)(puVar23 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8b0c)" ( (binary_expression "puVar23 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5);" (assignment_expression "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5)" identifier = (cast_expression "(char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5)" (parenthesized_expression "(**(code **)(puVar23 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar23 + 0xda6fc)" * (pointer_expression "*(code **)(puVar23 + 0xda6fc)" * (cast_expression "(code **)(puVar23 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda6fc)" ( (binary_expression "puVar23 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar23 + 0xd87dc) + 0x7e14,5)" ( number_literal , (binary_expression "*(int *)(puVar23 + 0xd87dc) + 0x7e14" (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal ))))) ;) (expression_statement "sys_error(pcVar5);" (call_expression "sys_error(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "iVar1 = *piVar21;" (assignment_expression "iVar1 = *piVar21" identifier = (pointer_expression "*piVar21" * identifier)) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "**(int **)(puVar23 + 0xd9070) = iVar1;" (assignment_expression "**(int **)(puVar23 + 0xd9070) = iVar1" (pointer_expression "**(int **)(puVar23 + 0xd9070)" * (pointer_expression "*(int **)(puVar23 + 0xd9070)" * (cast_expression "(int **)(puVar23 + 0xd9070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd9070)" ( (binary_expression "puVar23 + 0xd9070" identifier + number_literal) ))))) = identifier) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) (expression_statement "iVar1 = *piVar18;" (assignment_expression "iVar1 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) })) (expression_statement "piVar2 = (int *)(**(code **)(puVar23 + 0xda5a0))();" (assignment_expression "piVar2 = (int *)(**(code **)(puVar23 + 0xda5a0))()" identifier = (cast_expression "(int *)(**(code **)(puVar23 + 0xda5a0))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar23 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar23 + 0xda5a0)" * (pointer_expression "*(code **)(puVar23 + 0xda5a0)" * (cast_expression "(code **)(puVar23 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda5a0)" ( (binary_expression "puVar23 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar25 = *piVar2;" (assignment_expression "iVar25 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar1 = *piVar22;" (assignment_expression "iVar1 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (labeled_statement "LAB_0006c118:\n  piVar16 = *(int **)(puVar23 + 0xd9070);" statement_identifier : (expression_statement "piVar16 = *(int **)(puVar23 + 0xd9070);" (assignment_expression "piVar16 = *(int **)(puVar23 + 0xd9070)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd9070)" * (cast_expression "(int **)(puVar23 + 0xd9070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd9070)" ( (binary_expression "puVar23 + 0xd9070" identifier + number_literal) ))))) ;)) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda670);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda670)" * (cast_expression "(code **)(puVar23 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda670)" ( (binary_expression "puVar23 + 0xda670" identifier + number_literal) ))))) ;) (expression_statement "*piVar16 = iVar1;" (assignment_expression "*piVar16 = iVar1" (pointer_expression "*piVar16" * identifier) = identifier) ;) (expression_statement "iVar1 = (*pcVar24)();" (assignment_expression "iVar1 = (*pcVar24)()" identifier = (call_expression "(*pcVar24)()" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "iVar17 = *piVar16;" (assignment_expression "iVar17 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*piVar22 = iVar1;" (assignment_expression "*piVar22 = iVar1" (pointer_expression "*piVar22" * identifier) = identifier) ;) (if_statement "if (iVar1 == iVar17) {\nLAB_0006c138:\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    *piVar2 = 1;\nLAB_0006c144:\n    pcVar24 = *(code **)(puVar23 + 0xda598);\nLAB_0006c148:\n    iVar17 = (*pcVar24)(*piVar18);\n    if ((iVar17 == -1) || (*piVar22 != iVar17)) {\n      if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);\n      sys_error(pcVar5,iVar17);\n      *piVar2 = 0;\n      goto LAB_0006c230;\n    }\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n    if (*piVar2 != 0) {\n      iVar1 = *piVar21;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);\n    if (iVar1 < 0) {\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    iVar17 = *piVar22;\n    iVar1 = *piVar16;\n    *piVar2 = 1;\n    if (iVar17 == iVar1) goto LAB_0006c144;\n    pcVar24 = *(code **)(puVar23 + 0xda598);\n    if (*piVar21 == iVar17) goto LAB_0006c148;\n    iVar1 = give_terminal_to(iVar17,0);\n    if (iVar1 < 0) {\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n  }" if (parenthesized_expression "(iVar1 == iVar17)" ( (binary_expression "iVar1 == iVar17" identifier == identifier) )) (compound_statement "{\nLAB_0006c138:\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    *piVar2 = 1;\nLAB_0006c144:\n    pcVar24 = *(code **)(puVar23 + 0xda598);\nLAB_0006c148:\n    iVar17 = (*pcVar24)(*piVar18);\n    if ((iVar17 == -1) || (*piVar22 != iVar17)) {\n      if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);\n      sys_error(pcVar5,iVar17);\n      *piVar2 = 0;\n      goto LAB_0006c230;\n    }\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n    if (*piVar2 != 0) {\n      iVar1 = *piVar21;\n      goto LAB_0006bff4;\n    }\n  }" { (labeled_statement "LAB_0006c138:\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);" statement_identifier : (expression_statement "piVar2 = *(int **)(puVar23 + 0xd8b0c);" (assignment_expression "piVar2 = *(int **)(puVar23 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd8b0c)" * (cast_expression "(int **)(puVar23 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8b0c)" ( (binary_expression "puVar23 + 0xd8b0c" identifier + number_literal) ))))) ;)) (expression_statement "*piVar2 = 1;" (assignment_expression "*piVar2 = 1" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (labeled_statement "LAB_0006c144:\n    pcVar24 = *(code **)(puVar23 + 0xda598);" statement_identifier : (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda598);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda598)" * (cast_expression "(code **)(puVar23 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda598)" ( (binary_expression "puVar23 + 0xda598" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0006c148:\n    iVar17 = (*pcVar24)(*piVar18);" statement_identifier : (expression_statement "iVar17 = (*pcVar24)(*piVar18);" (assignment_expression "iVar17 = (*pcVar24)(*piVar18)" identifier = (call_expression "(*pcVar24)(*piVar18)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(*piVar18)" ( (pointer_expression "*piVar18" * identifier) )))) ;)) (if_statement "if ((iVar17 == -1) || (*piVar22 != iVar17)) {\n      if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);\n      sys_error(pcVar5,iVar17);\n      *piVar2 = 0;\n      goto LAB_0006c230;\n    }" if (parenthesized_expression "((iVar17 == -1) || (*piVar22 != iVar17))" ( (binary_expression "(iVar17 == -1) || (*piVar22 != iVar17)" (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) || (parenthesized_expression "(*piVar22 != iVar17)" ( (binary_expression "*piVar22 != iVar17" (pointer_expression "*piVar22" * identifier) != identifier) ))) )) (compound_statement "{\n      if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);\n      sys_error(pcVar5,iVar17);\n      *piVar2 = 0;\n      goto LAB_0006c230;\n    }" { (if_statement "if (iVar25 != -1) {\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }" if (parenthesized_expression "(iVar25 != -1)" ( (binary_expression "iVar25 != -1" identifier != number_literal) )) (compound_statement "{\n        piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();\n        *piVar16 = iVar25;\n      }" { (expression_statement "piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))();" (assignment_expression "piVar16 = (int *)(**(code **)(puVar23 + 0xda5a0))()" identifier = (cast_expression "(int *)(**(code **)(puVar23 + 0xda5a0))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar23 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar23 + 0xda5a0)" * (pointer_expression "*(code **)(puVar23 + 0xda5a0)" * (cast_expression "(code **)(puVar23 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda5a0)" ( (binary_expression "puVar23 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "*piVar16 = iVar25;" (assignment_expression "*piVar16 = iVar25" (pointer_expression "*piVar16" * identifier) = identifier) ;) })) (expression_statement "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5);" (assignment_expression "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5)" identifier = (cast_expression "(char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5)" (parenthesized_expression "(**(code **)(puVar23 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar23 + 0xda6fc)" * (pointer_expression "*(code **)(puVar23 + 0xda6fc)" * (cast_expression "(code **)(puVar23 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda6fc)" ( (binary_expression "puVar23 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar23 + 0xd87dc) + 0x7e6c,5)" ( number_literal , (binary_expression "*(int *)(puVar23 + 0xd87dc) + 0x7e6c" (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal ))))) ;) (expression_statement "sys_error(pcVar5,iVar17);" (call_expression "sys_error(pcVar5,iVar17)" identifier (argument_list "(pcVar5,iVar17)" ( identifier , identifier ))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (goto_statement "goto LAB_0006c230;" goto statement_identifier ;) })) (expression_statement "iVar1 = *(int *)(puVar23 + 0xd87dc);" (assignment_expression "iVar1 = *(int *)(puVar23 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) ))))) ;) (if_statement "if (*piVar2 != 0) {\n      iVar1 = *piVar21;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n      iVar1 = *piVar21;\n      goto LAB_0006bff4;\n    }" { (expression_statement "iVar1 = *piVar21;" (assignment_expression "iVar1 = *piVar21" identifier = (pointer_expression "*piVar21" * identifier)) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);\n    if (iVar1 < 0) {\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    iVar17 = *piVar22;\n    iVar1 = *piVar16;\n    *piVar2 = 1;\n    if (iVar17 == iVar1) goto LAB_0006c144;\n    pcVar24 = *(code **)(puVar23 + 0xda598);\n    if (*piVar21 == iVar17) goto LAB_0006c148;\n    iVar1 = give_terminal_to(iVar17,0);\n    if (iVar1 < 0) {\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n  }" else (compound_statement "{\n    iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);\n    if (iVar1 < 0) {\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar2 = *(int **)(puVar23 + 0xd8b0c);\n    iVar17 = *piVar22;\n    iVar1 = *piVar16;\n    *piVar2 = 1;\n    if (iVar17 == iVar1) goto LAB_0006c144;\n    pcVar24 = *(code **)(puVar23 + 0xda598);\n    if (*piVar21 == iVar17) goto LAB_0006c148;\n    iVar1 = give_terminal_to(iVar17,0);\n    if (iVar1 < 0) {\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar1 = *(int *)(puVar23 + 0xd87dc);\n  }" { (expression_statement "iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1);" (assignment_expression "iVar1 = (**(code **)(puVar23 + 0xda4fc))(0,iVar1)" identifier = (call_expression "(**(code **)(puVar23 + 0xda4fc))(0,iVar1)" (parenthesized_expression "(**(code **)(puVar23 + 0xda4fc))" ( (pointer_expression "**(code **)(puVar23 + 0xda4fc)" * (pointer_expression "*(code **)(puVar23 + 0xda4fc)" * (cast_expression "(code **)(puVar23 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda4fc)" ( (binary_expression "puVar23 + 0xda4fc" identifier + number_literal) ))))) )) (argument_list "(0,iVar1)" ( number_literal , identifier )))) ;) (if_statement "if (iVar1 < 0) {\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n      pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);\n      sys_error(pcVar5);\n      *piVar22 = *piVar16;\n      goto LAB_0006c138;\n    }" { (expression_statement "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5);" (assignment_expression "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5)" identifier = (cast_expression "(char *)(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda6fc))(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5)" (parenthesized_expression "(**(code **)(puVar23 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar23 + 0xda6fc)" * (pointer_expression "*(code **)(puVar23 + 0xda6fc)" * (cast_expression "(code **)(puVar23 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda6fc)" ( (binary_expression "puVar23 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar23 + 0xd87dc) + 0x7e4c,5)" ( number_literal , (binary_expression "*(int *)(puVar23 + 0xd87dc) + 0x7e4c" (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal ))))) ;) (expression_statement "sys_error(pcVar5);" (call_expression "sys_error(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "*piVar22 = *piVar16;" (assignment_expression "*piVar22 = *piVar16" (pointer_expression "*piVar22" * identifier) = (pointer_expression "*piVar16" * identifier)) ;) (goto_statement "goto LAB_0006c138;" goto statement_identifier ;) })) (expression_statement "piVar2 = *(int **)(puVar23 + 0xd8b0c);" (assignment_expression "piVar2 = *(int **)(puVar23 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd8b0c)" * (cast_expression "(int **)(puVar23 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8b0c)" ( (binary_expression "puVar23 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "iVar1 = *piVar16;" (assignment_expression "iVar1 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*piVar2 = 1;" (assignment_expression "*piVar2 = 1" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (if_statement "if (iVar17 == iVar1) goto LAB_0006c144;" if (parenthesized_expression "(iVar17 == iVar1)" ( (binary_expression "iVar17 == iVar1" identifier == identifier) )) (goto_statement "goto LAB_0006c144;" goto statement_identifier ;)) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda598);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda598)" * (cast_expression "(code **)(puVar23 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda598)" ( (binary_expression "puVar23 + 0xda598" identifier + number_literal) ))))) ;) (if_statement "if (*piVar21 == iVar17) goto LAB_0006c148;" if (parenthesized_expression "(*piVar21 == iVar17)" ( (binary_expression "*piVar21 == iVar17" (pointer_expression "*piVar21" * identifier) == identifier) )) (goto_statement "goto LAB_0006c148;" goto statement_identifier ;)) (expression_statement "iVar1 = give_terminal_to(iVar17,0);" (assignment_expression "iVar1 = give_terminal_to(iVar17,0)" identifier = (call_expression "give_terminal_to(iVar17,0)" identifier (argument_list "(iVar17,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 < 0) {\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n      puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();\n      uVar14 = *puVar9;\n      (**(code **)(puVar23 + 0xda4fc))(0,*piVar16);\n      iVar1 = *(int *)(puVar23 + 0xd87dc);\n      pcVar24 = *(code **)(puVar23 + 0xda6fc);\n      *piVar22 = *piVar16;\n      *puVar9 = uVar14;\n      pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);\n      sys_error(pcVar5,*piVar22);\n      *piVar2 = 0;\n    }" { (expression_statement "puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))();" (assignment_expression "puVar9 = (undefined4 *)(**(code **)(puVar23 + 0xda5a0))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar23 + 0xda5a0))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar23 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar23 + 0xda5a0)" * (pointer_expression "*(code **)(puVar23 + 0xda5a0)" * (cast_expression "(code **)(puVar23 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda5a0)" ( (binary_expression "puVar23 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar14 = *puVar9;" (assignment_expression "uVar14 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "(**(code **)(puVar23 + 0xda4fc))(0,*piVar16);" (call_expression "(**(code **)(puVar23 + 0xda4fc))(0,*piVar16)" (parenthesized_expression "(**(code **)(puVar23 + 0xda4fc))" ( (pointer_expression "**(code **)(puVar23 + 0xda4fc)" * (pointer_expression "*(code **)(puVar23 + 0xda4fc)" * (cast_expression "(code **)(puVar23 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda4fc)" ( (binary_expression "puVar23 + 0xda4fc" identifier + number_literal) ))))) )) (argument_list "(0,*piVar16)" ( number_literal , (pointer_expression "*piVar16" * identifier) ))) ;) (expression_statement "iVar1 = *(int *)(puVar23 + 0xd87dc);" (assignment_expression "iVar1 = *(int *)(puVar23 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) ))))) ;) (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda6fc);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda6fc)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda6fc)" * (cast_expression "(code **)(puVar23 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda6fc)" ( (binary_expression "puVar23 + 0xda6fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar22 = *piVar16;" (assignment_expression "*piVar22 = *piVar16" (pointer_expression "*piVar22" * identifier) = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*puVar9 = uVar14;" (assignment_expression "*puVar9 = uVar14" (pointer_expression "*puVar9" * identifier) = identifier) ;) (expression_statement "pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5);" (assignment_expression "pcVar5 = (char *)(*pcVar24)(0,iVar1 + 0x7e6c,5)" identifier = (cast_expression "(char *)(*pcVar24)(0,iVar1 + 0x7e6c,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar24)(0,iVar1 + 0x7e6c,5)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(0,iVar1 + 0x7e6c,5)" ( number_literal , (binary_expression "iVar1 + 0x7e6c" identifier + number_literal) , number_literal ))))) ;) (expression_statement "sys_error(pcVar5,*piVar22);" (call_expression "sys_error(pcVar5,*piVar22)" identifier (argument_list "(pcVar5,*piVar22)" ( identifier , (pointer_expression "*piVar22" * identifier) ))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) }) (else_clause "else {\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }" else (compound_statement "{\n      pcVar24 = *(code **)(puVar23 + 0xda598);\n      if (*piVar2 != 0) goto LAB_0006c148;\n    }" { (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda598);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda598)" * (cast_expression "(code **)(puVar23 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda598)" ( (binary_expression "puVar23 + 0xda598" identifier + number_literal) ))))) ;) (if_statement "if (*piVar2 != 0) goto LAB_0006c148;" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (goto_statement "goto LAB_0006c148;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0006c230:\n    iVar1 = *(int *)(puVar23 + 0xd87dc);" statement_identifier : (expression_statement "iVar1 = *(int *)(puVar23 + 0xd87dc);" (assignment_expression "iVar1 = *(int *)(puVar23 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar23 + 0xd87dc)" * (cast_expression "(int *)(puVar23 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd87dc)" ( (binary_expression "puVar23 + 0xd87dc" identifier + number_literal) ))))) ;)) }))) (expression_statement "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5);" (assignment_expression "pcVar5 = (char *)(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5)" identifier = (cast_expression "(char *)(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar23 + 0xda6fc))(0,iVar1 + 0x7e94,5)" (parenthesized_expression "(**(code **)(puVar23 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar23 + 0xda6fc)" * (pointer_expression "*(code **)(puVar23 + 0xda6fc)" * (cast_expression "(code **)(puVar23 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda6fc)" ( (binary_expression "puVar23 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,iVar1 + 0x7e94,5)" ( number_literal , (binary_expression "iVar1 + 0x7e94" identifier + number_literal) , number_literal ))))) ;) (expression_statement "internal_error(pcVar5);" (call_expression "internal_error(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "iVar1 = *piVar21;" (assignment_expression "iVar1 = *piVar21" identifier = (pointer_expression "*piVar21" * identifier)) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (labeled_statement "LAB_0006bff4:\n  pcVar24 = *(code **)(puVar23 + 0xda58c);" statement_identifier : (expression_statement "pcVar24 = *(code **)(puVar23 + 0xda58c);" (assignment_expression "pcVar24 = *(code **)(puVar23 + 0xda58c)" identifier = (pointer_expression "*(code **)(puVar23 + 0xda58c)" * (cast_expression "(code **)(puVar23 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda58c)" ( (binary_expression "puVar23 + 0xda58c" identifier + number_literal) ))))) ;)) (expression_statement "uVar14 = *(undefined4 *)foreground;" (assignment_expression "uVar14 = *(undefined4 *)foreground" identifier = (pointer_expression "*(undefined4 *)foreground" * (cast_expression "(undefined4 *)foreground" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "**(uint **)(puVar23 + 0xd8954) = (uint)(iVar17 != iVar1);" (assignment_expression "**(uint **)(puVar23 + 0xd8954) = (uint)(iVar17 != iVar1)" (pointer_expression "**(uint **)(puVar23 + 0xd8954)" * (pointer_expression "*(uint **)(puVar23 + 0xd8954)" * (cast_expression "(uint **)(puVar23 + 0xd8954)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8954)" ( (binary_expression "puVar23 + 0xd8954" identifier + number_literal) ))))) = (call_expression "(uint)(iVar17 != iVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar17 != iVar1)" ( (binary_expression "iVar17 != iVar1" identifier != identifier) )))) ;) (expression_statement "iVar1 = (*pcVar24)(uVar14);" (assignment_expression "iVar1 = (*pcVar24)(uVar14)" identifier = (call_expression "(*pcVar24)(uVar14)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iVar1 != *piVar18) {\n    (**(code **)(puVar23 + 0xda540))(*piVar18,2,1);\n  }" if (parenthesized_expression "(iVar1 != *piVar18)" ( (binary_expression "iVar1 != *piVar18" identifier != (pointer_expression "*piVar18" * identifier)) )) (compound_statement "{\n    (**(code **)(puVar23 + 0xda540))(*piVar18,2,1);\n  }" { (expression_statement "(**(code **)(puVar23 + 0xda540))(*piVar18,2,1);" (call_expression "(**(code **)(puVar23 + 0xda540))(*piVar18,2,1)" (parenthesized_expression "(**(code **)(puVar23 + 0xda540))" ( (pointer_expression "**(code **)(puVar23 + 0xda540)" * (pointer_expression "*(code **)(puVar23 + 0xda540)" * (cast_expression "(code **)(puVar23 + 0xda540)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xda540)" ( (binary_expression "puVar23 + 0xda540" identifier + number_literal) ))))) )) (argument_list "(*piVar18,2,1)" ( (pointer_expression "*piVar18" * identifier) , number_literal , number_literal ))) ;) })) (expression_statement "(**(code **)(puVar23 + 0xd8aac))(0x12,*(int *)(puVar23 + 0xd942c) + -0x6fbc);" (call_expression "(**(code **)(puVar23 + 0xd8aac))(0x12,*(int *)(puVar23 + 0xd942c) + -0x6fbc)" (parenthesized_expression "(**(code **)(puVar23 + 0xd8aac))" ( (pointer_expression "**(code **)(puVar23 + 0xd8aac)" * (pointer_expression "*(code **)(puVar23 + 0xd8aac)" * (cast_expression "(code **)(puVar23 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd8aac)" ( (binary_expression "puVar23 + 0xd8aac" identifier + number_literal) ))))) )) (argument_list "(0x12,*(int *)(puVar23 + 0xd942c) + -0x6fbc)" ( number_literal , (binary_expression "*(int *)(puVar23 + 0xd942c) + -0x6fbc" (pointer_expression "*(int *)(puVar23 + 0xd942c)" * (cast_expression "(int *)(puVar23 + 0xd942c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0xd942c)" ( (binary_expression "puVar23 + 0xd942c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar1 = 0x2b;" (assignment_expression "iVar1 = 0x2b" identifier = number_literal) ;) (if_statement "if (*piVar2 != 0) {\n    iVar1 = 0x2d;\n  }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n    iVar1 = 0x2d;\n  }" { (expression_statement "iVar1 = 0x2d;" (assignment_expression "iVar1 = 0x2d" identifier = number_literal) ;) })) (expression_statement "change_flag(0x6d,iVar1);" (call_expression "change_flag(0x6d,iVar1)" identifier (argument_list "(0x6d,iVar1)" ( number_literal , identifier ))) ;) (if_statement "if (*(int *)job != 0) {\n    get_tty_state();\n  }" if (parenthesized_expression "(*(int *)job != 0)" ( (binary_expression "*(int *)job != 0" (pointer_expression "*(int *)job" * (cast_expression "(int *)job" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    get_tty_state();\n  }" { (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar18 = *(int **)(puVar23 + 0xd90bc);" (assignment_expression "piVar18 = *(int **)(puVar23 + 0xd90bc)" identifier = (pointer_expression "*(int **)(puVar23 + 0xd90bc)" * (cast_expression "(int **)(puVar23 + 0xd90bc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd90bc)" ( (binary_expression "puVar23 + 0xd90bc" identifier + number_literal) ))))) ;) (if_statement "if (*piVar18 < 0) {\n    iVar1 = (**(code **)(puVar23 + 0xd93d8))();\n    if (iVar1 < 0) {\n      iVar1 = 0x20;\n    }\n    *piVar18 = iVar1;\n    return *piVar2;\n  }" if (parenthesized_expression "(*piVar18 < 0)" ( (binary_expression "*piVar18 < 0" (pointer_expression "*piVar18" * identifier) < number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(puVar23 + 0xd93d8))();\n    if (iVar1 < 0) {\n      iVar1 = 0x20;\n    }\n    *piVar18 = iVar1;\n    return *piVar2;\n  }" { (expression_statement "iVar1 = (**(code **)(puVar23 + 0xd93d8))();" (assignment_expression "iVar1 = (**(code **)(puVar23 + 0xd93d8))()" identifier = (call_expression "(**(code **)(puVar23 + 0xd93d8))()" (parenthesized_expression "(**(code **)(puVar23 + 0xd93d8))" ( (pointer_expression "**(code **)(puVar23 + 0xd93d8)" * (pointer_expression "*(code **)(puVar23 + 0xd93d8)" * (cast_expression "(code **)(puVar23 + 0xd93d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0xd93d8)" ( (binary_expression "puVar23 + 0xd93d8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 < 0) {\n      iVar1 = 0x20;\n    }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar1 = 0x20;\n    }" { (expression_statement "iVar1 = 0x20;" (assignment_expression "iVar1 = 0x20" identifier = number_literal) ;) })) (expression_statement "*piVar18 = iVar1;" (assignment_expression "*piVar18 = iVar1" (pointer_expression "*piVar18" * identifier) = identifier) ;) (return_statement "return *piVar2;" return (pointer_expression "*piVar2" * identifier) ;) })) (return_statement "return *piVar2;" return (pointer_expression "*piVar2" * identifier) ;) })))
(translation_unit "int start_job(int *param_1,undefined4 *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}\n\n" (function_definition "int start_job(int *param_1,undefined4 *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}" primitive_type (function_declarator "start_job(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "undefined *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "undefined4 *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "int *piVar22;" primitive_type (pointer_declarator "*piVar22" * identifier) ;) (declaration "int *piVar23;" primitive_type (pointer_declarator "*piVar23" * identifier) ;) (declaration "undefined *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "code *pcVar25;" type_identifier (pointer_declarator "*pcVar25" * identifier) ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "undefined4 local_134;" type_identifier identifier ;) (declaration "undefined1 auStack_12c [128];" type_identifier (array_declarator "auStack_12c [128]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_ac [128];" type_identifier (array_declarator "auStack_ac [128]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar24 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar24 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "piVar18 = (int *)PTR_jobs_00144e5c;" (assignment_expression "piVar18 = (int *)PTR_jobs_00144e5c" identifier = (cast_expression "(int *)PTR_jobs_00144e5c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar17 = (int)param_1 * 4;" (assignment_expression "iVar17 = (int)param_1 * 4" identifier = (binary_expression "(int)param_1 * 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(auStack_12c);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(auStack_12c)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" ( (pointer_expression "*(code *)PTR_sigemptyset_001462d4" * (cast_expression "(code *)PTR_sigemptyset_001462d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_12c)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);" (call_expression "(*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00146364)" ( (pointer_expression "*(code *)PTR_sigaddset_00146364" * (cast_expression "(code *)PTR_sigaddset_00146364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_12c,0x12)" ( identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(auStack_ac);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(auStack_ac)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" ( (pointer_expression "*(code *)PTR_sigemptyset_001462d4" * (cast_expression "(code *)PTR_sigemptyset_001462d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_ac)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,auStack_12c,auStack_ac)" ( number_literal , identifier , identifier ))) ;) (expression_statement "iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);" (assignment_expression "iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" identifier = (pointer_expression "*(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" * (cast_expression "(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0xc)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0xc" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) ))))) ;) (if_statement "if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" if (parenthesized_expression "(iVar26 == 4)" ( (binary_expression "iVar26 == 4" identifier == number_literal) )) (compound_statement "{\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }" { (expression_statement "iVar17 = -1;" (assignment_expression "iVar17 = -1" identifier = number_literal) ;) (expression_statement "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);" (assignment_expression "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7d9c,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7d9c" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);" (call_expression "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728)" identifier (argument_list "(uVar14,*(undefined4 *)PTR_this_command_name_00144728)" ( identifier , (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" * (cast_expression "(undefined4 *)PTR_this_command_name_00144728" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_ac,0)" ( number_literal , identifier , number_literal ))) ;) }) (else_clause "else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" else (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }" { (if_statement "if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" if (parenthesized_expression "(iVar26 != 1)" ( (binary_expression "iVar26 != 1" identifier != number_literal) )) (compound_statement "{\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" { (expression_statement "local_134 = FUN_000649c8();" (assignment_expression "local_134 = FUN_000649c8()" identifier = (call_expression "FUN_000649c8()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "iVar6 = *(int *)PTR_posixly_correct_0014458c;" (assignment_expression "iVar6 = *(int *)PTR_posixly_correct_0014458c" identifier = (pointer_expression "*(int *)PTR_posixly_correct_0014458c" * (cast_expression "(int *)PTR_posixly_correct_0014458c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }" { (if_statement "if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" if (parenthesized_expression "(*(int **)(PTR_js_00144e58 + 0x2c) == param_1)" ( (binary_expression "*(int **)(PTR_js_00144e58 + 0x2c) == param_1" (pointer_expression "*(int **)(PTR_js_00144e58 + 0x2c)" * (cast_expression "(int **)(PTR_js_00144e58 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_js_00144e58 + 0x2c)" ( (binary_expression "PTR_js_00144e58 + 0x2c" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }" { (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7144;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7144" identifier = (binary_expression "PTR_LAB_00144578 + 0x7144" identifier + number_literal)) ;) }) (else_clause "else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" else (compound_statement "{\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" { (if_statement "if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;" if (parenthesized_expression "(*(int **)(PTR_js_00144e58 + 0x30) != param_1)" ( (binary_expression "*(int **)(PTR_js_00144e58 + 0x30) != param_1" (pointer_expression "*(int **)(PTR_js_00144e58 + 0x30)" * (cast_expression "(int **)(PTR_js_00144e58 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_js_00144e58 + 0x30)" ( (binary_expression "PTR_js_00144e58 + 0x30" identifier + number_literal) )))) != identifier) )) (goto_statement "goto LAB_0006b860;" goto statement_identifier ;)) (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7d98;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7d98" identifier = (binary_expression "PTR_LAB_00144578 + 0x7d98" identifier + number_literal)) ;) }))) }) (else_clause "else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" else (compound_statement "{\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" { (labeled_statement "LAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;" statement_identifier : (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7b04;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7b04" identifier = (binary_expression "PTR_LAB_00144578 + 0x7b04" identifier + number_literal)) ;)) }))) (expression_statement "piVar23 = *(int **)(iVar3 + 4);" (assignment_expression "piVar23 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7dd8" identifier + number_literal) , (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) (expression_statement "piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(*piVar18 + iVar17) + 4)" * (cast_expression "(int **)(*(int *)(*piVar18 + iVar17) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 4)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 4" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_0006b898;" goto statement_identifier ;) })) (expression_statement "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);" (assignment_expression "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7db4,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7db4" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);" (call_expression "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1)" identifier (argument_list "(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1)" ( identifier , (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" * (cast_expression "(undefined4 *)PTR_this_command_name_00144728" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) ;) (labeled_statement "LAB_0006b9dc:\n    iVar17 = 0;" statement_identifier : (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_ac,0)" ( number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" else (compound_statement "{\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" { (expression_statement "local_134 = FUN_000649c8();" (assignment_expression "local_134 = FUN_000649c8()" identifier = (call_expression "FUN_000649c8()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) = (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) & number_literal)) ;) (expression_statement "FUN_00064368(param_1);" (call_expression "FUN_00064368(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar1 = *(int **)(iVar3 + 4);" (assignment_expression "piVar1 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) | 1" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "piVar23 = piVar1;" (assignment_expression "piVar23 = piVar1" identifier = identifier) ;) (labeled_statement "LAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;" statement_identifier : (expression_statement "puVar19 = PTR_LAB_00144578 + 0x6298;" (assignment_expression "puVar19 = PTR_LAB_00144578 + 0x6298" identifier = (binary_expression "PTR_LAB_00144578 + 0x6298" identifier + number_literal)) ;)) (expression_statement "puVar11 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "puVar11 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_LAB_00144578 + 0x6720;" (assignment_expression "puVar21 = PTR_LAB_00144578 + 0x6720" identifier = (binary_expression "PTR_LAB_00144578 + 0x6720" identifier + number_literal)) ;) (do_statement "do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);" do (compound_statement "{\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    }" { (expression_statement "puVar9 = (undefined *)piVar23[4];" (assignment_expression "puVar9 = (undefined *)piVar23[4]" identifier = (cast_expression "(undefined *)piVar23[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar23[4]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }" if (parenthesized_expression "((undefined *)piVar23[4] == (undefined *)0x0)" ( (binary_expression "(undefined *)piVar23[4] == (undefined *)0x0" (cast_expression "(undefined *)piVar23[4]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar23[4]" identifier [ number_literal ])) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar9 = puVar11;\n      }" { (expression_statement "puVar9 = puVar11;" (assignment_expression "puVar9 = puVar11" identifier = identifier) ;) })) (expression_statement "puVar12 = puVar21;" (assignment_expression "puVar12 = puVar21" identifier = identifier) ;) (if_statement "if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }" if (parenthesized_expression "((int *)*piVar23 == piVar1)" ( (binary_expression "(int *)*piVar23 == piVar1" (cast_expression "(int *)*piVar23" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar23" * identifier)) == identifier) )) (compound_statement "{\n        puVar12 = puVar11;\n      }" { (expression_statement "puVar12 = puVar11;" (assignment_expression "puVar12 = puVar11" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar19,puVar9,puVar12)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "piVar23 = (int *)*piVar23;" (assignment_expression "piVar23 = (int *)*piVar23" identifier = (cast_expression "(int *)*piVar23" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar23" * identifier))) ;) (expression_statement "puVar7 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar7 = *(undefined4 **)(*piVar18 + iVar17)" identifier = (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" * (cast_expression "(undefined4 **)(*piVar18 + iVar17)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar1 = (int *)puVar7[1];" (assignment_expression "piVar1 = (int *)puVar7[1]" identifier = (cast_expression "(int *)puVar7[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(piVar1 != piVar23)" ( (binary_expression "piVar1 != piVar23" identifier != identifier) )) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }" { (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7b74)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7b74" identifier + number_literal) ))) ;) (expression_statement "puVar7 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar7 = *(undefined4 **)(*piVar18 + iVar17)" identifier = (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" * (cast_expression "(undefined4 **)(*piVar18 + iVar17)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) })) (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(local_134,uVar14)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_134,uVar14)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" { (expression_statement "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);" (assignment_expression "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14)" identifier = (call_expression "(*(code *)PTR_polite_directory_format_00144970)(uVar14)" (parenthesized_expression "(*(code *)PTR_polite_directory_format_00144970)" ( (pointer_expression "*(code *)PTR_polite_directory_format_00144970" * (cast_expression "(code *)PTR_polite_directory_format_00144970" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" ( (pointer_expression "*(code *)PTR___printf_chk_001462ec" * (cast_expression "(code *)PTR___printf_chk_001462ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_LAB_00144578 + 0x7de0,uVar14)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7de0" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" ( (pointer_expression "*(code *)PTR_putchar_00146340" * (cast_expression "(code *)PTR_putchar_00146340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (if_statement "if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" if (parenthesized_expression "(iVar26 == 1)" ( (binary_expression "iVar26 == 1" identifier == number_literal) )) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }" { (if_statement "if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" { (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) = (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" * (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" ( (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) )))) + number_literal) )))) & number_literal)) ;) (goto_statement "goto LAB_0006b9c8;" goto statement_identifier ;) })) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" ( (binary_expression "PTR___environ_00145154 + -0x70d0" identifier + number_literal) )))) ;) (expression_statement "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" identifier = (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" ( (binary_expression "PTR_data_start_00144568 + 0x7ee8" identifier + number_literal) )))) ;) (expression_statement "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" ( (binary_expression "PTR___environ_00145154 + -0x70a0" identifier + number_literal) )))) ;) (expression_statement "puVar7 = puVar20;" (assignment_expression "puVar7 = puVar20" identifier = identifier) ;) (expression_statement "puVar4 = puVar15;" (assignment_expression "puVar4 = puVar15" identifier = identifier) ;) (do_statement "do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);" do (compound_statement "{\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      }" { (expression_statement "puVar2 = puVar7 + 4;" (assignment_expression "puVar2 = puVar7 + 4" identifier = (binary_expression "puVar7 + 4" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar4 + 4;" (assignment_expression "puVar5 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" identifier = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" identifier = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar4[1] = uVar10;" (assignment_expression "puVar4[1] = uVar10" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = uVar8;" (assignment_expression "puVar4[2] = uVar8" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = uVar14;" (assignment_expression "puVar4[3] = uVar14" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7 = puVar2;" (assignment_expression "puVar7 = puVar2" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != puVar13)" ( (binary_expression "puVar2 != puVar13" identifier != identifier) )) ;) (expression_statement "iVar3 = *piVar18;" (assignment_expression "iVar3 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "*puVar5 = *puVar2;" (assignment_expression "*puVar5 = *puVar2" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar3 + iVar17);" (assignment_expression "iVar3 = *(int *)(iVar3 + iVar17)" identifier = (pointer_expression "*(int *)(iVar3 + iVar17)" * (cast_expression "(int *)(iVar3 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar17)" ( (binary_expression "iVar3 + iVar17" identifier + identifier) ))))) ;) (if_statement "if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;" if (parenthesized_expression "((*(uint *)(iVar3 + 0x10) & 4) != 0)" ( (binary_expression "(*(uint *)(iVar3 + 0x10) & 4) != 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x10) & 4)" ( (binary_expression "*(uint *)(iVar3 + 0x10) & 4" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0006bce0;" goto statement_identifier ;)) }) (else_clause "else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" else (compound_statement "{\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" { (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" identifier = (pointer_expression "*(int *)(*piVar18 + iVar17)" * (cast_expression "(int *)(*piVar18 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + iVar17)" ( (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" * identifier) + identifier) ))))) ;) (expression_statement "piVar1 = *(int **)(iVar3 + 4);" (assignment_expression "piVar1 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar23 = piVar1;" (assignment_expression "piVar23 = piVar1" identifier = identifier) ;) (do_statement "do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);" do (compound_statement "{\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      }" { (if_statement "if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }" if (parenthesized_expression "(*(char *)((int)piVar23 + 0xb) == '\x7f')" ( (binary_expression "*(char *)((int)piVar23 + 0xb) == '\x7f'" (pointer_expression "*(char *)((int)piVar23 + 0xb)" * (cast_expression "(char *)((int)piVar23 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar23 + 0xb)" ( (binary_expression "(int)piVar23 + 0xb" (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\x7f'" ' escape_sequence ')) )) (compound_statement "{\n          piVar23[3] = 1;\n        }" { (expression_statement "piVar23[3] = 1;" (assignment_expression "piVar23[3] = 1" (subscript_expression "piVar23[3]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "piVar23 = (int *)*piVar23;" (assignment_expression "piVar23 = (int *)*piVar23" identifier = (cast_expression "(int *)*piVar23" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar23" * identifier))) ;) }) while (parenthesized_expression "(piVar1 != piVar23)" ( (binary_expression "piVar1 != piVar23" identifier != identifier) )) ;) (expression_statement "*(undefined4 *)(iVar3 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar3 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar11 = PTR_killpg_00146474;" (assignment_expression "puVar11 = PTR_killpg_00146474" identifier = identifier) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }" { (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffe | 2" (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "(*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);" (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19)" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 8),0x19)" ( (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) , number_literal ))) ;) (labeled_statement "LAB_0006b9c8:\n        FUN_00064490();" statement_identifier : (expression_statement "FUN_00064490();" (call_expression "FUN_00064490()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_0006b9dc;" goto statement_identifier ;) })) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" ( (binary_expression "PTR___environ_00145154 + -0x70d0" identifier + number_literal) )))) ;) (expression_statement "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" identifier = (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" ( (binary_expression "PTR_data_start_00144568 + 0x7ee8" identifier + number_literal) )))) ;) (expression_statement "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0)" identifier = (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" ( (binary_expression "PTR___environ_00145154 + -0x70a0" identifier + number_literal) )))) ;) (expression_statement "puVar7 = puVar20;" (assignment_expression "puVar7 = puVar20" identifier = identifier) ;) (expression_statement "puVar4 = puVar15;" (assignment_expression "puVar4 = puVar15" identifier = identifier) ;) (do_statement "do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);" do (compound_statement "{\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      }" { (expression_statement "puVar2 = puVar7 + 4;" (assignment_expression "puVar2 = puVar7 + 4" identifier = (binary_expression "puVar7 + 4" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar4 + 4;" (assignment_expression "puVar5 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" identifier = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" identifier = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar4[1] = uVar10;" (assignment_expression "puVar4[1] = uVar10" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = uVar8;" (assignment_expression "puVar4[2] = uVar8" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = uVar14;" (assignment_expression "puVar4[3] = uVar14" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7 = puVar2;" (assignment_expression "puVar7 = puVar2" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != puVar13)" ( (binary_expression "puVar2 != puVar13" identifier != identifier) )) ;) (expression_statement "iVar3 = *piVar18;" (assignment_expression "iVar3 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (expression_statement "*puVar5 = *puVar2;" (assignment_expression "*puVar5 = *puVar2" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar3 + iVar17);" (assignment_expression "iVar3 = *(int *)(iVar3 + iVar17)" identifier = (pointer_expression "*(int *)(iVar3 + iVar17)" * (cast_expression "(int *)(iVar3 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar17)" ( (binary_expression "iVar3 + iVar17" identifier + identifier) ))))) ;) (if_statement "if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" if (parenthesized_expression "((*(uint *)(iVar3 + 0x10) & 4) == 0)" ( (binary_expression "(*(uint *)(iVar3 + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x10) & 4)" ( (binary_expression "*(uint *)(iVar3 + 0x10) & 4" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar26 = *piVar18;\n      }" { (expression_statement "iVar26 = *piVar18;" (assignment_expression "iVar26 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }) (else_clause "else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" else (compound_statement "{\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" { (labeled_statement "LAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);" statement_identifier : (expression_statement "give_terminal_to(*(undefined4 *)(iVar3 + 8),0);" (call_expression "give_terminal_to(*(undefined4 *)(iVar3 + 8),0)" identifier (argument_list "(*(undefined4 *)(iVar3 + 8),0)" ( (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) , number_literal ))) ;)) (if_statement "if (iVar26 == 1) goto LAB_0006bbc8;" if (parenthesized_expression "(iVar26 == 1)" ( (binary_expression "iVar26 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0006bbc8;" goto statement_identifier ;)) (expression_statement "iVar26 = *piVar18;" (assignment_expression "iVar26 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }))) (expression_statement "puVar11 = PTR_killpg_00146474;" (assignment_expression "puVar11 = PTR_killpg_00146474" identifier = identifier) ;) (expression_statement "iVar17 = *(int *)(iVar26 + iVar17);" (assignment_expression "iVar17 = *(int *)(iVar26 + iVar17)" identifier = (pointer_expression "*(int *)(iVar26 + iVar17)" * (cast_expression "(int *)(iVar26 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar17)" ( (binary_expression "iVar26 + iVar17" identifier + identifier) ))))) ;) (expression_statement "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;" (assignment_expression "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" * (cast_expression "(uint *)(iVar17 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 0x10)" ( (binary_expression "iVar17 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" * (cast_expression "(uint *)(iVar17 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 0x10)" ( (binary_expression "iVar17 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "(*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);" (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19)" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar17 + 8),0x19)" ( (pointer_expression "*(undefined4 *)(iVar17 + 8)" * (cast_expression "(undefined4 *)(iVar17 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 8)" ( (binary_expression "iVar17 + 8" identifier + number_literal) )))) , number_literal ))) ;) }))) (labeled_statement "LAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);" statement_identifier : (expression_statement "iVar17 = FUN_00065a6c(param_1);" (assignment_expression "iVar17 = FUN_00065a6c(param_1)" identifier = (call_expression "FUN_00065a6c(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;)) (expression_statement "uVar14 = *(undefined4 *)(iVar17 + 4);" (assignment_expression "uVar14 = *(undefined4 *)(iVar17 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar17 + 4)" * (cast_expression "(undefined4 *)(iVar17 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + 4)" ( (binary_expression "iVar17 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" ( (pointer_expression "*(code *)PTR_sigprocmask_00146514" * (cast_expression "(code *)PTR_sigprocmask_00146514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_ac,0)" ( number_literal , identifier , number_literal ))) ;) (expression_statement "iVar17 = wait_for(uVar14);" (assignment_expression "iVar17 = wait_for(uVar14)" identifier = (call_expression "wait_for(uVar14)" identifier (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "puVar7 = puVar15;" (assignment_expression "puVar7 = puVar15" identifier = identifier) ;) (do_statement "do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);" do (compound_statement "{\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    }" { (expression_statement "puVar13 = puVar7 + 4;" (assignment_expression "puVar13 = puVar7 + 4" identifier = (binary_expression "puVar7 + 4" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar20 + 4;" (assignment_expression "puVar4 = puVar20 + 4" identifier = (binary_expression "puVar20 + 4" identifier + number_literal)) ;) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" identifier = (subscript_expression "puVar7[2]" identifier [ number_literal ])) ;) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" identifier = (subscript_expression "puVar7[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar20 = *puVar7;" (assignment_expression "*puVar20 = *puVar7" (pointer_expression "*puVar20" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar20[1] = uVar10;" (assignment_expression "puVar20[1] = uVar10" (subscript_expression "puVar20[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar20[2] = uVar8;" (assignment_expression "puVar20[2] = uVar8" (subscript_expression "puVar20[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar20[3] = uVar14;" (assignment_expression "puVar20[3] = uVar14" (subscript_expression "puVar20[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar20 = puVar4;" (assignment_expression "puVar20 = puVar4" identifier = identifier) ;) (expression_statement "puVar7 = puVar13;" (assignment_expression "puVar7 = puVar13" identifier = identifier) ;) }) while (parenthesized_expression "(puVar13 != puVar15 + 0xc)" ( (binary_expression "puVar13 != puVar15 + 0xc" identifier != (binary_expression "puVar15 + 0xc" identifier + number_literal)) )) ;) (expression_statement "*puVar4 = *puVar13;" (assignment_expression "*puVar4 = *puVar13" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "set_tty_state();" (call_expression "set_tty_state()" identifier (argument_list "()" ( ))) ;) }))))) (if_statement "if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar24)" ( (binary_expression "local_2c == *(int *)puVar24" identifier == (pointer_expression "*(int *)puVar24" * (cast_expression "(int *)puVar24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar17;\n  }" { (return_statement "return iVar17;" return identifier ;) })) (expression_statement "iVar17 = local_2c;" (assignment_expression "iVar17 = local_2c" identifier = identifier) ;) (expression_statement "puVar24 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar24 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar23 = *(int **)(puVar24 + 0xd8b10);" (assignment_expression "piVar23 = *(int **)(puVar24 + 0xd8b10)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b10)" * (cast_expression "(int **)(puVar24 + 0xd8b10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b10)" ( (binary_expression "puVar24 + 0xd8b10" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = (**(code **)(puVar24 + 0xda6dc))();" (assignment_expression "iVar26 = (**(code **)(puVar24 + 0xda6dc))()" identifier = (call_expression "(**(code **)(puVar24 + 0xda6dc))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda6dc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6dc)" * (pointer_expression "*(code **)(puVar24 + 0xda6dc)" * (cast_expression "(code **)(puVar24 + 0xda6dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6dc)" ( (binary_expression "puVar24 + 0xda6dc" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "*piVar23 = iVar26;" (assignment_expression "*piVar23 = iVar26" (pointer_expression "*piVar23" * identifier) = identifier) ;) (if_statement "if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" if (parenthesized_expression "(iVar26 == -1)" ( (binary_expression "iVar26 == -1" identifier == number_literal) )) (compound_statement "{\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }" { (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7dec" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar24 + 0xda620))(1);" (call_expression "(**(code **)(puVar24 + 0xda620))(1)" (parenthesized_expression "(**(code **)(puVar24 + 0xda620))" ( (pointer_expression "**(code **)(puVar24 + 0xda620)" * (pointer_expression "*(code **)(puVar24 + 0xda620)" * (cast_expression "(code **)(puVar24 + 0xda620)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda620)" ( (binary_expression "puVar24 + 0xda620" identifier + number_literal) ))))) )) (argument_list "(1)" ( number_literal ))) ;) (labeled_statement "LAB_0006c3c8:\n    uVar14 = *param_2;" statement_identifier : (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;)) (labeled_statement "LAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);" statement_identifier : (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14)" identifier = (call_expression "(**(code **)(puVar24 + 0xda58c))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda58c))" ( (pointer_expression "**(code **)(puVar24 + 0xda58c)" * (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;)) (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14)" identifier = (call_expression "(**(code **)(puVar24 + 0xda780))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda780))" ( (pointer_expression "**(code **)(puVar24 + 0xda780)" * (pointer_expression "*(code **)(puVar24 + 0xda780)" * (cast_expression "(code **)(puVar24 + 0xda780)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda780)" ( (binary_expression "puVar24 + 0xda780" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (if_statement "if (iVar17 != -1) goto LAB_0006bf80;" if (parenthesized_expression "(iVar17 != -1)" ( (binary_expression "iVar17 != -1" identifier != number_literal) )) (goto_statement "goto LAB_0006bf80;" goto statement_identifier ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda670)" * (cast_expression "(code **)(puVar24 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda670)" ( (binary_expression "puVar24 + 0xda670" identifier + number_literal) ))))) ;) (if_statement "if (*piVar23 == 0) goto LAB_0006bf08;" if (parenthesized_expression "(*piVar23 == 0)" ( (binary_expression "*piVar23 == 0" (pointer_expression "*piVar23" * identifier) == number_literal) )) (goto_statement "goto LAB_0006bf08;" goto statement_identifier ;)) (labeled_statement "LAB_0006be5c:\n    iVar17 = *piVar18;" statement_identifier : (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;)) }) (else_clause "else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" else (compound_statement "{\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" { (expression_statement "param_1 = *(int **)(puVar24 + 0xd87f4);" (assignment_expression "param_1 = *(int **)(puVar24 + 0xd87f4)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd87f4)" * (cast_expression "(int **)(puVar24 + 0xd87f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd87f4)" ( (binary_expression "puVar24 + 0xd87f4" identifier + number_literal) ))))) ;) (expression_statement "param_2 = *(undefined4 **)(puVar24 + 0xda77c);" (assignment_expression "param_2 = *(undefined4 **)(puVar24 + 0xda77c)" identifier = (pointer_expression "*(undefined4 **)(puVar24 + 0xda77c)" * (cast_expression "(undefined4 **)(puVar24 + 0xda77c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda77c)" ( (binary_expression "puVar24 + 0xda77c" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(iVar17 == 0 && *param_1 == 0)" ( (binary_expression "iVar17 == 0 && *param_1 == 0" (binary_expression "iVar17 == 0" identifier == number_literal) && (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal)) )) (compound_statement "{\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }" { (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = *(undefined4 **)(puVar24 + 0xd9070);" (assignment_expression "puVar7 = *(undefined4 **)(puVar24 + 0xd9070)" identifier = (pointer_expression "*(undefined4 **)(puVar24 + 0xd9070)" * (cast_expression "(undefined4 **)(puVar24 + 0xd9070)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9070)" ( (binary_expression "puVar24 + 0xd9070" identifier + number_literal) ))))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda58c);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda58c)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) ;) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd93fc)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd93fc)" * (cast_expression "(int **)(puVar24 + 0xd93fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd93fc)" ( (binary_expression "puVar24 + 0xd93fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "*puVar7 = 0xffffffff;" (assignment_expression "*puVar7 = 0xffffffff" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "iVar17 = (*pcVar25)(uVar14);" (assignment_expression "iVar17 = (*pcVar25)(uVar14)" identifier = (call_expression "(*pcVar25)(uVar14)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (expression_statement "iVar17 = (*pcVar25)(iVar17);" (assignment_expression "iVar17 = (*pcVar25)(iVar17)" identifier = (call_expression "(*pcVar25)(iVar17)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(iVar17)" ( identifier )))) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (expression_statement "**(int **)(puVar24 + 0xd9434) = iVar17;" (assignment_expression "**(int **)(puVar24 + 0xd9434) = iVar17" (pointer_expression "**(int **)(puVar24 + 0xd9434)" * (pointer_expression "*(int **)(puVar24 + 0xd9434)" * (cast_expression "(int **)(puVar24 + 0xd9434)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9434)" ( (binary_expression "puVar24 + 0xd9434" identifier + number_literal) ))))) = identifier) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd93fc)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd93fc)" * (cast_expression "(int **)(puVar24 + 0xd93fc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd93fc)" ( (binary_expression "puVar24 + 0xd93fc" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = **(int **)(puVar24 + 0xd87e4);" (assignment_expression "iVar17 = **(int **)(puVar24 + 0xd87e4)" identifier = (pointer_expression "**(int **)(puVar24 + 0xd87e4)" * (pointer_expression "*(int **)(puVar24 + 0xd87e4)" * (cast_expression "(int **)(puVar24 + 0xd87e4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd87e4)" ( (binary_expression "puVar24 + 0xd87e4" identifier + number_literal) )))))) ;) (expression_statement "*piVar18 = -1;" (assignment_expression "*piVar18 = -1" (pointer_expression "*piVar18" * identifier) = number_literal) ;) (if_statement "if (iVar17 == 0) goto LAB_0006be24;" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0006be24;" goto statement_identifier ;)) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda58c))();" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda58c))()" identifier = (call_expression "(**(code **)(puVar24 + 0xda58c))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda58c))" ( (pointer_expression "**(code **)(puVar24 + 0xda58c)" * (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14)" identifier = (call_expression "(**(code **)(puVar24 + 0xda4b0))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4b0))" ( (pointer_expression "**(code **)(puVar24 + 0xda4b0)" * (pointer_expression "*(code **)(puVar24 + 0xda4b0)" * (cast_expression "(code **)(puVar24 + 0xda4b0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4b0)" ( (binary_expression "puVar24 + 0xda4b0" identifier + number_literal) ))))) )) (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" identifier = (call_expression "(**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" (parenthesized_expression "(**(code **)(puVar24 + 0xda5dc))" ( (pointer_expression "**(code **)(puVar24 + 0xda5dc)" * (pointer_expression "*(code **)(puVar24 + 0xda5dc)" * (cast_expression "(code **)(puVar24 + 0xda5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5dc)" ( (binary_expression "puVar24 + 0xda5dc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" ( (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x62c0" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) }) (else_clause "else {\n      iVar17 = *piVar18;\n    }" else (compound_statement "{\n      iVar17 = *piVar18;\n    }" { (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) }))) (if_statement "if (iVar17 == -1) goto LAB_0006c3c8;" if (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0006c3c8;" goto statement_identifier ;)) (labeled_statement "LAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);" statement_identifier : (expression_statement "iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff)" identifier = (call_expression "(**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8a0c))" ( (pointer_expression "**(code **)(puVar24 + 0xd8a0c)" * (pointer_expression "*(code **)(puVar24 + 0xd8a0c)" * (cast_expression "(code **)(puVar24 + 0xd8a0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8a0c)" ( (binary_expression "puVar24 + 0xd8a0c" identifier + number_literal) ))))) )) (argument_list "(iVar17,1,0xffffffff)" ( identifier , number_literal , number_literal )))) ;)) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda670)" * (cast_expression "(code **)(puVar24 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda670)" ( (binary_expression "puVar24 + 0xda670" identifier + number_literal) ))))) ;) (if_statement "if (*piVar23 != 0) goto LAB_0006be5c;" if (parenthesized_expression "(*piVar23 != 0)" ( (binary_expression "*piVar23 != 0" (pointer_expression "*piVar23" * identifier) != number_literal) )) (goto_statement "goto LAB_0006be5c;" goto statement_identifier ;)) (labeled_statement "LAB_0006bf08:\n    iVar17 = (*pcVar25)();" statement_identifier : (expression_statement "iVar17 = (*pcVar25)();" (assignment_expression "iVar17 = (*pcVar25)()" identifier = (call_expression "(*pcVar25)()" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "()" ( )))) ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda4fc);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda4fc)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda4fc)" * (cast_expression "(code **)(puVar24 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4fc)" ( (binary_expression "puVar24 + 0xda4fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar23 = iVar17;" (assignment_expression "*piVar23 = iVar17" (pointer_expression "*piVar23" * identifier) = identifier) ;) (expression_statement "(*pcVar25)(0,iVar17);" (call_expression "(*pcVar25)(0,iVar17)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(0,iVar17)" ( number_literal , identifier ))) ;) (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) (if_statement "if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }" if (parenthesized_expression "(iVar17 != -1)" ( (binary_expression "iVar17 != -1" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }" { (expression_statement "(**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);" (call_expression "(**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23)" (parenthesized_expression "(**(code **)(puVar24 + 0xda73c))" ( (pointer_expression "**(code **)(puVar24 + 0xda73c)" * (pointer_expression "*(code **)(puVar24 + 0xda73c)" * (cast_expression "(code **)(puVar24 + 0xda73c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda73c)" ( (binary_expression "puVar24 + 0xda73c" identifier + number_literal) ))))) )) (argument_list "(iVar17,*piVar23)" ( identifier , (pointer_expression "*piVar23" * identifier) ))) ;) (goto_statement "goto LAB_0006be5c;" goto statement_identifier ;) })) }))) (expression_statement "iVar26 = 0x12;" (assignment_expression "iVar26 = 0x12" identifier = number_literal) ;) (expression_statement "piVar22 = *(int **)(puVar24 + 0xd9434);" (assignment_expression "piVar22 = *(int **)(puVar24 + 0xd9434)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd9434)" * (cast_expression "(int **)(puVar24 + 0xd9434)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9434)" ( (binary_expression "puVar24 + 0xd9434" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8a98);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8a98)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8a98)" * (cast_expression "(int **)(puVar24 + 0xd8a98)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8a98)" ( (binary_expression "puVar24 + 0xd8a98" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17)" identifier = (call_expression "(**(code **)(puVar24 + 0xda598))(iVar17)" (parenthesized_expression "(**(code **)(puVar24 + 0xda598))" ( (pointer_expression "**(code **)(puVar24 + 0xda598)" * (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) )) (argument_list "(iVar17)" ( identifier )))) ;) (expression_statement "*piVar22 = iVar17;" (assignment_expression "*piVar22 = iVar17" (pointer_expression "*piVar22" * identifier) = identifier) ;) (if_statement "if (iVar17 == -1) break;" if (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }" if (parenthesized_expression "(*piVar23 == iVar17)" ( (binary_expression "*piVar23 == iVar17" (pointer_expression "*piVar23" * identifier) == identifier) )) (compound_statement "{\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }" { (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0006c118;" goto statement_identifier ;) })) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xd8aac);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xd8aac)" identifier = (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }" { (expression_statement "(**(code **)(puVar24 + 0xd8a9c))(*piVar1);" (call_expression "(**(code **)(puVar24 + 0xd8a9c))(*piVar1)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8a9c))" ( (pointer_expression "**(code **)(puVar24 + 0xd8a9c)" * (pointer_expression "*(code **)(puVar24 + 0xd8a9c)" * (cast_expression "(code **)(puVar24 + 0xd8a9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8a9c)" ( (binary_expression "puVar24 + 0xd8a9c" identifier + number_literal) ))))) )) (argument_list "(*piVar1)" ( (pointer_expression "*piVar1" * identifier) ))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xd8aac);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xd8aac)" identifier = (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) ;) })) (expression_statement "iVar26 = iVar26 + -1;" (assignment_expression "iVar26 = iVar26 + -1" identifier = (binary_expression "iVar26 + -1" identifier + number_literal)) ;) (expression_statement "uVar14 = (*pcVar25)(0x1a,0);" (assignment_expression "uVar14 = (*pcVar25)(0x1a,0)" identifier = (call_expression "(*pcVar25)(0x1a,0)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(0x1a,0)" ( number_literal , number_literal )))) ;) (expression_statement "(**(code **)(puVar24 + 0xda61c))(0,0x1a);" (call_expression "(**(code **)(puVar24 + 0xda61c))(0,0x1a)" (parenthesized_expression "(**(code **)(puVar24 + 0xda61c))" ( (pointer_expression "**(code **)(puVar24 + 0xda61c)" * (pointer_expression "*(code **)(puVar24 + 0xda61c)" * (cast_expression "(code **)(puVar24 + 0xda61c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda61c)" ( (binary_expression "puVar24 + 0xda61c" identifier + number_literal) ))))) )) (argument_list "(0,0x1a)" ( number_literal , number_literal ))) ;) (expression_statement "(**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);" (call_expression "(**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8aac))" ( (pointer_expression "**(code **)(puVar24 + 0xd8aac)" * (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) )) (argument_list "(0x1a,uVar14)" ( number_literal , identifier ))) ;) (if_statement "if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(iVar26 == 0)" ( (binary_expression "iVar26 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }" { (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e14" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "**(int **)(puVar24 + 0xd9070) = iVar17;" (assignment_expression "**(int **)(puVar24 + 0xd9070) = iVar17" (pointer_expression "**(int **)(puVar24 + 0xd9070)" * (pointer_expression "*(int **)(puVar24 + 0xd9070)" * (cast_expression "(int **)(puVar24 + 0xd9070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9070)" ( (binary_expression "puVar24 + 0xd9070" identifier + number_literal) ))))) = identifier) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" identifier = (pointer_expression "*piVar18" * identifier)) ;) })) (expression_statement "piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))()" identifier = (cast_expression "(int *)(**(code **)(puVar24 + 0xda5a0))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar24 + 0xda5a0)" * (pointer_expression "*(code **)(puVar24 + 0xda5a0)" * (cast_expression "(code **)(puVar24 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5a0)" ( (binary_expression "puVar24 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar17 = *piVar23;" (assignment_expression "iVar17 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (labeled_statement "LAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);" statement_identifier : (expression_statement "piVar16 = *(int **)(puVar24 + 0xd9070);" (assignment_expression "piVar16 = *(int **)(puVar24 + 0xd9070)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd9070)" * (cast_expression "(int **)(puVar24 + 0xd9070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd9070)" ( (binary_expression "puVar24 + 0xd9070" identifier + number_literal) ))))) ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda670)" * (cast_expression "(code **)(puVar24 + 0xda670)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda670)" ( (binary_expression "puVar24 + 0xda670" identifier + number_literal) ))))) ;) (expression_statement "*piVar16 = iVar17;" (assignment_expression "*piVar16 = iVar17" (pointer_expression "*piVar16" * identifier) = identifier) ;) (expression_statement "iVar17 = (*pcVar25)();" (assignment_expression "iVar17 = (*pcVar25)()" identifier = (call_expression "(*pcVar25)()" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "iVar26 = *piVar16;" (assignment_expression "iVar26 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*piVar23 = iVar17;" (assignment_expression "*piVar23 = iVar17" (pointer_expression "*piVar23" * identifier) = identifier) ;) (if_statement "if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" if (parenthesized_expression "(iVar17 == iVar26)" ( (binary_expression "iVar17 == iVar26" identifier == identifier) )) (compound_statement "{\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }" { (labeled_statement "LAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);" statement_identifier : (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;)) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (labeled_statement "LAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);" statement_identifier : (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);" statement_identifier : (expression_statement "iVar26 = (*pcVar25)(*piVar18);" (assignment_expression "iVar26 = (*pcVar25)(*piVar18)" identifier = (call_expression "(*pcVar25)(*piVar18)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(*piVar18)" ( (pointer_expression "*piVar18" * identifier) )))) ;)) (if_statement "if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }" if (parenthesized_expression "((iVar26 == -1) || (*piVar23 != iVar26))" ( (binary_expression "(iVar26 == -1) || (*piVar23 != iVar26)" (parenthesized_expression "(iVar26 == -1)" ( (binary_expression "iVar26 == -1" identifier == number_literal) )) || (parenthesized_expression "(*piVar23 != iVar26)" ( (binary_expression "*piVar23 != iVar26" (pointer_expression "*piVar23" * identifier) != identifier) ))) )) (compound_statement "{\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }" { (if_statement "if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (compound_statement "{\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }" { (expression_statement "piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))()" identifier = (cast_expression "(int *)(**(code **)(puVar24 + 0xda5a0))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar24 + 0xda5a0)" * (pointer_expression "*(code **)(puVar24 + 0xda5a0)" * (cast_expression "(code **)(puVar24 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5a0)" ( (binary_expression "puVar24 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "*piVar16 = iVar3;" (assignment_expression "*piVar16 = iVar3" (pointer_expression "*piVar16" * identifier) = identifier) ;) })) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e6c" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14,iVar26);" (call_expression "sys_error(uVar14,iVar26)" identifier (argument_list "(uVar14,iVar26)" ( identifier , identifier ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (goto_statement "goto LAB_0006c230;" goto statement_identifier ;) })) (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }" { (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (goto_statement "goto LAB_0006bff4;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" else (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17)" identifier = (call_expression "(**(code **)(puVar24 + 0xda4fc))(0,iVar17)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda4fc)" * (pointer_expression "*(code **)(puVar24 + 0xda4fc)" * (cast_expression "(code **)(puVar24 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4fc)" ( (binary_expression "puVar24 + 0xda4fc" identifier + number_literal) ))))) )) (argument_list "(0,iVar17)" ( number_literal , identifier )))) ;) (if_statement "if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }" { (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e4c" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "*piVar23 = *piVar16;" (assignment_expression "*piVar23 = *piVar16" (pointer_expression "*piVar23" * identifier) = (pointer_expression "*piVar16" * identifier)) ;) (goto_statement "goto LAB_0006c138;" goto statement_identifier ;) })) (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" * (cast_expression "(int **)(puVar24 + 0xd8b0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8b0c)" ( (binary_expression "puVar24 + 0xd8b0c" identifier + number_literal) ))))) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (expression_statement "iVar17 = *piVar16;" (assignment_expression "iVar17 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (if_statement "if (iVar26 == iVar17) goto LAB_0006c144;" if (parenthesized_expression "(iVar26 == iVar17)" ( (binary_expression "iVar26 == iVar17" identifier == identifier) )) (goto_statement "goto LAB_0006c144;" goto statement_identifier ;)) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;) (if_statement "if (*piVar22 == iVar26) goto LAB_0006c148;" if (parenthesized_expression "(*piVar22 == iVar26)" ( (binary_expression "*piVar22 == iVar26" (pointer_expression "*piVar22" * identifier) == identifier) )) (goto_statement "goto LAB_0006c148;" goto statement_identifier ;)) (expression_statement "iVar17 = give_terminal_to(iVar26,0);" (assignment_expression "iVar17 = give_terminal_to(iVar26,0)" identifier = (call_expression "give_terminal_to(iVar26,0)" identifier (argument_list "(iVar26,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }" { (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar24 + 0xda5a0))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" ( (pointer_expression "**(code **)(puVar24 + 0xda5a0)" * (pointer_expression "*(code **)(puVar24 + 0xda5a0)" * (cast_expression "(code **)(puVar24 + 0xda5a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda5a0)" ( (binary_expression "puVar24 + 0xda5a0" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "(**(code **)(puVar24 + 0xda4fc))(0,*piVar16);" (call_expression "(**(code **)(puVar24 + 0xda4fc))(0,*piVar16)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda4fc)" * (pointer_expression "*(code **)(puVar24 + 0xda4fc)" * (cast_expression "(code **)(puVar24 + 0xda4fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda4fc)" ( (binary_expression "puVar24 + 0xda4fc" identifier + number_literal) ))))) )) (argument_list "(0,*piVar16)" ( number_literal , (pointer_expression "*piVar16" * identifier) ))) ;) (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) ))))) ;) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda6fc);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda6fc)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) ;) (expression_statement "*piVar23 = *piVar16;" (assignment_expression "*piVar23 = *piVar16" (pointer_expression "*piVar23" * identifier) = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "*puVar7 = uVar14;" (assignment_expression "*puVar7 = uVar14" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);" (assignment_expression "uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5)" identifier = (call_expression "(*pcVar25)(0,iVar17 + 0x7e6c,5)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(0,iVar17 + 0x7e6c,5)" ( number_literal , (binary_expression "iVar17 + 0x7e6c" identifier + number_literal) , number_literal )))) ;) (expression_statement "sys_error(uVar14,*piVar23);" (call_expression "sys_error(uVar14,*piVar23)" identifier (argument_list "(uVar14,*piVar23)" ( identifier , (pointer_expression "*piVar23" * identifier) ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) }) (else_clause "else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" else (compound_statement "{\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" { (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda598)" * (cast_expression "(code **)(puVar24 + 0xda598)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda598)" ( (binary_expression "puVar24 + 0xda598" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) goto LAB_0006c148;" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (goto_statement "goto LAB_0006c148;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);" statement_identifier : (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" identifier = (pointer_expression "*(int *)(puVar24 + 0xd87dc)" * (cast_expression "(int *)(puVar24 + 0xd87dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd87dc)" ( (binary_expression "puVar24 + 0xd87dc" identifier + number_literal) ))))) ;)) }))) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5)" identifier = (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" ( (pointer_expression "**(code **)(puVar24 + 0xda6fc)" * (pointer_expression "*(code **)(puVar24 + 0xda6fc)" * (cast_expression "(code **)(puVar24 + 0xda6fc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda6fc)" ( (binary_expression "puVar24 + 0xda6fc" identifier + number_literal) ))))) )) (argument_list "(0,iVar17 + 0x7e94,5)" ( number_literal , (binary_expression "iVar17 + 0x7e94" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar14);" (call_expression "internal_error(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" identifier = (pointer_expression "*piVar22" * identifier)) ;) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" identifier = (pointer_expression "*piVar23" * identifier)) ;) (labeled_statement "LAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);" statement_identifier : (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda58c);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda58c)" identifier = (pointer_expression "*(code **)(puVar24 + 0xda58c)" * (cast_expression "(code **)(puVar24 + 0xda58c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda58c)" ( (binary_expression "puVar24 + 0xda58c" identifier + number_literal) ))))) ;)) (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "**(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);" (assignment_expression "**(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17)" (pointer_expression "**(uint **)(puVar24 + 0xd8954)" * (pointer_expression "*(uint **)(puVar24 + 0xd8954)" * (cast_expression "(uint **)(puVar24 + 0xd8954)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8954)" ( (binary_expression "puVar24 + 0xd8954" identifier + number_literal) ))))) = (call_expression "(uint)(iVar26 != iVar17)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar26 != iVar17)" ( (binary_expression "iVar26 != iVar17" identifier != identifier) )))) ;) (expression_statement "iVar17 = (*pcVar25)(uVar14);" (assignment_expression "iVar17 = (*pcVar25)(uVar14)" identifier = (call_expression "(*pcVar25)(uVar14)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(uVar14)" ( identifier )))) ;) (if_statement "if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }" if (parenthesized_expression "(iVar17 != *piVar18)" ( (binary_expression "iVar17 != *piVar18" identifier != (pointer_expression "*piVar18" * identifier)) )) (compound_statement "{\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }" { (expression_statement "(**(code **)(puVar24 + 0xda540))(*piVar18,2,1);" (call_expression "(**(code **)(puVar24 + 0xda540))(*piVar18,2,1)" (parenthesized_expression "(**(code **)(puVar24 + 0xda540))" ( (pointer_expression "**(code **)(puVar24 + 0xda540)" * (pointer_expression "*(code **)(puVar24 + 0xda540)" * (cast_expression "(code **)(puVar24 + 0xda540)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xda540)" ( (binary_expression "puVar24 + 0xda540" identifier + number_literal) ))))) )) (argument_list "(*piVar18,2,1)" ( (pointer_expression "*piVar18" * identifier) , number_literal , number_literal ))) ;) })) (expression_statement "(**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);" (call_expression "(**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8aac))" ( (pointer_expression "**(code **)(puVar24 + 0xd8aac)" * (pointer_expression "*(code **)(puVar24 + 0xd8aac)" * (cast_expression "(code **)(puVar24 + 0xd8aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd8aac)" ( (binary_expression "puVar24 + 0xd8aac" identifier + number_literal) ))))) )) (argument_list "(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc)" ( number_literal , (binary_expression "*(int *)(puVar24 + 0xd942c) + -0x6fbc" (pointer_expression "*(int *)(puVar24 + 0xd942c)" * (cast_expression "(int *)(puVar24 + 0xd942c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0xd942c)" ( (binary_expression "puVar24 + 0xd942c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "uVar14 = 0x2b;" (assignment_expression "uVar14 = 0x2b" identifier = number_literal) ;) (if_statement "if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n    uVar14 = 0x2d;\n  }" { (expression_statement "uVar14 = 0x2d;" (assignment_expression "uVar14 = 0x2d" identifier = number_literal) ;) })) (expression_statement "change_flag(0x6d,uVar14);" (call_expression "change_flag(0x6d,uVar14)" identifier (argument_list "(0x6d,uVar14)" ( number_literal , identifier ))) ;) (if_statement "if (*param_1 != 0) {\n    get_tty_state();\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    get_tty_state();\n  }" { (expression_statement "get_tty_state();" (call_expression "get_tty_state()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd90bc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd90bc)" identifier = (pointer_expression "*(int **)(puVar24 + 0xd90bc)" * (cast_expression "(int **)(puVar24 + 0xd90bc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd90bc)" ( (binary_expression "puVar24 + 0xd90bc" identifier + number_literal) ))))) ;) (if_statement "if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }" if (parenthesized_expression "(*piVar18 < 0)" ( (binary_expression "*piVar18 < 0" (pointer_expression "*piVar18" * identifier) < number_literal) )) (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }" { (expression_statement "iVar17 = (**(code **)(puVar24 + 0xd93d8))();" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xd93d8))()" identifier = (call_expression "(**(code **)(puVar24 + 0xd93d8))()" (parenthesized_expression "(**(code **)(puVar24 + 0xd93d8))" ( (pointer_expression "**(code **)(puVar24 + 0xd93d8)" * (pointer_expression "*(code **)(puVar24 + 0xd93d8)" * (cast_expression "(code **)(puVar24 + 0xd93d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0xd93d8)" ( (binary_expression "puVar24 + 0xd93d8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar17 = 0x20;\n    }" { (expression_statement "iVar17 = 0x20;" (assignment_expression "iVar17 = 0x20" identifier = number_literal) ;) })) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" * identifier) = identifier) ;) (return_statement "return *piVar1;" return (pointer_expression "*piVar1" * identifier) ;) })) (return_statement "return *piVar1;" return (pointer_expression "*piVar1" * identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) + LIT) )))) & LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) + LIT) )))) & LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression (pointer_expression * IDENT) == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT )))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != 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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) , LIT , LIT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return (pointer_expression * IDENT) ;) })) (return_statement return (pointer_expression * IDENT) ;) })))
(function_definition "int start_job(int *param_1,undefined4 *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}" (primitive_type "int") (function_declarator "start_job(int *param_1,undefined4 *param_2)" (identifier "start_job") (parameter_list "(int *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  undefined4 *puVar13;\n  undefined4 uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  int iVar17;\n  int *piVar18;\n  undefined *puVar19;\n  undefined4 *puVar20;\n  undefined *puVar21;\n  int *piVar22;\n  int *piVar23;\n  undefined *puVar24;\n  code *pcVar25;\n  int iVar26;\n  undefined4 local_134;\n  undefined1 auStack_12c [128];\n  undefined1 auStack_ac [128];\n  int local_2c;\n  \n  puVar24 = PTR___stack_chk_guard_001464dc;\n  piVar18 = (int *)PTR_jobs_00144e5c;\n  iVar17 = (int)param_1 * 4;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);\n  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);\n  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);\n  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);\n  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);\n  if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }\n  if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }\n  iVar17 = local_2c;\n  puVar24 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar23 = *(int **)(puVar24 + 0xd8b10);\n  iVar26 = (**(code **)(puVar24 + 0xda6dc))();\n  *piVar23 = iVar26;\n  if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }\n  iVar26 = 0x12;\n  piVar22 = *(int **)(puVar24 + 0xd9434);\n  piVar1 = *(int **)(puVar24 + 0xd8a98);\n  while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }\n  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n  iVar3 = *piVar1;\n  iVar17 = *piVar23;\nLAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);\n  pcVar25 = *(code **)(puVar24 + 0xda670);\n  *piVar16 = iVar17;\n  iVar17 = (*pcVar25)();\n  iVar26 = *piVar16;\n  *piVar23 = iVar17;\n  if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }\n  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);\n  internal_error(uVar14);\n  iVar17 = *piVar22;\n  iVar26 = *piVar23;\nLAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);\n  uVar14 = *param_2;\n  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);\n  iVar17 = (*pcVar25)(uVar14);\n  if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }\n  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);\n  uVar14 = 0x2b;\n  if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }\n  change_flag(0x6d,uVar14);\n  if (*param_1 != 0) {\n    get_tty_state();\n  }\n  piVar18 = *(int **)(puVar24 + 0xd90bc);\n  if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }\n  return *piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "undefined *puVar11;" (type_identifier "undefined") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined4 *puVar13;" (type_identifier "undefined4") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "undefined4 *puVar15;" (type_identifier "undefined4") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "int *piVar16;" (primitive_type "int") (pointer_declarator "*piVar16" (* "*") (identifier "piVar16")) (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int *piVar18;" (primitive_type "int") (pointer_declarator "*piVar18" (* "*") (identifier "piVar18")) (; ";")) (declaration "undefined *puVar19;" (type_identifier "undefined") (pointer_declarator "*puVar19" (* "*") (identifier "puVar19")) (; ";")) (declaration "undefined4 *puVar20;" (type_identifier "undefined4") (pointer_declarator "*puVar20" (* "*") (identifier "puVar20")) (; ";")) (declaration "undefined *puVar21;" (type_identifier "undefined") (pointer_declarator "*puVar21" (* "*") (identifier "puVar21")) (; ";")) (declaration "int *piVar22;" (primitive_type "int") (pointer_declarator "*piVar22" (* "*") (identifier "piVar22")) (; ";")) (declaration "int *piVar23;" (primitive_type "int") (pointer_declarator "*piVar23" (* "*") (identifier "piVar23")) (; ";")) (declaration "undefined *puVar24;" (type_identifier "undefined") (pointer_declarator "*puVar24" (* "*") (identifier "puVar24")) (; ";")) (declaration "code *pcVar25;" (type_identifier "code") (pointer_declarator "*pcVar25" (* "*") (identifier "pcVar25")) (; ";")) (declaration "int iVar26;" (primitive_type "int") (identifier "iVar26") (; ";")) (declaration "undefined4 local_134;" (type_identifier "undefined4") (identifier "local_134") (; ";")) (declaration "undefined1 auStack_12c [128];" (type_identifier "undefined1") (array_declarator "auStack_12c [128]" (identifier "auStack_12c") ([ "[") (number_literal "128") (] "]")) (; ";")) (declaration "undefined1 auStack_ac [128];" (type_identifier "undefined1") (array_declarator "auStack_ac [128]" (identifier "auStack_ac") ([ "[") (number_literal "128") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar24 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar24 = PTR___stack_chk_guard_001464dc" (identifier "puVar24") (= "=") (identifier "PTR___stack_chk_guard_001464dc")) (; ";")) (expression_statement "piVar18 = (int *)PTR_jobs_00144e5c;" (assignment_expression "piVar18 = (int *)PTR_jobs_00144e5c" (identifier "piVar18") (= "=") (cast_expression "(int *)PTR_jobs_00144e5c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_jobs_00144e5c"))) (; ";")) (expression_statement "iVar17 = (int)param_1 * 4;" (assignment_expression "iVar17 = (int)param_1 * 4" (identifier "iVar17") (= "=") (binary_expression "(int)param_1 * 4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (* "*") (number_literal "4"))) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_001464dc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_001464dc")))) (; ";")) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(auStack_12c);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(auStack_12c)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" (( "(") (pointer_expression "*(code *)PTR_sigemptyset_001462d4" (* "*") (cast_expression "(code *)PTR_sigemptyset_001462d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigemptyset_001462d4"))) () ")")) (argument_list "(auStack_12c)" (( "(") (identifier "auStack_12c") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);" (call_expression "(*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00146364)" (( "(") (pointer_expression "*(code *)PTR_sigaddset_00146364" (* "*") (cast_expression "(code *)PTR_sigaddset_00146364" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigaddset_00146364"))) () ")")) (argument_list "(auStack_12c,0x12)" (( "(") (identifier "auStack_12c") (, ",") (number_literal "0x12") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigemptyset_001462d4)(auStack_ac);" (call_expression "(*(code *)PTR_sigemptyset_001462d4)(auStack_ac)" (parenthesized_expression "(*(code *)PTR_sigemptyset_001462d4)" (( "(") (pointer_expression "*(code *)PTR_sigemptyset_001462d4" (* "*") (cast_expression "(code *)PTR_sigemptyset_001462d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigemptyset_001462d4"))) () ")")) (argument_list "(auStack_ac)" (( "(") (identifier "auStack_ac") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_00146514" (* "*") (cast_expression "(code *)PTR_sigprocmask_00146514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_00146514"))) () ")")) (argument_list "(1,auStack_12c,auStack_ac)" (( "(") (number_literal "1") (, ",") (identifier "auStack_12c") (, ",") (identifier "auStack_ac") () ")"))) (; ";")) (expression_statement "iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);" (assignment_expression "iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" (identifier "iVar26") (= "=") (pointer_expression "*(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(*piVar18 + iVar17) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0xc)" (( "(") (binary_expression "*(int *)(*piVar18 + iVar17) + 0xc" (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar26 == 4) {\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" (if "if") (parenthesized_expression "(iVar26 == 4)" (( "(") (binary_expression "iVar26 == 4" (identifier "iVar26") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n    iVar17 = -1;\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }" ({ "{") (expression_statement "iVar17 = -1;" (assignment_expression "iVar17 = -1" (identifier "iVar17") (= "=") (number_literal "-1")) (; ";")) (expression_statement "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);" (assignment_expression "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" (identifier "uVar14") (= "=") (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00146498" (* "*") (cast_expression "(code *)PTR_dcgettext_00146498" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00146498"))) () ")")) (argument_list "(0,PTR_LAB_00144578 + 0x7d9c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00144578 + 0x7d9c" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7d9c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);" (call_expression "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728)" (identifier "internal_error") (argument_list "(uVar14,*(undefined4 *)PTR_this_command_name_00144728)" (( "(") (identifier "uVar14") (, ",") (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" (* "*") (cast_expression "(undefined4 *)PTR_this_command_name_00144728" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_this_command_name_00144728"))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_00146514" (* "*") (cast_expression "(code *)PTR_sigprocmask_00146514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_00146514"))) () ")")) (argument_list "(3,auStack_ac,0)" (( "(") (number_literal "3") (, ",") (identifier "auStack_ac") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (else_clause "else if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" (else "else") (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }\n  else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }\n    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);\n    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);\nLAB_0006b9dc:\n    iVar17 = 0;\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n  }" ({ "{") (if_statement "if (iVar26 != 1) {\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" (if "if") (parenthesized_expression "(iVar26 != 1)" (( "(") (binary_expression "iVar26 != 1" (identifier "iVar26") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      local_134 = FUN_000649c8();\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      iVar6 = *(int *)PTR_posixly_correct_0014458c;\n      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;\n      if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }\n      piVar23 = *(int **)(iVar3 + 4);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);\n      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);\n      goto LAB_0006b898;\n    }" ({ "{") (expression_statement "local_134 = FUN_000649c8();" (assignment_expression "local_134 = FUN_000649c8()" (identifier "local_134") (= "=") (call_expression "FUN_000649c8()" (identifier "FUN_000649c8") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)PTR_posixly_correct_0014458c;" (assignment_expression "iVar6 = *(int *)PTR_posixly_correct_0014458c" (identifier "iVar6") (= "=") (pointer_expression "*(int *)PTR_posixly_correct_0014458c" (* "*") (cast_expression "(int *)PTR_posixly_correct_0014458c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_posixly_correct_0014458c")))) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "0xfffffffd"))) (; ";")) (if_statement "if (iVar6 == 0) {\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }\n      else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }\n      }" ({ "{") (if_statement "if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }\n        else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" (if "if") (parenthesized_expression "(*(int **)(PTR_js_00144e58 + 0x2c) == param_1)" (( "(") (binary_expression "*(int **)(PTR_js_00144e58 + 0x2c) == param_1" (pointer_expression "*(int **)(PTR_js_00144e58 + 0x2c)" (* "*") (cast_expression "(int **)(PTR_js_00144e58 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_js_00144e58 + 0x2c)" (( "(") (binary_expression "PTR_js_00144e58 + 0x2c" (identifier "PTR_js_00144e58") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n          puVar11 = PTR_LAB_00144578 + 0x7144;\n        }" ({ "{") (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7144;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7144" (identifier "puVar11") (= "=") (binary_expression "PTR_LAB_00144578 + 0x7144" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7144"))) (; ";")) (} "}")) (else_clause "else {\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" (else "else") (compound_statement "{\n          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;\n          puVar11 = PTR_LAB_00144578 + 0x7d98;\n        }" ({ "{") (if_statement "if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;" (if "if") (parenthesized_expression "(*(int **)(PTR_js_00144e58 + 0x30) != param_1)" (( "(") (binary_expression "*(int **)(PTR_js_00144e58 + 0x30) != param_1" (pointer_expression "*(int **)(PTR_js_00144e58 + 0x30)" (* "*") (cast_expression "(int **)(PTR_js_00144e58 + 0x30)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_js_00144e58 + 0x30)" (( "(") (binary_expression "PTR_js_00144e58 + 0x30" (identifier "PTR_js_00144e58") (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (identifier "param_1")) () ")")) (goto_statement "goto LAB_0006b860;" (goto "goto") (statement_identifier "LAB_0006b860") (; ";"))) (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7d98;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7d98" (identifier "puVar11") (= "=") (binary_expression "PTR_LAB_00144578 + 0x7d98" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7d98"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" (else "else") (compound_statement "{\nLAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;\n      }" ({ "{") (labeled_statement "LAB_0006b860:\n        puVar11 = PTR_LAB_00144578 + 0x7b04;" (statement_identifier "LAB_0006b860") (: ":") (expression_statement "puVar11 = PTR_LAB_00144578 + 0x7b04;" (assignment_expression "puVar11 = PTR_LAB_00144578 + 0x7b04" (identifier "puVar11") (= "=") (binary_expression "PTR_LAB_00144578 + 0x7b04" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7b04"))) (; ";"))) (} "}")))) (expression_statement "piVar23 = *(int **)(iVar3 + 4);" (assignment_expression "piVar23 = *(int **)(iVar3 + 4)" (identifier "piVar23") (= "=") (pointer_expression "*(int **)(iVar3 + 4)" (* "*") (cast_expression "(int **)(iVar3 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_001462ec" (* "*") (cast_expression "(code *)PTR___printf_chk_001462ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_001462ec"))) () ")")) (argument_list "(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_LAB_00144578 + 0x7dd8" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7dd8")) (, ",") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) (, ",") (identifier "puVar11") () ")"))) (; ";")) (expression_statement "piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)(*piVar18 + iVar17) + 4)" (* "*") (cast_expression "(int **)(*(int *)(*piVar18 + iVar17) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 4)" (( "(") (binary_expression "*(int *)(*piVar18 + iVar17) + 4" (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (goto_statement "goto LAB_0006b898;" (goto "goto") (statement_identifier "LAB_0006b898") (; ";")) (} "}"))) (expression_statement "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);" (assignment_expression "uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" (identifier "uVar14") (= "=") (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00146498" (* "*") (cast_expression "(code *)PTR_dcgettext_00146498" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00146498"))) () ")")) (argument_list "(0,PTR_LAB_00144578 + 0x7db4,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00144578 + 0x7db4" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7db4")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);" (call_expression "internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1)" (identifier "internal_error") (argument_list "(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1)" (( "(") (identifier "uVar14") (, ",") (pointer_expression "*(undefined4 *)PTR_this_command_name_00144728" (* "*") (cast_expression "(undefined4 *)PTR_this_command_name_00144728" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_this_command_name_00144728"))) (, ",") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")"))) (; ";")) (labeled_statement "LAB_0006b9dc:\n    iVar17 = 0;" (statement_identifier "LAB_0006b9dc") (: ":") (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" (identifier "iVar17") (= "=") (number_literal "0")) (; ";"))) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_00146514" (* "*") (cast_expression "(code *)PTR_sigprocmask_00146514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_00146514"))) () ")")) (argument_list "(3,auStack_ac,0)" (( "(") (number_literal "3") (, ",") (identifier "auStack_ac") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" (else "else") (compound_statement "{\n    local_134 = FUN_000649c8();\n    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;\n    FUN_00064368(param_1);\n    iVar3 = *(int *)(*piVar18 + iVar17);\n    piVar1 = *(int **)(iVar3 + 4);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;\n    piVar23 = piVar1;\nLAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;\n    puVar11 = PTR_DAT_001445ac + -0x6800;\n    puVar21 = PTR_LAB_00144578 + 0x6720;\n    do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);\n    if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }\n    uVar14 = *puVar7;\n    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);\n    if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }\n    (*(code *)PTR_putchar_00146340)(10);\n    if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }\nLAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);\n    uVar14 = *(undefined4 *)(iVar17 + 4);\n    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);\n    iVar17 = wait_for(uVar14);\n    puVar7 = puVar15;\n    do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);\n    *puVar4 = *puVar13;\n    set_tty_state();\n  }" ({ "{") (expression_statement "local_134 = FUN_000649c8();" (assignment_expression "local_134 = FUN_000649c8()" (identifier "local_134") (= "=") (call_expression "FUN_000649c8()" (identifier "FUN_000649c8") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (* "*") (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (* "*") (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "0xfffffffd"))) (; ";")) (expression_statement "FUN_00064368(param_1);" (call_expression "FUN_00064368(param_1)" (identifier "FUN_00064368") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(iVar3 + 4);" (assignment_expression "piVar1 = *(int **)(iVar3 + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(iVar3 + 4)" (* "*") (cast_expression "(int **)(iVar3 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar3 + 0x10) | 1" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (expression_statement "piVar23 = piVar1;" (assignment_expression "piVar23 = piVar1" (identifier "piVar23") (= "=") (identifier "piVar1")) (; ";")) (labeled_statement "LAB_0006b898:\n    puVar19 = PTR_LAB_00144578 + 0x6298;" (statement_identifier "LAB_0006b898") (: ":") (expression_statement "puVar19 = PTR_LAB_00144578 + 0x6298;" (assignment_expression "puVar19 = PTR_LAB_00144578 + 0x6298" (identifier "puVar19") (= "=") (binary_expression "PTR_LAB_00144578 + 0x6298" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x6298"))) (; ";"))) (expression_statement "puVar11 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "puVar11 = PTR_DAT_001445ac + -0x6800" (identifier "puVar11") (= "=") (binary_expression "PTR_DAT_001445ac + -0x6800" (identifier "PTR_DAT_001445ac") (+ "+") (number_literal "-0x6800"))) (; ";")) (expression_statement "puVar21 = PTR_LAB_00144578 + 0x6720;" (assignment_expression "puVar21 = PTR_LAB_00144578 + 0x6720" (identifier "puVar21") (= "=") (binary_expression "PTR_LAB_00144578 + 0x6720" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x6720"))) (; ";")) (do_statement "do {\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    } while (piVar1 != piVar23);" (do "do") (compound_statement "{\n      puVar9 = (undefined *)piVar23[4];\n      if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }\n      puVar12 = puVar21;\n      if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }\n      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);\n      piVar23 = (int *)*piVar23;\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n      piVar1 = (int *)puVar7[1];\n    }" ({ "{") (expression_statement "puVar9 = (undefined *)piVar23[4];" (assignment_expression "puVar9 = (undefined *)piVar23[4]" (identifier "puVar9") (= "=") (cast_expression "(undefined *)piVar23[4]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar23[4]" (identifier "piVar23") ([ "[") (number_literal "4") (] "]")))) (; ";")) (if_statement "if ((undefined *)piVar23[4] == (undefined *)0x0) {\n        puVar9 = puVar11;\n      }" (if "if") (parenthesized_expression "((undefined *)piVar23[4] == (undefined *)0x0)" (( "(") (binary_expression "(undefined *)piVar23[4] == (undefined *)0x0" (cast_expression "(undefined *)piVar23[4]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar23[4]" (identifier "piVar23") ([ "[") (number_literal "4") (] "]"))) (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        puVar9 = puVar11;\n      }" ({ "{") (expression_statement "puVar9 = puVar11;" (assignment_expression "puVar9 = puVar11" (identifier "puVar9") (= "=") (identifier "puVar11")) (; ";")) (} "}"))) (expression_statement "puVar12 = puVar21;" (assignment_expression "puVar12 = puVar21" (identifier "puVar12") (= "=") (identifier "puVar21")) (; ";")) (if_statement "if ((int *)*piVar23 == piVar1) {\n        puVar12 = puVar11;\n      }" (if "if") (parenthesized_expression "((int *)*piVar23 == piVar1)" (( "(") (binary_expression "(int *)*piVar23 == piVar1" (cast_expression "(int *)*piVar23" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar23" (* "*") (identifier "piVar23"))) (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\n        puVar12 = puVar11;\n      }" ({ "{") (expression_statement "puVar12 = puVar11;" (assignment_expression "puVar12 = puVar11" (identifier "puVar12") (= "=") (identifier "puVar11")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_001462ec" (* "*") (cast_expression "(code *)PTR___printf_chk_001462ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_001462ec"))) () ")")) (argument_list "(1,puVar19,puVar9,puVar12)" (( "(") (number_literal "1") (, ",") (identifier "puVar19") (, ",") (identifier "puVar9") (, ",") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "piVar23 = (int *)*piVar23;" (assignment_expression "piVar23 = (int *)*piVar23" (identifier "piVar23") (= "=") (cast_expression "(int *)*piVar23" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar23" (* "*") (identifier "piVar23")))) (; ";")) (expression_statement "puVar7 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar7 = *(undefined4 **)(*piVar18 + iVar17)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" (* "*") (cast_expression "(undefined4 **)(*piVar18 + iVar17)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (expression_statement "piVar1 = (int *)puVar7[1];" (assignment_expression "piVar1 = (int *)puVar7[1]" (identifier "piVar1") (= "=") (cast_expression "(int *)puVar7[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != piVar23)" (( "(") (binary_expression "piVar1 != piVar23" (identifier "piVar1") (!= "!=") (identifier "piVar23")) () ")")) (; ";")) (if_statement "if (param_2 == (undefined4 *)0x0) {\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);\n      puVar7 = *(undefined4 **)(*piVar18 + iVar17);\n    }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_001462ec" (* "*") (cast_expression "(code *)PTR___printf_chk_001462ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_001462ec"))) () ")")) (argument_list "(1,PTR_LAB_00144578 + 0x7b74)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_LAB_00144578 + 0x7b74" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7b74")) () ")"))) (; ";")) (expression_statement "puVar7 = *(undefined4 **)(*piVar18 + iVar17);" (assignment_expression "puVar7 = *(undefined4 **)(*piVar18 + iVar17)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined4 **)(*piVar18 + iVar17)" (* "*") (cast_expression "(undefined4 **)(*piVar18 + iVar17)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" (identifier "uVar14") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_00146548)(local_134,uVar14)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00146548" (* "*") (cast_expression "(code *)PTR_strcmp_00146548" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00146548"))) () ")")) (argument_list "(local_134,uVar14)" (( "(") (identifier "local_134") (, ",") (identifier "uVar14") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);\n      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);\n    }" ({ "{") (expression_statement "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);" (assignment_expression "uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14)" (identifier "uVar14") (= "=") (call_expression "(*(code *)PTR_polite_directory_format_00144970)(uVar14)" (parenthesized_expression "(*(code *)PTR_polite_directory_format_00144970)" (( "(") (pointer_expression "*(code *)PTR_polite_directory_format_00144970" (* "*") (cast_expression "(code *)PTR_polite_directory_format_00144970" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_polite_directory_format_00144970"))) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);" (call_expression "(*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_001462ec)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_001462ec" (* "*") (cast_expression "(code *)PTR___printf_chk_001462ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_001462ec"))) () ")")) (argument_list "(1,PTR_LAB_00144578 + 0x7de0,uVar14)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_LAB_00144578 + 0x7de0" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7de0")) (, ",") (identifier "uVar14") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" (( "(") (pointer_expression "*(code *)PTR_putchar_00146340" (* "*") (cast_expression "(code *)PTR_putchar_00146340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_00146340"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (if_statement "if (iVar26 == 1) {\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }\n    else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" (if "if") (parenthesized_expression "(iVar26 == 1)" (( "(") (binary_expression "iVar26 == 1" (identifier "iVar26") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;\n    }" ({ "{") (if_statement "if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;\n        goto LAB_0006b9c8;\n      }" ({ "{") (expression_statement "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;" (assignment_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =\n             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (* "*") (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (* "*") (cast_expression "(uint *)(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*piVar18 + iVar17) + 0x10)" (( "(") (binary_expression "*(int *)(*piVar18 + iVar17) + 0x10" (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "0xfffffffe"))) (; ";")) (goto_statement "goto LAB_0006b9c8;" (goto "goto") (statement_identifier "LAB_0006b9c8") (; ";")) (} "}"))) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" (identifier "get_tty_state") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0)" (identifier "puVar20") (= "=") (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" (( "(") (binary_expression "PTR___environ_00145154 + -0x70d0" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x70d0")) () ")")))) (; ";")) (expression_statement "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" (identifier "puVar15") (= "=") (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" (( "(") (binary_expression "PTR_data_start_00144568 + 0x7ee8" (identifier "PTR_data_start_00144568") (+ "+") (number_literal "0x7ee8")) () ")")))) (; ";")) (expression_statement "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0)" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70a0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" (( "(") (binary_expression "PTR___environ_00145154 + -0x70a0" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x70a0")) () ")")))) (; ";")) (expression_statement "puVar7 = puVar20;" (assignment_expression "puVar7 = puVar20" (identifier "puVar7") (= "=") (identifier "puVar20")) (; ";")) (expression_statement "puVar4 = puVar15;" (assignment_expression "puVar4 = puVar15" (identifier "puVar4") (= "=") (identifier "puVar15")) (; ";")) (do_statement "do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);" (do "do") (compound_statement "{\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      }" ({ "{") (expression_statement "puVar2 = puVar7 + 4;" (assignment_expression "puVar2 = puVar7 + 4" (identifier "puVar2") (= "=") (binary_expression "puVar7 + 4" (identifier "puVar7") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar5 = puVar4 + 4;" (assignment_expression "puVar5 = puVar4 + 4" (identifier "puVar5") (= "=") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" (identifier "uVar10") (= "=") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" (identifier "uVar14") (= "=") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar4[1] = uVar10;" (assignment_expression "puVar4[1] = uVar10" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "puVar4[2] = uVar8;" (assignment_expression "puVar4[2] = uVar8" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar4[3] = uVar14;" (assignment_expression "puVar4[3] = uVar14" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "puVar7 = puVar2;" (assignment_expression "puVar7 = puVar2" (identifier "puVar7") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != puVar13)" (( "(") (binary_expression "puVar2 != puVar13" (identifier "puVar2") (!= "!=") (identifier "puVar13")) () ")")) (; ";")) (expression_statement "iVar3 = *piVar18;" (assignment_expression "iVar3 = *piVar18" (identifier "iVar3") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (expression_statement "*puVar5 = *puVar2;" (assignment_expression "*puVar5 = *puVar2" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar3 + iVar17);" (assignment_expression "iVar3 = *(int *)(iVar3 + iVar17)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + iVar17)" (* "*") (cast_expression "(int *)(iVar3 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar17)" (( "(") (binary_expression "iVar3 + iVar17" (identifier "iVar3") (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (if_statement "if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;" (if "if") (parenthesized_expression "((*(uint *)(iVar3 + 0x10) & 4) != 0)" (( "(") (binary_expression "(*(uint *)(iVar3 + 0x10) & 4) != 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x10) & 4)" (( "(") (binary_expression "*(uint *)(iVar3 + 0x10) & 4" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0006bce0;" (goto "goto") (statement_identifier "LAB_0006bce0") (; ";"))) (} "}")) (else_clause "else {\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" (else "else") (compound_statement "{\n      iVar3 = *(int *)(*piVar18 + iVar17);\n      piVar1 = *(int **)(iVar3 + 4);\n      piVar23 = piVar1;\n      do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);\n      *(undefined4 *)(iVar3 + 0xc) = 1;\n      puVar11 = PTR_killpg_00146474;\n      if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }\n      get_tty_state();\n      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);\n      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);\n      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);\n      puVar7 = puVar20;\n      puVar4 = puVar15;\n      do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);\n      iVar3 = *piVar18;\n      *puVar5 = *puVar2;\n      iVar3 = *(int *)(iVar3 + iVar17);\n      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }\n      puVar11 = PTR_killpg_00146474;\n      iVar17 = *(int *)(iVar26 + iVar17);\n      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;\n      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(*piVar18 + iVar17);" (assignment_expression "iVar3 = *(int *)(*piVar18 + iVar17)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*piVar18 + iVar17)" (* "*") (cast_expression "(int *)(*piVar18 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + iVar17)" (( "(") (binary_expression "*piVar18 + iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(iVar3 + 4);" (assignment_expression "piVar1 = *(int **)(iVar3 + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(iVar3 + 4)" (* "*") (cast_expression "(int **)(iVar3 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar23 = piVar1;" (assignment_expression "piVar23 = piVar1" (identifier "piVar23") (= "=") (identifier "piVar1")) (; ";")) (do_statement "do {\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      } while (piVar1 != piVar23);" (do "do") (compound_statement "{\n        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }\n        piVar23 = (int *)*piVar23;\n      }" ({ "{") (if_statement "if (*(char *)((int)piVar23 + 0xb) == '\x7f') {\n          piVar23[3] = 1;\n        }" (if "if") (parenthesized_expression "(*(char *)((int)piVar23 + 0xb) == '\x7f')" (( "(") (binary_expression "*(char *)((int)piVar23 + 0xb) == '\x7f'" (pointer_expression "*(char *)((int)piVar23 + 0xb)" (* "*") (cast_expression "(char *)((int)piVar23 + 0xb)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar23 + 0xb)" (( "(") (binary_expression "(int)piVar23 + 0xb" (cast_expression "(int)piVar23" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar23")) (+ "+") (number_literal "0xb")) () ")")))) (== "==") (char_literal "'\x7f'" (' "'") (escape_sequence "\x7f") (' "'"))) () ")")) (compound_statement "{\n          piVar23[3] = 1;\n        }" ({ "{") (expression_statement "piVar23[3] = 1;" (assignment_expression "piVar23[3] = 1" (subscript_expression "piVar23[3]" (identifier "piVar23") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "piVar23 = (int *)*piVar23;" (assignment_expression "piVar23 = (int *)*piVar23" (identifier "piVar23") (= "=") (cast_expression "(int *)*piVar23" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar23" (* "*") (identifier "piVar23")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != piVar23)" (( "(") (binary_expression "piVar1 != piVar23" (identifier "piVar1") (!= "!=") (identifier "piVar23")) () ")")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar3 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar11 = PTR_killpg_00146474;" (assignment_expression "puVar11 = PTR_killpg_00146474" (identifier "puVar11") (= "=") (identifier "PTR_killpg_00146474")) (; ";")) (if_statement "if (param_2 == (undefined4 *)0x0) {\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;\n        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);\nLAB_0006b9c8:\n        FUN_00064490();\n        goto LAB_0006b9dc;\n      }" ({ "{") (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffe | 2" (binary_expression "*(uint *)(iVar3 + 0x10) & 0xfffffffe" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "0xfffffffe")) (| "|") (number_literal "2"))) (; ";")) (expression_statement "(*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);" (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19)" (parenthesized_expression "(*(code *)puVar11)" (( "(") (pointer_expression "*(code *)puVar11" (* "*") (cast_expression "(code *)puVar11" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar11"))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + 8),0x19)" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "0x19") () ")"))) (; ";")) (labeled_statement "LAB_0006b9c8:\n        FUN_00064490();" (statement_identifier "LAB_0006b9c8") (: ":") (expression_statement "FUN_00064490();" (call_expression "FUN_00064490()" (identifier "FUN_00064490") (argument_list "()" (( "(") () ")"))) (; ";"))) (goto_statement "goto LAB_0006b9dc;" (goto "goto") (statement_identifier "LAB_0006b9dc") (; ";")) (} "}"))) (expression_statement "get_tty_state();" (call_expression "get_tty_state()" (identifier "get_tty_state") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);" (assignment_expression "puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0)" (identifier "puVar20") (= "=") (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x70d0)" (( "(") (binary_expression "PTR___environ_00145154 + -0x70d0" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x70d0")) () ")")))) (; ";")) (expression_statement "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);" (assignment_expression "puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" (identifier "puVar15") (= "=") (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7ee8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_data_start_00144568 + 0x7ee8)" (( "(") (binary_expression "PTR_data_start_00144568 + 0x7ee8" (identifier "PTR_data_start_00144568") (+ "+") (number_literal "0x7ee8")) () ")")))) (; ";")) (expression_statement "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);" (assignment_expression "puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0)" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)(PTR___environ_00145154 + -0x70a0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x70a0)" (( "(") (binary_expression "PTR___environ_00145154 + -0x70a0" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x70a0")) () ")")))) (; ";")) (expression_statement "puVar7 = puVar20;" (assignment_expression "puVar7 = puVar20" (identifier "puVar7") (= "=") (identifier "puVar20")) (; ";")) (expression_statement "puVar4 = puVar15;" (assignment_expression "puVar4 = puVar15" (identifier "puVar4") (= "=") (identifier "puVar15")) (; ";")) (do_statement "do {\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      } while (puVar2 != puVar13);" (do "do") (compound_statement "{\n        puVar2 = puVar7 + 4;\n        puVar5 = puVar4 + 4;\n        uVar10 = puVar7[1];\n        uVar8 = puVar7[2];\n        uVar14 = puVar7[3];\n        *puVar4 = *puVar7;\n        puVar4[1] = uVar10;\n        puVar4[2] = uVar8;\n        puVar4[3] = uVar14;\n        puVar7 = puVar2;\n        puVar4 = puVar5;\n      }" ({ "{") (expression_statement "puVar2 = puVar7 + 4;" (assignment_expression "puVar2 = puVar7 + 4" (identifier "puVar2") (= "=") (binary_expression "puVar7 + 4" (identifier "puVar7") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar5 = puVar4 + 4;" (assignment_expression "puVar5 = puVar4 + 4" (identifier "puVar5") (= "=") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" (identifier "uVar10") (= "=") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" (identifier "uVar14") (= "=") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar4[1] = uVar10;" (assignment_expression "puVar4[1] = uVar10" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "puVar4[2] = uVar8;" (assignment_expression "puVar4[2] = uVar8" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar4[3] = uVar14;" (assignment_expression "puVar4[3] = uVar14" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "puVar7 = puVar2;" (assignment_expression "puVar7 = puVar2" (identifier "puVar7") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != puVar13)" (( "(") (binary_expression "puVar2 != puVar13" (identifier "puVar2") (!= "!=") (identifier "puVar13")) () ")")) (; ";")) (expression_statement "iVar3 = *piVar18;" (assignment_expression "iVar3 = *piVar18" (identifier "iVar3") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (expression_statement "*puVar5 = *puVar2;" (assignment_expression "*puVar5 = *puVar2" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar3 + iVar17);" (assignment_expression "iVar3 = *(int *)(iVar3 + iVar17)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + iVar17)" (* "*") (cast_expression "(int *)(iVar3 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar17)" (( "(") (binary_expression "iVar3 + iVar17" (identifier "iVar3") (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (if_statement "if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {\n        iVar26 = *piVar18;\n      }\n      else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" (if "if") (parenthesized_expression "((*(uint *)(iVar3 + 0x10) & 4) == 0)" (( "(") (binary_expression "(*(uint *)(iVar3 + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x10) & 4)" (( "(") (binary_expression "*(uint *)(iVar3 + 0x10) & 4" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar26 = *piVar18;\n      }" ({ "{") (expression_statement "iVar26 = *piVar18;" (assignment_expression "iVar26 = *piVar18" (identifier "iVar26") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (} "}")) (else_clause "else {\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" (else "else") (compound_statement "{\nLAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);\n        if (iVar26 == 1) goto LAB_0006bbc8;\n        iVar26 = *piVar18;\n      }" ({ "{") (labeled_statement "LAB_0006bce0:\n        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);" (statement_identifier "LAB_0006bce0") (: ":") (expression_statement "give_terminal_to(*(undefined4 *)(iVar3 + 8),0);" (call_expression "give_terminal_to(*(undefined4 *)(iVar3 + 8),0)" (identifier "give_terminal_to") (argument_list "(*(undefined4 *)(iVar3 + 8),0)" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "0") () ")"))) (; ";"))) (if_statement "if (iVar26 == 1) goto LAB_0006bbc8;" (if "if") (parenthesized_expression "(iVar26 == 1)" (( "(") (binary_expression "iVar26 == 1" (identifier "iVar26") (== "==") (number_literal "1")) () ")")) (goto_statement "goto LAB_0006bbc8;" (goto "goto") (statement_identifier "LAB_0006bbc8") (; ";"))) (expression_statement "iVar26 = *piVar18;" (assignment_expression "iVar26 = *piVar18" (identifier "iVar26") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (} "}")))) (expression_statement "puVar11 = PTR_killpg_00146474;" (assignment_expression "puVar11 = PTR_killpg_00146474" (identifier "puVar11") (= "=") (identifier "PTR_killpg_00146474")) (; ";")) (expression_statement "iVar17 = *(int *)(iVar26 + iVar17);" (assignment_expression "iVar17 = *(int *)(iVar26 + iVar17)" (identifier "iVar17") (= "=") (pointer_expression "*(int *)(iVar26 + iVar17)" (* "*") (cast_expression "(int *)(iVar26 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar26 + iVar17)" (( "(") (binary_expression "iVar26 + iVar17" (identifier "iVar26") (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;" (assignment_expression "*(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" (* "*") (cast_expression "(uint *)(iVar17 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + 0x10)" (( "(") (binary_expression "iVar17 + 0x10" (identifier "iVar17") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar17 + 0x10) | 2" (pointer_expression "*(uint *)(iVar17 + 0x10)" (* "*") (cast_expression "(uint *)(iVar17 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + 0x10)" (( "(") (binary_expression "iVar17 + 0x10" (identifier "iVar17") (+ "+") (number_literal "0x10")) () ")")))) (| "|") (number_literal "2"))) (; ";")) (expression_statement "(*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);" (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19)" (parenthesized_expression "(*(code *)puVar11)" (( "(") (pointer_expression "*(code *)puVar11" (* "*") (cast_expression "(code *)puVar11" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar11"))) () ")")) (argument_list "(*(undefined4 *)(iVar17 + 8),0x19)" (( "(") (pointer_expression "*(undefined4 *)(iVar17 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar17 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + 8)" (( "(") (binary_expression "iVar17 + 8" (identifier "iVar17") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "0x19") () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_0006bbc8:\n    iVar17 = FUN_00065a6c(param_1);" (statement_identifier "LAB_0006bbc8") (: ":") (expression_statement "iVar17 = FUN_00065a6c(param_1);" (assignment_expression "iVar17 = FUN_00065a6c(param_1)" (identifier "iVar17") (= "=") (call_expression "FUN_00065a6c(param_1)" (identifier "FUN_00065a6c") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";"))) (expression_statement "uVar14 = *(undefined4 *)(iVar17 + 4);" (assignment_expression "uVar14 = *(undefined4 *)(iVar17 + 4)" (identifier "uVar14") (= "=") (pointer_expression "*(undefined4 *)(iVar17 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar17 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + 4)" (( "(") (binary_expression "iVar17 + 4" (identifier "iVar17") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);" (call_expression "(*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_00146514)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_00146514" (* "*") (cast_expression "(code *)PTR_sigprocmask_00146514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_00146514"))) () ")")) (argument_list "(3,auStack_ac,0)" (( "(") (number_literal "3") (, ",") (identifier "auStack_ac") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar17 = wait_for(uVar14);" (assignment_expression "iVar17 = wait_for(uVar14)" (identifier "iVar17") (= "=") (call_expression "wait_for(uVar14)" (identifier "wait_for") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (expression_statement "puVar7 = puVar15;" (assignment_expression "puVar7 = puVar15" (identifier "puVar7") (= "=") (identifier "puVar15")) (; ";")) (do_statement "do {\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    } while (puVar13 != puVar15 + 0xc);" (do "do") (compound_statement "{\n      puVar13 = puVar7 + 4;\n      puVar4 = puVar20 + 4;\n      uVar10 = puVar7[1];\n      uVar8 = puVar7[2];\n      uVar14 = puVar7[3];\n      *puVar20 = *puVar7;\n      puVar20[1] = uVar10;\n      puVar20[2] = uVar8;\n      puVar20[3] = uVar14;\n      puVar20 = puVar4;\n      puVar7 = puVar13;\n    }" ({ "{") (expression_statement "puVar13 = puVar7 + 4;" (assignment_expression "puVar13 = puVar7 + 4" (identifier "puVar13") (= "=") (binary_expression "puVar7 + 4" (identifier "puVar7") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar4 = puVar20 + 4;" (assignment_expression "puVar4 = puVar20 + 4" (identifier "puVar4") (= "=") (binary_expression "puVar20 + 4" (identifier "puVar20") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar10 = puVar7[1];" (assignment_expression "uVar10 = puVar7[1]" (identifier "uVar10") (= "=") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar8 = puVar7[2];" (assignment_expression "uVar8 = puVar7[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar14 = puVar7[3];" (assignment_expression "uVar14 = puVar7[3]" (identifier "uVar14") (= "=") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar20 = *puVar7;" (assignment_expression "*puVar20 = *puVar7" (pointer_expression "*puVar20" (* "*") (identifier "puVar20")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar20[1] = uVar10;" (assignment_expression "puVar20[1] = uVar10" (subscript_expression "puVar20[1]" (identifier "puVar20") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "puVar20[2] = uVar8;" (assignment_expression "puVar20[2] = uVar8" (subscript_expression "puVar20[2]" (identifier "puVar20") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar20[3] = uVar14;" (assignment_expression "puVar20[3] = uVar14" (subscript_expression "puVar20[3]" (identifier "puVar20") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "puVar20 = puVar4;" (assignment_expression "puVar20 = puVar4" (identifier "puVar20") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "puVar7 = puVar13;" (assignment_expression "puVar7 = puVar13" (identifier "puVar7") (= "=") (identifier "puVar13")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar13 != puVar15 + 0xc)" (( "(") (binary_expression "puVar13 != puVar15 + 0xc" (identifier "puVar13") (!= "!=") (binary_expression "puVar15 + 0xc" (identifier "puVar15") (+ "+") (number_literal "0xc"))) () ")")) (; ";")) (expression_statement "*puVar4 = *puVar13;" (assignment_expression "*puVar4 = *puVar13" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) (; ";")) (expression_statement "set_tty_state();" (call_expression "set_tty_state()" (identifier "set_tty_state") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))))) (if_statement "if (local_2c == *(int *)puVar24) {\n    return iVar17;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar24)" (( "(") (binary_expression "local_2c == *(int *)puVar24" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar24" (* "*") (cast_expression "(int *)puVar24" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar24")))) () ")")) (compound_statement "{\n    return iVar17;\n  }" ({ "{") (return_statement "return iVar17;" (return "return") (identifier "iVar17") (; ";")) (} "}"))) (expression_statement "iVar17 = local_2c;" (assignment_expression "iVar17 = local_2c" (identifier "iVar17") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar24 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar24 = PTR___stack_chk_fail_00146488" (identifier "puVar24") (= "=") (identifier "PTR___stack_chk_fail_00146488")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00146488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00146488"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar23 = *(int **)(puVar24 + 0xd8b10);" (assignment_expression "piVar23 = *(int **)(puVar24 + 0xd8b10)" (identifier "piVar23") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd8b10)" (* "*") (cast_expression "(int **)(puVar24 + 0xd8b10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8b10)" (( "(") (binary_expression "puVar24 + 0xd8b10" (identifier "puVar24") (+ "+") (number_literal "0xd8b10")) () ")"))))) (; ";")) (expression_statement "iVar26 = (**(code **)(puVar24 + 0xda6dc))();" (assignment_expression "iVar26 = (**(code **)(puVar24 + 0xda6dc))()" (identifier "iVar26") (= "=") (call_expression "(**(code **)(puVar24 + 0xda6dc))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda6dc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda6dc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda6dc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda6dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda6dc)" (( "(") (binary_expression "puVar24 + 0xda6dc" (identifier "puVar24") (+ "+") (number_literal "0xda6dc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar23 = iVar26;" (assignment_expression "*piVar23 = iVar26" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (= "=") (identifier "iVar26")) (; ";")) (if_statement "if (iVar26 == -1) {\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }\n  else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" (if "if") (parenthesized_expression "(iVar26 == -1)" (( "(") (binary_expression "iVar26 == -1" (identifier "iVar26") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);\n    sys_error(uVar14);\n    (**(code **)(puVar24 + 0xda620))(1);\nLAB_0006c3c8:\n    uVar14 = *param_2;\nLAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);\n    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);\n    *piVar18 = iVar17;\n    if (iVar17 != -1) goto LAB_0006bf80;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 == 0) goto LAB_0006bf08;\nLAB_0006be5c:\n    iVar17 = *piVar18;\n  }" ({ "{") (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda6fc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda6fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda6fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda6fc)" (( "(") (binary_expression "puVar24 + 0xda6fc" (identifier "puVar24") (+ "+") (number_literal "0xda6fc")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7dec" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")")))) (+ "+") (number_literal "0x7dec")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" (identifier "sys_error") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar24 + 0xda620))(1);" (call_expression "(**(code **)(puVar24 + 0xda620))(1)" (parenthesized_expression "(**(code **)(puVar24 + 0xda620))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda620)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda620)" (* "*") (cast_expression "(code **)(puVar24 + 0xda620)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda620)" (( "(") (binary_expression "puVar24 + 0xda620" (identifier "puVar24") (+ "+") (number_literal "0xda620")) () ")"))))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (labeled_statement "LAB_0006c3c8:\n    uVar14 = *param_2;" (statement_identifier "LAB_0006c3c8") (: ":") (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" (identifier "uVar14") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";"))) (labeled_statement "LAB_0006be24:\n    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);" (statement_identifier "LAB_0006be24") (: ":") (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar24 + 0xda58c))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda58c))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda58c)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda58c)" (* "*") (cast_expression "(code **)(puVar24 + 0xda58c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda58c)" (( "(") (binary_expression "puVar24 + 0xda58c" (identifier "puVar24") (+ "+") (number_literal "0xda58c")) () ")"))))) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";"))) (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14)" (identifier "iVar17") (= "=") (call_expression "(**(code **)(puVar24 + 0xda780))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda780))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda780)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda780)" (* "*") (cast_expression "(code **)(puVar24 + 0xda780)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda780)" (( "(") (binary_expression "puVar24 + 0xda780" (identifier "puVar24") (+ "+") (number_literal "0xda780")) () ")"))))) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (= "=") (identifier "iVar17")) (; ";")) (if_statement "if (iVar17 != -1) goto LAB_0006bf80;" (if "if") (parenthesized_expression "(iVar17 != -1)" (( "(") (binary_expression "iVar17 != -1" (identifier "iVar17") (!= "!=") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0006bf80;" (goto "goto") (statement_identifier "LAB_0006bf80") (; ";"))) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda670)" (* "*") (cast_expression "(code **)(puVar24 + 0xda670)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda670)" (( "(") (binary_expression "puVar24 + 0xda670" (identifier "puVar24") (+ "+") (number_literal "0xda670")) () ")"))))) (; ";")) (if_statement "if (*piVar23 == 0) goto LAB_0006bf08;" (if "if") (parenthesized_expression "(*piVar23 == 0)" (( "(") (binary_expression "*piVar23 == 0" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0006bf08;" (goto "goto") (statement_identifier "LAB_0006bf08") (; ";"))) (labeled_statement "LAB_0006be5c:\n    iVar17 = *piVar18;" (statement_identifier "LAB_0006be5c") (: ":") (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" (identifier "iVar17") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";"))) (} "}")) (else_clause "else {\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" (else "else") (compound_statement "{\n    param_1 = *(int **)(puVar24 + 0xd87f4);\n    param_2 = *(undefined4 **)(puVar24 + 0xda77c);\n    uVar14 = *param_2;\n    if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }\n    piVar18 = *(int **)(puVar24 + 0xd93fc);\n    iVar17 = **(int **)(puVar24 + 0xd87e4);\n    *piVar18 = -1;\n    if (iVar17 == 0) goto LAB_0006be24;\n    uVar14 = (**(code **)(puVar24 + 0xda58c))();\n    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);\n    if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }\n    if (iVar17 == -1) goto LAB_0006c3c8;\nLAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);\n    *piVar18 = iVar17;\n    pcVar25 = *(code **)(puVar24 + 0xda670);\n    if (*piVar23 != 0) goto LAB_0006be5c;\nLAB_0006bf08:\n    iVar17 = (*pcVar25)();\n    pcVar25 = *(code **)(puVar24 + 0xda4fc);\n    *piVar23 = iVar17;\n    (*pcVar25)(0,iVar17);\n    iVar17 = *piVar18;\n    if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }\n  }" ({ "{") (expression_statement "param_1 = *(int **)(puVar24 + 0xd87f4);" (assignment_expression "param_1 = *(int **)(puVar24 + 0xd87f4)" (identifier "param_1") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd87f4)" (* "*") (cast_expression "(int **)(puVar24 + 0xd87f4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd87f4)" (( "(") (binary_expression "puVar24 + 0xd87f4" (identifier "puVar24") (+ "+") (number_literal "0xd87f4")) () ")"))))) (; ";")) (expression_statement "param_2 = *(undefined4 **)(puVar24 + 0xda77c);" (assignment_expression "param_2 = *(undefined4 **)(puVar24 + 0xda77c)" (identifier "param_2") (= "=") (pointer_expression "*(undefined4 **)(puVar24 + 0xda77c)" (* "*") (cast_expression "(undefined4 **)(puVar24 + 0xda77c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda77c)" (( "(") (binary_expression "puVar24 + 0xda77c" (identifier "puVar24") (+ "+") (number_literal "0xda77c")) () ")"))))) (; ";")) (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" (identifier "uVar14") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar17 == 0 && *param_1 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }" (if "if") (parenthesized_expression "(iVar17 == 0 && *param_1 == 0)" (( "(") (binary_expression "iVar17 == 0 && *param_1 == 0" (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) (&& "&&") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);\n      pcVar25 = *(code **)(puVar24 + 0xda58c);\n      piVar18 = *(int **)(puVar24 + 0xd93fc);\n      *piVar1 = 0;\n      *puVar7 = 0xffffffff;\n      iVar17 = (*pcVar25)(uVar14);\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      *piVar18 = iVar17;\n      iVar17 = (*pcVar25)(iVar17);\n      iVar26 = *piVar23;\n      **(int **)(puVar24 + 0xd9434) = iVar17;\n      goto LAB_0006bff4;\n    }" ({ "{") (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" (* "*") (cast_expression "(int **)(puVar24 + 0xd8b0c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8b0c)" (( "(") (binary_expression "puVar24 + 0xd8b0c" (identifier "puVar24") (+ "+") (number_literal "0xd8b0c")) () ")"))))) (; ";")) (expression_statement "puVar7 = *(undefined4 **)(puVar24 + 0xd9070);" (assignment_expression "puVar7 = *(undefined4 **)(puVar24 + 0xd9070)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined4 **)(puVar24 + 0xd9070)" (* "*") (cast_expression "(undefined4 **)(puVar24 + 0xd9070)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd9070)" (( "(") (binary_expression "puVar24 + 0xd9070" (identifier "puVar24") (+ "+") (number_literal "0xd9070")) () ")"))))) (; ";")) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda58c);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda58c)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda58c)" (* "*") (cast_expression "(code **)(puVar24 + 0xda58c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda58c)" (( "(") (binary_expression "puVar24 + 0xda58c" (identifier "puVar24") (+ "+") (number_literal "0xda58c")) () ")"))))) (; ";")) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd93fc)" (identifier "piVar18") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd93fc)" (* "*") (cast_expression "(int **)(puVar24 + 0xd93fc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd93fc)" (( "(") (binary_expression "puVar24 + 0xd93fc" (identifier "puVar24") (+ "+") (number_literal "0xd93fc")) () ")"))))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar7 = 0xffffffff;" (assignment_expression "*puVar7 = 0xffffffff" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "iVar17 = (*pcVar25)(uVar14);" (assignment_expression "iVar17 = (*pcVar25)(uVar14)" (identifier "iVar17") (= "=") (call_expression "(*pcVar25)(uVar14)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda598)" (* "*") (cast_expression "(code **)(puVar24 + 0xda598)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda598)" (( "(") (binary_expression "puVar24 + 0xda598" (identifier "puVar24") (+ "+") (number_literal "0xda598")) () ")"))))) (; ";")) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (= "=") (identifier "iVar17")) (; ";")) (expression_statement "iVar17 = (*pcVar25)(iVar17);" (assignment_expression "iVar17 = (*pcVar25)(iVar17)" (identifier "iVar17") (= "=") (call_expression "(*pcVar25)(iVar17)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(iVar17)" (( "(") (identifier "iVar17") () ")")))) (; ";")) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" (identifier "iVar26") (= "=") (pointer_expression "*piVar23" (* "*") (identifier "piVar23"))) (; ";")) (expression_statement "**(int **)(puVar24 + 0xd9434) = iVar17;" (assignment_expression "**(int **)(puVar24 + 0xd9434) = iVar17" (pointer_expression "**(int **)(puVar24 + 0xd9434)" (* "*") (pointer_expression "*(int **)(puVar24 + 0xd9434)" (* "*") (cast_expression "(int **)(puVar24 + 0xd9434)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd9434)" (( "(") (binary_expression "puVar24 + 0xd9434" (identifier "puVar24") (+ "+") (number_literal "0xd9434")) () ")"))))) (= "=") (identifier "iVar17")) (; ";")) (goto_statement "goto LAB_0006bff4;" (goto "goto") (statement_identifier "LAB_0006bff4") (; ";")) (} "}"))) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd93fc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd93fc)" (identifier "piVar18") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd93fc)" (* "*") (cast_expression "(int **)(puVar24 + 0xd93fc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd93fc)" (( "(") (binary_expression "puVar24 + 0xd93fc" (identifier "puVar24") (+ "+") (number_literal "0xd93fc")) () ")"))))) (; ";")) (expression_statement "iVar17 = **(int **)(puVar24 + 0xd87e4);" (assignment_expression "iVar17 = **(int **)(puVar24 + 0xd87e4)" (identifier "iVar17") (= "=") (pointer_expression "**(int **)(puVar24 + 0xd87e4)" (* "*") (pointer_expression "*(int **)(puVar24 + 0xd87e4)" (* "*") (cast_expression "(int **)(puVar24 + 0xd87e4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd87e4)" (( "(") (binary_expression "puVar24 + 0xd87e4" (identifier "puVar24") (+ "+") (number_literal "0xd87e4")) () ")")))))) (; ";")) (expression_statement "*piVar18 = -1;" (assignment_expression "*piVar18 = -1" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (= "=") (number_literal "-1")) (; ";")) (if_statement "if (iVar17 == 0) goto LAB_0006be24;" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0006be24;" (goto "goto") (statement_identifier "LAB_0006be24") (; ";"))) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda58c))();" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda58c))()" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar24 + 0xda58c))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda58c))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda58c)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda58c)" (* "*") (cast_expression "(code **)(puVar24 + 0xda58c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda58c)" (( "(") (binary_expression "puVar24 + 0xda58c" (identifier "puVar24") (+ "+") (number_literal "0xda58c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14)" (identifier "iVar17") (= "=") (call_expression "(**(code **)(puVar24 + 0xda4b0))(uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4b0))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda4b0)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda4b0)" (* "*") (cast_expression "(code **)(puVar24 + 0xda4b0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda4b0)" (( "(") (binary_expression "puVar24 + 0xda4b0" (identifier "puVar24") (+ "+") (number_literal "0xda4b0")) () ")"))))) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (if_statement "if (iVar17 == 0) {\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }\n    else {\n      iVar17 = *piVar18;\n    }" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);\n      *piVar18 = iVar17;\n    }" ({ "{") (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" (identifier "iVar17") (= "=") (call_expression "(**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" (parenthesized_expression "(**(code **)(puVar24 + 0xda5dc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda5dc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda5dc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda5dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda5dc)" (( "(") (binary_expression "puVar24 + 0xda5dc" (identifier "puVar24") (+ "+") (number_literal "0xda5dc")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82)" (( "(") (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x62c0" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")")))) (+ "+") (number_literal "0x62c0")) (, ",") (number_literal "0x82") () ")")))) (; ";")) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (= "=") (identifier "iVar17")) (; ";")) (} "}")) (else_clause "else {\n      iVar17 = *piVar18;\n    }" (else "else") (compound_statement "{\n      iVar17 = *piVar18;\n    }" ({ "{") (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" (identifier "iVar17") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (} "}")))) (if_statement "if (iVar17 == -1) goto LAB_0006c3c8;" (if "if") (parenthesized_expression "(iVar17 == -1)" (( "(") (binary_expression "iVar17 == -1" (identifier "iVar17") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0006c3c8;" (goto "goto") (statement_identifier "LAB_0006c3c8") (; ";"))) (labeled_statement "LAB_0006bf80:\n    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);" (statement_identifier "LAB_0006bf80") (: ":") (expression_statement "iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff)" (identifier "iVar17") (= "=") (call_expression "(**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8a0c))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xd8a0c)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xd8a0c)" (* "*") (cast_expression "(code **)(puVar24 + 0xd8a0c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8a0c)" (( "(") (binary_expression "puVar24 + 0xd8a0c" (identifier "puVar24") (+ "+") (number_literal "0xd8a0c")) () ")"))))) () ")")) (argument_list "(iVar17,1,0xffffffff)" (( "(") (identifier "iVar17") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") () ")")))) (; ";"))) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (= "=") (identifier "iVar17")) (; ";")) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda670)" (* "*") (cast_expression "(code **)(puVar24 + 0xda670)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda670)" (( "(") (binary_expression "puVar24 + 0xda670" (identifier "puVar24") (+ "+") (number_literal "0xda670")) () ")"))))) (; ";")) (if_statement "if (*piVar23 != 0) goto LAB_0006be5c;" (if "if") (parenthesized_expression "(*piVar23 != 0)" (( "(") (binary_expression "*piVar23 != 0" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0006be5c;" (goto "goto") (statement_identifier "LAB_0006be5c") (; ";"))) (labeled_statement "LAB_0006bf08:\n    iVar17 = (*pcVar25)();" (statement_identifier "LAB_0006bf08") (: ":") (expression_statement "iVar17 = (*pcVar25)();" (assignment_expression "iVar17 = (*pcVar25)()" (identifier "iVar17") (= "=") (call_expression "(*pcVar25)()" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";"))) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda4fc);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda4fc)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda4fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda4fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda4fc)" (( "(") (binary_expression "puVar24 + 0xda4fc" (identifier "puVar24") (+ "+") (number_literal "0xda4fc")) () ")"))))) (; ";")) (expression_statement "*piVar23 = iVar17;" (assignment_expression "*piVar23 = iVar17" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (= "=") (identifier "iVar17")) (; ";")) (expression_statement "(*pcVar25)(0,iVar17);" (call_expression "(*pcVar25)(0,iVar17)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(0,iVar17)" (( "(") (number_literal "0") (, ",") (identifier "iVar17") () ")"))) (; ";")) (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" (identifier "iVar17") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (if_statement "if (iVar17 != -1) {\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }" (if "if") (parenthesized_expression "(iVar17 != -1)" (( "(") (binary_expression "iVar17 != -1" (identifier "iVar17") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);\n      goto LAB_0006be5c;\n    }" ({ "{") (expression_statement "(**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);" (call_expression "(**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23)" (parenthesized_expression "(**(code **)(puVar24 + 0xda73c))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda73c)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda73c)" (* "*") (cast_expression "(code **)(puVar24 + 0xda73c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda73c)" (( "(") (binary_expression "puVar24 + 0xda73c" (identifier "puVar24") (+ "+") (number_literal "0xda73c")) () ")"))))) () ")")) (argument_list "(iVar17,*piVar23)" (( "(") (identifier "iVar17") (, ",") (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) () ")"))) (; ";")) (goto_statement "goto LAB_0006be5c;" (goto "goto") (statement_identifier "LAB_0006be5c") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar26 = 0x12;" (assignment_expression "iVar26 = 0x12" (identifier "iVar26") (= "=") (number_literal "0x12")) (; ";")) (expression_statement "piVar22 = *(int **)(puVar24 + 0xd9434);" (assignment_expression "piVar22 = *(int **)(puVar24 + 0xd9434)" (identifier "piVar22") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd9434)" (* "*") (cast_expression "(int **)(puVar24 + 0xd9434)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd9434)" (( "(") (binary_expression "puVar24 + 0xd9434" (identifier "puVar24") (+ "+") (number_literal "0xd9434")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8a98);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8a98)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd8a98)" (* "*") (cast_expression "(int **)(puVar24 + 0xd8a98)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8a98)" (( "(") (binary_expression "puVar24 + 0xd8a98" (identifier "puVar24") (+ "+") (number_literal "0xd8a98")) () ")"))))) (; ";")) (while_statement "while( true ) {\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);\n    *piVar22 = iVar17;\n    if (iVar17 == -1) break;\n    if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }\n    pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }\n    iVar26 = iVar26 + -1;\n    uVar14 = (*pcVar25)(0x1a,0);\n    (**(code **)(puVar24 + 0xda61c))(0,0x1a);\n    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);\n    if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }\n    iVar17 = *piVar18;\n  }" ({ "{") (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17)" (identifier "iVar17") (= "=") (call_expression "(**(code **)(puVar24 + 0xda598))(iVar17)" (parenthesized_expression "(**(code **)(puVar24 + 0xda598))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda598)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda598)" (* "*") (cast_expression "(code **)(puVar24 + 0xda598)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda598)" (( "(") (binary_expression "puVar24 + 0xda598" (identifier "puVar24") (+ "+") (number_literal "0xda598")) () ")"))))) () ")")) (argument_list "(iVar17)" (( "(") (identifier "iVar17") () ")")))) (; ";")) (expression_statement "*piVar22 = iVar17;" (assignment_expression "*piVar22 = iVar17" (pointer_expression "*piVar22" (* "*") (identifier "piVar22")) (= "=") (identifier "iVar17")) (; ";")) (if_statement "if (iVar17 == -1) break;" (if "if") (parenthesized_expression "(iVar17 == -1)" (( "(") (binary_expression "iVar17 == -1" (identifier "iVar17") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (*piVar23 == iVar17) {\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }" (if "if") (parenthesized_expression "(*piVar23 == iVar17)" (( "(") (binary_expression "*piVar23 == iVar17" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (== "==") (identifier "iVar17")) () ")")) (compound_statement "{\n      iVar3 = -1;\n      goto LAB_0006c118;\n    }" ({ "{") (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" (identifier "iVar3") (= "=") (number_literal "-1")) (; ";")) (goto_statement "goto LAB_0006c118;" (goto "goto") (statement_identifier "LAB_0006c118") (; ";")) (} "}"))) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xd8aac);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xd8aac)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xd8aac)" (* "*") (cast_expression "(code **)(puVar24 + 0xd8aac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8aac)" (( "(") (binary_expression "puVar24 + 0xd8aac" (identifier "puVar24") (+ "+") (number_literal "0xd8aac")) () ")"))))) (; ";")) (if_statement "if (*piVar1 != 0) {\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }" (if "if") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);\n      pcVar25 = *(code **)(puVar24 + 0xd8aac);\n    }" ({ "{") (expression_statement "(**(code **)(puVar24 + 0xd8a9c))(*piVar1);" (call_expression "(**(code **)(puVar24 + 0xd8a9c))(*piVar1)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8a9c))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xd8a9c)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xd8a9c)" (* "*") (cast_expression "(code **)(puVar24 + 0xd8a9c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8a9c)" (( "(") (binary_expression "puVar24 + 0xd8a9c" (identifier "puVar24") (+ "+") (number_literal "0xd8a9c")) () ")"))))) () ")")) (argument_list "(*piVar1)" (( "(") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) () ")"))) (; ";")) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xd8aac);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xd8aac)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xd8aac)" (* "*") (cast_expression "(code **)(puVar24 + 0xd8aac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8aac)" (( "(") (binary_expression "puVar24 + 0xd8aac" (identifier "puVar24") (+ "+") (number_literal "0xd8aac")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar26 = iVar26 + -1;" (assignment_expression "iVar26 = iVar26 + -1" (identifier "iVar26") (= "=") (binary_expression "iVar26 + -1" (identifier "iVar26") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar14 = (*pcVar25)(0x1a,0);" (assignment_expression "uVar14 = (*pcVar25)(0x1a,0)" (identifier "uVar14") (= "=") (call_expression "(*pcVar25)(0x1a,0)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(0x1a,0)" (( "(") (number_literal "0x1a") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar24 + 0xda61c))(0,0x1a);" (call_expression "(**(code **)(puVar24 + 0xda61c))(0,0x1a)" (parenthesized_expression "(**(code **)(puVar24 + 0xda61c))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda61c)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda61c)" (* "*") (cast_expression "(code **)(puVar24 + 0xda61c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda61c)" (( "(") (binary_expression "puVar24 + 0xda61c" (identifier "puVar24") (+ "+") (number_literal "0xda61c")) () ")"))))) () ")")) (argument_list "(0,0x1a)" (( "(") (number_literal "0") (, ",") (number_literal "0x1a") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);" (call_expression "(**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8aac))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xd8aac)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xd8aac)" (* "*") (cast_expression "(code **)(puVar24 + 0xd8aac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8aac)" (( "(") (binary_expression "puVar24 + 0xd8aac" (identifier "puVar24") (+ "+") (number_literal "0xd8aac")) () ")"))))) () ")")) (argument_list "(0x1a,uVar14)" (( "(") (number_literal "0x1a") (, ",") (identifier "uVar14") () ")"))) (; ";")) (if_statement "if (iVar26 == 0) {\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }" (if "if") (parenthesized_expression "(iVar26 == 0)" (( "(") (binary_expression "iVar26 == 0" (identifier "iVar26") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      piVar1 = *(int **)(puVar24 + 0xd8b0c);\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);\n      sys_error(uVar14);\n      iVar17 = *piVar22;\n      iVar26 = *piVar23;\n      *piVar1 = 0;\n      **(int **)(puVar24 + 0xd9070) = iVar17;\n      goto LAB_0006bff4;\n    }" ({ "{") (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" (* "*") (cast_expression "(int **)(puVar24 + 0xd8b0c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8b0c)" (( "(") (binary_expression "puVar24 + 0xd8b0c" (identifier "puVar24") (+ "+") (number_literal "0xd8b0c")) () ")"))))) (; ";")) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda6fc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda6fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda6fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda6fc)" (( "(") (binary_expression "puVar24 + 0xda6fc" (identifier "puVar24") (+ "+") (number_literal "0xda6fc")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e14" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")")))) (+ "+") (number_literal "0x7e14")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" (identifier "sys_error") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")"))) (; ";")) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" (identifier "iVar17") (= "=") (pointer_expression "*piVar22" (* "*") (identifier "piVar22"))) (; ";")) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" (identifier "iVar26") (= "=") (pointer_expression "*piVar23" (* "*") (identifier "piVar23"))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "**(int **)(puVar24 + 0xd9070) = iVar17;" (assignment_expression "**(int **)(puVar24 + 0xd9070) = iVar17" (pointer_expression "**(int **)(puVar24 + 0xd9070)" (* "*") (pointer_expression "*(int **)(puVar24 + 0xd9070)" (* "*") (cast_expression "(int **)(puVar24 + 0xd9070)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd9070)" (( "(") (binary_expression "puVar24 + 0xd9070" (identifier "puVar24") (+ "+") (number_literal "0xd9070")) () ")"))))) (= "=") (identifier "iVar17")) (; ";")) (goto_statement "goto LAB_0006bff4;" (goto "goto") (statement_identifier "LAB_0006bff4") (; ";")) (} "}"))) (expression_statement "iVar17 = *piVar18;" (assignment_expression "iVar17 = *piVar18" (identifier "iVar17") (= "=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))()" (identifier "piVar1") (= "=") (cast_expression "(int *)(**(code **)(puVar24 + 0xda5a0))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda5a0)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda5a0)" (* "*") (cast_expression "(code **)(puVar24 + 0xda5a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda5a0)" (( "(") (binary_expression "puVar24 + 0xda5a0" (identifier "puVar24") (+ "+") (number_literal "0xda5a0")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" (identifier "iVar3") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "iVar17 = *piVar23;" (assignment_expression "iVar17 = *piVar23" (identifier "iVar17") (= "=") (pointer_expression "*piVar23" (* "*") (identifier "piVar23"))) (; ";")) (labeled_statement "LAB_0006c118:\n  piVar16 = *(int **)(puVar24 + 0xd9070);" (statement_identifier "LAB_0006c118") (: ":") (expression_statement "piVar16 = *(int **)(puVar24 + 0xd9070);" (assignment_expression "piVar16 = *(int **)(puVar24 + 0xd9070)" (identifier "piVar16") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd9070)" (* "*") (cast_expression "(int **)(puVar24 + 0xd9070)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd9070)" (( "(") (binary_expression "puVar24 + 0xd9070" (identifier "puVar24") (+ "+") (number_literal "0xd9070")) () ")"))))) (; ";"))) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda670);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda670)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda670)" (* "*") (cast_expression "(code **)(puVar24 + 0xda670)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda670)" (( "(") (binary_expression "puVar24 + 0xda670" (identifier "puVar24") (+ "+") (number_literal "0xda670")) () ")"))))) (; ";")) (expression_statement "*piVar16 = iVar17;" (assignment_expression "*piVar16 = iVar17" (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (= "=") (identifier "iVar17")) (; ";")) (expression_statement "iVar17 = (*pcVar25)();" (assignment_expression "iVar17 = (*pcVar25)()" (identifier "iVar17") (= "=") (call_expression "(*pcVar25)()" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar26 = *piVar16;" (assignment_expression "iVar26 = *piVar16" (identifier "iVar26") (= "=") (pointer_expression "*piVar16" (* "*") (identifier "piVar16"))) (; ";")) (expression_statement "*piVar23 = iVar17;" (assignment_expression "*piVar23 = iVar17" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (= "=") (identifier "iVar17")) (; ";")) (if_statement "if (iVar17 == iVar26) {\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }\n  else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" (if "if") (parenthesized_expression "(iVar17 == iVar26)" (( "(") (binary_expression "iVar17 == iVar26" (identifier "iVar17") (== "==") (identifier "iVar26")) () ")")) (compound_statement "{\nLAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    *piVar1 = 1;\nLAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);\nLAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);\n    if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n    if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }\n  }" ({ "{") (labeled_statement "LAB_0006c138:\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);" (statement_identifier "LAB_0006c138") (: ":") (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" (* "*") (cast_expression "(int **)(puVar24 + 0xd8b0c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8b0c)" (( "(") (binary_expression "puVar24 + 0xd8b0c" (identifier "puVar24") (+ "+") (number_literal "0xd8b0c")) () ")"))))) (; ";"))) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0006c144:\n    pcVar25 = *(code **)(puVar24 + 0xda598);" (statement_identifier "LAB_0006c144") (: ":") (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda598)" (* "*") (cast_expression "(code **)(puVar24 + 0xda598)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda598)" (( "(") (binary_expression "puVar24 + 0xda598" (identifier "puVar24") (+ "+") (number_literal "0xda598")) () ")"))))) (; ";"))) (labeled_statement "LAB_0006c148:\n    iVar26 = (*pcVar25)(*piVar18);" (statement_identifier "LAB_0006c148") (: ":") (expression_statement "iVar26 = (*pcVar25)(*piVar18);" (assignment_expression "iVar26 = (*pcVar25)(*piVar18)" (identifier "iVar26") (= "=") (call_expression "(*pcVar25)(*piVar18)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(*piVar18)" (( "(") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) () ")")))) (; ";"))) (if_statement "if ((iVar26 == -1) || (*piVar23 != iVar26)) {\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }" (if "if") (parenthesized_expression "((iVar26 == -1) || (*piVar23 != iVar26))" (( "(") (binary_expression "(iVar26 == -1) || (*piVar23 != iVar26)" (parenthesized_expression "(iVar26 == -1)" (( "(") (binary_expression "iVar26 == -1" (identifier "iVar26") (== "==") (number_literal "-1")) () ")")) (|| "||") (parenthesized_expression "(*piVar23 != iVar26)" (( "(") (binary_expression "*piVar23 != iVar26" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (!= "!=") (identifier "iVar26")) () ")"))) () ")")) (compound_statement "{\n      if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);\n      sys_error(uVar14,iVar26);\n      *piVar1 = 0;\n      goto LAB_0006c230;\n    }" ({ "{") (if_statement "if (iVar3 != -1) {\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }" (if "if") (parenthesized_expression "(iVar3 != -1)" (( "(") (binary_expression "iVar3 != -1" (identifier "iVar3") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();\n        *piVar16 = iVar3;\n      }" ({ "{") (expression_statement "piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))()" (identifier "piVar16") (= "=") (cast_expression "(int *)(**(code **)(puVar24 + 0xda5a0))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda5a0)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda5a0)" (* "*") (cast_expression "(code **)(puVar24 + 0xda5a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda5a0)" (( "(") (binary_expression "puVar24 + 0xda5a0" (identifier "puVar24") (+ "+") (number_literal "0xda5a0")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*piVar16 = iVar3;" (assignment_expression "*piVar16 = iVar3" (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda6fc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda6fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda6fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda6fc)" (( "(") (binary_expression "puVar24 + 0xda6fc" (identifier "puVar24") (+ "+") (number_literal "0xda6fc")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e6c" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")")))) (+ "+") (number_literal "0x7e6c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "sys_error(uVar14,iVar26);" (call_expression "sys_error(uVar14,iVar26)" (identifier "sys_error") (argument_list "(uVar14,iVar26)" (( "(") (identifier "uVar14") (, ",") (identifier "iVar26") () ")"))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0006c230;" (goto "goto") (statement_identifier "LAB_0006c230") (; ";")) (} "}"))) (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" (identifier "iVar17") (= "=") (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")"))))) (; ";")) (if_statement "if (*piVar1 != 0) {\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }" (if "if") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar17 = *piVar22;\n      goto LAB_0006bff4;\n    }" ({ "{") (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" (identifier "iVar17") (= "=") (pointer_expression "*piVar22" (* "*") (identifier "piVar22"))) (; ";")) (goto_statement "goto LAB_0006bff4;" (goto "goto") (statement_identifier "LAB_0006bff4") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" (else "else") (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);\n    if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }\n    piVar1 = *(int **)(puVar24 + 0xd8b0c);\n    iVar26 = *piVar23;\n    iVar17 = *piVar16;\n    *piVar1 = 1;\n    if (iVar26 == iVar17) goto LAB_0006c144;\n    pcVar25 = *(code **)(puVar24 + 0xda598);\n    if (*piVar22 == iVar26) goto LAB_0006c148;\n    iVar17 = give_terminal_to(iVar26,0);\n    if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }\nLAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);\n  }" ({ "{") (expression_statement "iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17)" (identifier "iVar17") (= "=") (call_expression "(**(code **)(puVar24 + 0xda4fc))(0,iVar17)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4fc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda4fc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda4fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda4fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda4fc)" (( "(") (binary_expression "puVar24 + 0xda4fc" (identifier "puVar24") (+ "+") (number_literal "0xda4fc")) () ")"))))) () ")")) (argument_list "(0,iVar17)" (( "(") (number_literal "0") (, ",") (identifier "iVar17") () ")")))) (; ";")) (if_statement "if (iVar17 < 0) {\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }" (if "if") (parenthesized_expression "(iVar17 < 0)" (( "(") (binary_expression "iVar17 < 0" (identifier "iVar17") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);\n      sys_error(uVar14);\n      *piVar23 = *piVar16;\n      goto LAB_0006c138;\n    }" ({ "{") (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda6fc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda6fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda6fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda6fc)" (( "(") (binary_expression "puVar24 + 0xda6fc" (identifier "puVar24") (+ "+") (number_literal "0xda6fc")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar24 + 0xd87dc) + 0x7e4c" (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")")))) (+ "+") (number_literal "0x7e4c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "sys_error(uVar14);" (call_expression "sys_error(uVar14)" (identifier "sys_error") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")"))) (; ";")) (expression_statement "*piVar23 = *piVar16;" (assignment_expression "*piVar23 = *piVar16" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (= "=") (pointer_expression "*piVar16" (* "*") (identifier "piVar16"))) (; ";")) (goto_statement "goto LAB_0006c138;" (goto "goto") (statement_identifier "LAB_0006c138") (; ";")) (} "}"))) (expression_statement "piVar1 = *(int **)(puVar24 + 0xd8b0c);" (assignment_expression "piVar1 = *(int **)(puVar24 + 0xd8b0c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd8b0c)" (* "*") (cast_expression "(int **)(puVar24 + 0xd8b0c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8b0c)" (( "(") (binary_expression "puVar24 + 0xd8b0c" (identifier "puVar24") (+ "+") (number_literal "0xd8b0c")) () ")"))))) (; ";")) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" (identifier "iVar26") (= "=") (pointer_expression "*piVar23" (* "*") (identifier "piVar23"))) (; ";")) (expression_statement "iVar17 = *piVar16;" (assignment_expression "iVar17 = *piVar16" (identifier "iVar17") (= "=") (pointer_expression "*piVar16" (* "*") (identifier "piVar16"))) (; ";")) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "1")) (; ";")) (if_statement "if (iVar26 == iVar17) goto LAB_0006c144;" (if "if") (parenthesized_expression "(iVar26 == iVar17)" (( "(") (binary_expression "iVar26 == iVar17" (identifier "iVar26") (== "==") (identifier "iVar17")) () ")")) (goto_statement "goto LAB_0006c144;" (goto "goto") (statement_identifier "LAB_0006c144") (; ";"))) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda598)" (* "*") (cast_expression "(code **)(puVar24 + 0xda598)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda598)" (( "(") (binary_expression "puVar24 + 0xda598" (identifier "puVar24") (+ "+") (number_literal "0xda598")) () ")"))))) (; ";")) (if_statement "if (*piVar22 == iVar26) goto LAB_0006c148;" (if "if") (parenthesized_expression "(*piVar22 == iVar26)" (( "(") (binary_expression "*piVar22 == iVar26" (pointer_expression "*piVar22" (* "*") (identifier "piVar22")) (== "==") (identifier "iVar26")) () ")")) (goto_statement "goto LAB_0006c148;" (goto "goto") (statement_identifier "LAB_0006c148") (; ";"))) (expression_statement "iVar17 = give_terminal_to(iVar26,0);" (assignment_expression "iVar17 = give_terminal_to(iVar26,0)" (identifier "iVar17") (= "=") (call_expression "give_terminal_to(iVar26,0)" (identifier "give_terminal_to") (argument_list "(iVar26,0)" (( "(") (identifier "iVar26") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar17 < 0) {\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" (if "if") (parenthesized_expression "(iVar17 < 0)" (( "(") (binary_expression "iVar17 < 0" (identifier "iVar17") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();\n      uVar14 = *puVar7;\n      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);\n      iVar17 = *(int *)(puVar24 + 0xd87dc);\n      pcVar25 = *(code **)(puVar24 + 0xda6fc);\n      *piVar23 = *piVar16;\n      *puVar7 = uVar14;\n      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);\n      sys_error(uVar14,*piVar23);\n      *piVar1 = 0;\n    }" ({ "{") (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))()" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(**(code **)(puVar24 + 0xda5a0))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar24 + 0xda5a0))()" (parenthesized_expression "(**(code **)(puVar24 + 0xda5a0))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda5a0)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda5a0)" (* "*") (cast_expression "(code **)(puVar24 + 0xda5a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda5a0)" (( "(") (binary_expression "puVar24 + 0xda5a0" (identifier "puVar24") (+ "+") (number_literal "0xda5a0")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" (identifier "uVar14") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "(**(code **)(puVar24 + 0xda4fc))(0,*piVar16);" (call_expression "(**(code **)(puVar24 + 0xda4fc))(0,*piVar16)" (parenthesized_expression "(**(code **)(puVar24 + 0xda4fc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda4fc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda4fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda4fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda4fc)" (( "(") (binary_expression "puVar24 + 0xda4fc" (identifier "puVar24") (+ "+") (number_literal "0xda4fc")) () ")"))))) () ")")) (argument_list "(0,*piVar16)" (( "(") (number_literal "0") (, ",") (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) () ")"))) (; ";")) (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" (identifier "iVar17") (= "=") (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")"))))) (; ";")) (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda6fc);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda6fc)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda6fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda6fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda6fc)" (( "(") (binary_expression "puVar24 + 0xda6fc" (identifier "puVar24") (+ "+") (number_literal "0xda6fc")) () ")"))))) (; ";")) (expression_statement "*piVar23 = *piVar16;" (assignment_expression "*piVar23 = *piVar16" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (= "=") (pointer_expression "*piVar16" (* "*") (identifier "piVar16"))) (; ";")) (expression_statement "*puVar7 = uVar14;" (assignment_expression "*puVar7 = uVar14" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);" (assignment_expression "uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5)" (identifier "uVar14") (= "=") (call_expression "(*pcVar25)(0,iVar17 + 0x7e6c,5)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(0,iVar17 + 0x7e6c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "iVar17 + 0x7e6c" (identifier "iVar17") (+ "+") (number_literal "0x7e6c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "sys_error(uVar14,*piVar23);" (call_expression "sys_error(uVar14,*piVar23)" (identifier "sys_error") (argument_list "(uVar14,*piVar23)" (( "(") (identifier "uVar14") (, ",") (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) () ")"))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" (else "else") (compound_statement "{\n      pcVar25 = *(code **)(puVar24 + 0xda598);\n      if (*piVar1 != 0) goto LAB_0006c148;\n    }" ({ "{") (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda598);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda598)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda598)" (* "*") (cast_expression "(code **)(puVar24 + 0xda598)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda598)" (( "(") (binary_expression "puVar24 + 0xda598" (identifier "puVar24") (+ "+") (number_literal "0xda598")) () ")"))))) (; ";")) (if_statement "if (*piVar1 != 0) goto LAB_0006c148;" (if "if") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0006c148;" (goto "goto") (statement_identifier "LAB_0006c148") (; ";"))) (} "}")))) (labeled_statement "LAB_0006c230:\n    iVar17 = *(int *)(puVar24 + 0xd87dc);" (statement_identifier "LAB_0006c230") (: ":") (expression_statement "iVar17 = *(int *)(puVar24 + 0xd87dc);" (assignment_expression "iVar17 = *(int *)(puVar24 + 0xd87dc)" (identifier "iVar17") (= "=") (pointer_expression "*(int *)(puVar24 + 0xd87dc)" (* "*") (cast_expression "(int *)(puVar24 + 0xd87dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd87dc)" (( "(") (binary_expression "puVar24 + 0xd87dc" (identifier "puVar24") (+ "+") (number_literal "0xd87dc")) () ")"))))) (; ";"))) (} "}")))) (expression_statement "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);" (assignment_expression "uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5)" (identifier "uVar14") (= "=") (call_expression "(**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5)" (parenthesized_expression "(**(code **)(puVar24 + 0xda6fc))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda6fc)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda6fc)" (* "*") (cast_expression "(code **)(puVar24 + 0xda6fc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda6fc)" (( "(") (binary_expression "puVar24 + 0xda6fc" (identifier "puVar24") (+ "+") (number_literal "0xda6fc")) () ")"))))) () ")")) (argument_list "(0,iVar17 + 0x7e94,5)" (( "(") (number_literal "0") (, ",") (binary_expression "iVar17 + 0x7e94" (identifier "iVar17") (+ "+") (number_literal "0x7e94")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "internal_error(uVar14);" (call_expression "internal_error(uVar14)" (identifier "internal_error") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")"))) (; ";")) (expression_statement "iVar17 = *piVar22;" (assignment_expression "iVar17 = *piVar22" (identifier "iVar17") (= "=") (pointer_expression "*piVar22" (* "*") (identifier "piVar22"))) (; ";")) (expression_statement "iVar26 = *piVar23;" (assignment_expression "iVar26 = *piVar23" (identifier "iVar26") (= "=") (pointer_expression "*piVar23" (* "*") (identifier "piVar23"))) (; ";")) (labeled_statement "LAB_0006bff4:\n  pcVar25 = *(code **)(puVar24 + 0xda58c);" (statement_identifier "LAB_0006bff4") (: ":") (expression_statement "pcVar25 = *(code **)(puVar24 + 0xda58c);" (assignment_expression "pcVar25 = *(code **)(puVar24 + 0xda58c)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(puVar24 + 0xda58c)" (* "*") (cast_expression "(code **)(puVar24 + 0xda58c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda58c)" (( "(") (binary_expression "puVar24 + 0xda58c" (identifier "puVar24") (+ "+") (number_literal "0xda58c")) () ")"))))) (; ";"))) (expression_statement "uVar14 = *param_2;" (assignment_expression "uVar14 = *param_2" (identifier "uVar14") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "**(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);" (assignment_expression "**(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17)" (pointer_expression "**(uint **)(puVar24 + 0xd8954)" (* "*") (pointer_expression "*(uint **)(puVar24 + 0xd8954)" (* "*") (cast_expression "(uint **)(puVar24 + 0xd8954)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8954)" (( "(") (binary_expression "puVar24 + 0xd8954" (identifier "puVar24") (+ "+") (number_literal "0xd8954")) () ")"))))) (= "=") (call_expression "(uint)(iVar26 != iVar17)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar26 != iVar17)" (( "(") (binary_expression "iVar26 != iVar17" (identifier "iVar26") (!= "!=") (identifier "iVar17")) () ")")))) (; ";")) (expression_statement "iVar17 = (*pcVar25)(uVar14);" (assignment_expression "iVar17 = (*pcVar25)(uVar14)" (identifier "iVar17") (= "=") (call_expression "(*pcVar25)(uVar14)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (if_statement "if (iVar17 != *piVar18) {\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }" (if "if") (parenthesized_expression "(iVar17 != *piVar18)" (( "(") (binary_expression "iVar17 != *piVar18" (identifier "iVar17") (!= "!=") (pointer_expression "*piVar18" (* "*") (identifier "piVar18"))) () ")")) (compound_statement "{\n    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);\n  }" ({ "{") (expression_statement "(**(code **)(puVar24 + 0xda540))(*piVar18,2,1);" (call_expression "(**(code **)(puVar24 + 0xda540))(*piVar18,2,1)" (parenthesized_expression "(**(code **)(puVar24 + 0xda540))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xda540)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xda540)" (* "*") (cast_expression "(code **)(puVar24 + 0xda540)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xda540)" (( "(") (binary_expression "puVar24 + 0xda540" (identifier "puVar24") (+ "+") (number_literal "0xda540")) () ")"))))) () ")")) (argument_list "(*piVar18,2,1)" (( "(") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (, ",") (number_literal "2") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);" (call_expression "(**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc)" (parenthesized_expression "(**(code **)(puVar24 + 0xd8aac))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xd8aac)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xd8aac)" (* "*") (cast_expression "(code **)(puVar24 + 0xd8aac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd8aac)" (( "(") (binary_expression "puVar24 + 0xd8aac" (identifier "puVar24") (+ "+") (number_literal "0xd8aac")) () ")"))))) () ")")) (argument_list "(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc)" (( "(") (number_literal "0x12") (, ",") (binary_expression "*(int *)(puVar24 + 0xd942c) + -0x6fbc" (pointer_expression "*(int *)(puVar24 + 0xd942c)" (* "*") (cast_expression "(int *)(puVar24 + 0xd942c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0xd942c)" (( "(") (binary_expression "puVar24 + 0xd942c" (identifier "puVar24") (+ "+") (number_literal "0xd942c")) () ")")))) (+ "+") (number_literal "-0x6fbc")) () ")"))) (; ";")) (expression_statement "uVar14 = 0x2b;" (assignment_expression "uVar14 = 0x2b" (identifier "uVar14") (= "=") (number_literal "0x2b")) (; ";")) (if_statement "if (*piVar1 != 0) {\n    uVar14 = 0x2d;\n  }" (if "if") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar14 = 0x2d;\n  }" ({ "{") (expression_statement "uVar14 = 0x2d;" (assignment_expression "uVar14 = 0x2d" (identifier "uVar14") (= "=") (number_literal "0x2d")) (; ";")) (} "}"))) (expression_statement "change_flag(0x6d,uVar14);" (call_expression "change_flag(0x6d,uVar14)" (identifier "change_flag") (argument_list "(0x6d,uVar14)" (( "(") (number_literal "0x6d") (, ",") (identifier "uVar14") () ")"))) (; ";")) (if_statement "if (*param_1 != 0) {\n    get_tty_state();\n  }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    get_tty_state();\n  }" ({ "{") (expression_statement "get_tty_state();" (call_expression "get_tty_state()" (identifier "get_tty_state") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar18 = *(int **)(puVar24 + 0xd90bc);" (assignment_expression "piVar18 = *(int **)(puVar24 + 0xd90bc)" (identifier "piVar18") (= "=") (pointer_expression "*(int **)(puVar24 + 0xd90bc)" (* "*") (cast_expression "(int **)(puVar24 + 0xd90bc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd90bc)" (( "(") (binary_expression "puVar24 + 0xd90bc" (identifier "puVar24") (+ "+") (number_literal "0xd90bc")) () ")"))))) (; ";")) (if_statement "if (*piVar18 < 0) {\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }" (if "if") (parenthesized_expression "(*piVar18 < 0)" (( "(") (binary_expression "*piVar18 < 0" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar17 = (**(code **)(puVar24 + 0xd93d8))();\n    if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }\n    *piVar18 = iVar17;\n    return *piVar1;\n  }" ({ "{") (expression_statement "iVar17 = (**(code **)(puVar24 + 0xd93d8))();" (assignment_expression "iVar17 = (**(code **)(puVar24 + 0xd93d8))()" (identifier "iVar17") (= "=") (call_expression "(**(code **)(puVar24 + 0xd93d8))()" (parenthesized_expression "(**(code **)(puVar24 + 0xd93d8))" (( "(") (pointer_expression "**(code **)(puVar24 + 0xd93d8)" (* "*") (pointer_expression "*(code **)(puVar24 + 0xd93d8)" (* "*") (cast_expression "(code **)(puVar24 + 0xd93d8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0xd93d8)" (( "(") (binary_expression "puVar24 + 0xd93d8" (identifier "puVar24") (+ "+") (number_literal "0xd93d8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar17 < 0) {\n      iVar17 = 0x20;\n    }" (if "if") (parenthesized_expression "(iVar17 < 0)" (( "(") (binary_expression "iVar17 < 0" (identifier "iVar17") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar17 = 0x20;\n    }" ({ "{") (expression_statement "iVar17 = 0x20;" (assignment_expression "iVar17 = 0x20" (identifier "iVar17") (= "=") (number_literal "0x20")) (; ";")) (} "}"))) (expression_statement "*piVar18 = iVar17;" (assignment_expression "*piVar18 = iVar17" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (= "=") (identifier "iVar17")) (; ";")) (return_statement "return *piVar1;" (return "return") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (} "}"))) (return_statement "return *piVar1;" (return "return") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (identifier)))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (pointer_expression argument: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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: (pointer_expression argument: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))))) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (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: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (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: (pointer_expression argument: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (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: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal))))) (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: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))) (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: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (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: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (goto_statement label: (statement_identifier))))))) (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (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: (pointer_expression argument: (identifier)) right: (identifier))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (goto_statement label: (statement_identifier)))) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier))))) (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 (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (pointer_expression argument: (identifier))))) (return_statement (pointer_expression argument: (identifier))))))

int MASKED(int *param_1,undefined4 *param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  undefined *puVar9;
  undefined4 uVar10;
  undefined *puVar11;
  undefined *puVar12;
  undefined4 *puVar13;
  undefined4 uVar14;
  undefined4 *puVar15;
  int *piVar16;
  int iVar17;
  int *piVar18;
  undefined *puVar19;
  undefined4 *puVar20;
  undefined *puVar21;
  int *piVar22;
  int *piVar23;
  undefined *puVar24;
  code *pcVar25;
  int iVar26;
  undefined4 local_134;
  undefined1 auStack_12c [128];
  undefined1 auStack_ac [128];
  int local_2c;
  
  puVar24 = PTR___stack_chk_guard_001464dc;
  piVar18 = (int *)PTR_jobs_00144e5c;
  iVar17 = (int)param_1 * 4;
  local_2c = *(int *)PTR___stack_chk_guard_001464dc;
  (*(code *)PTR_sigemptyset_001462d4)(auStack_12c);
  (*(code *)PTR_sigaddset_00146364)(auStack_12c,0x12);
  (*(code *)PTR_sigemptyset_001462d4)(auStack_ac);
  (*(code *)PTR_sigprocmask_00146514)(1,auStack_12c,auStack_ac);
  iVar26 = *(int *)(*(int *)(*piVar18 + iVar17) + 0xc);
  if (iVar26 == 4) {
    iVar17 = -1;
    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7d9c,5);
    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728);
    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);
  }
  else if (param_2 == (undefined4 *)0x0) {
    if (iVar26 != 1) {
      local_134 = FUN_000649c8();
      iVar3 = *(int *)(*piVar18 + iVar17);
      iVar6 = *(int *)PTR_posixly_correct_0014458c;
      *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffd;
      if (iVar6 == 0) {
        if (*(int **)(PTR_js_00144e58 + 0x2c) == param_1) {
          puVar11 = PTR_LAB_00144578 + 0x7144;
        }
        else {
          if (*(int **)(PTR_js_00144e58 + 0x30) != param_1) goto LAB_0006b860;
          puVar11 = PTR_LAB_00144578 + 0x7d98;
        }
      }
      else {
LAB_0006b860:
        puVar11 = PTR_LAB_00144578 + 0x7b04;
      }
      piVar23 = *(int **)(iVar3 + 4);
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7dd8,(int)param_1 + 1,puVar11);
      piVar1 = *(int **)(*(int *)(*piVar18 + iVar17) + 4);
      goto LAB_0006b898;
    }
    uVar14 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7db4,5);
    internal_error(uVar14,*(undefined4 *)PTR_this_command_name_00144728,(int)param_1 + 1);
LAB_0006b9dc:
    iVar17 = 0;
    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);
  }
  else {
    local_134 = FUN_000649c8();
    *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =
         *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffd;
    FUN_00064368(param_1);
    iVar3 = *(int *)(*piVar18 + iVar17);
    piVar1 = *(int **)(iVar3 + 4);
    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 1;
    piVar23 = piVar1;
LAB_0006b898:
    puVar19 = PTR_LAB_00144578 + 0x6298;
    puVar11 = PTR_DAT_001445ac + -0x6800;
    puVar21 = PTR_LAB_00144578 + 0x6720;
    do {
      puVar9 = (undefined *)piVar23[4];
      if ((undefined *)piVar23[4] == (undefined *)0x0) {
        puVar9 = puVar11;
      }
      puVar12 = puVar21;
      if ((int *)*piVar23 == piVar1) {
        puVar12 = puVar11;
      }
      (*(code *)PTR___printf_chk_001462ec)(1,puVar19,puVar9,puVar12);
      piVar23 = (int *)*piVar23;
      puVar7 = *(undefined4 **)(*piVar18 + iVar17);
      piVar1 = (int *)puVar7[1];
    } while (piVar1 != piVar23);
    if (param_2 == (undefined4 *)0x0) {
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7b74);
      puVar7 = *(undefined4 **)(*piVar18 + iVar17);
    }
    uVar14 = *puVar7;
    iVar3 = (*(code *)PTR_strcmp_00146548)(local_134,uVar14);
    if (iVar3 != 0) {
      uVar14 = (*(code *)PTR_polite_directory_format_00144970)(uVar14);
      (*(code *)PTR___printf_chk_001462ec)(1,PTR_LAB_00144578 + 0x7de0,uVar14);
    }
    (*(code *)PTR_putchar_00146340)(10);
    if (iVar26 == 1) {
      if (param_2 == (undefined4 *)0x0) {
        *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) =
             *(uint *)(*(int *)(*piVar18 + iVar17) + 0x10) & 0xfffffffe;
        goto LAB_0006b9c8;
      }
      get_tty_state();
      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);
      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);
      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);
      puVar7 = puVar20;
      puVar4 = puVar15;
      do {
        puVar2 = puVar7 + 4;
        puVar5 = puVar4 + 4;
        uVar10 = puVar7[1];
        uVar8 = puVar7[2];
        uVar14 = puVar7[3];
        *puVar4 = *puVar7;
        puVar4[1] = uVar10;
        puVar4[2] = uVar8;
        puVar4[3] = uVar14;
        puVar7 = puVar2;
        puVar4 = puVar5;
      } while (puVar2 != puVar13);
      iVar3 = *piVar18;
      *puVar5 = *puVar2;
      iVar3 = *(int *)(iVar3 + iVar17);
      if ((*(uint *)(iVar3 + 0x10) & 4) != 0) goto LAB_0006bce0;
    }
    else {
      iVar3 = *(int *)(*piVar18 + iVar17);
      piVar1 = *(int **)(iVar3 + 4);
      piVar23 = piVar1;
      do {
        if (*(char *)((int)piVar23 + 0xb) == '\x7f') {
          piVar23[3] = 1;
        }
        piVar23 = (int *)*piVar23;
      } while (piVar1 != piVar23);
      *(undefined4 *)(iVar3 + 0xc) = 1;
      puVar11 = PTR_killpg_00146474;
      if (param_2 == (undefined4 *)0x0) {
        *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) & 0xfffffffe | 2;
        (*(code *)puVar11)(*(undefined4 *)(iVar3 + 8),0x19);
LAB_0006b9c8:
        FUN_00064490();
        goto LAB_0006b9dc;
      }
      get_tty_state();
      puVar20 = (undefined4 *)(PTR___environ_00145154 + -0x70d0);
      puVar15 = (undefined4 *)(PTR_data_start_00144568 + 0x7ee8);
      puVar13 = (undefined4 *)(PTR___environ_00145154 + -0x70a0);
      puVar7 = puVar20;
      puVar4 = puVar15;
      do {
        puVar2 = puVar7 + 4;
        puVar5 = puVar4 + 4;
        uVar10 = puVar7[1];
        uVar8 = puVar7[2];
        uVar14 = puVar7[3];
        *puVar4 = *puVar7;
        puVar4[1] = uVar10;
        puVar4[2] = uVar8;
        puVar4[3] = uVar14;
        puVar7 = puVar2;
        puVar4 = puVar5;
      } while (puVar2 != puVar13);
      iVar3 = *piVar18;
      *puVar5 = *puVar2;
      iVar3 = *(int *)(iVar3 + iVar17);
      if ((*(uint *)(iVar3 + 0x10) & 4) == 0) {
        iVar26 = *piVar18;
      }
      else {
LAB_0006bce0:
        give_terminal_to(*(undefined4 *)(iVar3 + 8),0);
        if (iVar26 == 1) goto LAB_0006bbc8;
        iVar26 = *piVar18;
      }
      puVar11 = PTR_killpg_00146474;
      iVar17 = *(int *)(iVar26 + iVar17);
      *(uint *)(iVar17 + 0x10) = *(uint *)(iVar17 + 0x10) | 2;
      (*(code *)puVar11)(*(undefined4 *)(iVar17 + 8),0x19);
    }
LAB_0006bbc8:
    iVar17 = FUN_00065a6c(param_1);
    uVar14 = *(undefined4 *)(iVar17 + 4);
    (*(code *)PTR_sigprocmask_00146514)(3,auStack_ac,0);
    iVar17 = wait_for(uVar14);
    puVar7 = puVar15;
    do {
      puVar13 = puVar7 + 4;
      puVar4 = puVar20 + 4;
      uVar10 = puVar7[1];
      uVar8 = puVar7[2];
      uVar14 = puVar7[3];
      *puVar20 = *puVar7;
      puVar20[1] = uVar10;
      puVar20[2] = uVar8;
      puVar20[3] = uVar14;
      puVar20 = puVar4;
      puVar7 = puVar13;
    } while (puVar13 != puVar15 + 0xc);
    *puVar4 = *puVar13;
    set_tty_state();
  }
  if (local_2c == *(int *)puVar24) {
    return iVar17;
  }
  iVar17 = local_2c;
  puVar24 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  piVar23 = *(int **)(puVar24 + 0xd8b10);
  iVar26 = (**(code **)(puVar24 + 0xda6dc))();
  *piVar23 = iVar26;
  if (iVar26 == -1) {
    uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7dec,5);
    sys_error(uVar14);
    (**(code **)(puVar24 + 0xda620))(1);
LAB_0006c3c8:
    uVar14 = *param_2;
LAB_0006be24:
    uVar14 = (**(code **)(puVar24 + 0xda58c))(uVar14);
    iVar17 = (**(code **)(puVar24 + 0xda780))(uVar14);
    *piVar18 = iVar17;
    if (iVar17 != -1) goto LAB_0006bf80;
    pcVar25 = *(code **)(puVar24 + 0xda670);
    if (*piVar23 == 0) goto LAB_0006bf08;
LAB_0006be5c:
    iVar17 = *piVar18;
  }
  else {
    param_1 = *(int **)(puVar24 + 0xd87f4);
    param_2 = *(undefined4 **)(puVar24 + 0xda77c);
    uVar14 = *param_2;
    if (iVar17 == 0 && *param_1 == 0) {
      piVar1 = *(int **)(puVar24 + 0xd8b0c);
      puVar7 = *(undefined4 **)(puVar24 + 0xd9070);
      pcVar25 = *(code **)(puVar24 + 0xda58c);
      piVar18 = *(int **)(puVar24 + 0xd93fc);
      *piVar1 = 0;
      *puVar7 = 0xffffffff;
      iVar17 = (*pcVar25)(uVar14);
      pcVar25 = *(code **)(puVar24 + 0xda598);
      *piVar18 = iVar17;
      iVar17 = (*pcVar25)(iVar17);
      iVar26 = *piVar23;
      **(int **)(puVar24 + 0xd9434) = iVar17;
      goto LAB_0006bff4;
    }
    piVar18 = *(int **)(puVar24 + 0xd93fc);
    iVar17 = **(int **)(puVar24 + 0xd87e4);
    *piVar18 = -1;
    if (iVar17 == 0) goto LAB_0006be24;
    uVar14 = (**(code **)(puVar24 + 0xda58c))();
    iVar17 = (**(code **)(puVar24 + 0xda4b0))(uVar14);
    if (iVar17 == 0) {
      iVar17 = (**(code **)(puVar24 + 0xda5dc))(*(int *)(puVar24 + 0xd87dc) + 0x62c0,0x82);
      *piVar18 = iVar17;
    }
    else {
      iVar17 = *piVar18;
    }
    if (iVar17 == -1) goto LAB_0006c3c8;
LAB_0006bf80:
    iVar17 = (**(code **)(puVar24 + 0xd8a0c))(iVar17,1,0xffffffff);
    *piVar18 = iVar17;
    pcVar25 = *(code **)(puVar24 + 0xda670);
    if (*piVar23 != 0) goto LAB_0006be5c;
LAB_0006bf08:
    iVar17 = (*pcVar25)();
    pcVar25 = *(code **)(puVar24 + 0xda4fc);
    *piVar23 = iVar17;
    (*pcVar25)(0,iVar17);
    iVar17 = *piVar18;
    if (iVar17 != -1) {
      (**(code **)(puVar24 + 0xda73c))(iVar17,*piVar23);
      goto LAB_0006be5c;
    }
  }
  iVar26 = 0x12;
  piVar22 = *(int **)(puVar24 + 0xd9434);
  piVar1 = *(int **)(puVar24 + 0xd8a98);
  while( true ) {
    iVar17 = (**(code **)(puVar24 + 0xda598))(iVar17);
    *piVar22 = iVar17;
    if (iVar17 == -1) break;
    if (*piVar23 == iVar17) {
      iVar3 = -1;
      goto LAB_0006c118;
    }
    pcVar25 = *(code **)(puVar24 + 0xd8aac);
    if (*piVar1 != 0) {
      (**(code **)(puVar24 + 0xd8a9c))(*piVar1);
      pcVar25 = *(code **)(puVar24 + 0xd8aac);
    }
    iVar26 = iVar26 + -1;
    uVar14 = (*pcVar25)(0x1a,0);
    (**(code **)(puVar24 + 0xda61c))(0,0x1a);
    (**(code **)(puVar24 + 0xd8aac))(0x1a,uVar14);
    if (iVar26 == 0) {
      piVar1 = *(int **)(puVar24 + 0xd8b0c);
      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e14,5);
      sys_error(uVar14);
      iVar17 = *piVar22;
      iVar26 = *piVar23;
      *piVar1 = 0;
      **(int **)(puVar24 + 0xd9070) = iVar17;
      goto LAB_0006bff4;
    }
    iVar17 = *piVar18;
  }
  piVar1 = (int *)(**(code **)(puVar24 + 0xda5a0))();
  iVar3 = *piVar1;
  iVar17 = *piVar23;
LAB_0006c118:
  piVar16 = *(int **)(puVar24 + 0xd9070);
  pcVar25 = *(code **)(puVar24 + 0xda670);
  *piVar16 = iVar17;
  iVar17 = (*pcVar25)();
  iVar26 = *piVar16;
  *piVar23 = iVar17;
  if (iVar17 == iVar26) {
LAB_0006c138:
    piVar1 = *(int **)(puVar24 + 0xd8b0c);
    *piVar1 = 1;
LAB_0006c144:
    pcVar25 = *(code **)(puVar24 + 0xda598);
LAB_0006c148:
    iVar26 = (*pcVar25)(*piVar18);
    if ((iVar26 == -1) || (*piVar23 != iVar26)) {
      if (iVar3 != -1) {
        piVar16 = (int *)(**(code **)(puVar24 + 0xda5a0))();
        *piVar16 = iVar3;
      }
      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e6c,5);
      sys_error(uVar14,iVar26);
      *piVar1 = 0;
      goto LAB_0006c230;
    }
    iVar17 = *(int *)(puVar24 + 0xd87dc);
    if (*piVar1 != 0) {
      iVar17 = *piVar22;
      goto LAB_0006bff4;
    }
  }
  else {
    iVar17 = (**(code **)(puVar24 + 0xda4fc))(0,iVar17);
    if (iVar17 < 0) {
      uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,*(int *)(puVar24 + 0xd87dc) + 0x7e4c,5);
      sys_error(uVar14);
      *piVar23 = *piVar16;
      goto LAB_0006c138;
    }
    piVar1 = *(int **)(puVar24 + 0xd8b0c);
    iVar26 = *piVar23;
    iVar17 = *piVar16;
    *piVar1 = 1;
    if (iVar26 == iVar17) goto LAB_0006c144;
    pcVar25 = *(code **)(puVar24 + 0xda598);
    if (*piVar22 == iVar26) goto LAB_0006c148;
    iVar17 = give_terminal_to(iVar26,0);
    if (iVar17 < 0) {
      puVar7 = (undefined4 *)(**(code **)(puVar24 + 0xda5a0))();
      uVar14 = *puVar7;
      (**(code **)(puVar24 + 0xda4fc))(0,*piVar16);
      iVar17 = *(int *)(puVar24 + 0xd87dc);
      pcVar25 = *(code **)(puVar24 + 0xda6fc);
      *piVar23 = *piVar16;
      *puVar7 = uVar14;
      uVar14 = (*pcVar25)(0,iVar17 + 0x7e6c,5);
      sys_error(uVar14,*piVar23);
      *piVar1 = 0;
    }
    else {
      pcVar25 = *(code **)(puVar24 + 0xda598);
      if (*piVar1 != 0) goto LAB_0006c148;
    }
LAB_0006c230:
    iVar17 = *(int *)(puVar24 + 0xd87dc);
  }
  uVar14 = (**(code **)(puVar24 + 0xda6fc))(0,iVar17 + 0x7e94,5);
  internal_error(uVar14);
  iVar17 = *piVar22;
  iVar26 = *piVar23;
LAB_0006bff4:
  pcVar25 = *(code **)(puVar24 + 0xda58c);
  uVar14 = *param_2;
  **(uint **)(puVar24 + 0xd8954) = (uint)(iVar26 != iVar17);
  iVar17 = (*pcVar25)(uVar14);
  if (iVar17 != *piVar18) {
    (**(code **)(puVar24 + 0xda540))(*piVar18,2,1);
  }
  (**(code **)(puVar24 + 0xd8aac))(0x12,*(int *)(puVar24 + 0xd942c) + -0x6fbc);
  uVar14 = 0x2b;
  if (*piVar1 != 0) {
    uVar14 = 0x2d;
  }
  change_flag(0x6d,uVar14);
  if (*param_1 != 0) {
    get_tty_state();
  }
  piVar18 = *(int **)(puVar24 + 0xd90bc);
  if (*piVar18 < 0) {
    iVar17 = (**(code **)(puVar24 + 0xd93d8))();
    if (iVar17 < 0) {
      iVar17 = 0x20;
    }
    *piVar18 = iVar17;
    return *piVar1;
  }
  return *piVar1;
}

