
/* WARNING: Removing unreachable block (ram,0x000c1bac) */

int parse_string(char *string,char *from_file,int flags,char **endp)

{
  bool bVar1;
  undefined *puVar2;
  sigset_t *psVar3;
  int iVar4;
  undefined4 uVar5;
  undefined *puVar6;
  int iVar7;
  sigset_t *flags_00;
  sigset_t *string_00;
  undefined *puVar8;
  code *pcVar9;
  int iStack_f0;
  int iStack_e8;
  int should_jump_to_top_level;
  COMMAND *command;
  sigset_t ps_sigmask;
  
  psVar3 = *(sigset_t **)PTR___stack_chk_guard_0015858c;
  parse_prologue(string,flags,PTR_DAT_001565b0 + -0x4c10);
  flags_00 = &ps_sigmask;
  (*(code *)PTR_sigemptyset_00158388)(flags_00);
  (*(code *)PTR_sigprocmask_001585c4)(1,0);
  (*(code *)PTR_push_stream_00156a88)(0);
  iVar4 = (*(code *)PTR_parser_expanding_alias_00156828)();
  if (iVar4 != 0) {
    (*(code *)PTR_parser_save_alias_001579f0)();
  }
  uVar5 = *(undefined4 *)PTR_global_command_00156840;
  (*(code *)PTR_with_input_from_string_00156a8c)(string);
  puVar2 = PTR_global_command_00156840;
  puVar8 = PTR_bash_input_00156670;
  string_00 = (sigset_t *)0x0;
  puVar6 = PTR_DAT_001565b0 + -0x4bfc;
  while (bVar1 = false, **(char **)(puVar8 + 8) != '\0') {
    string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);
    if (string_00 != (sigset_t *)0x0) {
      flags_00 = (sigset_t *)0x0;
      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {
        bVar1 = true;
        break;
      }
      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);
      from_file = (char *)0x3;
      flags_00 = string_00;
      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);
    }
    bVar1 = false;
    iVar4 = (*(code *)PTR_parse_command_00156850)();
    if (iVar4 != 0) {
      if ((flags & 0x40U) == 0) {
        bVar1 = true;
        string_00 = (sigset_t *)0x2;
      }
      else {
        (*(code *)PTR_reset_parser_0015694c)();
      }
      break;
    }
    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);
    *(undefined4 *)puVar2 = 0;
    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||
       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;
  }
  *(undefined4 *)PTR_global_command_00156840 = uVar5;
  puVar8 = PTR_DAT_001565b0;
  iVar4 = (int)*(char **)(PTR_bash_input_00156670 + 8) - (int)string;
  if (endp != (char **)0x0) {
    *endp = *(char **)(PTR_bash_input_00156670 + 8);
  }
  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar8 + -0x4c10);
  if (bVar1) {
    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {
      (*(code *)PTR_top_level_cleanup_00156fe4)();
    }
    if (string_00 != (sigset_t *)0x2) {
      (*(code *)PTR_jump_to_top_level_00156818)();
      goto LAB_000c1cb8;
    }
    iVar4 = -2;
  }
  string_00 = psVar3;
  if (psVar3 == *(sigset_t **)PTR___stack_chk_guard_0015858c) {
    return iVar4;
  }
LAB_000c1cb8:
  puVar8 = PTR___stack_chk_fail_0015853c;
  (*(code *)PTR___stack_chk_fail_0015853c)();
  iVar4 = **(int **)(puVar8 + 0x94f7c);
  iStack_e8 = 0;
  iVar7 = **(int **)(puVar8 + 0x95030);
  if (iVar7 != 0) {
    (**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec);
    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4);
    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0);
    **(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1;
    iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c));
  }
  if (iStack_e8 == 0) {
    iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00);
  }
  else {
    parse_and_execute_cleanup(iVar4);
    iStack_f0 = **(int **)(puVar8 + 0x950a0);
  }
  if (iVar7 != 0) {
    (**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec);
    if ((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)) {
      **(int **)(puVar8 + 0x950a0) = iStack_f0;
      pcVar9 = *(code **)(puVar8 + 0x966d4);
      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);
      iVar4 = (**(code **)(pcVar9 + 0x96604))();
                    /* WARNING: Subroutine does not return */
      xmalloc(iVar4 + 2);
    }
  }
  return iStack_f0;
}



/* WARNING: Removing unreachable block (ram,0x000c1bac) */

undefined1 * parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined *puVar9;
  code *pcVar10;
  undefined1 *puStack_f0;
  int iStack_e8;
  undefined1 auStack_94 [128];
  undefined1 *local_14;
  
  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;
  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);
  puVar6 = auStack_94;
  (*(code *)PTR_sigemptyset_00158388)(puVar6);
  (*(code *)PTR_sigprocmask_001585c4)(1,0);
  (*(code *)PTR_push_stream_00156a88)(0);
  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();
  if (iVar3 != 0) {
    (*(code *)PTR_parser_save_alias_001579f0)();
  }
  uVar4 = *(undefined4 *)PTR_global_command_00156840;
  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);
  puVar2 = PTR_global_command_00156840;
  puVar9 = PTR_bash_input_00156670;
  puVar8 = (undefined1 *)0x0;
  puVar5 = PTR_DAT_001565b0 + -0x4bfc;
  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {
    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);
    if (puVar8 != (undefined1 *)0x0) {
      puVar6 = (undefined1 *)0x0;
      if (puVar8 + -1 < &DAT_00000004) {
        bVar1 = true;
        break;
      }
      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);
      param_2 = 3;
      puVar6 = puVar8;
      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);
    }
    bVar1 = false;
    iVar3 = (*(code *)PTR_parse_command_00156850)();
    if (iVar3 != 0) {
      if ((param_3 & 0x40) == 0) {
        bVar1 = true;
        puVar8 = (undefined1 *)0x2;
      }
      else {
        (*(code *)PTR_reset_parser_0015694c)();
      }
      break;
    }
    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);
    *(undefined4 *)puVar2 = 0;
    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||
       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;
  }
  *(undefined4 *)PTR_global_command_00156840 = uVar4;
  puVar9 = PTR_DAT_001565b0;
  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);
  if (param_4 != (int *)0x0) {
    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);
  }
  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);
  if (bVar1) {
    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {
      (*(code *)PTR_top_level_cleanup_00156fe4)();
    }
    if (puVar8 != (undefined1 *)0x2) {
      (*(code *)PTR_jump_to_top_level_00156818)();
      goto LAB_000c1cb8;
    }
    puVar7 = &SUB_fffffffe;
  }
  puVar8 = local_14;
  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {
    return puVar7;
  }
LAB_000c1cb8:
  puVar9 = PTR___stack_chk_fail_0015853c;
  (*(code *)PTR___stack_chk_fail_0015853c)();
  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);
  iStack_e8 = 0;
  iVar3 = **(int **)(puVar9 + 0x95030);
  if (iVar3 != 0) {
    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);
    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);
    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);
    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;
    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));
  }
  if (iStack_e8 == 0) {
    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);
  }
  else {
    parse_and_execute_cleanup(uVar4);
    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);
  }
  if (iVar3 != 0) {
    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);
    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {
      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;
      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);
      pcVar10 = *(code **)(puVar9 + 0x966d4);
      (*pcVar10)(uVar4,1);
      iVar3 = (**(code **)(pcVar10 + 0x96604))();
      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);
      *puVar6 = 0x2d;
      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);
      return puVar6;
    }
  }
  return puStack_f0;
}


lui gp,0xa
addiu gp,gp,-0x3470
addu gp,gp,t9
addiu sp,sp,-0xd8
sw ra,0xd4(sp)
sw s1,0xd0(sp)
sw s0,0xcc(sp)
sw gp,0x10(sp)
sw a0,0x1c(sp)
or s1,a1,zero
sw a2,0xe0(sp)
sw a3,0x24(sp)
lw v0,-0x5fb4(gp)
lw v0,0x0(v0)
sw v0,0xc4(sp)
lw a2,-0x7f90(gp)
addiu a2,a2,-0x4c10
lw a1,0xe0(sp)
lw t9,-0x6bf8(gp)
addiu t9,t9,0x9b4
bal 0x000c09b4
_nop
lw gp,0x10(sp)
addiu s0,sp,0x44
or a0,s0,zero
lw t9,-0x61b8(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a2,s0,zero
or a1,zero,zero
li a0,0x1
lw t9,-0x5f7c(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a0,zero,zero
lw t9,-0x7ab8(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7d18(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x000c1a78
_lw t9,-0x6b50(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw zero,0x3c(sp)
lw v0,-0x7d00(gp)
lw v0,0x0(v0)
sw v0,0x28(sp)
or a1,s1,zero
lw a0,0x1c(sp)
lw t9,-0x7ab4(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s1,zero,zero
lw v0,-0x7ed0(gp)
sw v0,0x20(sp)
addiu v0,sp,0x44
sw v0,0x2c(sp)
lw v0,-0x7f90(gp)
addiu v0,v0,-0x4bfc
sw v0,0x30(sp)
lw v0,-0x7d00(gp)
sw v0,0x34(sp)
lw v0,0x20(sp)
lw v0,0x8(v0)
lb v0,0x0(v0)
bne v0,zero,0x000c1b6c
_nop
lw v0,-0x7d00(gp)
lw v1,0x28(sp)
sw v1,0x0(v0)
lw v0,-0x7ed0(gp)
lw v0,0x8(v0)
lw v1,0x1c(sp)
subu s0,v0,v1
lw v1,0x24(sp)
beq v1,zero,0x000c1b08
_lw a0,-0x7f90(gp)
sw v0,0x0(v1)
addiu a0,a0,-0x4c10
lw t9,-0x7914(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x3c(sp)
beq v0,zero,0x000c1b48
_or v0,s0,zero
lw v0,-0x7c70(gp)
lw v0,0x0(v0)
beq v0,zero,0x000c1c94
_lw t9,-0x755c(gp)
li v0,0x2
bne s1,v0,0x000c1ca8
_li s0,-0x2
or v0,s0,zero
lw a0,0xc4(sp)
lw v1,-0x5fb4(gp)
lw v1,0x0(v1)
bne a0,v1,0x000c1cb8
_lw ra,0xd4(sp)
lw s1,0xd0(sp)
lw s0,0xcc(sp)
jr ra
_addiu sp,sp,0xd8
sw zero,0x40(sp)
lw a0,-0x7f5c(gp)
lw t9,-0x5f8c(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x000c1c08
_or s1,v0,zero
sw zero,0x3c(sp)
addiu v0,v0,-0x1
sltiu v0,v0,0x4
beq v0,zero,0x000c1bd0
_or a2,zero,zero
lw v0,0x40(sp)
beq v0,zero,0x000c1bc0
_nop
lw a0,0x40(sp)
lw t9,-0x7cac(gp)
jalr t9
_nop
lw gp,0x10(sp)
li v0,0x1
sw v0,0x3c(sp)
b 0x000c1ae0
_lw v0,-0x7d00(gp)
lw a1,0x2c(sp)
li a0,0x3
lw t9,-0x5f7c(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a3,zero,zero
or a2,s1,zero
li a1,0x3
lw a0,0x30(sp)
lw t9,-0x7f50(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7cf0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x000c1c3c
_lw v0,0xe0(sp)
andi v0,v0,0x40
bne v0,zero,0x000c1c80
_lw t9,-0x7bf4(gp)
li v0,0x1
sw v0,0x3c(sp)
b 0x000c1adc
_li s1,0x2
lw s0,0x34(sp)
lw a0,0x0(s0)
lw t9,-0x7cac(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw zero,0x0(s0)
lw v0,-0x7c80(gp)
lw v0,0x0(v0)
li v1,0x130
beq v0,v1,0x000c1adc
_lw v1,-0x7b8c(gp)
lw v1,0x0(v1)
bne v0,v1,0x000c1ac8
_lw v0,-0x7d00(gp)
b 0x000c1ae4
_lw v1,0x28(sp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000c1ae0
_lw v0,-0x7d00(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000c1b3c
_li v0,0x2
or a0,s1,zero
lw t9,-0x7d28(gp)
jalr t9
_nop
lw t9,-0x6004(gp)
jalr t9
_nop
(translation_unit "/* WARNING: Removing unreachable block (ram,0x000c1bac) */\n\nundefined1 * parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}\n\n" comment (function_definition "undefined1 * parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}" type_identifier (pointer_declarator "* parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)" * (function_declarator "parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,uint param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined1 *puStack_f0;" type_identifier (pointer_declarator "*puStack_f0" * identifier) ;) (declaration "int iStack_e8;" primitive_type identifier ;) (declaration "undefined1 auStack_94 [128];" type_identifier (array_declarator "auStack_94 [128]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c" identifier = (pointer_expression "*(undefined1 **)PTR___stack_chk_guard_0015858c" * (cast_expression "(undefined1 **)PTR___stack_chk_guard_0015858c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);" (call_expression "FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10)" identifier (argument_list "(param_1,param_3,PTR_DAT_001565b0 + -0x4c10)" ( identifier , identifier , (binary_expression "PTR_DAT_001565b0 + -0x4c10" identifier + number_literal) ))) ;) (expression_statement "puVar6 = auStack_94;" (assignment_expression "puVar6 = auStack_94" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(puVar6);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(puVar6)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0)" ( number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_push_stream_00156a88)(0);" (call_expression "(*(code *)PTR_push_stream_00156a88)(0)" (parenthesized_expression "(*(code *)PTR_push_stream_00156a88)" ( (pointer_expression "*(code *)PTR_push_stream_00156a88" * (cast_expression "(code *)PTR_push_stream_00156a88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();" (assignment_expression "iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)()" identifier = (call_expression "(*(code *)PTR_parser_expanding_alias_00156828)()" (parenthesized_expression "(*(code *)PTR_parser_expanding_alias_00156828)" ( (pointer_expression "*(code *)PTR_parser_expanding_alias_00156828" * (cast_expression "(code *)PTR_parser_expanding_alias_00156828" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" { (expression_statement "(*(code *)PTR_parser_save_alias_001579f0)();" (call_expression "(*(code *)PTR_parser_save_alias_001579f0)()" (parenthesized_expression "(*(code *)PTR_parser_save_alias_001579f0)" ( (pointer_expression "*(code *)PTR_parser_save_alias_001579f0" * (cast_expression "(code *)PTR_parser_save_alias_001579f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar4 = *(undefined4 *)PTR_global_command_00156840;" (assignment_expression "uVar4 = *(undefined4 *)PTR_global_command_00156840" identifier = (pointer_expression "*(undefined4 *)PTR_global_command_00156840" * (cast_expression "(undefined4 *)PTR_global_command_00156840" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_with_input_from_string_00156a8c)(param_1);" (call_expression "(*(code *)PTR_with_input_from_string_00156a8c)(param_1)" (parenthesized_expression "(*(code *)PTR_with_input_from_string_00156a8c)" ( (pointer_expression "*(code *)PTR_with_input_from_string_00156a8c" * (cast_expression "(code *)PTR_with_input_from_string_00156a8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "puVar2 = PTR_global_command_00156840;" (assignment_expression "puVar2 = PTR_global_command_00156840" identifier = identifier) ;) (expression_statement "puVar9 = PTR_bash_input_00156670;" (assignment_expression "puVar9 = PTR_bash_input_00156670" identifier = identifier) ;) (expression_statement "puVar8 = (undefined1 *)0x0;" (assignment_expression "puVar8 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = PTR_DAT_001565b0 + -0x4bfc;" (assignment_expression "puVar5 = PTR_DAT_001565b0 + -0x4bfc" identifier = (binary_expression "PTR_DAT_001565b0 + -0x4bfc" identifier + number_literal)) ;) (while_statement "while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" while (parenthesized_expression "(bVar1 = false, **(char **)(puVar9 + 8) != '\0')" ( (comma_expression "bVar1 = false, **(char **)(puVar9 + 8) != '\0'" (assignment_expression "bVar1 = false" identifier = false) , (binary_expression "**(char **)(puVar9 + 8) != '\0'" (pointer_expression "**(char **)(puVar9 + 8)" * (pointer_expression "*(char **)(puVar9 + 8)" * (cast_expression "(char **)(puVar9 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 8)" ( (binary_expression "puVar9 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" (parenthesized_expression "(*(code *)PTR__setjmp_001585b4)" ( (pointer_expression "*(code *)PTR__setjmp_001585b4" * (cast_expression "(code *)PTR__setjmp_001585b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_top_level_001565e4)" ( identifier ))))) ;) (if_statement "if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }" if (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" ( (binary_expression "puVar8 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }" { (expression_statement "puVar6 = (undefined1 *)0x0;" (assignment_expression "puVar6 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }" if (parenthesized_expression "(puVar8 + -1 < &DAT_00000004)" ( (binary_expression "puVar8 + -1 < &DAT_00000004" (binary_expression "puVar8 + -1" identifier + number_literal) < (pointer_expression "&DAT_00000004" & identifier)) )) (compound_statement "{\n        bVar1 = true;\n        break;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (break_statement "break;" break ;) })) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_94)" ( number_literal , identifier ))) ;) (expression_statement "param_2 = 3;" (assignment_expression "param_2 = 3" identifier = number_literal) ;) (expression_statement "puVar6 = puVar8;" (assignment_expression "puVar6 = puVar8" identifier = identifier) ;) (expression_statement "(*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);" (call_expression "(*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0)" (parenthesized_expression "(*(code *)PTR_command_error_001565f0)" ( (pointer_expression "*(code *)PTR_command_error_001565f0" * (cast_expression "(code *)PTR_command_error_001565f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,3,puVar8,0)" ( identifier , number_literal , identifier , number_literal ))) ;) })) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "iVar3 = (*(code *)PTR_parse_command_00156850)();" (assignment_expression "iVar3 = (*(code *)PTR_parse_command_00156850)()" identifier = (call_expression "(*(code *)PTR_parse_command_00156850)()" (parenthesized_expression "(*(code *)PTR_parse_command_00156850)" ( (pointer_expression "*(code *)PTR_parse_command_00156850" * (cast_expression "(code *)PTR_parse_command_00156850" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" { (if_statement "if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" if (parenthesized_expression "((param_3 & 0x40) == 0)" ( (binary_expression "(param_3 & 0x40) == 0" (parenthesized_expression "(param_3 & 0x40)" ( (binary_expression "param_3 & 0x40" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "puVar8 = (undefined1 *)0x2;" (assignment_expression "puVar8 = (undefined1 *)0x2" identifier = (cast_expression "(undefined1 *)0x2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" else (compound_statement "{\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" { (expression_statement "(*(code *)PTR_reset_parser_0015694c)();" (call_expression "(*(code *)PTR_reset_parser_0015694c)()" (parenthesized_expression "(*(code *)PTR_reset_parser_0015694c)" ( (pointer_expression "*(code *)PTR_reset_parser_0015694c" * (cast_expression "(code *)PTR_reset_parser_0015694c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (break_statement "break;" break ;) })) (expression_statement "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_dispose_command_00156894)" ( (pointer_expression "*(code *)PTR_dispose_command_00156894" * (cast_expression "(code *)PTR_dispose_command_00156894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;" if (parenthesized_expression "((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4))" ( (binary_expression "(*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == 0x130)" ( (binary_expression "*(int *)PTR_current_token_001568c0 == 0x130" (pointer_expression "*(int *)PTR_current_token_001568c0" * (cast_expression "(int *)PTR_current_token_001568c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" ( (binary_expression "*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4" (pointer_expression "*(int *)PTR_current_token_001568c0" * (cast_expression "(int *)PTR_current_token_001568c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == (pointer_expression "*(int *)PTR_shell_eof_token_001569b4" * (cast_expression "(int *)PTR_shell_eof_token_001569b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ))) )) (break_statement "break;" break ;)) })) (expression_statement "*(undefined4 *)PTR_global_command_00156840 = uVar4;" (assignment_expression "*(undefined4 *)PTR_global_command_00156840 = uVar4" (pointer_expression "*(undefined4 *)PTR_global_command_00156840" * (cast_expression "(undefined4 *)PTR_global_command_00156840" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar9 = PTR_DAT_001565b0;" (assignment_expression "puVar9 = PTR_DAT_001565b0" identifier = identifier) ;) (expression_statement "puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);" (assignment_expression "puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" identifier = (cast_expression "(undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" ( (binary_expression "*(int *)(PTR_bash_input_00156670 + 8) - param_1" (pointer_expression "*(int *)(PTR_bash_input_00156670 + 8)" * (cast_expression "(int *)(PTR_bash_input_00156670 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bash_input_00156670 + 8)" ( (binary_expression "PTR_bash_input_00156670 + 8" identifier + number_literal) )))) - identifier) )))) ;) (if_statement "if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }" { (expression_statement "*param_4 = *(int *)(PTR_bash_input_00156670 + 8);" (assignment_expression "*param_4 = *(int *)(PTR_bash_input_00156670 + 8)" (pointer_expression "*param_4" * identifier) = (pointer_expression "*(int *)(PTR_bash_input_00156670 + 8)" * (cast_expression "(int *)(PTR_bash_input_00156670 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bash_input_00156670 + 8)" ( (binary_expression "PTR_bash_input_00156670 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);" (call_expression "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10)" (parenthesized_expression "(*(code *)PTR_run_unwind_frame_00156c2c)" ( (pointer_expression "*(code *)PTR_run_unwind_frame_00156c2c" * (cast_expression "(code *)PTR_run_unwind_frame_00156c2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9 + -0x4c10)" ( (binary_expression "puVar9 + -0x4c10" identifier + number_literal) ))) ;) (if_statement "if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }" { (if_statement "if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" if (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001568d0 == 0)" ( (binary_expression "*(int *)PTR_parse_and_execute_level_001568d0 == 0" (pointer_expression "*(int *)PTR_parse_and_execute_level_001568d0" * (cast_expression "(int *)PTR_parse_and_execute_level_001568d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" { (expression_statement "(*(code *)PTR_top_level_cleanup_00156fe4)();" (call_expression "(*(code *)PTR_top_level_cleanup_00156fe4)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00156fe4)" ( (pointer_expression "*(code *)PTR_top_level_cleanup_00156fe4" * (cast_expression "(code *)PTR_top_level_cleanup_00156fe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" if (parenthesized_expression "(puVar8 != (undefined1 *)0x2)" ( (binary_expression "puVar8 != (undefined1 *)0x2" identifier != (cast_expression "(undefined1 *)0x2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" { (expression_statement "(*(code *)PTR_jump_to_top_level_00156818)();" (call_expression "(*(code *)PTR_jump_to_top_level_00156818)()" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00156818)" ( (pointer_expression "*(code *)PTR_jump_to_top_level_00156818" * (cast_expression "(code *)PTR_jump_to_top_level_00156818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000c1cb8;" goto statement_identifier ;) })) (expression_statement "puVar7 = &SUB_fffffffe;" (assignment_expression "puVar7 = &SUB_fffffffe" identifier = (pointer_expression "&SUB_fffffffe" & identifier)) ;) })) (expression_statement "puVar8 = local_14;" (assignment_expression "puVar8 = local_14" identifier = identifier) ;) (if_statement "if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }" if (parenthesized_expression "(local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c)" ( (binary_expression "local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c" identifier == (pointer_expression "*(undefined1 **)PTR___stack_chk_guard_0015858c" * (cast_expression "(undefined1 **)PTR___stack_chk_guard_0015858c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return puVar7;\n  }" { (return_statement "return puVar7;" return identifier ;) })) (labeled_statement "LAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;" statement_identifier : (expression_statement "puVar9 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar9 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;)) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);" (assignment_expression "uVar4 = **(undefined4 **)(puVar9 + 0x94f7c)" identifier = (pointer_expression "**(undefined4 **)(puVar9 + 0x94f7c)" * (pointer_expression "*(undefined4 **)(puVar9 + 0x94f7c)" * (cast_expression "(undefined4 **)(puVar9 + 0x94f7c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f7c)" ( (binary_expression "puVar9 + 0x94f7c" identifier + number_literal) )))))) ;) (expression_statement "iStack_e8 = 0;" (assignment_expression "iStack_e8 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = **(int **)(puVar9 + 0x95030);" (assignment_expression "iVar3 = **(int **)(puVar9 + 0x95030)" identifier = (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) )))))) ;) (if_statement "if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }" { (expression_statement "(**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f10))" ( (pointer_expression "**(code **)(puVar9 + 0x94f10)" * (pointer_expression "*(code **)(puVar9 + 0x94f10)" * (cast_expression "(code **)(puVar9 + 0x94f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f10)" ( (binary_expression "puVar9 + 0x94f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar9 + 0x948ec) + -0x4bec)" ( (binary_expression "*(int *)(puVar9 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar9 + 0x948ec)" * (cast_expression "(int *)(puVar9 + 0x948ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x948ec)" ( (binary_expression "puVar9 + 0x948ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);" (call_expression "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f14))" ( (pointer_expression "**(code **)(puVar9 + 0x94f14)" * (pointer_expression "*(code **)(puVar9 + 0x94f14)" * (cast_expression "(code **)(puVar9 + 0x94f14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f14)" ( (binary_expression "puVar9 + 0x94f14" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar9 + 0x95030),4)" ( (pointer_expression "*(undefined4 *)(puVar9 + 0x95030)" * (cast_expression "(undefined4 *)(puVar9 + 0x95030)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);" (call_expression "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f14))" ( (pointer_expression "**(code **)(puVar9 + 0x94f14)" * (pointer_expression "*(code **)(puVar9 + 0x94f14)" * (cast_expression "(code **)(puVar9 + 0x94f14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f14)" ( (binary_expression "puVar9 + 0x94f14" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar9 + 0x9509c),0xf0)" ( (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x9509c)" ( (binary_expression "puVar9 + 0x9509c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "**(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;" (assignment_expression "**(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1" (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) ))))) = (binary_expression "**(int **)(puVar9 + 0x95030) + 1" (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) ))))) + number_literal)) ;) (expression_statement "iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));" (assignment_expression "iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c))" identifier = (call_expression "(**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c))" (parenthesized_expression "(**(code **)(puVar9 + 0x968f0))" ( (pointer_expression "**(code **)(puVar9 + 0x968f0)" * (pointer_expression "*(code **)(puVar9 + 0x968f0)" * (cast_expression "(code **)(puVar9 + 0x968f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x968f0)" ( (binary_expression "puVar9 + 0x968f0" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar9 + 0x9509c))" ( (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x9509c)" ( (binary_expression "puVar9 + 0x9509c" identifier + number_literal) )))) )))) ;) })) (if_statement "if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" if (parenthesized_expression "(iStack_e8 == 0)" ( (binary_expression "iStack_e8 == 0" identifier == number_literal) )) (compound_statement "{\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }" { (expression_statement "puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);" (assignment_expression "puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6)" identifier = (cast_expression "(undefined1 *)parse_and_execute(puVar8,param_2,puVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "parse_and_execute(puVar8,param_2,puVar6)" identifier (argument_list "(puVar8,param_2,puVar6)" ( identifier , identifier , identifier ))))) ;) }) (else_clause "else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" else (compound_statement "{\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" { (expression_statement "parse_and_execute_cleanup(uVar4);" (call_expression "parse_and_execute_cleanup(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);" (assignment_expression "puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0)" identifier = (cast_expression "(undefined1 *)**(undefined4 **)(puVar9 + 0x950a0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar9 + 0x950a0)" * (pointer_expression "*(undefined4 **)(puVar9 + 0x950a0)" * (cast_expression "(undefined4 **)(puVar9 + 0x950a0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x950a0)" ( (binary_expression "puVar9 + 0x950a0" identifier + number_literal) ))))))) ;) }))) (if_statement "if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }" { (expression_statement "(**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f68))" ( (pointer_expression "**(code **)(puVar9 + 0x94f68)" * (pointer_expression "*(code **)(puVar9 + 0x94f68)" * (cast_expression "(code **)(puVar9 + 0x94f68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f68)" ( (binary_expression "puVar9 + 0x94f68" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar9 + 0x948ec) + -0x4bec)" ( (binary_expression "*(int *)(puVar9 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar9 + 0x948ec)" * (cast_expression "(int *)(puVar9 + 0x948ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x948ec)" ( (binary_expression "puVar9 + 0x948ec" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }" if (parenthesized_expression "((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0))" ( (binary_expression "(iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)" (parenthesized_expression "(iStack_e8 != 0)" ( (binary_expression "iStack_e8 != 0" identifier != number_literal) )) && (parenthesized_expression "(**(int **)(puVar9 + 0x95030) != 0)" ( (binary_expression "**(int **)(puVar9 + 0x95030) != 0" (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) ))))) != number_literal) ))) )) (compound_statement "{\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }" { (expression_statement "**(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;" (assignment_expression "**(undefined4 **)(puVar9 + 0x950a0) = puStack_f0" (pointer_expression "**(undefined4 **)(puVar9 + 0x950a0)" * (pointer_expression "*(undefined4 **)(puVar9 + 0x950a0)" * (cast_expression "(undefined4 **)(puVar9 + 0x950a0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x950a0)" ( (binary_expression "puVar9 + 0x950a0" identifier + number_literal) ))))) = identifier) ;) (expression_statement "uVar4 = *(undefined4 *)(puVar9 + 0x9509c);" (assignment_expression "uVar4 = *(undefined4 *)(puVar9 + 0x9509c)" identifier = (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x9509c)" ( (binary_expression "puVar9 + 0x9509c" identifier + number_literal) ))))) ;) (expression_statement "pcVar10 = *(code **)(puVar9 + 0x966d4);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x966d4)" identifier = (pointer_expression "*(code **)(puVar9 + 0x966d4)" * (cast_expression "(code **)(puVar9 + 0x966d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x966d4)" ( (binary_expression "puVar9 + 0x966d4" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar10)(uVar4,1);" (call_expression "(*pcVar10)(uVar4,1)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(uVar4,1)" ( identifier , number_literal ))) ;) (expression_statement "iVar3 = (**(code **)(pcVar10 + 0x96604))();" (assignment_expression "iVar3 = (**(code **)(pcVar10 + 0x96604))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x96604))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x96604))" ( (pointer_expression "**(code **)(pcVar10 + 0x96604)" * (pointer_expression "*(code **)(pcVar10 + 0x96604)" * (cast_expression "(code **)(pcVar10 + 0x96604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x96604)" ( (binary_expression "pcVar10 + 0x96604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar6 = (undefined1 *)xmalloc(iVar3 + 2);" (assignment_expression "puVar6 = (undefined1 *)xmalloc(iVar3 + 2)" identifier = (cast_expression "(undefined1 *)xmalloc(iVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar3 + 2)" identifier (argument_list "(iVar3 + 2)" ( (binary_expression "iVar3 + 2" identifier + number_literal) ))))) ;) (expression_statement "*puVar6 = 0x2d;" (assignment_expression "*puVar6 = 0x2d" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "(**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);" (call_expression "(**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4)" (parenthesized_expression "(**(code **)(pcVar10 + 0x9668c))" ( (pointer_expression "**(code **)(pcVar10 + 0x9668c)" * (pointer_expression "*(code **)(pcVar10 + 0x9668c)" * (cast_expression "(code **)(pcVar10 + 0x9668c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x9668c)" ( (binary_expression "pcVar10 + 0x9668c" identifier + number_literal) ))))) )) (argument_list "(puVar6 + 1,uVar4)" ( (binary_expression "puVar6 + 1" identifier + number_literal) , identifier ))) ;) (return_statement "return puVar6;" return identifier ;) })) })) (return_statement "return puStack_f0;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x000c1bac) */\n\nint parse_string(char *string,char *from_file,int flags,char **endp)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  sigset_t *psVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  sigset_t *flags_00;\n  sigset_t *string_00;\n  undefined *puVar8;\n  code *pcVar9;\n  int iStack_f0;\n  int iStack_e8;\n  int should_jump_to_top_level;\n  COMMAND *command;\n  sigset_t ps_sigmask;\n  \n  psVar3 = *(sigset_t **)PTR___stack_chk_guard_0015858c;\n  parse_prologue(string,flags,PTR_DAT_001565b0 + -0x4c10);\n  flags_00 = &ps_sigmask;\n  (*(code *)PTR_sigemptyset_00158388)(flags_00);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar4 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar4 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar5 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(string);\n  puVar2 = PTR_global_command_00156840;\n  puVar8 = PTR_bash_input_00156670;\n  string_00 = (sigset_t *)0x0;\n  puVar6 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar8 + 8) != '\0') {\n    string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (string_00 != (sigset_t *)0x0) {\n      flags_00 = (sigset_t *)0x0;\n      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);\n      from_file = (char *)0x3;\n      flags_00 = string_00;\n      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);\n    }\n    bVar1 = false;\n    iVar4 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar4 != 0) {\n      if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar5;\n  puVar8 = PTR_DAT_001565b0;\n  iVar4 = (int)*(char **)(PTR_bash_input_00156670 + 8) - (int)string;\n  if (endp != (char **)0x0) {\n    *endp = *(char **)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar8 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (string_00 != (sigset_t *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    iVar4 = -2;\n  }\n  string_00 = psVar3;\n  if (psVar3 == *(sigset_t **)PTR___stack_chk_guard_0015858c) {\n    return iVar4;\n  }\nLAB_000c1cb8:\n  puVar8 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  iVar4 = **(int **)(puVar8 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar7 = **(int **)(puVar8 + 0x95030);\n  if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0);\n    **(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00);\n  }\n  else {\n    parse_and_execute_cleanup(iVar4);\n    iStack_f0 = **(int **)(puVar8 + 0x950a0);\n  }\n  if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)) {\n      **(int **)(puVar8 + 0x950a0) = iStack_f0;\n      pcVar9 = *(code **)(puVar8 + 0x966d4);\n      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);\n      iVar4 = (**(code **)(pcVar9 + 0x96604))();\n                    /* WARNING: Subroutine does not return */\n      xmalloc(iVar4 + 2);\n    }\n  }\n  return iStack_f0;\n}\n\n" comment (function_definition "int parse_string(char *string,char *from_file,int flags,char **endp)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  sigset_t *psVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  sigset_t *flags_00;\n  sigset_t *string_00;\n  undefined *puVar8;\n  code *pcVar9;\n  int iStack_f0;\n  int iStack_e8;\n  int should_jump_to_top_level;\n  COMMAND *command;\n  sigset_t ps_sigmask;\n  \n  psVar3 = *(sigset_t **)PTR___stack_chk_guard_0015858c;\n  parse_prologue(string,flags,PTR_DAT_001565b0 + -0x4c10);\n  flags_00 = &ps_sigmask;\n  (*(code *)PTR_sigemptyset_00158388)(flags_00);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar4 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar4 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar5 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(string);\n  puVar2 = PTR_global_command_00156840;\n  puVar8 = PTR_bash_input_00156670;\n  string_00 = (sigset_t *)0x0;\n  puVar6 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar8 + 8) != '\0') {\n    string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (string_00 != (sigset_t *)0x0) {\n      flags_00 = (sigset_t *)0x0;\n      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);\n      from_file = (char *)0x3;\n      flags_00 = string_00;\n      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);\n    }\n    bVar1 = false;\n    iVar4 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar4 != 0) {\n      if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar5;\n  puVar8 = PTR_DAT_001565b0;\n  iVar4 = (int)*(char **)(PTR_bash_input_00156670 + 8) - (int)string;\n  if (endp != (char **)0x0) {\n    *endp = *(char **)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar8 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (string_00 != (sigset_t *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    iVar4 = -2;\n  }\n  string_00 = psVar3;\n  if (psVar3 == *(sigset_t **)PTR___stack_chk_guard_0015858c) {\n    return iVar4;\n  }\nLAB_000c1cb8:\n  puVar8 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  iVar4 = **(int **)(puVar8 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar7 = **(int **)(puVar8 + 0x95030);\n  if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0);\n    **(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00);\n  }\n  else {\n    parse_and_execute_cleanup(iVar4);\n    iStack_f0 = **(int **)(puVar8 + 0x950a0);\n  }\n  if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)) {\n      **(int **)(puVar8 + 0x950a0) = iStack_f0;\n      pcVar9 = *(code **)(puVar8 + 0x966d4);\n      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);\n      iVar4 = (**(code **)(pcVar9 + 0x96604))();\n                    /* WARNING: Subroutine does not return */\n      xmalloc(iVar4 + 2);\n    }\n  }\n  return iStack_f0;\n}" primitive_type (function_declarator "parse_string(char *string,char *from_file,int flags,char **endp)" identifier (parameter_list "(char *string,char *from_file,int flags,char **endp)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "char *from_file" primitive_type (pointer_declarator "*from_file" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) , (parameter_declaration "char **endp" primitive_type (pointer_declarator "**endp" * (pointer_declarator "*endp" * identifier))) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  sigset_t *psVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  sigset_t *flags_00;\n  sigset_t *string_00;\n  undefined *puVar8;\n  code *pcVar9;\n  int iStack_f0;\n  int iStack_e8;\n  int should_jump_to_top_level;\n  COMMAND *command;\n  sigset_t ps_sigmask;\n  \n  psVar3 = *(sigset_t **)PTR___stack_chk_guard_0015858c;\n  parse_prologue(string,flags,PTR_DAT_001565b0 + -0x4c10);\n  flags_00 = &ps_sigmask;\n  (*(code *)PTR_sigemptyset_00158388)(flags_00);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar4 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar4 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar5 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(string);\n  puVar2 = PTR_global_command_00156840;\n  puVar8 = PTR_bash_input_00156670;\n  string_00 = (sigset_t *)0x0;\n  puVar6 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar8 + 8) != '\0') {\n    string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (string_00 != (sigset_t *)0x0) {\n      flags_00 = (sigset_t *)0x0;\n      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);\n      from_file = (char *)0x3;\n      flags_00 = string_00;\n      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);\n    }\n    bVar1 = false;\n    iVar4 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar4 != 0) {\n      if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar5;\n  puVar8 = PTR_DAT_001565b0;\n  iVar4 = (int)*(char **)(PTR_bash_input_00156670 + 8) - (int)string;\n  if (endp != (char **)0x0) {\n    *endp = *(char **)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar8 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (string_00 != (sigset_t *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    iVar4 = -2;\n  }\n  string_00 = psVar3;\n  if (psVar3 == *(sigset_t **)PTR___stack_chk_guard_0015858c) {\n    return iVar4;\n  }\nLAB_000c1cb8:\n  puVar8 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  iVar4 = **(int **)(puVar8 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar7 = **(int **)(puVar8 + 0x95030);\n  if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0);\n    **(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00);\n  }\n  else {\n    parse_and_execute_cleanup(iVar4);\n    iStack_f0 = **(int **)(puVar8 + 0x950a0);\n  }\n  if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)) {\n      **(int **)(puVar8 + 0x950a0) = iStack_f0;\n      pcVar9 = *(code **)(puVar8 + 0x966d4);\n      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);\n      iVar4 = (**(code **)(pcVar9 + 0x96604))();\n                    /* WARNING: Subroutine does not return */\n      xmalloc(iVar4 + 2);\n    }\n  }\n  return iStack_f0;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "sigset_t *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "sigset_t *flags_00;" type_identifier (pointer_declarator "*flags_00" * identifier) ;) (declaration "sigset_t *string_00;" type_identifier (pointer_declarator "*string_00" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iStack_f0;" primitive_type identifier ;) (declaration "int iStack_e8;" primitive_type identifier ;) (declaration "int should_jump_to_top_level;" primitive_type identifier ;) (declaration "COMMAND *command;" type_identifier (pointer_declarator "*command" * identifier) ;) (declaration "sigset_t ps_sigmask;" type_identifier identifier ;) (expression_statement "psVar3 = *(sigset_t **)PTR___stack_chk_guard_0015858c;" (assignment_expression "psVar3 = *(sigset_t **)PTR___stack_chk_guard_0015858c" identifier = (pointer_expression "*(sigset_t **)PTR___stack_chk_guard_0015858c" * (cast_expression "(sigset_t **)PTR___stack_chk_guard_0015858c" ( (type_descriptor "sigset_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "parse_prologue(string,flags,PTR_DAT_001565b0 + -0x4c10);" (call_expression "parse_prologue(string,flags,PTR_DAT_001565b0 + -0x4c10)" identifier (argument_list "(string,flags,PTR_DAT_001565b0 + -0x4c10)" ( identifier , identifier , (binary_expression "PTR_DAT_001565b0 + -0x4c10" identifier + number_literal) ))) ;) (expression_statement "flags_00 = &ps_sigmask;" (assignment_expression "flags_00 = &ps_sigmask" identifier = (pointer_expression "&ps_sigmask" & identifier)) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(flags_00);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(flags_00)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(flags_00)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0)" ( number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_push_stream_00156a88)(0);" (call_expression "(*(code *)PTR_push_stream_00156a88)(0)" (parenthesized_expression "(*(code *)PTR_push_stream_00156a88)" ( (pointer_expression "*(code *)PTR_push_stream_00156a88" * (cast_expression "(code *)PTR_push_stream_00156a88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar4 = (*(code *)PTR_parser_expanding_alias_00156828)();" (assignment_expression "iVar4 = (*(code *)PTR_parser_expanding_alias_00156828)()" identifier = (call_expression "(*(code *)PTR_parser_expanding_alias_00156828)()" (parenthesized_expression "(*(code *)PTR_parser_expanding_alias_00156828)" ( (pointer_expression "*(code *)PTR_parser_expanding_alias_00156828" * (cast_expression "(code *)PTR_parser_expanding_alias_00156828" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" { (expression_statement "(*(code *)PTR_parser_save_alias_001579f0)();" (call_expression "(*(code *)PTR_parser_save_alias_001579f0)()" (parenthesized_expression "(*(code *)PTR_parser_save_alias_001579f0)" ( (pointer_expression "*(code *)PTR_parser_save_alias_001579f0" * (cast_expression "(code *)PTR_parser_save_alias_001579f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar5 = *(undefined4 *)PTR_global_command_00156840;" (assignment_expression "uVar5 = *(undefined4 *)PTR_global_command_00156840" identifier = (pointer_expression "*(undefined4 *)PTR_global_command_00156840" * (cast_expression "(undefined4 *)PTR_global_command_00156840" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_with_input_from_string_00156a8c)(string);" (call_expression "(*(code *)PTR_with_input_from_string_00156a8c)(string)" (parenthesized_expression "(*(code *)PTR_with_input_from_string_00156a8c)" ( (pointer_expression "*(code *)PTR_with_input_from_string_00156a8c" * (cast_expression "(code *)PTR_with_input_from_string_00156a8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string)" ( identifier ))) ;) (expression_statement "puVar2 = PTR_global_command_00156840;" (assignment_expression "puVar2 = PTR_global_command_00156840" identifier = identifier) ;) (expression_statement "puVar8 = PTR_bash_input_00156670;" (assignment_expression "puVar8 = PTR_bash_input_00156670" identifier = identifier) ;) (expression_statement "string_00 = (sigset_t *)0x0;" (assignment_expression "string_00 = (sigset_t *)0x0" identifier = (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar6 = PTR_DAT_001565b0 + -0x4bfc;" (assignment_expression "puVar6 = PTR_DAT_001565b0 + -0x4bfc" identifier = (binary_expression "PTR_DAT_001565b0 + -0x4bfc" identifier + number_literal)) ;) (while_statement "while (bVar1 = false, **(char **)(puVar8 + 8) != '\0') {\n    string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (string_00 != (sigset_t *)0x0) {\n      flags_00 = (sigset_t *)0x0;\n      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);\n      from_file = (char *)0x3;\n      flags_00 = string_00;\n      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);\n    }\n    bVar1 = false;\n    iVar4 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar4 != 0) {\n      if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" while (parenthesized_expression "(bVar1 = false, **(char **)(puVar8 + 8) != '\0')" ( (comma_expression "bVar1 = false, **(char **)(puVar8 + 8) != '\0'" (assignment_expression "bVar1 = false" identifier = false) , (binary_expression "**(char **)(puVar8 + 8) != '\0'" (pointer_expression "**(char **)(puVar8 + 8)" * (pointer_expression "*(char **)(puVar8 + 8)" * (cast_expression "(char **)(puVar8 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 8)" ( (binary_expression "puVar8 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n    string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (string_00 != (sigset_t *)0x0) {\n      flags_00 = (sigset_t *)0x0;\n      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);\n      from_file = (char *)0x3;\n      flags_00 = string_00;\n      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);\n    }\n    bVar1 = false;\n    iVar4 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar4 != 0) {\n      if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" { (expression_statement "string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);" (assignment_expression "string_00 = (sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" identifier = (cast_expression "(sigset_t *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" (parenthesized_expression "(*(code *)PTR__setjmp_001585b4)" ( (pointer_expression "*(code *)PTR__setjmp_001585b4" * (cast_expression "(code *)PTR__setjmp_001585b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_top_level_001565e4)" ( identifier ))))) ;) (if_statement "if (string_00 != (sigset_t *)0x0) {\n      flags_00 = (sigset_t *)0x0;\n      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);\n      from_file = (char *)0x3;\n      flags_00 = string_00;\n      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);\n    }" if (parenthesized_expression "(string_00 != (sigset_t *)0x0)" ( (binary_expression "string_00 != (sigset_t *)0x0" identifier != (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      flags_00 = (sigset_t *)0x0;\n      if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);\n      from_file = (char *)0x3;\n      flags_00 = string_00;\n      (*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);\n    }" { (expression_statement "flags_00 = (sigset_t *)0x0;" (assignment_expression "flags_00 = (sigset_t *)0x0" identifier = (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }" if (parenthesized_expression "((char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004)" ( (binary_expression "(char *)((int)string_00[-1].__val + 0x7f) < &DAT_00000004" (cast_expression "(char *)((int)string_00[-1].__val + 0x7f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)string_00[-1].__val + 0x7f)" ( (binary_expression "(int)string_00[-1].__val + 0x7f" (cast_expression "(int)string_00[-1].__val" ( (type_descriptor "int" primitive_type) ) (field_expression "string_00[-1].__val" (subscript_expression "string_00[-1]" identifier [ number_literal ]) . field_identifier)) + number_literal) ))) < (pointer_expression "&DAT_00000004" & identifier)) )) (compound_statement "{\n        bVar1 = true;\n        break;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (break_statement "break;" break ;) })) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,&ps_sigmask)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,&ps_sigmask)" ( number_literal , (pointer_expression "&ps_sigmask" & identifier) ))) ;) (expression_statement "from_file = (char *)0x3;" (assignment_expression "from_file = (char *)0x3" identifier = (cast_expression "(char *)0x3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "flags_00 = string_00;" (assignment_expression "flags_00 = string_00" identifier = identifier) ;) (expression_statement "(*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0);" (call_expression "(*(code *)PTR_command_error_001565f0)(puVar6,3,string_00,0)" (parenthesized_expression "(*(code *)PTR_command_error_001565f0)" ( (pointer_expression "*(code *)PTR_command_error_001565f0" * (cast_expression "(code *)PTR_command_error_001565f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,3,string_00,0)" ( identifier , number_literal , identifier , number_literal ))) ;) })) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "iVar4 = (*(code *)PTR_parse_command_00156850)();" (assignment_expression "iVar4 = (*(code *)PTR_parse_command_00156850)()" identifier = (call_expression "(*(code *)PTR_parse_command_00156850)()" (parenthesized_expression "(*(code *)PTR_parse_command_00156850)" ( (pointer_expression "*(code *)PTR_parse_command_00156850" * (cast_expression "(code *)PTR_parse_command_00156850" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != 0) {\n      if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" { (if_statement "if ((flags & 0x40U) == 0) {\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" if (parenthesized_expression "((flags & 0x40U) == 0)" ( (binary_expression "(flags & 0x40U) == 0" (parenthesized_expression "(flags & 0x40U)" ( (binary_expression "flags & 0x40U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        bVar1 = true;\n        string_00 = (sigset_t *)0x2;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "string_00 = (sigset_t *)0x2;" (assignment_expression "string_00 = (sigset_t *)0x2" identifier = (cast_expression "(sigset_t *)0x2" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" else (compound_statement "{\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" { (expression_statement "(*(code *)PTR_reset_parser_0015694c)();" (call_expression "(*(code *)PTR_reset_parser_0015694c)()" (parenthesized_expression "(*(code *)PTR_reset_parser_0015694c)" ( (pointer_expression "*(code *)PTR_reset_parser_0015694c" * (cast_expression "(code *)PTR_reset_parser_0015694c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (break_statement "break;" break ;) })) (expression_statement "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_dispose_command_00156894)" ( (pointer_expression "*(code *)PTR_dispose_command_00156894" * (cast_expression "(code *)PTR_dispose_command_00156894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;" if (parenthesized_expression "((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4))" ( (binary_expression "(*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == 0x130)" ( (binary_expression "*(int *)PTR_current_token_001568c0 == 0x130" (pointer_expression "*(int *)PTR_current_token_001568c0" * (cast_expression "(int *)PTR_current_token_001568c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" ( (binary_expression "*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4" (pointer_expression "*(int *)PTR_current_token_001568c0" * (cast_expression "(int *)PTR_current_token_001568c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == (pointer_expression "*(int *)PTR_shell_eof_token_001569b4" * (cast_expression "(int *)PTR_shell_eof_token_001569b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ))) )) (break_statement "break;" break ;)) })) (expression_statement "*(undefined4 *)PTR_global_command_00156840 = uVar5;" (assignment_expression "*(undefined4 *)PTR_global_command_00156840 = uVar5" (pointer_expression "*(undefined4 *)PTR_global_command_00156840" * (cast_expression "(undefined4 *)PTR_global_command_00156840" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar8 = PTR_DAT_001565b0;" (assignment_expression "puVar8 = PTR_DAT_001565b0" identifier = identifier) ;) (expression_statement "iVar4 = (int)*(char **)(PTR_bash_input_00156670 + 8) - (int)string;" (assignment_expression "iVar4 = (int)*(char **)(PTR_bash_input_00156670 + 8) - (int)string" identifier = (binary_expression "(int)*(char **)(PTR_bash_input_00156670 + 8) - (int)string" (cast_expression "(int)*(char **)(PTR_bash_input_00156670 + 8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char **)(PTR_bash_input_00156670 + 8)" * (cast_expression "(char **)(PTR_bash_input_00156670 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bash_input_00156670 + 8)" ( (binary_expression "PTR_bash_input_00156670 + 8" identifier + number_literal) ))))) - (cast_expression "(int)string" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (endp != (char **)0x0) {\n    *endp = *(char **)(PTR_bash_input_00156670 + 8);\n  }" if (parenthesized_expression "(endp != (char **)0x0)" ( (binary_expression "endp != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *endp = *(char **)(PTR_bash_input_00156670 + 8);\n  }" { (expression_statement "*endp = *(char **)(PTR_bash_input_00156670 + 8);" (assignment_expression "*endp = *(char **)(PTR_bash_input_00156670 + 8)" (pointer_expression "*endp" * identifier) = (pointer_expression "*(char **)(PTR_bash_input_00156670 + 8)" * (cast_expression "(char **)(PTR_bash_input_00156670 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bash_input_00156670 + 8)" ( (binary_expression "PTR_bash_input_00156670 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar8 + -0x4c10);" (call_expression "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar8 + -0x4c10)" (parenthesized_expression "(*(code *)PTR_run_unwind_frame_00156c2c)" ( (pointer_expression "*(code *)PTR_run_unwind_frame_00156c2c" * (cast_expression "(code *)PTR_run_unwind_frame_00156c2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8 + -0x4c10)" ( (binary_expression "puVar8 + -0x4c10" identifier + number_literal) ))) ;) (if_statement "if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (string_00 != (sigset_t *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    iVar4 = -2;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (string_00 != (sigset_t *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    iVar4 = -2;\n  }" { (if_statement "if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" if (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001568d0 == 0)" ( (binary_expression "*(int *)PTR_parse_and_execute_level_001568d0 == 0" (pointer_expression "*(int *)PTR_parse_and_execute_level_001568d0" * (cast_expression "(int *)PTR_parse_and_execute_level_001568d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" { (expression_statement "(*(code *)PTR_top_level_cleanup_00156fe4)();" (call_expression "(*(code *)PTR_top_level_cleanup_00156fe4)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00156fe4)" ( (pointer_expression "*(code *)PTR_top_level_cleanup_00156fe4" * (cast_expression "(code *)PTR_top_level_cleanup_00156fe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (string_00 != (sigset_t *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" if (parenthesized_expression "(string_00 != (sigset_t *)0x2)" ( (binary_expression "string_00 != (sigset_t *)0x2" identifier != (cast_expression "(sigset_t *)0x2" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" { (expression_statement "(*(code *)PTR_jump_to_top_level_00156818)();" (call_expression "(*(code *)PTR_jump_to_top_level_00156818)()" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00156818)" ( (pointer_expression "*(code *)PTR_jump_to_top_level_00156818" * (cast_expression "(code *)PTR_jump_to_top_level_00156818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000c1cb8;" goto statement_identifier ;) })) (expression_statement "iVar4 = -2;" (assignment_expression "iVar4 = -2" identifier = number_literal) ;) })) (expression_statement "string_00 = psVar3;" (assignment_expression "string_00 = psVar3" identifier = identifier) ;) (if_statement "if (psVar3 == *(sigset_t **)PTR___stack_chk_guard_0015858c) {\n    return iVar4;\n  }" if (parenthesized_expression "(psVar3 == *(sigset_t **)PTR___stack_chk_guard_0015858c)" ( (binary_expression "psVar3 == *(sigset_t **)PTR___stack_chk_guard_0015858c" identifier == (pointer_expression "*(sigset_t **)PTR___stack_chk_guard_0015858c" * (cast_expression "(sigset_t **)PTR___stack_chk_guard_0015858c" ( (type_descriptor "sigset_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) })) (labeled_statement "LAB_000c1cb8:\n  puVar8 = PTR___stack_chk_fail_0015853c;" statement_identifier : (expression_statement "puVar8 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar8 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;)) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = **(int **)(puVar8 + 0x94f7c);" (assignment_expression "iVar4 = **(int **)(puVar8 + 0x94f7c)" identifier = (pointer_expression "**(int **)(puVar8 + 0x94f7c)" * (pointer_expression "*(int **)(puVar8 + 0x94f7c)" * (cast_expression "(int **)(puVar8 + 0x94f7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x94f7c)" ( (binary_expression "puVar8 + 0x94f7c" identifier + number_literal) )))))) ;) (expression_statement "iStack_e8 = 0;" (assignment_expression "iStack_e8 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = **(int **)(puVar8 + 0x95030);" (assignment_expression "iVar7 = **(int **)(puVar8 + 0x95030)" identifier = (pointer_expression "**(int **)(puVar8 + 0x95030)" * (pointer_expression "*(int **)(puVar8 + 0x95030)" * (cast_expression "(int **)(puVar8 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x95030)" ( (binary_expression "puVar8 + 0x95030" identifier + number_literal) )))))) ;) (if_statement "if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0);\n    **(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c));\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4);\n    (**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0);\n    **(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c));\n  }" { (expression_statement "(**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar8 + 0x94f10))(*(int *)(puVar8 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar8 + 0x94f10))" ( (pointer_expression "**(code **)(puVar8 + 0x94f10)" * (pointer_expression "*(code **)(puVar8 + 0x94f10)" * (cast_expression "(code **)(puVar8 + 0x94f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x94f10)" ( (binary_expression "puVar8 + 0x94f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar8 + 0x948ec) + -0x4bec)" ( (binary_expression "*(int *)(puVar8 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar8 + 0x948ec)" * (cast_expression "(int *)(puVar8 + 0x948ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x948ec)" ( (binary_expression "puVar8 + 0x948ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4);" (call_expression "(**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x95030),4)" (parenthesized_expression "(**(code **)(puVar8 + 0x94f14))" ( (pointer_expression "**(code **)(puVar8 + 0x94f14)" * (pointer_expression "*(code **)(puVar8 + 0x94f14)" * (cast_expression "(code **)(puVar8 + 0x94f14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x94f14)" ( (binary_expression "puVar8 + 0x94f14" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar8 + 0x95030),4)" ( (pointer_expression "*(undefined4 *)(puVar8 + 0x95030)" * (cast_expression "(undefined4 *)(puVar8 + 0x95030)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x95030)" ( (binary_expression "puVar8 + 0x95030" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "(**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0);" (call_expression "(**(code **)(puVar8 + 0x94f14))(*(undefined4 *)(puVar8 + 0x9509c),0xf0)" (parenthesized_expression "(**(code **)(puVar8 + 0x94f14))" ( (pointer_expression "**(code **)(puVar8 + 0x94f14)" * (pointer_expression "*(code **)(puVar8 + 0x94f14)" * (cast_expression "(code **)(puVar8 + 0x94f14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x94f14)" ( (binary_expression "puVar8 + 0x94f14" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar8 + 0x9509c),0xf0)" ( (pointer_expression "*(undefined4 *)(puVar8 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar8 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x9509c)" ( (binary_expression "puVar8 + 0x9509c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "**(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1;" (assignment_expression "**(int **)(puVar8 + 0x95030) = **(int **)(puVar8 + 0x95030) + 1" (pointer_expression "**(int **)(puVar8 + 0x95030)" * (pointer_expression "*(int **)(puVar8 + 0x95030)" * (cast_expression "(int **)(puVar8 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x95030)" ( (binary_expression "puVar8 + 0x95030" identifier + number_literal) ))))) = (binary_expression "**(int **)(puVar8 + 0x95030) + 1" (pointer_expression "**(int **)(puVar8 + 0x95030)" * (pointer_expression "*(int **)(puVar8 + 0x95030)" * (cast_expression "(int **)(puVar8 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x95030)" ( (binary_expression "puVar8 + 0x95030" identifier + number_literal) ))))) + number_literal)) ;) (expression_statement "iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c));" (assignment_expression "iStack_e8 = (**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c))" identifier = (call_expression "(**(code **)(puVar8 + 0x968f0))(*(undefined4 *)(puVar8 + 0x9509c))" (parenthesized_expression "(**(code **)(puVar8 + 0x968f0))" ( (pointer_expression "**(code **)(puVar8 + 0x968f0)" * (pointer_expression "*(code **)(puVar8 + 0x968f0)" * (cast_expression "(code **)(puVar8 + 0x968f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x968f0)" ( (binary_expression "puVar8 + 0x968f0" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar8 + 0x9509c))" ( (pointer_expression "*(undefined4 *)(puVar8 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar8 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x9509c)" ( (binary_expression "puVar8 + 0x9509c" identifier + number_literal) )))) )))) ;) })) (if_statement "if (iStack_e8 == 0) {\n    iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00);\n  }\n  else {\n    parse_and_execute_cleanup(iVar4);\n    iStack_f0 = **(int **)(puVar8 + 0x950a0);\n  }" if (parenthesized_expression "(iStack_e8 == 0)" ( (binary_expression "iStack_e8 == 0" identifier == number_literal) )) (compound_statement "{\n    iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00);\n  }" { (expression_statement "iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00);" (assignment_expression "iStack_f0 = parse_and_execute((char *)string_00,from_file,(int)flags_00)" identifier = (call_expression "parse_and_execute((char *)string_00,from_file,(int)flags_00)" identifier (argument_list "((char *)string_00,from_file,(int)flags_00)" ( (cast_expression "(char *)string_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (cast_expression "(int)flags_00" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) }) (else_clause "else {\n    parse_and_execute_cleanup(iVar4);\n    iStack_f0 = **(int **)(puVar8 + 0x950a0);\n  }" else (compound_statement "{\n    parse_and_execute_cleanup(iVar4);\n    iStack_f0 = **(int **)(puVar8 + 0x950a0);\n  }" { (expression_statement "parse_and_execute_cleanup(iVar4);" (call_expression "parse_and_execute_cleanup(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iStack_f0 = **(int **)(puVar8 + 0x950a0);" (assignment_expression "iStack_f0 = **(int **)(puVar8 + 0x950a0)" identifier = (pointer_expression "**(int **)(puVar8 + 0x950a0)" * (pointer_expression "*(int **)(puVar8 + 0x950a0)" * (cast_expression "(int **)(puVar8 + 0x950a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x950a0)" ( (binary_expression "puVar8 + 0x950a0" identifier + number_literal) )))))) ;) }))) (if_statement "if (iVar7 != 0) {\n    (**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)) {\n      **(int **)(puVar8 + 0x950a0) = iStack_f0;\n      pcVar9 = *(code **)(puVar8 + 0x966d4);\n      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);\n      iVar4 = (**(code **)(pcVar9 + 0x96604))();\n                    /* WARNING: Subroutine does not return */\n      xmalloc(iVar4 + 2);\n    }\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)) {\n      **(int **)(puVar8 + 0x950a0) = iStack_f0;\n      pcVar9 = *(code **)(puVar8 + 0x966d4);\n      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);\n      iVar4 = (**(code **)(pcVar9 + 0x96604))();\n                    /* WARNING: Subroutine does not return */\n      xmalloc(iVar4 + 2);\n    }\n  }" { (expression_statement "(**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar8 + 0x94f68))(*(int *)(puVar8 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar8 + 0x94f68))" ( (pointer_expression "**(code **)(puVar8 + 0x94f68)" * (pointer_expression "*(code **)(puVar8 + 0x94f68)" * (cast_expression "(code **)(puVar8 + 0x94f68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x94f68)" ( (binary_expression "puVar8 + 0x94f68" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar8 + 0x948ec) + -0x4bec)" ( (binary_expression "*(int *)(puVar8 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar8 + 0x948ec)" * (cast_expression "(int *)(puVar8 + 0x948ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x948ec)" ( (binary_expression "puVar8 + 0x948ec" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if ((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)) {\n      **(int **)(puVar8 + 0x950a0) = iStack_f0;\n      pcVar9 = *(code **)(puVar8 + 0x966d4);\n      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);\n      iVar4 = (**(code **)(pcVar9 + 0x96604))();\n                    /* WARNING: Subroutine does not return */\n      xmalloc(iVar4 + 2);\n    }" if (parenthesized_expression "((iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0))" ( (binary_expression "(iStack_e8 != 0) && (**(int **)(puVar8 + 0x95030) != 0)" (parenthesized_expression "(iStack_e8 != 0)" ( (binary_expression "iStack_e8 != 0" identifier != number_literal) )) && (parenthesized_expression "(**(int **)(puVar8 + 0x95030) != 0)" ( (binary_expression "**(int **)(puVar8 + 0x95030) != 0" (pointer_expression "**(int **)(puVar8 + 0x95030)" * (pointer_expression "*(int **)(puVar8 + 0x95030)" * (cast_expression "(int **)(puVar8 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x95030)" ( (binary_expression "puVar8 + 0x95030" identifier + number_literal) ))))) != number_literal) ))) )) (compound_statement "{\n      **(int **)(puVar8 + 0x950a0) = iStack_f0;\n      pcVar9 = *(code **)(puVar8 + 0x966d4);\n      (*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);\n      iVar4 = (**(code **)(pcVar9 + 0x96604))();\n                    /* WARNING: Subroutine does not return */\n      xmalloc(iVar4 + 2);\n    }" { (expression_statement "**(int **)(puVar8 + 0x950a0) = iStack_f0;" (assignment_expression "**(int **)(puVar8 + 0x950a0) = iStack_f0" (pointer_expression "**(int **)(puVar8 + 0x950a0)" * (pointer_expression "*(int **)(puVar8 + 0x950a0)" * (cast_expression "(int **)(puVar8 + 0x950a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x950a0)" ( (binary_expression "puVar8 + 0x950a0" identifier + number_literal) ))))) = identifier) ;) (expression_statement "pcVar9 = *(code **)(puVar8 + 0x966d4);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x966d4)" identifier = (pointer_expression "*(code **)(puVar8 + 0x966d4)" * (cast_expression "(code **)(puVar8 + 0x966d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x966d4)" ( (binary_expression "puVar8 + 0x966d4" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1);" (call_expression "(*pcVar9)(*(undefined4 *)(puVar8 + 0x9509c),1)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(*(undefined4 *)(puVar8 + 0x9509c),1)" ( (pointer_expression "*(undefined4 *)(puVar8 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar8 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x9509c)" ( (binary_expression "puVar8 + 0x9509c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "iVar4 = (**(code **)(pcVar9 + 0x96604))();" (assignment_expression "iVar4 = (**(code **)(pcVar9 + 0x96604))()" identifier = (call_expression "(**(code **)(pcVar9 + 0x96604))()" (parenthesized_expression "(**(code **)(pcVar9 + 0x96604))" ( (pointer_expression "**(code **)(pcVar9 + 0x96604)" * (pointer_expression "*(code **)(pcVar9 + 0x96604)" * (cast_expression "(code **)(pcVar9 + 0x96604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar9 + 0x96604)" ( (binary_expression "pcVar9 + 0x96604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) comment (expression_statement "xmalloc(iVar4 + 2);" (call_expression "xmalloc(iVar4 + 2)" identifier (argument_list "(iVar4 + 2)" ( (binary_expression "iVar4 + 2" identifier + number_literal) ))) ;) })) })) (return_statement "return iStack_f0;" return identifier ;) })))
(translation_unit "undefined1 * parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}\n\n" (function_definition "undefined1 * parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}" type_identifier (pointer_declarator "* parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)" * (function_declarator "parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,uint param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined1 *puStack_f0;" type_identifier (pointer_declarator "*puStack_f0" * identifier) ;) (declaration "int iStack_e8;" primitive_type identifier ;) (declaration "undefined1 auStack_94 [128];" type_identifier (array_declarator "auStack_94 [128]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c" identifier = (pointer_expression "*(undefined1 **)PTR___stack_chk_guard_0015858c" * (cast_expression "(undefined1 **)PTR___stack_chk_guard_0015858c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);" (call_expression "FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10)" identifier (argument_list "(param_1,param_3,PTR_DAT_001565b0 + -0x4c10)" ( identifier , identifier , (binary_expression "PTR_DAT_001565b0 + -0x4c10" identifier + number_literal) ))) ;) (expression_statement "puVar6 = auStack_94;" (assignment_expression "puVar6 = auStack_94" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(puVar6);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(puVar6)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0)" ( number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_push_stream_00156a88)(0);" (call_expression "(*(code *)PTR_push_stream_00156a88)(0)" (parenthesized_expression "(*(code *)PTR_push_stream_00156a88)" ( (pointer_expression "*(code *)PTR_push_stream_00156a88" * (cast_expression "(code *)PTR_push_stream_00156a88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();" (assignment_expression "iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)()" identifier = (call_expression "(*(code *)PTR_parser_expanding_alias_00156828)()" (parenthesized_expression "(*(code *)PTR_parser_expanding_alias_00156828)" ( (pointer_expression "*(code *)PTR_parser_expanding_alias_00156828" * (cast_expression "(code *)PTR_parser_expanding_alias_00156828" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" { (expression_statement "(*(code *)PTR_parser_save_alias_001579f0)();" (call_expression "(*(code *)PTR_parser_save_alias_001579f0)()" (parenthesized_expression "(*(code *)PTR_parser_save_alias_001579f0)" ( (pointer_expression "*(code *)PTR_parser_save_alias_001579f0" * (cast_expression "(code *)PTR_parser_save_alias_001579f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar4 = *(undefined4 *)PTR_global_command_00156840;" (assignment_expression "uVar4 = *(undefined4 *)PTR_global_command_00156840" identifier = (pointer_expression "*(undefined4 *)PTR_global_command_00156840" * (cast_expression "(undefined4 *)PTR_global_command_00156840" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_with_input_from_string_00156a8c)(param_1);" (call_expression "(*(code *)PTR_with_input_from_string_00156a8c)(param_1)" (parenthesized_expression "(*(code *)PTR_with_input_from_string_00156a8c)" ( (pointer_expression "*(code *)PTR_with_input_from_string_00156a8c" * (cast_expression "(code *)PTR_with_input_from_string_00156a8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "puVar2 = PTR_global_command_00156840;" (assignment_expression "puVar2 = PTR_global_command_00156840" identifier = identifier) ;) (expression_statement "puVar9 = PTR_bash_input_00156670;" (assignment_expression "puVar9 = PTR_bash_input_00156670" identifier = identifier) ;) (expression_statement "puVar8 = (undefined1 *)0x0;" (assignment_expression "puVar8 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = PTR_DAT_001565b0 + -0x4bfc;" (assignment_expression "puVar5 = PTR_DAT_001565b0 + -0x4bfc" identifier = (binary_expression "PTR_DAT_001565b0 + -0x4bfc" identifier + number_literal)) ;) (while_statement "while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" while (parenthesized_expression "(bVar1 = false, **(char **)(puVar9 + 8) != '\0')" ( (comma_expression "bVar1 = false, **(char **)(puVar9 + 8) != '\0'" (assignment_expression "bVar1 = false" identifier = false) , (binary_expression "**(char **)(puVar9 + 8) != '\0'" (pointer_expression "**(char **)(puVar9 + 8)" * (pointer_expression "*(char **)(puVar9 + 8)" * (cast_expression "(char **)(puVar9 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 8)" ( (binary_expression "puVar9 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" (parenthesized_expression "(*(code *)PTR__setjmp_001585b4)" ( (pointer_expression "*(code *)PTR__setjmp_001585b4" * (cast_expression "(code *)PTR__setjmp_001585b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_top_level_001565e4)" ( identifier ))))) ;) (if_statement "if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }" if (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" ( (binary_expression "puVar8 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }" { (expression_statement "puVar6 = (undefined1 *)0x0;" (assignment_expression "puVar6 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }" if (parenthesized_expression "(puVar8 + -1 < &DAT_00000004)" ( (binary_expression "puVar8 + -1 < &DAT_00000004" (binary_expression "puVar8 + -1" identifier + number_literal) < (pointer_expression "&DAT_00000004" & identifier)) )) (compound_statement "{\n        bVar1 = true;\n        break;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (break_statement "break;" break ;) })) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_94)" ( number_literal , identifier ))) ;) (expression_statement "param_2 = 3;" (assignment_expression "param_2 = 3" identifier = number_literal) ;) (expression_statement "puVar6 = puVar8;" (assignment_expression "puVar6 = puVar8" identifier = identifier) ;) (expression_statement "(*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);" (call_expression "(*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0)" (parenthesized_expression "(*(code *)PTR_command_error_001565f0)" ( (pointer_expression "*(code *)PTR_command_error_001565f0" * (cast_expression "(code *)PTR_command_error_001565f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,3,puVar8,0)" ( identifier , number_literal , identifier , number_literal ))) ;) })) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "iVar3 = (*(code *)PTR_parse_command_00156850)();" (assignment_expression "iVar3 = (*(code *)PTR_parse_command_00156850)()" identifier = (call_expression "(*(code *)PTR_parse_command_00156850)()" (parenthesized_expression "(*(code *)PTR_parse_command_00156850)" ( (pointer_expression "*(code *)PTR_parse_command_00156850" * (cast_expression "(code *)PTR_parse_command_00156850" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" { (if_statement "if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" if (parenthesized_expression "((param_3 & 0x40) == 0)" ( (binary_expression "(param_3 & 0x40) == 0" (parenthesized_expression "(param_3 & 0x40)" ( (binary_expression "param_3 & 0x40" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "puVar8 = (undefined1 *)0x2;" (assignment_expression "puVar8 = (undefined1 *)0x2" identifier = (cast_expression "(undefined1 *)0x2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" else (compound_statement "{\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" { (expression_statement "(*(code *)PTR_reset_parser_0015694c)();" (call_expression "(*(code *)PTR_reset_parser_0015694c)()" (parenthesized_expression "(*(code *)PTR_reset_parser_0015694c)" ( (pointer_expression "*(code *)PTR_reset_parser_0015694c" * (cast_expression "(code *)PTR_reset_parser_0015694c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (break_statement "break;" break ;) })) (expression_statement "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_dispose_command_00156894)" ( (pointer_expression "*(code *)PTR_dispose_command_00156894" * (cast_expression "(code *)PTR_dispose_command_00156894" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;" if (parenthesized_expression "((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4))" ( (binary_expression "(*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == 0x130)" ( (binary_expression "*(int *)PTR_current_token_001568c0 == 0x130" (pointer_expression "*(int *)PTR_current_token_001568c0" * (cast_expression "(int *)PTR_current_token_001568c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" ( (binary_expression "*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4" (pointer_expression "*(int *)PTR_current_token_001568c0" * (cast_expression "(int *)PTR_current_token_001568c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == (pointer_expression "*(int *)PTR_shell_eof_token_001569b4" * (cast_expression "(int *)PTR_shell_eof_token_001569b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ))) )) (break_statement "break;" break ;)) })) (expression_statement "*(undefined4 *)PTR_global_command_00156840 = uVar4;" (assignment_expression "*(undefined4 *)PTR_global_command_00156840 = uVar4" (pointer_expression "*(undefined4 *)PTR_global_command_00156840" * (cast_expression "(undefined4 *)PTR_global_command_00156840" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar9 = PTR_DAT_001565b0;" (assignment_expression "puVar9 = PTR_DAT_001565b0" identifier = identifier) ;) (expression_statement "puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);" (assignment_expression "puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" identifier = (cast_expression "(undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" ( (binary_expression "*(int *)(PTR_bash_input_00156670 + 8) - param_1" (pointer_expression "*(int *)(PTR_bash_input_00156670 + 8)" * (cast_expression "(int *)(PTR_bash_input_00156670 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bash_input_00156670 + 8)" ( (binary_expression "PTR_bash_input_00156670 + 8" identifier + number_literal) )))) - identifier) )))) ;) (if_statement "if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }" { (expression_statement "*param_4 = *(int *)(PTR_bash_input_00156670 + 8);" (assignment_expression "*param_4 = *(int *)(PTR_bash_input_00156670 + 8)" (pointer_expression "*param_4" * identifier) = (pointer_expression "*(int *)(PTR_bash_input_00156670 + 8)" * (cast_expression "(int *)(PTR_bash_input_00156670 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bash_input_00156670 + 8)" ( (binary_expression "PTR_bash_input_00156670 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);" (call_expression "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10)" (parenthesized_expression "(*(code *)PTR_run_unwind_frame_00156c2c)" ( (pointer_expression "*(code *)PTR_run_unwind_frame_00156c2c" * (cast_expression "(code *)PTR_run_unwind_frame_00156c2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9 + -0x4c10)" ( (binary_expression "puVar9 + -0x4c10" identifier + number_literal) ))) ;) (if_statement "if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }" { (if_statement "if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" if (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001568d0 == 0)" ( (binary_expression "*(int *)PTR_parse_and_execute_level_001568d0 == 0" (pointer_expression "*(int *)PTR_parse_and_execute_level_001568d0" * (cast_expression "(int *)PTR_parse_and_execute_level_001568d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" { (expression_statement "(*(code *)PTR_top_level_cleanup_00156fe4)();" (call_expression "(*(code *)PTR_top_level_cleanup_00156fe4)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00156fe4)" ( (pointer_expression "*(code *)PTR_top_level_cleanup_00156fe4" * (cast_expression "(code *)PTR_top_level_cleanup_00156fe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" if (parenthesized_expression "(puVar8 != (undefined1 *)0x2)" ( (binary_expression "puVar8 != (undefined1 *)0x2" identifier != (cast_expression "(undefined1 *)0x2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" { (expression_statement "(*(code *)PTR_jump_to_top_level_00156818)();" (call_expression "(*(code *)PTR_jump_to_top_level_00156818)()" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00156818)" ( (pointer_expression "*(code *)PTR_jump_to_top_level_00156818" * (cast_expression "(code *)PTR_jump_to_top_level_00156818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000c1cb8;" goto statement_identifier ;) })) (expression_statement "puVar7 = &SUB_fffffffe;" (assignment_expression "puVar7 = &SUB_fffffffe" identifier = (pointer_expression "&SUB_fffffffe" & identifier)) ;) })) (expression_statement "puVar8 = local_14;" (assignment_expression "puVar8 = local_14" identifier = identifier) ;) (if_statement "if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }" if (parenthesized_expression "(local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c)" ( (binary_expression "local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c" identifier == (pointer_expression "*(undefined1 **)PTR___stack_chk_guard_0015858c" * (cast_expression "(undefined1 **)PTR___stack_chk_guard_0015858c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return puVar7;\n  }" { (return_statement "return puVar7;" return identifier ;) })) (labeled_statement "LAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;" statement_identifier : (expression_statement "puVar9 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar9 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;)) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);" (assignment_expression "uVar4 = **(undefined4 **)(puVar9 + 0x94f7c)" identifier = (pointer_expression "**(undefined4 **)(puVar9 + 0x94f7c)" * (pointer_expression "*(undefined4 **)(puVar9 + 0x94f7c)" * (cast_expression "(undefined4 **)(puVar9 + 0x94f7c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f7c)" ( (binary_expression "puVar9 + 0x94f7c" identifier + number_literal) )))))) ;) (expression_statement "iStack_e8 = 0;" (assignment_expression "iStack_e8 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = **(int **)(puVar9 + 0x95030);" (assignment_expression "iVar3 = **(int **)(puVar9 + 0x95030)" identifier = (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) )))))) ;) (if_statement "if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }" { (expression_statement "(**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f10))" ( (pointer_expression "**(code **)(puVar9 + 0x94f10)" * (pointer_expression "*(code **)(puVar9 + 0x94f10)" * (cast_expression "(code **)(puVar9 + 0x94f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f10)" ( (binary_expression "puVar9 + 0x94f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar9 + 0x948ec) + -0x4bec)" ( (binary_expression "*(int *)(puVar9 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar9 + 0x948ec)" * (cast_expression "(int *)(puVar9 + 0x948ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x948ec)" ( (binary_expression "puVar9 + 0x948ec" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);" (call_expression "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f14))" ( (pointer_expression "**(code **)(puVar9 + 0x94f14)" * (pointer_expression "*(code **)(puVar9 + 0x94f14)" * (cast_expression "(code **)(puVar9 + 0x94f14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f14)" ( (binary_expression "puVar9 + 0x94f14" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar9 + 0x95030),4)" ( (pointer_expression "*(undefined4 *)(puVar9 + 0x95030)" * (cast_expression "(undefined4 *)(puVar9 + 0x95030)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);" (call_expression "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f14))" ( (pointer_expression "**(code **)(puVar9 + 0x94f14)" * (pointer_expression "*(code **)(puVar9 + 0x94f14)" * (cast_expression "(code **)(puVar9 + 0x94f14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f14)" ( (binary_expression "puVar9 + 0x94f14" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar9 + 0x9509c),0xf0)" ( (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x9509c)" ( (binary_expression "puVar9 + 0x9509c" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "**(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;" (assignment_expression "**(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1" (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) ))))) = (binary_expression "**(int **)(puVar9 + 0x95030) + 1" (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) ))))) + number_literal)) ;) (expression_statement "iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));" (assignment_expression "iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c))" identifier = (call_expression "(**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c))" (parenthesized_expression "(**(code **)(puVar9 + 0x968f0))" ( (pointer_expression "**(code **)(puVar9 + 0x968f0)" * (pointer_expression "*(code **)(puVar9 + 0x968f0)" * (cast_expression "(code **)(puVar9 + 0x968f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x968f0)" ( (binary_expression "puVar9 + 0x968f0" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar9 + 0x9509c))" ( (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x9509c)" ( (binary_expression "puVar9 + 0x9509c" identifier + number_literal) )))) )))) ;) })) (if_statement "if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" if (parenthesized_expression "(iStack_e8 == 0)" ( (binary_expression "iStack_e8 == 0" identifier == number_literal) )) (compound_statement "{\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }" { (expression_statement "puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);" (assignment_expression "puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6)" identifier = (cast_expression "(undefined1 *)parse_and_execute(puVar8,param_2,puVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "parse_and_execute(puVar8,param_2,puVar6)" identifier (argument_list "(puVar8,param_2,puVar6)" ( identifier , identifier , identifier ))))) ;) }) (else_clause "else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" else (compound_statement "{\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" { (expression_statement "parse_and_execute_cleanup(uVar4);" (call_expression "parse_and_execute_cleanup(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);" (assignment_expression "puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0)" identifier = (cast_expression "(undefined1 *)**(undefined4 **)(puVar9 + 0x950a0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar9 + 0x950a0)" * (pointer_expression "*(undefined4 **)(puVar9 + 0x950a0)" * (cast_expression "(undefined4 **)(puVar9 + 0x950a0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x950a0)" ( (binary_expression "puVar9 + 0x950a0" identifier + number_literal) ))))))) ;) }))) (if_statement "if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }" { (expression_statement "(**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f68))" ( (pointer_expression "**(code **)(puVar9 + 0x94f68)" * (pointer_expression "*(code **)(puVar9 + 0x94f68)" * (cast_expression "(code **)(puVar9 + 0x94f68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x94f68)" ( (binary_expression "puVar9 + 0x94f68" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar9 + 0x948ec) + -0x4bec)" ( (binary_expression "*(int *)(puVar9 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar9 + 0x948ec)" * (cast_expression "(int *)(puVar9 + 0x948ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x948ec)" ( (binary_expression "puVar9 + 0x948ec" identifier + number_literal) )))) + number_literal) ))) ;) (if_statement "if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }" if (parenthesized_expression "((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0))" ( (binary_expression "(iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)" (parenthesized_expression "(iStack_e8 != 0)" ( (binary_expression "iStack_e8 != 0" identifier != number_literal) )) && (parenthesized_expression "(**(int **)(puVar9 + 0x95030) != 0)" ( (binary_expression "**(int **)(puVar9 + 0x95030) != 0" (pointer_expression "**(int **)(puVar9 + 0x95030)" * (pointer_expression "*(int **)(puVar9 + 0x95030)" * (cast_expression "(int **)(puVar9 + 0x95030)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x95030)" ( (binary_expression "puVar9 + 0x95030" identifier + number_literal) ))))) != number_literal) ))) )) (compound_statement "{\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }" { (expression_statement "**(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;" (assignment_expression "**(undefined4 **)(puVar9 + 0x950a0) = puStack_f0" (pointer_expression "**(undefined4 **)(puVar9 + 0x950a0)" * (pointer_expression "*(undefined4 **)(puVar9 + 0x950a0)" * (cast_expression "(undefined4 **)(puVar9 + 0x950a0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x950a0)" ( (binary_expression "puVar9 + 0x950a0" identifier + number_literal) ))))) = identifier) ;) (expression_statement "uVar4 = *(undefined4 *)(puVar9 + 0x9509c);" (assignment_expression "uVar4 = *(undefined4 *)(puVar9 + 0x9509c)" identifier = (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" * (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x9509c)" ( (binary_expression "puVar9 + 0x9509c" identifier + number_literal) ))))) ;) (expression_statement "pcVar10 = *(code **)(puVar9 + 0x966d4);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x966d4)" identifier = (pointer_expression "*(code **)(puVar9 + 0x966d4)" * (cast_expression "(code **)(puVar9 + 0x966d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x966d4)" ( (binary_expression "puVar9 + 0x966d4" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar10)(uVar4,1);" (call_expression "(*pcVar10)(uVar4,1)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(uVar4,1)" ( identifier , number_literal ))) ;) (expression_statement "iVar3 = (**(code **)(pcVar10 + 0x96604))();" (assignment_expression "iVar3 = (**(code **)(pcVar10 + 0x96604))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x96604))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x96604))" ( (pointer_expression "**(code **)(pcVar10 + 0x96604)" * (pointer_expression "*(code **)(pcVar10 + 0x96604)" * (cast_expression "(code **)(pcVar10 + 0x96604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x96604)" ( (binary_expression "pcVar10 + 0x96604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "puVar6 = (undefined1 *)xmalloc(iVar3 + 2);" (assignment_expression "puVar6 = (undefined1 *)xmalloc(iVar3 + 2)" identifier = (cast_expression "(undefined1 *)xmalloc(iVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar3 + 2)" identifier (argument_list "(iVar3 + 2)" ( (binary_expression "iVar3 + 2" identifier + number_literal) ))))) ;) (expression_statement "*puVar6 = 0x2d;" (assignment_expression "*puVar6 = 0x2d" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "(**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);" (call_expression "(**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4)" (parenthesized_expression "(**(code **)(pcVar10 + 0x9668c))" ( (pointer_expression "**(code **)(pcVar10 + 0x9668c)" * (pointer_expression "*(code **)(pcVar10 + 0x9668c)" * (cast_expression "(code **)(pcVar10 + 0x9668c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x9668c)" ( (binary_expression "pcVar10 + 0x9668c" identifier + number_literal) ))))) )) (argument_list "(puVar6 + 1,uVar4)" ( (binary_expression "puVar6 + 1" identifier + number_literal) , identifier ))) ;) (return_statement "return puVar6;" return identifier ;) })) })) (return_statement "return puStack_f0;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (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 ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 *)) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != (char_literal ' escape_sequence '))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (break_statement break ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 ( IDENT , LIT , IDENT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }))) (break_statement break ;) })) (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 *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ))) )) (break_statement break ;)) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (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 IDENT + LIT) )))) - 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 * 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 ( (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (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 ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_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) )))))) ;) (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 ( (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , 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) ))))) = (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + 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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (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 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 ( (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 (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != LIT) ))) )) (compound_statement { (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) ;) (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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( 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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = 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 ( (binary_expression IDENT + LIT) , IDENT ))) ;) (return_statement return IDENT ;) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined1 * parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}" (type_identifier "undefined1") (pointer_declarator "* parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)" (* "*") (function_declarator "parse_string(int param_1,undefined4 param_2,uint param_3,int *param_4)" (identifier "parse_string") (parameter_list "(int param_1,undefined4 param_2,uint param_3,int *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")")))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  undefined1 *puStack_f0;\n  int iStack_e8;\n  undefined1 auStack_94 [128];\n  undefined1 *local_14;\n  \n  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;\n  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);\n  puVar6 = auStack_94;\n  (*(code *)PTR_sigemptyset_00158388)(puVar6);\n  (*(code *)PTR_sigprocmask_001585c4)(1,0);\n  (*(code *)PTR_push_stream_00156a88)(0);\n  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();\n  if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }\n  uVar4 = *(undefined4 *)PTR_global_command_00156840;\n  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);\n  puVar2 = PTR_global_command_00156840;\n  puVar9 = PTR_bash_input_00156670;\n  puVar8 = (undefined1 *)0x0;\n  puVar5 = PTR_DAT_001565b0 + -0x4bfc;\n  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }\n  *(undefined4 *)PTR_global_command_00156840 = uVar4;\n  puVar9 = PTR_DAT_001565b0;\n  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);\n  if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }\n  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);\n  if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }\n  puVar8 = local_14;\n  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }\nLAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);\n  iStack_e8 = 0;\n  iVar3 = **(int **)(puVar9 + 0x95030);\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }\n  if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }\n  if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }\n  return puStack_f0;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "code *pcVar10;" (type_identifier "code") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "undefined1 *puStack_f0;" (type_identifier "undefined1") (pointer_declarator "*puStack_f0" (* "*") (identifier "puStack_f0")) (; ";")) (declaration "int iStack_e8;" (primitive_type "int") (identifier "iStack_e8") (; ";")) (declaration "undefined1 auStack_94 [128];" (type_identifier "undefined1") (array_declarator "auStack_94 [128]" (identifier "auStack_94") ([ "[") (number_literal "128") (] "]")) (; ";")) (declaration "undefined1 *local_14;" (type_identifier "undefined1") (pointer_declarator "*local_14" (* "*") (identifier "local_14")) (; ";")) (expression_statement "local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c" (identifier "local_14") (= "=") (pointer_expression "*(undefined1 **)PTR___stack_chk_guard_0015858c" (* "*") (cast_expression "(undefined1 **)PTR___stack_chk_guard_0015858c" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0015858c")))) (; ";")) (expression_statement "FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);" (call_expression "FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10)" (identifier "FUN_000c09b4") (argument_list "(param_1,param_3,PTR_DAT_001565b0 + -0x4c10)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (binary_expression "PTR_DAT_001565b0 + -0x4c10" (identifier "PTR_DAT_001565b0") (+ "+") (number_literal "-0x4c10")) () ")"))) (; ";")) (expression_statement "puVar6 = auStack_94;" (assignment_expression "puVar6 = auStack_94" (identifier "puVar6") (= "=") (identifier "auStack_94")) (; ";")) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(puVar6);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(puVar6)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" (( "(") (pointer_expression "*(code *)PTR_sigemptyset_00158388" (* "*") (cast_expression "(code *)PTR_sigemptyset_00158388" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigemptyset_00158388"))) () ")")) (argument_list "(puVar6)" (( "(") (identifier "puVar6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_001585c4" (* "*") (cast_expression "(code *)PTR_sigprocmask_001585c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_001585c4"))) () ")")) (argument_list "(1,0)" (( "(") (number_literal "1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_push_stream_00156a88)(0);" (call_expression "(*(code *)PTR_push_stream_00156a88)(0)" (parenthesized_expression "(*(code *)PTR_push_stream_00156a88)" (( "(") (pointer_expression "*(code *)PTR_push_stream_00156a88" (* "*") (cast_expression "(code *)PTR_push_stream_00156a88" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_push_stream_00156a88"))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();" (assignment_expression "iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)()" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_parser_expanding_alias_00156828)()" (parenthesized_expression "(*(code *)PTR_parser_expanding_alias_00156828)" (( "(") (pointer_expression "*(code *)PTR_parser_expanding_alias_00156828" (* "*") (cast_expression "(code *)PTR_parser_expanding_alias_00156828" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parser_expanding_alias_00156828"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_parser_save_alias_001579f0)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_parser_save_alias_001579f0)();" (call_expression "(*(code *)PTR_parser_save_alias_001579f0)()" (parenthesized_expression "(*(code *)PTR_parser_save_alias_001579f0)" (( "(") (pointer_expression "*(code *)PTR_parser_save_alias_001579f0" (* "*") (cast_expression "(code *)PTR_parser_save_alias_001579f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parser_save_alias_001579f0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = *(undefined4 *)PTR_global_command_00156840;" (assignment_expression "uVar4 = *(undefined4 *)PTR_global_command_00156840" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)PTR_global_command_00156840" (* "*") (cast_expression "(undefined4 *)PTR_global_command_00156840" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_global_command_00156840")))) (; ";")) (expression_statement "(*(code *)PTR_with_input_from_string_00156a8c)(param_1);" (call_expression "(*(code *)PTR_with_input_from_string_00156a8c)(param_1)" (parenthesized_expression "(*(code *)PTR_with_input_from_string_00156a8c)" (( "(") (pointer_expression "*(code *)PTR_with_input_from_string_00156a8c" (* "*") (cast_expression "(code *)PTR_with_input_from_string_00156a8c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_with_input_from_string_00156a8c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "puVar2 = PTR_global_command_00156840;" (assignment_expression "puVar2 = PTR_global_command_00156840" (identifier "puVar2") (= "=") (identifier "PTR_global_command_00156840")) (; ";")) (expression_statement "puVar9 = PTR_bash_input_00156670;" (assignment_expression "puVar9 = PTR_bash_input_00156670" (identifier "puVar9") (= "=") (identifier "PTR_bash_input_00156670")) (; ";")) (expression_statement "puVar8 = (undefined1 *)0x0;" (assignment_expression "puVar8 = (undefined1 *)0x0" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar5 = PTR_DAT_001565b0 + -0x4bfc;" (assignment_expression "puVar5 = PTR_DAT_001565b0 + -0x4bfc" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_001565b0 + -0x4bfc" (identifier "PTR_DAT_001565b0") (+ "+") (number_literal "-0x4bfc"))) (; ";")) (while_statement "while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" (while "while") (parenthesized_expression "(bVar1 = false, **(char **)(puVar9 + 8) != '\0')" (( "(") (comma_expression "bVar1 = false, **(char **)(puVar9 + 8) != '\0'" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (, ",") (binary_expression "**(char **)(puVar9 + 8) != '\0'" (pointer_expression "**(char **)(puVar9 + 8)" (* "*") (pointer_expression "*(char **)(puVar9 + 8)" (* "*") (cast_expression "(char **)(puVar9 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 8)" (( "(") (binary_expression "puVar9 + 8" (identifier "puVar9") (+ "+") (number_literal "8")) () ")"))))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (compound_statement "{\n    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);\n    if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }\n    bVar1 = false;\n    iVar3 = (*(code *)PTR_parse_command_00156850)();\n    if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }\n    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);\n    *(undefined4 *)puVar2 = 0;\n    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;\n  }" ({ "{") (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4)" (parenthesized_expression "(*(code *)PTR__setjmp_001585b4)" (( "(") (pointer_expression "*(code *)PTR__setjmp_001585b4" (* "*") (cast_expression "(code *)PTR__setjmp_001585b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__setjmp_001585b4"))) () ")")) (argument_list "(PTR_top_level_001565e4)" (( "(") (identifier "PTR_top_level_001565e4") () ")"))))) (; ";")) (if_statement "if (puVar8 != (undefined1 *)0x0) {\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }" (if "if") (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined1 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar6 = (undefined1 *)0x0;\n      if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }\n      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);\n      param_2 = 3;\n      puVar6 = puVar8;\n      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);\n    }" ({ "{") (expression_statement "puVar6 = (undefined1 *)0x0;" (assignment_expression "puVar6 = (undefined1 *)0x0" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (puVar8 + -1 < &DAT_00000004) {\n        bVar1 = true;\n        break;\n      }" (if "if") (parenthesized_expression "(puVar8 + -1 < &DAT_00000004)" (( "(") (binary_expression "puVar8 + -1 < &DAT_00000004" (binary_expression "puVar8 + -1" (identifier "puVar8") (+ "+") (number_literal "-1")) (< "<") (pointer_expression "&DAT_00000004" (& "&") (identifier "DAT_00000004"))) () ")")) (compound_statement "{\n        bVar1 = true;\n        break;\n      }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_001585c4" (* "*") (cast_expression "(code *)PTR_sigprocmask_001585c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_001585c4"))) () ")")) (argument_list "(3,auStack_94)" (( "(") (number_literal "3") (, ",") (identifier "auStack_94") () ")"))) (; ";")) (expression_statement "param_2 = 3;" (assignment_expression "param_2 = 3" (identifier "param_2") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar6 = puVar8;" (assignment_expression "puVar6 = puVar8" (identifier "puVar6") (= "=") (identifier "puVar8")) (; ";")) (expression_statement "(*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);" (call_expression "(*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0)" (parenthesized_expression "(*(code *)PTR_command_error_001565f0)" (( "(") (pointer_expression "*(code *)PTR_command_error_001565f0" (* "*") (cast_expression "(code *)PTR_command_error_001565f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_command_error_001565f0"))) () ")")) (argument_list "(puVar5,3,puVar8,0)" (( "(") (identifier "puVar5") (, ",") (number_literal "3") (, ",") (identifier "puVar8") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_parse_command_00156850)();" (assignment_expression "iVar3 = (*(code *)PTR_parse_command_00156850)()" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_parse_command_00156850)()" (parenthesized_expression "(*(code *)PTR_parse_command_00156850)" (( "(") (pointer_expression "*(code *)PTR_parse_command_00156850" (* "*") (cast_expression "(code *)PTR_parse_command_00156850" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parse_command_00156850"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }\n      break;\n    }" ({ "{") (if_statement "if ((param_3 & 0x40) == 0) {\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }\n      else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" (if "if") (parenthesized_expression "((param_3 & 0x40) == 0)" (( "(") (binary_expression "(param_3 & 0x40) == 0" (parenthesized_expression "(param_3 & 0x40)" (( "(") (binary_expression "param_3 & 0x40" (identifier "param_3") (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        bVar1 = true;\n        puVar8 = (undefined1 *)0x2;\n      }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (expression_statement "puVar8 = (undefined1 *)0x2;" (assignment_expression "puVar8 = (undefined1 *)0x2" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)0x2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2"))) (; ";")) (} "}")) (else_clause "else {\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR_reset_parser_0015694c)();\n      }" ({ "{") (expression_statement "(*(code *)PTR_reset_parser_0015694c)();" (call_expression "(*(code *)PTR_reset_parser_0015694c)()" (parenthesized_expression "(*(code *)PTR_reset_parser_0015694c)" (( "(") (pointer_expression "*(code *)PTR_reset_parser_0015694c" (* "*") (cast_expression "(code *)PTR_reset_parser_0015694c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_reset_parser_0015694c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_dispose_command_00156894)" (( "(") (pointer_expression "*(code *)PTR_dispose_command_00156894" (* "*") (cast_expression "(code *)PTR_dispose_command_00156894" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dispose_command_00156894"))) () ")")) (argument_list "(*(undefined4 *)puVar2)" (( "(") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;" (if "if") (parenthesized_expression "((*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4))" (( "(") (binary_expression "(*(int *)PTR_current_token_001568c0 == 0x130) ||\n       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == 0x130)" (( "(") (binary_expression "*(int *)PTR_current_token_001568c0 == 0x130" (pointer_expression "*(int *)PTR_current_token_001568c0" (* "*") (cast_expression "(int *)PTR_current_token_001568c0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_current_token_001568c0"))) (== "==") (number_literal "0x130")) () ")")) (|| "||") (parenthesized_expression "(*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)" (( "(") (binary_expression "*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4" (pointer_expression "*(int *)PTR_current_token_001568c0" (* "*") (cast_expression "(int *)PTR_current_token_001568c0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_current_token_001568c0"))) (== "==") (pointer_expression "*(int *)PTR_shell_eof_token_001569b4" (* "*") (cast_expression "(int *)PTR_shell_eof_token_001569b4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_shell_eof_token_001569b4")))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (expression_statement "*(undefined4 *)PTR_global_command_00156840 = uVar4;" (assignment_expression "*(undefined4 *)PTR_global_command_00156840 = uVar4" (pointer_expression "*(undefined4 *)PTR_global_command_00156840" (* "*") (cast_expression "(undefined4 *)PTR_global_command_00156840" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_global_command_00156840"))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "puVar9 = PTR_DAT_001565b0;" (assignment_expression "puVar9 = PTR_DAT_001565b0" (identifier "puVar9") (= "=") (identifier "PTR_DAT_001565b0")) (; ";")) (expression_statement "puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);" (assignment_expression "puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_bash_input_00156670 + 8) - param_1)" (( "(") (binary_expression "*(int *)(PTR_bash_input_00156670 + 8) - param_1" (pointer_expression "*(int *)(PTR_bash_input_00156670 + 8)" (* "*") (cast_expression "(int *)(PTR_bash_input_00156670 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bash_input_00156670 + 8)" (( "(") (binary_expression "PTR_bash_input_00156670 + 8" (identifier "PTR_bash_input_00156670") (+ "+") (number_literal "8")) () ")")))) (- "-") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (param_4 != (int *)0x0) {\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }" (if "if") (parenthesized_expression "(param_4 != (int *)0x0)" (( "(") (binary_expression "param_4 != (int *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);\n  }" ({ "{") (expression_statement "*param_4 = *(int *)(PTR_bash_input_00156670 + 8);" (assignment_expression "*param_4 = *(int *)(PTR_bash_input_00156670 + 8)" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (pointer_expression "*(int *)(PTR_bash_input_00156670 + 8)" (* "*") (cast_expression "(int *)(PTR_bash_input_00156670 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bash_input_00156670 + 8)" (( "(") (binary_expression "PTR_bash_input_00156670 + 8" (identifier "PTR_bash_input_00156670") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);" (call_expression "(*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10)" (parenthesized_expression "(*(code *)PTR_run_unwind_frame_00156c2c)" (( "(") (pointer_expression "*(code *)PTR_run_unwind_frame_00156c2c" (* "*") (cast_expression "(code *)PTR_run_unwind_frame_00156c2c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_run_unwind_frame_00156c2c"))) () ")")) (argument_list "(puVar9 + -0x4c10)" (( "(") (binary_expression "puVar9 + -0x4c10" (identifier "puVar9") (+ "+") (number_literal "-0x4c10")) () ")"))) (; ";")) (if_statement "if (bVar1) {\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }\n    if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }\n    puVar7 = &SUB_fffffffe;\n  }" ({ "{") (if_statement "if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_parse_and_execute_level_001568d0 == 0)" (( "(") (binary_expression "*(int *)PTR_parse_and_execute_level_001568d0 == 0" (pointer_expression "*(int *)PTR_parse_and_execute_level_001568d0" (* "*") (cast_expression "(int *)PTR_parse_and_execute_level_001568d0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parse_and_execute_level_001568d0"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_top_level_cleanup_00156fe4)();\n    }" ({ "{") (expression_statement "(*(code *)PTR_top_level_cleanup_00156fe4)();" (call_expression "(*(code *)PTR_top_level_cleanup_00156fe4)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00156fe4)" (( "(") (pointer_expression "*(code *)PTR_top_level_cleanup_00156fe4" (* "*") (cast_expression "(code *)PTR_top_level_cleanup_00156fe4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_top_level_cleanup_00156fe4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (puVar8 != (undefined1 *)0x2) {\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" (if "if") (parenthesized_expression "(puVar8 != (undefined1 *)0x2)" (( "(") (binary_expression "puVar8 != (undefined1 *)0x2" (identifier "puVar8") (!= "!=") (cast_expression "(undefined1 *)0x2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2"))) () ")")) (compound_statement "{\n      (*(code *)PTR_jump_to_top_level_00156818)();\n      goto LAB_000c1cb8;\n    }" ({ "{") (expression_statement "(*(code *)PTR_jump_to_top_level_00156818)();" (call_expression "(*(code *)PTR_jump_to_top_level_00156818)()" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00156818)" (( "(") (pointer_expression "*(code *)PTR_jump_to_top_level_00156818" (* "*") (cast_expression "(code *)PTR_jump_to_top_level_00156818" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_jump_to_top_level_00156818"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_000c1cb8;" (goto "goto") (statement_identifier "LAB_000c1cb8") (; ";")) (} "}"))) (expression_statement "puVar7 = &SUB_fffffffe;" (assignment_expression "puVar7 = &SUB_fffffffe" (identifier "puVar7") (= "=") (pointer_expression "&SUB_fffffffe" (& "&") (identifier "SUB_fffffffe"))) (; ";")) (} "}"))) (expression_statement "puVar8 = local_14;" (assignment_expression "puVar8 = local_14" (identifier "puVar8") (= "=") (identifier "local_14")) (; ";")) (if_statement "if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {\n    return puVar7;\n  }" (if "if") (parenthesized_expression "(local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c)" (( "(") (binary_expression "local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c" (identifier "local_14") (== "==") (pointer_expression "*(undefined1 **)PTR___stack_chk_guard_0015858c" (* "*") (cast_expression "(undefined1 **)PTR___stack_chk_guard_0015858c" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0015858c")))) () ")")) (compound_statement "{\n    return puVar7;\n  }" ({ "{") (return_statement "return puVar7;" (return "return") (identifier "puVar7") (; ";")) (} "}"))) (labeled_statement "LAB_000c1cb8:\n  puVar9 = PTR___stack_chk_fail_0015853c;" (statement_identifier "LAB_000c1cb8") (: ":") (expression_statement "puVar9 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar9 = PTR___stack_chk_fail_0015853c" (identifier "puVar9") (= "=") (identifier "PTR___stack_chk_fail_0015853c")) (; ";"))) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015853c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015853c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);" (assignment_expression "uVar4 = **(undefined4 **)(puVar9 + 0x94f7c)" (identifier "uVar4") (= "=") (pointer_expression "**(undefined4 **)(puVar9 + 0x94f7c)" (* "*") (pointer_expression "*(undefined4 **)(puVar9 + 0x94f7c)" (* "*") (cast_expression "(undefined4 **)(puVar9 + 0x94f7c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x94f7c)" (( "(") (binary_expression "puVar9 + 0x94f7c" (identifier "puVar9") (+ "+") (number_literal "0x94f7c")) () ")")))))) (; ";")) (expression_statement "iStack_e8 = 0;" (assignment_expression "iStack_e8 = 0" (identifier "iStack_e8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = **(int **)(puVar9 + 0x95030);" (assignment_expression "iVar3 = **(int **)(puVar9 + 0x95030)" (identifier "iVar3") (= "=") (pointer_expression "**(int **)(puVar9 + 0x95030)" (* "*") (pointer_expression "*(int **)(puVar9 + 0x95030)" (* "*") (cast_expression "(int **)(puVar9 + 0x95030)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x95030)" (( "(") (binary_expression "puVar9 + 0x95030" (identifier "puVar9") (+ "+") (number_literal "0x95030")) () ")")))))) (; ";")) (if_statement "if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);\n    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);\n    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;\n    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));\n  }" ({ "{") (expression_statement "(**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f10))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x94f10)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x94f10)" (* "*") (cast_expression "(code **)(puVar9 + 0x94f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x94f10)" (( "(") (binary_expression "puVar9 + 0x94f10" (identifier "puVar9") (+ "+") (number_literal "0x94f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (( "(") (binary_expression "*(int *)(puVar9 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar9 + 0x948ec)" (* "*") (cast_expression "(int *)(puVar9 + 0x948ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x948ec)" (( "(") (binary_expression "puVar9 + 0x948ec" (identifier "puVar9") (+ "+") (number_literal "0x948ec")) () ")")))) (+ "+") (number_literal "-0x4bec")) () ")"))) (; ";")) (expression_statement "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);" (call_expression "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f14))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x94f14)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x94f14)" (* "*") (cast_expression "(code **)(puVar9 + 0x94f14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x94f14)" (( "(") (binary_expression "puVar9 + 0x94f14" (identifier "puVar9") (+ "+") (number_literal "0x94f14")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(puVar9 + 0x95030),4)" (( "(") (pointer_expression "*(undefined4 *)(puVar9 + 0x95030)" (* "*") (cast_expression "(undefined4 *)(puVar9 + 0x95030)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x95030)" (( "(") (binary_expression "puVar9 + 0x95030" (identifier "puVar9") (+ "+") (number_literal "0x95030")) () ")")))) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);" (call_expression "(**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f14))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x94f14)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x94f14)" (* "*") (cast_expression "(code **)(puVar9 + 0x94f14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x94f14)" (( "(") (binary_expression "puVar9 + 0x94f14" (identifier "puVar9") (+ "+") (number_literal "0x94f14")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(puVar9 + 0x9509c),0xf0)" (( "(") (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x9509c)" (( "(") (binary_expression "puVar9 + 0x9509c" (identifier "puVar9") (+ "+") (number_literal "0x9509c")) () ")")))) (, ",") (number_literal "0xf0") () ")"))) (; ";")) (expression_statement "**(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;" (assignment_expression "**(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1" (pointer_expression "**(int **)(puVar9 + 0x95030)" (* "*") (pointer_expression "*(int **)(puVar9 + 0x95030)" (* "*") (cast_expression "(int **)(puVar9 + 0x95030)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x95030)" (( "(") (binary_expression "puVar9 + 0x95030" (identifier "puVar9") (+ "+") (number_literal "0x95030")) () ")"))))) (= "=") (binary_expression "**(int **)(puVar9 + 0x95030) + 1" (pointer_expression "**(int **)(puVar9 + 0x95030)" (* "*") (pointer_expression "*(int **)(puVar9 + 0x95030)" (* "*") (cast_expression "(int **)(puVar9 + 0x95030)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x95030)" (( "(") (binary_expression "puVar9 + 0x95030" (identifier "puVar9") (+ "+") (number_literal "0x95030")) () ")"))))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));" (assignment_expression "iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c))" (identifier "iStack_e8") (= "=") (call_expression "(**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c))" (parenthesized_expression "(**(code **)(puVar9 + 0x968f0))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x968f0)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x968f0)" (* "*") (cast_expression "(code **)(puVar9 + 0x968f0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x968f0)" (( "(") (binary_expression "puVar9 + 0x968f0" (identifier "puVar9") (+ "+") (number_literal "0x968f0")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(puVar9 + 0x9509c))" (( "(") (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x9509c)" (( "(") (binary_expression "puVar9 + 0x9509c" (identifier "puVar9") (+ "+") (number_literal "0x9509c")) () ")")))) () ")")))) (; ";")) (} "}"))) (if_statement "if (iStack_e8 == 0) {\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }\n  else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" (if "if") (parenthesized_expression "(iStack_e8 == 0)" (( "(") (binary_expression "iStack_e8 == 0" (identifier "iStack_e8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);\n  }" ({ "{") (expression_statement "puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);" (assignment_expression "puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6)" (identifier "puStack_f0") (= "=") (cast_expression "(undefined1 *)parse_and_execute(puVar8,param_2,puVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "parse_and_execute(puVar8,param_2,puVar6)" (identifier "parse_and_execute") (argument_list "(puVar8,param_2,puVar6)" (( "(") (identifier "puVar8") (, ",") (identifier "param_2") (, ",") (identifier "puVar6") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" (else "else") (compound_statement "{\n    parse_and_execute_cleanup(uVar4);\n    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);\n  }" ({ "{") (expression_statement "parse_and_execute_cleanup(uVar4);" (call_expression "parse_and_execute_cleanup(uVar4)" (identifier "parse_and_execute_cleanup") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);" (assignment_expression "puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0)" (identifier "puStack_f0") (= "=") (cast_expression "(undefined1 *)**(undefined4 **)(puVar9 + 0x950a0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(puVar9 + 0x950a0)" (* "*") (pointer_expression "*(undefined4 **)(puVar9 + 0x950a0)" (* "*") (cast_expression "(undefined4 **)(puVar9 + 0x950a0)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x950a0)" (( "(") (binary_expression "puVar9 + 0x950a0" (identifier "puVar9") (+ "+") (number_literal "0x950a0")) () ")"))))))) (; ";")) (} "}")))) (if_statement "if (iVar3 != 0) {\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);\n    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }\n  }" ({ "{") (expression_statement "(**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);" (call_expression "(**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (parenthesized_expression "(**(code **)(puVar9 + 0x94f68))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x94f68)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x94f68)" (* "*") (cast_expression "(code **)(puVar9 + 0x94f68)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x94f68)" (( "(") (binary_expression "puVar9 + 0x94f68" (identifier "puVar9") (+ "+") (number_literal "0x94f68")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar9 + 0x948ec) + -0x4bec)" (( "(") (binary_expression "*(int *)(puVar9 + 0x948ec) + -0x4bec" (pointer_expression "*(int *)(puVar9 + 0x948ec)" (* "*") (cast_expression "(int *)(puVar9 + 0x948ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x948ec)" (( "(") (binary_expression "puVar9 + 0x948ec" (identifier "puVar9") (+ "+") (number_literal "0x948ec")) () ")")))) (+ "+") (number_literal "-0x4bec")) () ")"))) (; ";")) (if_statement "if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }" (if "if") (parenthesized_expression "((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0))" (( "(") (binary_expression "(iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)" (parenthesized_expression "(iStack_e8 != 0)" (( "(") (binary_expression "iStack_e8 != 0" (identifier "iStack_e8") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(**(int **)(puVar9 + 0x95030) != 0)" (( "(") (binary_expression "**(int **)(puVar9 + 0x95030) != 0" (pointer_expression "**(int **)(puVar9 + 0x95030)" (* "*") (pointer_expression "*(int **)(puVar9 + 0x95030)" (* "*") (cast_expression "(int **)(puVar9 + 0x95030)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x95030)" (( "(") (binary_expression "puVar9 + 0x95030" (identifier "puVar9") (+ "+") (number_literal "0x95030")) () ")"))))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;\n      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);\n      pcVar10 = *(code **)(puVar9 + 0x966d4);\n      (*pcVar10)(uVar4,1);\n      iVar3 = (**(code **)(pcVar10 + 0x96604))();\n      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);\n      *puVar6 = 0x2d;\n      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);\n      return puVar6;\n    }" ({ "{") (expression_statement "**(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;" (assignment_expression "**(undefined4 **)(puVar9 + 0x950a0) = puStack_f0" (pointer_expression "**(undefined4 **)(puVar9 + 0x950a0)" (* "*") (pointer_expression "*(undefined4 **)(puVar9 + 0x950a0)" (* "*") (cast_expression "(undefined4 **)(puVar9 + 0x950a0)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x950a0)" (( "(") (binary_expression "puVar9 + 0x950a0" (identifier "puVar9") (+ "+") (number_literal "0x950a0")) () ")"))))) (= "=") (identifier "puStack_f0")) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(puVar9 + 0x9509c);" (assignment_expression "uVar4 = *(undefined4 *)(puVar9 + 0x9509c)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(puVar9 + 0x9509c)" (* "*") (cast_expression "(undefined4 *)(puVar9 + 0x9509c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x9509c)" (( "(") (binary_expression "puVar9 + 0x9509c" (identifier "puVar9") (+ "+") (number_literal "0x9509c")) () ")"))))) (; ";")) (expression_statement "pcVar10 = *(code **)(puVar9 + 0x966d4);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x966d4)" (identifier "pcVar10") (= "=") (pointer_expression "*(code **)(puVar9 + 0x966d4)" (* "*") (cast_expression "(code **)(puVar9 + 0x966d4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x966d4)" (( "(") (binary_expression "puVar9 + 0x966d4" (identifier "puVar9") (+ "+") (number_literal "0x966d4")) () ")"))))) (; ";")) (expression_statement "(*pcVar10)(uVar4,1);" (call_expression "(*pcVar10)(uVar4,1)" (parenthesized_expression "(*pcVar10)" (( "(") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) () ")")) (argument_list "(uVar4,1)" (( "(") (identifier "uVar4") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "iVar3 = (**(code **)(pcVar10 + 0x96604))();" (assignment_expression "iVar3 = (**(code **)(pcVar10 + 0x96604))()" (identifier "iVar3") (= "=") (call_expression "(**(code **)(pcVar10 + 0x96604))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x96604))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x96604)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x96604)" (* "*") (cast_expression "(code **)(pcVar10 + 0x96604)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x96604)" (( "(") (binary_expression "pcVar10 + 0x96604" (identifier "pcVar10") (+ "+") (number_literal "0x96604")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar6 = (undefined1 *)xmalloc(iVar3 + 2);" (assignment_expression "puVar6 = (undefined1 *)xmalloc(iVar3 + 2)" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)xmalloc(iVar3 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(iVar3 + 2)" (identifier "xmalloc") (argument_list "(iVar3 + 2)" (( "(") (binary_expression "iVar3 + 2" (identifier "iVar3") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "*puVar6 = 0x2d;" (assignment_expression "*puVar6 = 0x2d" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0x2d")) (; ";")) (expression_statement "(**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);" (call_expression "(**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4)" (parenthesized_expression "(**(code **)(pcVar10 + 0x9668c))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x9668c)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x9668c)" (* "*") (cast_expression "(code **)(pcVar10 + 0x9668c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x9668c)" (( "(") (binary_expression "pcVar10 + 0x9668c" (identifier "pcVar10") (+ "+") (number_literal "0x9668c")) () ")"))))) () ")")) (argument_list "(puVar6 + 1,uVar4)" (( "(") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))) (} "}"))) (return_statement "return puStack_f0;" (return "return") (identifier "puStack_f0") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x000c1bac) */

int function_1(char *string,char *from_file,int var_6,char **var_8)

{
  bool bVar1;
  type_1 *puVar2;
  type_2 *var_9;
  int var_3;
  type_3 uVar5;
  type_1 *puVar6;
  int var_10;
  type_2 *flags_00;
  type_2 *var_5;
  type_1 *var_4;
  type_4 *var_14;
  int iStack_f0;
  int var_11;
  int should_jump_to_top_level;
  type_5 *command;
  type_2 ps_sigmask;
  
  var_9 = *(type_2 **)PTR___stack_chk_guard_0015858c;
  var_1(string,var_6,var_2 + -0x4c10);
  flags_00 = &ps_sigmask;
  (*(type_4 *)PTR_sigemptyset_00158388)(flags_00);
  (*(type_4 *)PTR_sigprocmask_001585c4)(1,0);
  (*(type_4 *)PTR_push_stream_00156a88)(0);
  var_3 = (*(type_4 *)PTR_parser_expanding_alias_00156828)();
  if (var_3 != 0) {
    (*(type_4 *)PTR_parser_save_alias_001579f0)();
  }
  uVar5 = *(type_3 *)PTR_global_command_00156840;
  (*(type_4 *)PTR_with_input_from_string_00156a8c)(string);
  puVar2 = PTR_global_command_00156840;
  var_4 = var_7;
  var_5 = (type_2 *)0x0;
  puVar6 = var_2 + -0x4bfc;
  while (bVar1 = false, **(char **)(var_4 + 8) != '\0') {
    var_5 = (type_2 *)(*(type_4 *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);
    if (var_5 != (type_2 *)0x0) {
      flags_00 = (type_2 *)0x0;
      if ((char *)((int)var_5[-1].__val + 0x7f) < &DAT_00000004) {
        bVar1 = true;
        break;
      }
      (*(type_4 *)PTR_sigprocmask_001585c4)(3,&ps_sigmask);
      from_file = (char *)0x3;
      flags_00 = var_5;
      (*(type_4 *)PTR_command_error_001565f0)(puVar6,3,var_5,0);
    }
    bVar1 = false;
    var_3 = (*(type_4 *)PTR_parse_command_00156850)();
    if (var_3 != 0) {
      if ((var_6 & 0x40U) == 0) {
        bVar1 = true;
        var_5 = (type_2 *)0x2;
      }
      else {
        (*(type_4 *)PTR_reset_parser_0015694c)();
      }
      break;
    }
    (*(type_4 *)PTR_dispose_command_00156894)(*(type_3 *)puVar2);
    *(type_3 *)puVar2 = 0;
    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||
       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;
  }
  *(type_3 *)PTR_global_command_00156840 = uVar5;
  var_4 = var_2;
  var_3 = (int)*(char **)(var_7 + 8) - (int)string;
  if (var_8 != (char **)0x0) {
    *var_8 = *(char **)(var_7 + 8);
  }
  (*(type_4 *)PTR_run_unwind_frame_00156c2c)(var_4 + -0x4c10);
  if (bVar1) {
    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {
      (*(type_4 *)PTR_top_level_cleanup_00156fe4)();
    }
    if (var_5 != (type_2 *)0x2) {
      (*(type_4 *)PTR_jump_to_top_level_00156818)();
      goto LAB_000c1cb8;
    }
    var_3 = -2;
  }
  var_5 = var_9;
  if (var_9 == *(type_2 **)PTR___stack_chk_guard_0015858c) {
    return var_3;
  }
LAB_000c1cb8:
  var_4 = PTR___stack_chk_fail_0015853c;
  (*(type_4 *)PTR___stack_chk_fail_0015853c)();
  var_3 = **(int **)(var_4 + 0x94f7c);
  var_11 = 0;
  var_10 = **(int **)(var_4 + 0x95030);
  if (var_10 != 0) {
    (**(type_4 **)(var_4 + 0x94f10))(*(int *)(var_4 + 0x948ec) + -0x4bec);
    (**(type_4 **)(var_4 + 0x94f14))(*(type_3 *)(var_4 + 0x95030),4);
    (**(type_4 **)(var_4 + 0x94f14))(*(type_3 *)(var_4 + 0x9509c),0xf0);
    **(int **)(var_4 + 0x95030) = **(int **)(var_4 + 0x95030) + 1;
    var_11 = (**(type_4 **)(var_4 + 0x968f0))(*(type_3 *)(var_4 + 0x9509c));
  }
  if (var_11 == 0) {
    iStack_f0 = var_12((char *)var_5,from_file,(int)flags_00);
  }
  else {
    var_13(var_3);
    iStack_f0 = **(int **)(var_4 + 0x950a0);
  }
  if (var_10 != 0) {
    (**(type_4 **)(var_4 + 0x94f68))(*(int *)(var_4 + 0x948ec) + -0x4bec);
    if ((var_11 != 0) && (**(int **)(var_4 + 0x95030) != 0)) {
      **(int **)(var_4 + 0x950a0) = iStack_f0;
      var_14 = *(type_4 **)(var_4 + 0x966d4);
      (*var_14)(*(type_3 *)(var_4 + 0x9509c),1);
      var_3 = (**(type_4 **)(var_14 + 0x96604))();
                    /* WARNING: Subroutine does not return */
      var_15(var_3 + 2);
    }
  }
  return iStack_f0;
}


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

/* WARNING: Removing unreachable block (ram,0x000c1bac) */

undefined1 * MASKED(int param_1,undefined4 param_2,uint param_3,int *param_4)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined *puVar9;
  code *pcVar10;
  undefined1 *puStack_f0;
  int iStack_e8;
  undefined1 auStack_94 [128];
  undefined1 *local_14;
  
  local_14 = *(undefined1 **)PTR___stack_chk_guard_0015858c;
  FUN_000c09b4(param_1,param_3,PTR_DAT_001565b0 + -0x4c10);
  puVar6 = auStack_94;
  (*(code *)PTR_sigemptyset_00158388)(puVar6);
  (*(code *)PTR_sigprocmask_001585c4)(1,0);
  (*(code *)PTR_push_stream_00156a88)(0);
  iVar3 = (*(code *)PTR_parser_expanding_alias_00156828)();
  if (iVar3 != 0) {
    (*(code *)PTR_parser_save_alias_001579f0)();
  }
  uVar4 = *(undefined4 *)PTR_global_command_00156840;
  (*(code *)PTR_with_input_from_string_00156a8c)(param_1);
  puVar2 = PTR_global_command_00156840;
  puVar9 = PTR_bash_input_00156670;
  puVar8 = (undefined1 *)0x0;
  puVar5 = PTR_DAT_001565b0 + -0x4bfc;
  while (bVar1 = false, **(char **)(puVar9 + 8) != '\0') {
    puVar8 = (undefined1 *)(*(code *)PTR__setjmp_001585b4)(PTR_top_level_001565e4);
    if (puVar8 != (undefined1 *)0x0) {
      puVar6 = (undefined1 *)0x0;
      if (puVar8 + -1 < &DAT_00000004) {
        bVar1 = true;
        break;
      }
      (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94);
      param_2 = 3;
      puVar6 = puVar8;
      (*(code *)PTR_command_error_001565f0)(puVar5,3,puVar8,0);
    }
    bVar1 = false;
    iVar3 = (*(code *)PTR_parse_command_00156850)();
    if (iVar3 != 0) {
      if ((param_3 & 0x40) == 0) {
        bVar1 = true;
        puVar8 = (undefined1 *)0x2;
      }
      else {
        (*(code *)PTR_reset_parser_0015694c)();
      }
      break;
    }
    (*(code *)PTR_dispose_command_00156894)(*(undefined4 *)puVar2);
    *(undefined4 *)puVar2 = 0;
    if ((*(int *)PTR_current_token_001568c0 == 0x130) ||
       (*(int *)PTR_current_token_001568c0 == *(int *)PTR_shell_eof_token_001569b4)) break;
  }
  *(undefined4 *)PTR_global_command_00156840 = uVar4;
  puVar9 = PTR_DAT_001565b0;
  puVar7 = (undefined1 *)(*(int *)(PTR_bash_input_00156670 + 8) - param_1);
  if (param_4 != (int *)0x0) {
    *param_4 = *(int *)(PTR_bash_input_00156670 + 8);
  }
  (*(code *)PTR_run_unwind_frame_00156c2c)(puVar9 + -0x4c10);
  if (bVar1) {
    if (*(int *)PTR_parse_and_execute_level_001568d0 == 0) {
      (*(code *)PTR_top_level_cleanup_00156fe4)();
    }
    if (puVar8 != (undefined1 *)0x2) {
      (*(code *)PTR_jump_to_top_level_00156818)();
      goto LAB_000c1cb8;
    }
    puVar7 = &SUB_fffffffe;
  }
  puVar8 = local_14;
  if (local_14 == *(undefined1 **)PTR___stack_chk_guard_0015858c) {
    return puVar7;
  }
LAB_000c1cb8:
  puVar9 = PTR___stack_chk_fail_0015853c;
  (*(code *)PTR___stack_chk_fail_0015853c)();
  uVar4 = **(undefined4 **)(puVar9 + 0x94f7c);
  iStack_e8 = 0;
  iVar3 = **(int **)(puVar9 + 0x95030);
  if (iVar3 != 0) {
    (**(code **)(puVar9 + 0x94f10))(*(int *)(puVar9 + 0x948ec) + -0x4bec);
    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x95030),4);
    (**(code **)(puVar9 + 0x94f14))(*(undefined4 *)(puVar9 + 0x9509c),0xf0);
    **(int **)(puVar9 + 0x95030) = **(int **)(puVar9 + 0x95030) + 1;
    iStack_e8 = (**(code **)(puVar9 + 0x968f0))(*(undefined4 *)(puVar9 + 0x9509c));
  }
  if (iStack_e8 == 0) {
    puStack_f0 = (undefined1 *)parse_and_execute(puVar8,param_2,puVar6);
  }
  else {
    parse_and_execute_cleanup(uVar4);
    puStack_f0 = (undefined1 *)**(undefined4 **)(puVar9 + 0x950a0);
  }
  if (iVar3 != 0) {
    (**(code **)(puVar9 + 0x94f68))(*(int *)(puVar9 + 0x948ec) + -0x4bec);
    if ((iStack_e8 != 0) && (**(int **)(puVar9 + 0x95030) != 0)) {
      **(undefined4 **)(puVar9 + 0x950a0) = puStack_f0;
      uVar4 = *(undefined4 *)(puVar9 + 0x9509c);
      pcVar10 = *(code **)(puVar9 + 0x966d4);
      (*pcVar10)(uVar4,1);
      iVar3 = (**(code **)(pcVar10 + 0x96604))();
      puVar6 = (undefined1 *)xmalloc(iVar3 + 2);
      *puVar6 = 0x2d;
      (**(code **)(pcVar10 + 0x9668c))(puVar6 + 1,uVar4);
      return puVar6;
    }
  }
  return puStack_f0;
}

