
void expredir(node *n)

{
  char cVar1;
  undefined *puVar2;
  undefined *puVar3;
  byte *pbVar4;
  int iVar5;
  node *pnVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  char *msg;
  undefined *puVar10;
  byte *pbVar11;
  arglist fn;
  
  puVar3 = PTR___stack_chk_guard_0012b14c;
  puVar2 = PTR_bb_strtoul_0012a2d4;
  puVar10 = PTR_bb_errno_0012a214;
  iVar5 = *(int *)PTR___stack_chk_guard_0012b14c;
  if (n != (node *)0x0) {
    do {
      while( true ) {
        cVar1 = n->type;
        fn.list = (strlist *)0x0;
        fn.lastp = &fn.list;
        if ('\x0f' < cVar1) break;
LAB_0007ee28:
        n = (node *)(n->ncmd).linno;
        if (n == (node *)0x0) goto LAB_0007ee34;
      }
      if (cVar1 < '\x16') {
        expandarg((((n->ncmd).redirect)->ncmd).assign,
                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);
        (n->nfile).expfname = (fn.list)->text;
        goto LAB_0007ee28;
      }
      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))
      goto LAB_0007ee28;
      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);
      if (fn.list == (strlist *)0x0) {
LAB_0007ede8:
                    /* WARNING: Subroutine does not return */
        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);
      }
      pbVar11 = (byte *)(fn.list)->text;
      uVar7 = (uint)*pbVar11;
      if (uVar7 - 0x30 < 10) {
        pbVar4 = pbVar11 + 1;
        do {
          pbVar9 = pbVar4;
          uVar7 = (uint)*pbVar9;
          if (9 < uVar7 - 0x30) goto LAB_0007eec0;
          pbVar4 = pbVar9 + 1;
        } while (pbVar9 + 1 != pbVar11 + 9);
        uVar7 = (uint)pbVar9[1];
      }
LAB_0007eec0:
      if (uVar7 != 0) {
        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;
        (n->nfile).expfname = (char *)pbVar11;
        n->type = '\x11';
        goto LAB_0007ee28;
      }
      iVar8 = (*(code *)puVar2)(pbVar11,0,10);
      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {
        (n->nfile)._unused_dupfd = iVar8;
      }
      else {
        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {
          puVar10 = PTR_UINT_0012a18c + 0x7e54;
          msg = PTR_UINT_0012a18c + 0x78f0;
                    /* WARNING: Subroutine does not return */
          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =
               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);
          ash_msg_and_raise_error(msg,puVar10);
        }
        (n->nfile)._unused_dupfd = -1;
      }
      n = (node *)(n->ncmd).linno;
    } while (n != (node *)0x0);
  }
LAB_0007ee34:
  if (iVar5 != *(int *)puVar3) {
    (*(code *)PTR___stack_chk_fail_0012b0c8)();
    return;
  }
  return;
}



void FUN_0007ed2c(char *param_1)

{
  char cVar1;
  undefined *puVar2;
  byte *pbVar3;
  int iVar4;
  uint uVar5;
  byte *pbVar6;
  undefined *puVar7;
  undefined *puVar8;
  byte *pbVar9;
  int local_34;
  int *local_30;
  int local_2c;
  
  puVar2 = PTR___stack_chk_guard_0012b14c;
  puVar8 = PTR_FUN_0012a2d4;
  puVar7 = PTR_DAT_0012a214;
  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;
  if (param_1 != (char *)0x0) {
    do {
      while( true ) {
        cVar1 = *param_1;
        local_34 = 0;
        local_30 = &local_34;
        if ('\x0f' < cVar1) break;
LAB_0007ee28:
        param_1 = *(char **)(param_1 + 4);
        if (param_1 == (char *)0x0) goto LAB_0007ee34;
      }
      if (cVar1 < '\x16') {
        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),
                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);
        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);
        goto LAB_0007ee28;
      }
      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;
      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);
      if (local_34 == 0) {
LAB_0007ede8:
                    /* WARNING: Subroutine does not return */
        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);
      }
      pbVar9 = *(byte **)(local_34 + 4);
      uVar5 = (uint)*pbVar9;
      if (uVar5 - 0x30 < 10) {
        pbVar3 = pbVar9 + 1;
        do {
          pbVar6 = pbVar3;
          uVar5 = (uint)*pbVar6;
          if (9 < uVar5 - 0x30) goto LAB_0007eec0;
          pbVar3 = pbVar6 + 1;
        } while (pbVar6 + 1 != pbVar9 + 9);
        uVar5 = (uint)pbVar6[1];
      }
LAB_0007eec0:
      if (uVar5 != 0) {
        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;
        *(byte **)(param_1 + 0x14) = pbVar9;
        *param_1 = '\x11';
        goto LAB_0007ee28;
      }
      iVar4 = (*(code *)puVar8)(pbVar9,0,10);
      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {
        *(int *)(param_1 + 0xc) = iVar4;
      }
      else {
        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {
          puVar8 = PTR_UINT_0012a18c + 0x7e54;
          puVar7 = PTR_UINT_0012a18c + 0x78f0;
                    /* WARNING: Subroutine does not return */
          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =
               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);
          FUN_0006ee68(puVar7,puVar8);
        }
        param_1[0xc] = -1;
        param_1[0xd] = -1;
        param_1[0xe] = -1;
        param_1[0xf] = -1;
      }
      param_1 = *(char **)(param_1 + 4);
    } while (param_1 != (char *)0x0);
  }
LAB_0007ee34:
  if (local_2c != *(int *)puVar2) {
    (*(code *)PTR___stack_chk_fail_0012b0c8)();
    return;
  }
  return;
}


lui gp,0xb
addiu gp,gp,0x3424
addu gp,gp,t9
addiu sp,sp,-0x50
sw s3,0x38(sp)
lw s3,-0x7004(gp)
sw gp,0x10(sp)
sw ra,0x4c(sp)
sw s7,0x48(sp)
sw s6,0x44(sp)
sw s5,0x40(sp)
sw s4,0x3c(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
sw s0,0x2c(sp)
lw v0,0x0(s3)
sw v0,0x24(sp)
beq a0,zero,0x0007ee34
_nop
lw s2,-0x78a4(gp)
addiu s7,sp,0x1c
lw s6,-0x7e7c(gp)
li s5,0x2d
lw s4,-0x7f3c(gp)
or s0,a0,zero
addiu s2,s2,-0x4f50
lb v0,0x0(s0)
sw zero,0x1c(sp)
slti v1,v0,0x10
bne v1,zero,0x0007ee28
_sw s7,0x20(sp)
slti v1,v0,0x16
bne v1,zero,0x0007edfc
_slti v0,v0,0x18
beq v0,zero,0x0007ee28
_nop
lw v0,0x10(s0)
beq v0,zero,0x0007ee28
_li a3,0x3
lw a1,0xc(v0)
lw a0,0x8(v0)
or t9,s2,zero
bal 0x0007b0b0
_or a2,s7,zero
lw v0,0x1c(sp)
bne v0,zero,0x0007ee78
_lw gp,0x10(sp)
lw a0,-0x7fc4(gp)
lw t9,-0x793c(gp)
addiu t9,t9,-0x1198
bal 0x0006ee68
_addiu a0,a0,0x7e48
lw v0,0x10(s0)
li a3,0xa
or a2,s7,zero
or t9,s2,zero
lw a1,0xc(v0)
bal 0x0007b0b0
_lw a0,0x8(v0)
lw v0,0x1c(sp)
lw gp,0x10(sp)
lw s1,0x4(v0)
sw s1,0x14(s0)
lw s0,0x4(s0)
bne s0,zero,0x0007ed94
_nop
lw v1,0x24(sp)
lw v0,0x0(s3)
bne v1,v0,0x0007ee6c
_lw ra,0x4c(sp)
lw s7,0x48(sp)
lw s6,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x50
lw t9,-0x7088(gp)
jalr t9
_nop
lw s1,0x4(v0)
lbu v0,0x0(s1)
addiu v1,v0,-0x30
sltiu v1,v1,0xa
beq v1,zero,0x0007eec0
_addiu v1,s1,0x1
addiu a1,s1,0x9
lbu v0,0x0(v1)
addiu a0,v0,-0x30
sltiu a0,a0,0xa
beq a0,zero,0x0007eec0
_nop
addiu v0,v1,0x1
beq v0,a1,0x0007eebc
_nop
b 0x0007ee94
_or v1,v0,zero
lbu v0,0x1(v1)
beq v0,zero,0x0007eee0
_li v0,0x1
lw v1,0x8(s0)
bne v1,v0,0x0007ede8
_li v0,0x11
sw s1,0x14(s0)
b 0x0007ee28
_sb v0,0x0(s0)
li a2,0xa
or a1,zero,zero
or t9,s6,zero
jalr t9
_or a0,s1,zero
lw v1,0x0(s4)
lw v1,0x0(v1)
bne v1,zero,0x0007ef24
_lw gp,0x10(sp)
bltz v0,0x0007ef24
_nop
sw v0,0xc(s0)
lw s0,0x4(s0)
bne s0,zero,0x0007ed94
_nop
b 0x0007ee34
_nop
lbu v0,0x0(s1)
bne v0,s5,0x0007ef48
_lw v0,-0x7fd8(gp)
lbu v0,0x1(s1)
bne v0,zero,0x0007ef44
_li v0,-0x1
b 0x0007ef10
_sw v0,0xc(s0)
lw v0,-0x7fd8(gp)
lw a1,-0x7fc4(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x793c(gp)
lw v1,-0x5ff0(v0)
addiu a1,a1,0x7e54
lw v0,-0x7904(gp)
addiu a0,a0,0x78f0
addiu t9,t9,-0x1198
lw v1,0x4(v1)
lw v0,0x0(v0)
bal 0x0006ee68
_sw v1,0xc(v0)
(translation_unit "void FUN_0007ed2c(char *param_1)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0007ed2c(char *param_1)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0007ed2c(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "puVar8 = PTR_FUN_0012a2d4;" (assignment_expression "puVar8 = PTR_FUN_0012a2d4" identifier = identifier) ;) (expression_statement "puVar7 = PTR_DAT_0012a214;" (assignment_expression "puVar7 = PTR_DAT_0012a214" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }" { (do_statement "do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);" do (compound_statement "{\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    }" { (while_statement "while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }" { (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_30 = &local_34;" (assignment_expression "local_30 = &local_34" identifier = (pointer_expression "&local_34" & identifier)) ;) (if_statement "if ('\x0f' < cVar1) break;" if (parenthesized_expression "('\x0f' < cVar1)" ( (binary_expression "'\x0f' < cVar1" (char_literal "'\x0f'" ' escape_sequence ') < identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);" statement_identifier : (expression_statement "param_1 = *(char **)(param_1 + 4);" (assignment_expression "param_1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;)) (if_statement "if (param_1 == (char *)0x0) goto LAB_0007ee34;" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0007ee34;" goto statement_identifier ;)) })) (if_statement "if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }" if (parenthesized_expression "(cVar1 < '\x16')" ( (binary_expression "cVar1 < '\x16'" identifier < (char_literal "'\x16'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }" { (expression_statement "FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);" (call_expression "FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + 8)" ( (binary_expression "*(int *)(param_1 + 0x10) + 8" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x10) + 0xc" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4)" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(local_34 + 4)" * (cast_expression "(undefined4 *)(local_34 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;) })) (if_statement "if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;" if (parenthesized_expression "(('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0))" ( (binary_expression "('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)" (parenthesized_expression "('\x17' < cVar1)" ( (binary_expression "'\x17' < cVar1" (char_literal "'\x17'" ' escape_sequence ') < identifier) )) || (parenthesized_expression "(iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)" ( (comma_expression "iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0" (assignment_expression "iVar4 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;)) (expression_statement "FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);" (call_expression "FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3)" identifier (argument_list "(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3)" ( (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (if_statement "if (local_34 == 0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }" { (labeled_statement "LAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);" statement_identifier : comment (expression_statement "FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);" (call_expression "FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48)" identifier (argument_list "(PTR_UINT_0012a18c + 0x7e48)" ( (binary_expression "PTR_UINT_0012a18c + 0x7e48" identifier + number_literal) ))) ;)) })) (expression_statement "pbVar9 = *(byte **)(local_34 + 4);" (assignment_expression "pbVar9 = *(byte **)(local_34 + 4)" identifier = (pointer_expression "*(byte **)(local_34 + 4)" * (cast_expression "(byte **)(local_34 + 4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = (uint)*pbVar9;" (assignment_expression "uVar5 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }" if (parenthesized_expression "(uVar5 - 0x30 < 10)" ( (binary_expression "uVar5 - 0x30 < 10" (binary_expression "uVar5 - 0x30" identifier - number_literal) < number_literal) )) (compound_statement "{\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }" { (expression_statement "pbVar3 = pbVar9 + 1;" (assignment_expression "pbVar3 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (do_statement "do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);" do (compound_statement "{\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        }" { (expression_statement "pbVar6 = pbVar3;" (assignment_expression "pbVar6 = pbVar3" identifier = identifier) ;) (expression_statement "uVar5 = (uint)*pbVar6;" (assignment_expression "uVar5 = (uint)*pbVar6" identifier = (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (9 < uVar5 - 0x30) goto LAB_0007eec0;" if (parenthesized_expression "(9 < uVar5 - 0x30)" ( (binary_expression "9 < uVar5 - 0x30" number_literal < (binary_expression "uVar5 - 0x30" identifier - number_literal)) )) (goto_statement "goto LAB_0007eec0;" goto statement_identifier ;)) (expression_statement "pbVar3 = pbVar6 + 1;" (assignment_expression "pbVar3 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar6 + 1 != pbVar9 + 9)" ( (binary_expression "pbVar6 + 1 != pbVar9 + 9" (binary_expression "pbVar6 + 1" identifier + number_literal) != (binary_expression "pbVar9 + 9" identifier + number_literal)) )) ;) (expression_statement "uVar5 = (uint)pbVar6[1];" (assignment_expression "uVar5 = (uint)pbVar6[1]" identifier = (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) ;) })) (labeled_statement "LAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" statement_identifier : (if_statement "if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" { (if_statement "if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;" if (parenthesized_expression "(*(int *)(param_1 + 8) != 1)" ( (binary_expression "*(int *)(param_1 + 8) != 1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0007ede8;" goto statement_identifier ;)) (expression_statement "*(byte **)(param_1 + 0x14) = pbVar9;" (assignment_expression "*(byte **)(param_1 + 0x14) = pbVar9" (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*param_1 = '\x11';" (assignment_expression "*param_1 = '\x11'" (pointer_expression "*param_1" * identifier) = (char_literal "'\x11'" ' escape_sequence ')) ;) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;) }))) (expression_statement "iVar4 = (*(code *)puVar8)(pbVar9,0,10);" (assignment_expression "iVar4 = (*(code *)puVar8)(pbVar9,0,10)" identifier = (call_expression "(*(code *)puVar8)(pbVar9,0,10)" (parenthesized_expression "(*(code *)puVar8)" ( (pointer_expression "*(code *)puVar8" * (cast_expression "(code *)puVar8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar9,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" if (parenthesized_expression "((**(int **)puVar7 == 0) && (-1 < iVar4))" ( (binary_expression "(**(int **)puVar7 == 0) && (-1 < iVar4)" (parenthesized_expression "(**(int **)puVar7 == 0)" ( (binary_expression "**(int **)puVar7 == 0" (pointer_expression "**(int **)puVar7" * (pointer_expression "*(int **)puVar7" * (cast_expression "(int **)puVar7" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == number_literal) )) && (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) ))) )) (compound_statement "{\n        *(int *)(param_1 + 0xc) = iVar4;\n      }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar4;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" else (compound_statement "{\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" { (if_statement "if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }" if (parenthesized_expression "((*pbVar9 != 0x2d) || (pbVar9[1] != 0))" ( (binary_expression "(*pbVar9 != 0x2d) || (pbVar9[1] != 0)" (parenthesized_expression "(*pbVar9 != 0x2d)" ( (binary_expression "*pbVar9 != 0x2d" (pointer_expression "*pbVar9" * identifier) != number_literal) )) || (parenthesized_expression "(pbVar9[1] != 0)" ( (binary_expression "pbVar9[1] != 0" (subscript_expression "pbVar9[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }" { (expression_statement "puVar8 = PTR_UINT_0012a18c + 0x7e54;" (assignment_expression "puVar8 = PTR_UINT_0012a18c + 0x7e54" identifier = (binary_expression "PTR_UINT_0012a18c + 0x7e54" identifier + number_literal)) ;) (expression_statement "puVar7 = PTR_UINT_0012a18c + 0x78f0;" (assignment_expression "puVar7 = PTR_UINT_0012a18c + 0x78f0" identifier = (binary_expression "PTR_UINT_0012a18c + 0x78f0" identifier + number_literal)) ;) comment (expression_statement "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);" (assignment_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" (pointer_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" * (cast_expression "(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x5ff0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x5ff0)" ( (binary_expression "PTR_DAT_0012a178 + -0x5ff0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_0006ee68(puVar7,puVar8);" (call_expression "FUN_0006ee68(puVar7,puVar8)" identifier (argument_list "(puVar7,puVar8)" ( identifier , identifier ))) ;) })) (expression_statement "param_1[0xc] = -1;" (assignment_expression "param_1[0xc] = -1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xd] = -1;" (assignment_expression "param_1[0xd] = -1" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xe] = -1;" (assignment_expression "param_1[0xe] = -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xf] = -1;" (assignment_expression "param_1[0xf] = -1" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "param_1 = *(char **)(param_1 + 4);" (assignment_expression "param_1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar2)" ( (binary_expression "local_2c != *(int *)puVar2" identifier != (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_0012b0c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void expredir(node *n)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  node *pnVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  char *msg;\n  undefined *puVar10;\n  byte *pbVar11;\n  arglist fn;\n  \n  puVar3 = PTR___stack_chk_guard_0012b14c;\n  puVar2 = PTR_bb_strtoul_0012a2d4;\n  puVar10 = PTR_bb_errno_0012a214;\n  iVar5 = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (n != (node *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;\n      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);\n      if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar11 = (byte *)(fn.list)->text;\n      uVar7 = (uint)*pbVar11;\n      if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }\nLAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar8 = (*(code *)puVar2)(pbVar11,0,10);\n      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }\n      n = (node *)(n->ncmd).linno;\n    } while (n != (node *)0x0);\n  }\nLAB_0007ee34:\n  if (iVar5 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void expredir(node *n)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  node *pnVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  char *msg;\n  undefined *puVar10;\n  byte *pbVar11;\n  arglist fn;\n  \n  puVar3 = PTR___stack_chk_guard_0012b14c;\n  puVar2 = PTR_bb_strtoul_0012a2d4;\n  puVar10 = PTR_bb_errno_0012a214;\n  iVar5 = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (n != (node *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;\n      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);\n      if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar11 = (byte *)(fn.list)->text;\n      uVar7 = (uint)*pbVar11;\n      if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }\nLAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar8 = (*(code *)puVar2)(pbVar11,0,10);\n      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }\n      n = (node *)(n->ncmd).linno;\n    } while (n != (node *)0x0);\n  }\nLAB_0007ee34:\n  if (iVar5 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "expredir(node *n)" identifier (parameter_list "(node *n)" ( (parameter_declaration "node *n" type_identifier (pointer_declarator "*n" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  node *pnVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  char *msg;\n  undefined *puVar10;\n  byte *pbVar11;\n  arglist fn;\n  \n  puVar3 = PTR___stack_chk_guard_0012b14c;\n  puVar2 = PTR_bb_strtoul_0012a2d4;\n  puVar10 = PTR_bb_errno_0012a214;\n  iVar5 = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (n != (node *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;\n      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);\n      if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar11 = (byte *)(fn.list)->text;\n      uVar7 = (uint)*pbVar11;\n      if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }\nLAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar8 = (*(code *)puVar2)(pbVar11,0,10);\n      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }\n      n = (node *)(n->ncmd).linno;\n    } while (n != (node *)0x0);\n  }\nLAB_0007ee34:\n  if (iVar5 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "node *pnVar6;" type_identifier (pointer_declarator "*pnVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "char *msg;" primitive_type (pointer_declarator "*msg" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "arglist fn;" type_identifier identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "puVar2 = PTR_bb_strtoul_0012a2d4;" (assignment_expression "puVar2 = PTR_bb_strtoul_0012a2d4" identifier = identifier) ;) (expression_statement "puVar10 = PTR_bb_errno_0012a214;" (assignment_expression "puVar10 = PTR_bb_errno_0012a214" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (n != (node *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;\n      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);\n      if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar11 = (byte *)(fn.list)->text;\n      uVar7 = (uint)*pbVar11;\n      if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }\nLAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar8 = (*(code *)puVar2)(pbVar11,0,10);\n      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }\n      n = (node *)(n->ncmd).linno;\n    } while (n != (node *)0x0);\n  }" if (parenthesized_expression "(n != (node *)0x0)" ( (binary_expression "n != (node *)0x0" identifier != (cast_expression "(node *)0x0" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;\n      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);\n      if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar11 = (byte *)(fn.list)->text;\n      uVar7 = (uint)*pbVar11;\n      if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }\nLAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar8 = (*(code *)puVar2)(pbVar11,0,10);\n      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }\n      n = (node *)(n->ncmd).linno;\n    } while (n != (node *)0x0);\n  }" { (do_statement "do {\n      while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;\n      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);\n      if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar11 = (byte *)(fn.list)->text;\n      uVar7 = (uint)*pbVar11;\n      if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }\nLAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar8 = (*(code *)puVar2)(pbVar11,0,10);\n      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }\n      n = (node *)(n->ncmd).linno;\n    } while (n != (node *)0x0);" do (compound_statement "{\n      while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;\n      expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);\n      if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar11 = (byte *)(fn.list)->text;\n      uVar7 = (uint)*pbVar11;\n      if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }\nLAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar8 = (*(code *)puVar2)(pbVar11,0,10);\n      if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }\n      n = (node *)(n->ncmd).linno;\n    }" { (while_statement "while( true ) {\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar1 = n->type;\n        fn.list = (strlist *)0x0;\n        fn.lastp = &fn.list;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        n = (node *)(n->ncmd).linno;\n        if (n == (node *)0x0) goto LAB_0007ee34;\n      }" { (expression_statement "cVar1 = n->type;" (assignment_expression "cVar1 = n->type" identifier = (field_expression "n->type" identifier -> field_identifier)) ;) (expression_statement "fn.list = (strlist *)0x0;" (assignment_expression "fn.list = (strlist *)0x0" (field_expression "fn.list" identifier . field_identifier) = (cast_expression "(strlist *)0x0" ( (type_descriptor "strlist *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "fn.lastp = &fn.list;" (assignment_expression "fn.lastp = &fn.list" (field_expression "fn.lastp" identifier . field_identifier) = (pointer_expression "&fn.list" & (field_expression "fn.list" identifier . field_identifier))) ;) (if_statement "if ('\x0f' < cVar1) break;" if (parenthesized_expression "('\x0f' < cVar1)" ( (binary_expression "'\x0f' < cVar1" (char_literal "'\x0f'" ' escape_sequence ') < identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0007ee28:\n        n = (node *)(n->ncmd).linno;" statement_identifier : (expression_statement "n = (node *)(n->ncmd).linno;" (assignment_expression "n = (node *)(n->ncmd).linno" identifier = (cast_expression "(node *)(n->ncmd).linno" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(n->ncmd).linno" (parenthesized_expression "(n->ncmd)" ( (field_expression "n->ncmd" identifier -> field_identifier) )) . field_identifier))) ;)) (if_statement "if (n == (node *)0x0) goto LAB_0007ee34;" if (parenthesized_expression "(n == (node *)0x0)" ( (binary_expression "n == (node *)0x0" identifier == (cast_expression "(node *)0x0" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0007ee34;" goto statement_identifier ;)) })) (if_statement "if (cVar1 < '\x16') {\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }" if (parenthesized_expression "(cVar1 < '\x16')" ( (binary_expression "cVar1 < '\x16'" identifier < (char_literal "'\x16'" ' escape_sequence ')) )) (compound_statement "{\n        expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);\n        (n->nfile).expfname = (fn.list)->text;\n        goto LAB_0007ee28;\n      }" { (expression_statement "expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a);" (call_expression "expandarg((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a)" identifier (argument_list "((((n->ncmd).redirect)->ncmd).assign,\n                  (arglist *)(((n->ncmd).redirect)->narg).backquote,(int)&fn,(node *)&DAT_0000000a)" ( (field_expression "(((n->ncmd).redirect)->ncmd).assign" (parenthesized_expression "(((n->ncmd).redirect)->ncmd)" ( (field_expression "((n->ncmd).redirect)->ncmd" (parenthesized_expression "((n->ncmd).redirect)" ( (field_expression "(n->ncmd).redirect" (parenthesized_expression "(n->ncmd)" ( (field_expression "n->ncmd" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier) , (cast_expression "(arglist *)(((n->ncmd).redirect)->narg).backquote" ( (type_descriptor "arglist *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(((n->ncmd).redirect)->narg).backquote" (parenthesized_expression "(((n->ncmd).redirect)->narg)" ( (field_expression "((n->ncmd).redirect)->narg" (parenthesized_expression "((n->ncmd).redirect)" ( (field_expression "(n->ncmd).redirect" (parenthesized_expression "(n->ncmd)" ( (field_expression "n->ncmd" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier)) , (cast_expression "(int)&fn" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fn" & identifier)) , (cast_expression "(node *)&DAT_0000000a" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0000000a" & identifier)) ))) ;) (expression_statement "(n->nfile).expfname = (fn.list)->text;" (assignment_expression "(n->nfile).expfname = (fn.list)->text" (field_expression "(n->nfile).expfname" (parenthesized_expression "(n->nfile)" ( (field_expression "n->nfile" identifier -> field_identifier) )) . field_identifier) = (field_expression "(fn.list)->text" (parenthesized_expression "(fn.list)" ( (field_expression "fn.list" identifier . field_identifier) )) -> field_identifier)) ;) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;) })) (if_statement "if (('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))\n      goto LAB_0007ee28;" if (parenthesized_expression "(('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0))" ( (binary_expression "('\x17' < cVar1) || (pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0)" (parenthesized_expression "('\x17' < cVar1)" ( (binary_expression "'\x17' < cVar1" (char_literal "'\x17'" ' escape_sequence ') < identifier) )) || (parenthesized_expression "(pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0)" ( (comma_expression "pnVar6 = (n->ncmd).redirect, pnVar6 == (node *)0x0" (assignment_expression "pnVar6 = (n->ncmd).redirect" identifier = (field_expression "(n->ncmd).redirect" (parenthesized_expression "(n->ncmd)" ( (field_expression "n->ncmd" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "pnVar6 == (node *)0x0" identifier == (cast_expression "(node *)0x0" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;)) (expression_statement "expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3);" (call_expression "expandarg((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3)" identifier (argument_list "((pnVar6->ncmd).assign,(arglist *)(pnVar6->narg).backquote,(int)&fn,(node *)0x3)" ( (field_expression "(pnVar6->ncmd).assign" (parenthesized_expression "(pnVar6->ncmd)" ( (field_expression "pnVar6->ncmd" identifier -> field_identifier) )) . field_identifier) , (cast_expression "(arglist *)(pnVar6->narg).backquote" ( (type_descriptor "arglist *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(pnVar6->narg).backquote" (parenthesized_expression "(pnVar6->narg)" ( (field_expression "pnVar6->narg" identifier -> field_identifier) )) . field_identifier)) , (cast_expression "(int)&fn" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fn" & identifier)) , (cast_expression "(node *)0x3" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if (fn.list == (strlist *)0x0) {\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }" if (parenthesized_expression "(fn.list == (strlist *)0x0)" ( (binary_expression "fn.list == (strlist *)0x0" (field_expression "fn.list" identifier . field_identifier) == (cast_expression "(strlist *)0x0" ( (type_descriptor "strlist *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);\n      }" { (labeled_statement "LAB_0007ede8:\n                    /* WARNING: Subroutine does not return */\n        ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);" statement_identifier : comment (expression_statement "ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48);" (call_expression "ash_msg_and_raise_error(PTR_UINT_0012a18c + 0x7e48)" identifier (argument_list "(PTR_UINT_0012a18c + 0x7e48)" ( (binary_expression "PTR_UINT_0012a18c + 0x7e48" identifier + number_literal) ))) ;)) })) (expression_statement "pbVar11 = (byte *)(fn.list)->text;" (assignment_expression "pbVar11 = (byte *)(fn.list)->text" identifier = (cast_expression "(byte *)(fn.list)->text" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(fn.list)->text" (parenthesized_expression "(fn.list)" ( (field_expression "fn.list" identifier . field_identifier) )) -> field_identifier))) ;) (expression_statement "uVar7 = (uint)*pbVar11;" (assignment_expression "uVar7 = (uint)*pbVar11" identifier = (binary_expression "(uint)*pbVar11" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar7 - 0x30 < 10) {\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }" if (parenthesized_expression "(uVar7 - 0x30 < 10)" ( (binary_expression "uVar7 - 0x30 < 10" (binary_expression "uVar7 - 0x30" identifier - number_literal) < number_literal) )) (compound_statement "{\n        pbVar4 = pbVar11 + 1;\n        do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);\n        uVar7 = (uint)pbVar9[1];\n      }" { (expression_statement "pbVar4 = pbVar11 + 1;" (assignment_expression "pbVar4 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) (do_statement "do {\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        } while (pbVar9 + 1 != pbVar11 + 9);" do (compound_statement "{\n          pbVar9 = pbVar4;\n          uVar7 = (uint)*pbVar9;\n          if (9 < uVar7 - 0x30) goto LAB_0007eec0;\n          pbVar4 = pbVar9 + 1;\n        }" { (expression_statement "pbVar9 = pbVar4;" (assignment_expression "pbVar9 = pbVar4" identifier = identifier) ;) (expression_statement "uVar7 = (uint)*pbVar9;" (assignment_expression "uVar7 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (9 < uVar7 - 0x30) goto LAB_0007eec0;" if (parenthesized_expression "(9 < uVar7 - 0x30)" ( (binary_expression "9 < uVar7 - 0x30" number_literal < (binary_expression "uVar7 - 0x30" identifier - number_literal)) )) (goto_statement "goto LAB_0007eec0;" goto statement_identifier ;)) (expression_statement "pbVar4 = pbVar9 + 1;" (assignment_expression "pbVar4 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar9 + 1 != pbVar11 + 9)" ( (binary_expression "pbVar9 + 1 != pbVar11 + 9" (binary_expression "pbVar9 + 1" identifier + number_literal) != (binary_expression "pbVar11 + 9" identifier + number_literal)) )) ;) (expression_statement "uVar7 = (uint)pbVar9[1];" (assignment_expression "uVar7 = (uint)pbVar9[1]" identifier = (cast_expression "(uint)pbVar9[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar9[1]" identifier [ number_literal ]))) ;) })) (labeled_statement "LAB_0007eec0:\n      if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }" statement_identifier : (if_statement "if (uVar7 != 0) {\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;\n        (n->nfile).expfname = (char *)pbVar11;\n        n->type = '\x11';\n        goto LAB_0007ee28;\n      }" { (if_statement "if ((n->ncmd).assign != (node *)&DAT_00000001) goto LAB_0007ede8;" if (parenthesized_expression "((n->ncmd).assign != (node *)&DAT_00000001)" ( (binary_expression "(n->ncmd).assign != (node *)&DAT_00000001" (field_expression "(n->ncmd).assign" (parenthesized_expression "(n->ncmd)" ( (field_expression "n->ncmd" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(node *)&DAT_00000001" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000001" & identifier))) )) (goto_statement "goto LAB_0007ede8;" goto statement_identifier ;)) (expression_statement "(n->nfile).expfname = (char *)pbVar11;" (assignment_expression "(n->nfile).expfname = (char *)pbVar11" (field_expression "(n->nfile).expfname" (parenthesized_expression "(n->nfile)" ( (field_expression "n->nfile" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(char *)pbVar11" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "n->type = '\x11';" (assignment_expression "n->type = '\x11'" (field_expression "n->type" identifier -> field_identifier) = (char_literal "'\x11'" ' escape_sequence ')) ;) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;) }))) (expression_statement "iVar8 = (*(code *)puVar2)(pbVar11,0,10);" (assignment_expression "iVar8 = (*(code *)puVar2)(pbVar11,0,10)" identifier = (call_expression "(*(code *)puVar2)(pbVar11,0,10)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar11,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((**(int **)puVar10 == 0) && (-1 < iVar8)) {\n        (n->nfile)._unused_dupfd = iVar8;\n      }\n      else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }" if (parenthesized_expression "((**(int **)puVar10 == 0) && (-1 < iVar8))" ( (binary_expression "(**(int **)puVar10 == 0) && (-1 < iVar8)" (parenthesized_expression "(**(int **)puVar10 == 0)" ( (binary_expression "**(int **)puVar10 == 0" (pointer_expression "**(int **)puVar10" * (pointer_expression "*(int **)puVar10" * (cast_expression "(int **)puVar10" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == number_literal) )) && (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) ))) )) (compound_statement "{\n        (n->nfile)._unused_dupfd = iVar8;\n      }" { (expression_statement "(n->nfile)._unused_dupfd = iVar8;" (assignment_expression "(n->nfile)._unused_dupfd = iVar8" (field_expression "(n->nfile)._unused_dupfd" (parenthesized_expression "(n->nfile)" ( (field_expression "n->nfile" identifier -> field_identifier) )) . field_identifier) = identifier) ;) }) (else_clause "else {\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }" else (compound_statement "{\n        if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }\n        (n->nfile)._unused_dupfd = -1;\n      }" { (if_statement "if ((*pbVar11 != 0x2d) || (pbVar11[1] != 0)) {\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }" if (parenthesized_expression "((*pbVar11 != 0x2d) || (pbVar11[1] != 0))" ( (binary_expression "(*pbVar11 != 0x2d) || (pbVar11[1] != 0)" (parenthesized_expression "(*pbVar11 != 0x2d)" ( (binary_expression "*pbVar11 != 0x2d" (pointer_expression "*pbVar11" * identifier) != number_literal) )) || (parenthesized_expression "(pbVar11[1] != 0)" ( (binary_expression "pbVar11[1] != 0" (subscript_expression "pbVar11[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n          puVar10 = PTR_UINT_0012a18c + 0x7e54;\n          msg = PTR_UINT_0012a18c + 0x78f0;\n                    /* WARNING: Subroutine does not return */\n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          ash_msg_and_raise_error(msg,puVar10);\n        }" { (expression_statement "puVar10 = PTR_UINT_0012a18c + 0x7e54;" (assignment_expression "puVar10 = PTR_UINT_0012a18c + 0x7e54" identifier = (binary_expression "PTR_UINT_0012a18c + 0x7e54" identifier + number_literal)) ;) (expression_statement "msg = PTR_UINT_0012a18c + 0x78f0;" (assignment_expression "msg = PTR_UINT_0012a18c + 0x78f0" identifier = (binary_expression "PTR_UINT_0012a18c + 0x78f0" identifier + number_literal)) ;) comment (expression_statement "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);" (assignment_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" (pointer_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" * (cast_expression "(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x5ff0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x5ff0)" ( (binary_expression "PTR_DAT_0012a178 + -0x5ff0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "ash_msg_and_raise_error(msg,puVar10);" (call_expression "ash_msg_and_raise_error(msg,puVar10)" identifier (argument_list "(msg,puVar10)" ( identifier , identifier ))) ;) })) (expression_statement "(n->nfile)._unused_dupfd = -1;" (assignment_expression "(n->nfile)._unused_dupfd = -1" (field_expression "(n->nfile)._unused_dupfd" (parenthesized_expression "(n->nfile)" ( (field_expression "n->nfile" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) }))) (expression_statement "n = (node *)(n->ncmd).linno;" (assignment_expression "n = (node *)(n->ncmd).linno" identifier = (cast_expression "(node *)(n->ncmd).linno" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(n->ncmd).linno" (parenthesized_expression "(n->ncmd)" ( (field_expression "n->ncmd" identifier -> field_identifier) )) . field_identifier))) ;) }) while (parenthesized_expression "(n != (node *)0x0)" ( (binary_expression "n != (node *)0x0" identifier != (cast_expression "(node *)0x0" ( (type_descriptor "node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0007ee34:\n  if (iVar5 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" statement_identifier : (if_statement "if (iVar5 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" if (parenthesized_expression "(iVar5 != *(int *)puVar3)" ( (binary_expression "iVar5 != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_0012b0c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007ed2c(char *param_1)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0007ed2c(char *param_1)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0007ed2c(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "puVar8 = PTR_FUN_0012a2d4;" (assignment_expression "puVar8 = PTR_FUN_0012a2d4" identifier = identifier) ;) (expression_statement "puVar7 = PTR_DAT_0012a214;" (assignment_expression "puVar7 = PTR_DAT_0012a214" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }" { (do_statement "do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);" do (compound_statement "{\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    }" { (while_statement "while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }" { (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_30 = &local_34;" (assignment_expression "local_30 = &local_34" identifier = (pointer_expression "&local_34" & identifier)) ;) (if_statement "if ('\x0f' < cVar1) break;" if (parenthesized_expression "('\x0f' < cVar1)" ( (binary_expression "'\x0f' < cVar1" (char_literal "'\x0f'" ' escape_sequence ') < identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);" statement_identifier : (expression_statement "param_1 = *(char **)(param_1 + 4);" (assignment_expression "param_1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;)) (if_statement "if (param_1 == (char *)0x0) goto LAB_0007ee34;" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0007ee34;" goto statement_identifier ;)) })) (if_statement "if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }" if (parenthesized_expression "(cVar1 < '\x16')" ( (binary_expression "cVar1 < '\x16'" identifier < (char_literal "'\x16'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }" { (expression_statement "FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);" (call_expression "FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + 8)" ( (binary_expression "*(int *)(param_1 + 0x10) + 8" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x10) + 0xc" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4)" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(local_34 + 4)" * (cast_expression "(undefined4 *)(local_34 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;) })) (if_statement "if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;" if (parenthesized_expression "(('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0))" ( (binary_expression "('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)" (parenthesized_expression "('\x17' < cVar1)" ( (binary_expression "'\x17' < cVar1" (char_literal "'\x17'" ' escape_sequence ') < identifier) )) || (parenthesized_expression "(iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)" ( (comma_expression "iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0" (assignment_expression "iVar4 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;)) (expression_statement "FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);" (call_expression "FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3)" identifier (argument_list "(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3)" ( (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (if_statement "if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }" { (labeled_statement "LAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);" statement_identifier : (expression_statement "FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);" (call_expression "FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48)" identifier (argument_list "(PTR_UINT_0012a18c + 0x7e48)" ( (binary_expression "PTR_UINT_0012a18c + 0x7e48" identifier + number_literal) ))) ;)) })) (expression_statement "pbVar9 = *(byte **)(local_34 + 4);" (assignment_expression "pbVar9 = *(byte **)(local_34 + 4)" identifier = (pointer_expression "*(byte **)(local_34 + 4)" * (cast_expression "(byte **)(local_34 + 4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = (uint)*pbVar9;" (assignment_expression "uVar5 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }" if (parenthesized_expression "(uVar5 - 0x30 < 10)" ( (binary_expression "uVar5 - 0x30 < 10" (binary_expression "uVar5 - 0x30" identifier - number_literal) < number_literal) )) (compound_statement "{\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }" { (expression_statement "pbVar3 = pbVar9 + 1;" (assignment_expression "pbVar3 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (do_statement "do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);" do (compound_statement "{\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        }" { (expression_statement "pbVar6 = pbVar3;" (assignment_expression "pbVar6 = pbVar3" identifier = identifier) ;) (expression_statement "uVar5 = (uint)*pbVar6;" (assignment_expression "uVar5 = (uint)*pbVar6" identifier = (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (9 < uVar5 - 0x30) goto LAB_0007eec0;" if (parenthesized_expression "(9 < uVar5 - 0x30)" ( (binary_expression "9 < uVar5 - 0x30" number_literal < (binary_expression "uVar5 - 0x30" identifier - number_literal)) )) (goto_statement "goto LAB_0007eec0;" goto statement_identifier ;)) (expression_statement "pbVar3 = pbVar6 + 1;" (assignment_expression "pbVar3 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar6 + 1 != pbVar9 + 9)" ( (binary_expression "pbVar6 + 1 != pbVar9 + 9" (binary_expression "pbVar6 + 1" identifier + number_literal) != (binary_expression "pbVar9 + 9" identifier + number_literal)) )) ;) (expression_statement "uVar5 = (uint)pbVar6[1];" (assignment_expression "uVar5 = (uint)pbVar6[1]" identifier = (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) ;) })) (labeled_statement "LAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" statement_identifier : (if_statement "if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" { (if_statement "if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;" if (parenthesized_expression "(*(int *)(param_1 + 8) != 1)" ( (binary_expression "*(int *)(param_1 + 8) != 1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0007ede8;" goto statement_identifier ;)) (expression_statement "*(byte **)(param_1 + 0x14) = pbVar9;" (assignment_expression "*(byte **)(param_1 + 0x14) = pbVar9" (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*param_1 = '\x11';" (assignment_expression "*param_1 = '\x11'" (pointer_expression "*param_1" * identifier) = (char_literal "'\x11'" ' escape_sequence ')) ;) (goto_statement "goto LAB_0007ee28;" goto statement_identifier ;) }))) (expression_statement "iVar4 = (*(code *)puVar8)(pbVar9,0,10);" (assignment_expression "iVar4 = (*(code *)puVar8)(pbVar9,0,10)" identifier = (call_expression "(*(code *)puVar8)(pbVar9,0,10)" (parenthesized_expression "(*(code *)puVar8)" ( (pointer_expression "*(code *)puVar8" * (cast_expression "(code *)puVar8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar9,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" if (parenthesized_expression "((**(int **)puVar7 == 0) && (-1 < iVar4))" ( (binary_expression "(**(int **)puVar7 == 0) && (-1 < iVar4)" (parenthesized_expression "(**(int **)puVar7 == 0)" ( (binary_expression "**(int **)puVar7 == 0" (pointer_expression "**(int **)puVar7" * (pointer_expression "*(int **)puVar7" * (cast_expression "(int **)puVar7" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == number_literal) )) && (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) ))) )) (compound_statement "{\n        *(int *)(param_1 + 0xc) = iVar4;\n      }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar4;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" else (compound_statement "{\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" { (if_statement "if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }" if (parenthesized_expression "((*pbVar9 != 0x2d) || (pbVar9[1] != 0))" ( (binary_expression "(*pbVar9 != 0x2d) || (pbVar9[1] != 0)" (parenthesized_expression "(*pbVar9 != 0x2d)" ( (binary_expression "*pbVar9 != 0x2d" (pointer_expression "*pbVar9" * identifier) != number_literal) )) || (parenthesized_expression "(pbVar9[1] != 0)" ( (binary_expression "pbVar9[1] != 0" (subscript_expression "pbVar9[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }" { (expression_statement "puVar8 = PTR_UINT_0012a18c + 0x7e54;" (assignment_expression "puVar8 = PTR_UINT_0012a18c + 0x7e54" identifier = (binary_expression "PTR_UINT_0012a18c + 0x7e54" identifier + number_literal)) ;) (expression_statement "puVar7 = PTR_UINT_0012a18c + 0x78f0;" (assignment_expression "puVar7 = PTR_UINT_0012a18c + 0x78f0" identifier = (binary_expression "PTR_UINT_0012a18c + 0x78f0" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);" (assignment_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" (pointer_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" * (cast_expression "(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x5ff0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x5ff0)" ( (binary_expression "PTR_DAT_0012a178 + -0x5ff0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_0006ee68(puVar7,puVar8);" (call_expression "FUN_0006ee68(puVar7,puVar8)" identifier (argument_list "(puVar7,puVar8)" ( identifier , identifier ))) ;) })) (expression_statement "param_1[0xc] = -1;" (assignment_expression "param_1[0xc] = -1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xd] = -1;" (assignment_expression "param_1[0xd] = -1" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xe] = -1;" (assignment_expression "param_1[0xe] = -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xf] = -1;" (assignment_expression "param_1[0xf] = -1" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "param_1 = *(char **)(param_1 + 4);" (assignment_expression "param_1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar2)" ( (binary_expression "local_2c != *(int *)puVar2" identifier != (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_0012b0c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (char_literal ' escape_sequence ') < IDENT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (char_literal ' escape_sequence ') < IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_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 (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) == LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0007ed2c(char *param_1)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007ed2c(char *param_1)" (identifier "FUN_0007ed2c") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  byte *pbVar3;\n  int iVar4;\n  uint uVar5;\n  byte *pbVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  byte *pbVar9;\n  int local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  puVar8 = PTR_FUN_0012a2d4;\n  puVar7 = PTR_DAT_0012a214;\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }\nLAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0012b14c" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_0012b14c")) (; ";")) (expression_statement "puVar8 = PTR_FUN_0012a2d4;" (assignment_expression "puVar8 = PTR_FUN_0012a2d4" (identifier "puVar8") (= "=") (identifier "PTR_FUN_0012a2d4")) (; ";")) (expression_statement "puVar7 = PTR_DAT_0012a214;" (assignment_expression "puVar7 = PTR_DAT_0012a214" (identifier "puVar7") (= "=") (identifier "PTR_DAT_0012a214")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0012b14c" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0012b14c")))) (; ";")) (if_statement "if (param_1 != (char *)0x0) {\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }" (if "if") (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    } while (param_1 != (char *)0x0);" (do "do") (compound_statement "{\n      while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }\n      if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }\n      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;\n      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);\n      if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }\n      pbVar9 = *(byte **)(local_34 + 4);\n      uVar5 = (uint)*pbVar9;\n      if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }\nLAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }\n      iVar4 = (*(code *)puVar8)(pbVar9,0,10);\n      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }\n      param_1 = *(char **)(param_1 + 4);\n    }" ({ "{") (while_statement "while( true ) {\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        cVar1 = *param_1;\n        local_34 = 0;\n        local_30 = &local_34;\n        if ('\x0f' < cVar1) break;\nLAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);\n        if (param_1 == (char *)0x0) goto LAB_0007ee34;\n      }" ({ "{") (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30 = &local_34;" (assignment_expression "local_30 = &local_34" (identifier "local_30") (= "=") (pointer_expression "&local_34" (& "&") (identifier "local_34"))) (; ";")) (if_statement "if ('\x0f' < cVar1) break;" (if "if") (parenthesized_expression "('\x0f' < cVar1)" (( "(") (binary_expression "'\x0f' < cVar1" (char_literal "'\x0f'" (' "'") (escape_sequence "\x0f") (' "'")) (< "<") (identifier "cVar1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0007ee28:\n        param_1 = *(char **)(param_1 + 4);" (statement_identifier "LAB_0007ee28") (: ":") (expression_statement "param_1 = *(char **)(param_1 + 4);" (assignment_expression "param_1 = *(char **)(param_1 + 4)" (identifier "param_1") (= "=") (pointer_expression "*(char **)(param_1 + 4)" (* "*") (cast_expression "(char **)(param_1 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";"))) (if_statement "if (param_1 == (char *)0x0) goto LAB_0007ee34;" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0007ee34;" (goto "goto") (statement_identifier "LAB_0007ee34") (; ";"))) (} "}"))) (if_statement "if (cVar1 < '\x16') {\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }" (if "if") (parenthesized_expression "(cVar1 < '\x16')" (( "(") (binary_expression "cVar1 < '\x16'" (identifier "cVar1") (< "<") (char_literal "'\x16'" (' "'") (escape_sequence "\x16") (' "'"))) () ")")) (compound_statement "{\n        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);\n        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);\n        goto LAB_0007ee28;\n      }" ({ "{") (expression_statement "FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);" (call_expression "FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10)" (identifier "FUN_0007b0b0") (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),\n                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10)" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x10) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) + 8" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x10) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) + 0xc" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "10") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4)" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(local_34 + 4)" (* "*") (cast_expression "(undefined4 *)(local_34 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_34 + 4)" (( "(") (binary_expression "local_34 + 4" (identifier "local_34") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (goto_statement "goto LAB_0007ee28;" (goto "goto") (statement_identifier "LAB_0007ee28") (; ";")) (} "}"))) (if_statement "if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;" (if "if") (parenthesized_expression "(('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0))" (( "(") (binary_expression "('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)" (parenthesized_expression "('\x17' < cVar1)" (( "(") (binary_expression "'\x17' < cVar1" (char_literal "'\x17'" (' "'") (escape_sequence "\x17") (' "'")) (< "<") (identifier "cVar1")) () ")")) (|| "||") (parenthesized_expression "(iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)" (( "(") (comma_expression "iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0" (assignment_expression "iVar4 = *(int *)(param_1 + 0x10)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0007ee28;" (goto "goto") (statement_identifier "LAB_0007ee28") (; ";"))) (expression_statement "FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);" (call_expression "FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3)" (identifier "FUN_0007b0b0") (argument_list "(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3)" (( "(") (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "3") () ")"))) (; ";")) (if_statement "if (local_34 == 0) {\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }" (if "if") (parenthesized_expression "(local_34 == 0)" (( "(") (binary_expression "local_34 == 0" (identifier "local_34") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);\n      }" ({ "{") (labeled_statement "LAB_0007ede8:\n                    \n        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);" (statement_identifier "LAB_0007ede8") (: ":") (expression_statement "FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);" (call_expression "FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48)" (identifier "FUN_0006ee68") (argument_list "(PTR_UINT_0012a18c + 0x7e48)" (( "(") (binary_expression "PTR_UINT_0012a18c + 0x7e48" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "0x7e48")) () ")"))) (; ";"))) (} "}"))) (expression_statement "pbVar9 = *(byte **)(local_34 + 4);" (assignment_expression "pbVar9 = *(byte **)(local_34 + 4)" (identifier "pbVar9") (= "=") (pointer_expression "*(byte **)(local_34 + 4)" (* "*") (cast_expression "(byte **)(local_34 + 4)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_34 + 4)" (( "(") (binary_expression "local_34 + 4" (identifier "local_34") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar5 = (uint)*pbVar9;" (assignment_expression "uVar5 = (uint)*pbVar9" (identifier "uVar5") (= "=") (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar9"))) (; ";")) (if_statement "if (uVar5 - 0x30 < 10) {\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }" (if "if") (parenthesized_expression "(uVar5 - 0x30 < 10)" (( "(") (binary_expression "uVar5 - 0x30 < 10" (binary_expression "uVar5 - 0x30" (identifier "uVar5") (- "-") (number_literal "0x30")) (< "<") (number_literal "10")) () ")")) (compound_statement "{\n        pbVar3 = pbVar9 + 1;\n        do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);\n        uVar5 = (uint)pbVar6[1];\n      }" ({ "{") (expression_statement "pbVar3 = pbVar9 + 1;" (assignment_expression "pbVar3 = pbVar9 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        } while (pbVar6 + 1 != pbVar9 + 9);" (do "do") (compound_statement "{\n          pbVar6 = pbVar3;\n          uVar5 = (uint)*pbVar6;\n          if (9 < uVar5 - 0x30) goto LAB_0007eec0;\n          pbVar3 = pbVar6 + 1;\n        }" ({ "{") (expression_statement "pbVar6 = pbVar3;" (assignment_expression "pbVar6 = pbVar3" (identifier "pbVar6") (= "=") (identifier "pbVar3")) (; ";")) (expression_statement "uVar5 = (uint)*pbVar6;" (assignment_expression "uVar5 = (uint)*pbVar6" (identifier "uVar5") (= "=") (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar6"))) (; ";")) (if_statement "if (9 < uVar5 - 0x30) goto LAB_0007eec0;" (if "if") (parenthesized_expression "(9 < uVar5 - 0x30)" (( "(") (binary_expression "9 < uVar5 - 0x30" (number_literal "9") (< "<") (binary_expression "uVar5 - 0x30" (identifier "uVar5") (- "-") (number_literal "0x30"))) () ")")) (goto_statement "goto LAB_0007eec0;" (goto "goto") (statement_identifier "LAB_0007eec0") (; ";"))) (expression_statement "pbVar3 = pbVar6 + 1;" (assignment_expression "pbVar3 = pbVar6 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar6 + 1 != pbVar9 + 9)" (( "(") (binary_expression "pbVar6 + 1 != pbVar9 + 9" (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1")) (!= "!=") (binary_expression "pbVar9 + 9" (identifier "pbVar9") (+ "+") (number_literal "9"))) () ")")) (; ";")) (expression_statement "uVar5 = (uint)pbVar6[1];" (assignment_expression "uVar5 = (uint)pbVar6[1]" (identifier "uVar5") (= "=") (cast_expression "(uint)pbVar6[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))) (labeled_statement "LAB_0007eec0:\n      if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" (statement_identifier "LAB_0007eec0") (: ":") (if_statement "if (uVar5 != 0) {\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;\n        *(byte **)(param_1 + 0x14) = pbVar9;\n        *param_1 = '\x11';\n        goto LAB_0007ee28;\n      }" ({ "{") (if_statement "if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) != 1)" (( "(") (binary_expression "*(int *)(param_1 + 8) != 1" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "1")) () ")")) (goto_statement "goto LAB_0007ede8;" (goto "goto") (statement_identifier "LAB_0007ede8") (; ";"))) (expression_statement "*(byte **)(param_1 + 0x14) = pbVar9;" (assignment_expression "*(byte **)(param_1 + 0x14) = pbVar9" (pointer_expression "*(byte **)(param_1 + 0x14)" (* "*") (cast_expression "(byte **)(param_1 + 0x14)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "pbVar9")) (; ";")) (expression_statement "*param_1 = '\x11';" (assignment_expression "*param_1 = '\x11'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (char_literal "'\x11'" (' "'") (escape_sequence "\x11") (' "'"))) (; ";")) (goto_statement "goto LAB_0007ee28;" (goto "goto") (statement_identifier "LAB_0007ee28") (; ";")) (} "}")))) (expression_statement "iVar4 = (*(code *)puVar8)(pbVar9,0,10);" (assignment_expression "iVar4 = (*(code *)puVar8)(pbVar9,0,10)" (identifier "iVar4") (= "=") (call_expression "(*(code *)puVar8)(pbVar9,0,10)" (parenthesized_expression "(*(code *)puVar8)" (( "(") (pointer_expression "*(code *)puVar8" (* "*") (cast_expression "(code *)puVar8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) () ")")) (argument_list "(pbVar9,0,10)" (( "(") (identifier "pbVar9") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (if_statement "if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {\n        *(int *)(param_1 + 0xc) = iVar4;\n      }\n      else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" (if "if") (parenthesized_expression "((**(int **)puVar7 == 0) && (-1 < iVar4))" (( "(") (binary_expression "(**(int **)puVar7 == 0) && (-1 < iVar4)" (parenthesized_expression "(**(int **)puVar7 == 0)" (( "(") (binary_expression "**(int **)puVar7 == 0" (pointer_expression "**(int **)puVar7" (* "*") (pointer_expression "*(int **)puVar7" (* "*") (cast_expression "(int **)puVar7" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar7")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")"))) () ")")) (compound_statement "{\n        *(int *)(param_1 + 0xc) = iVar4;\n      }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc) = iVar4;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar4" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (} "}")) (else_clause "else {\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" (else "else") (compound_statement "{\n        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }\n        param_1[0xc] = -1;\n        param_1[0xd] = -1;\n        param_1[0xe] = -1;\n        param_1[0xf] = -1;\n      }" ({ "{") (if_statement "if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }" (if "if") (parenthesized_expression "((*pbVar9 != 0x2d) || (pbVar9[1] != 0))" (( "(") (binary_expression "(*pbVar9 != 0x2d) || (pbVar9[1] != 0)" (parenthesized_expression "(*pbVar9 != 0x2d)" (( "(") (binary_expression "*pbVar9 != 0x2d" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (!= "!=") (number_literal "0x2d")) () ")")) (|| "||") (parenthesized_expression "(pbVar9[1] != 0)" (( "(") (binary_expression "pbVar9[1] != 0" (subscript_expression "pbVar9[1]" (identifier "pbVar9") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          puVar8 = PTR_UINT_0012a18c + 0x7e54;\n          puVar7 = PTR_UINT_0012a18c + 0x78f0;\n                    \n          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);\n          FUN_0006ee68(puVar7,puVar8);\n        }" ({ "{") (expression_statement "puVar8 = PTR_UINT_0012a18c + 0x7e54;" (assignment_expression "puVar8 = PTR_UINT_0012a18c + 0x7e54" (identifier "puVar8") (= "=") (binary_expression "PTR_UINT_0012a18c + 0x7e54" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "0x7e54"))) (; ";")) (expression_statement "puVar7 = PTR_UINT_0012a18c + 0x78f0;" (assignment_expression "puVar7 = PTR_UINT_0012a18c + 0x78f0" (identifier "puVar7") (= "=") (binary_expression "PTR_UINT_0012a18c + 0x78f0" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "0x78f0"))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);" (assignment_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =\n               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" (pointer_expression "*(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc)" (( "(") (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" (* "*") (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ash_ptr_to_globals_misc_0012a84c"))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4)" (( "(") (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x5ff0)" (* "*") (cast_expression "(int *)(PTR_DAT_0012a178 + -0x5ff0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0012a178 + -0x5ff0)" (( "(") (binary_expression "PTR_DAT_0012a178 + -0x5ff0" (identifier "PTR_DAT_0012a178") (+ "+") (number_literal "-0x5ff0")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "FUN_0006ee68(puVar7,puVar8);" (call_expression "FUN_0006ee68(puVar7,puVar8)" (identifier "FUN_0006ee68") (argument_list "(puVar7,puVar8)" (( "(") (identifier "puVar7") (, ",") (identifier "puVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[0xc] = -1;" (assignment_expression "param_1[0xc] = -1" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "param_1[0xd] = -1;" (assignment_expression "param_1[0xd] = -1" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "param_1[0xe] = -1;" (assignment_expression "param_1[0xe] = -1" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "param_1[0xf] = -1;" (assignment_expression "param_1[0xf] = -1" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "-1")) (; ";")) (} "}")))) (expression_statement "param_1 = *(char **)(param_1 + 4);" (assignment_expression "param_1 = *(char **)(param_1 + 4)" (identifier "param_1") (= "=") (pointer_expression "*(char **)(param_1 + 4)" (* "*") (cast_expression "(char **)(param_1 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0007ee34:\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" (statement_identifier "LAB_0007ee34") (: ":") (if_statement "if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" (if "if") (parenthesized_expression "(local_2c != *(int *)puVar2)" (( "(") (binary_expression "local_2c != *(int *)puVar2" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_0012b0c8)();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR___stack_chk_fail_0012b0c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0012b0c8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1)

{
  char var_2;
  type_2 *puVar2;
  type_2 *puVar3;
  type_3 *pbVar4;
  int var_12;
  type_1 *var_4;
  type_4 var_8;
  int var_10;
  type_3 *var_9;
  char *msg;
  type_2 *puVar10;
  type_3 *var_7;
  type_5 fn;
  
  puVar3 = PTR___stack_chk_guard_0012b14c;
  puVar2 = PTR_bb_strtoul_0012a2d4;
  puVar10 = PTR_bb_errno_0012a214;
  var_12 = *(int *)PTR___stack_chk_guard_0012b14c;
  if (var_1 != (type_1 *)0x0) {
    do {
      while( true ) {
        var_2 = var_1->type;
        fn.list = (type_6 *)0x0;
        fn.lastp = &fn.list;
        if ('\x0f' < var_2) break;
LAB_0007ee28:
        var_1 = (type_1 *)(var_1->ncmd).linno;
        if (var_1 == (type_1 *)0x0) goto LAB_0007ee34;
      }
      if (var_2 < '\x16') {
        var_3((((var_1->ncmd).redirect)->ncmd).assign,
                  (type_5 *)(((var_1->ncmd).redirect)->narg).backquote,(int)&fn,(type_1 *)&DAT_0000000a);
        (var_1->nfile).expfname = (fn.list)->text;
        goto LAB_0007ee28;
      }
      if (('\x17' < var_2) || (var_4 = (var_1->ncmd).redirect, var_4 == (type_1 *)0x0))
      goto LAB_0007ee28;
      var_3((var_4->ncmd).assign,(type_5 *)(var_4->narg).backquote,(int)&fn,(type_1 *)0x3);
      if (fn.list == (type_6 *)0x0) {
LAB_0007ede8:
                    /* WARNING: Subroutine does not return */
        var_5(var_6 + 0x7e48);
      }
      var_7 = (type_3 *)(fn.list)->text;
      var_8 = (type_4)*var_7;
      if (var_8 - 0x30 < 10) {
        pbVar4 = var_7 + 1;
        do {
          var_9 = pbVar4;
          var_8 = (type_4)*var_9;
          if (9 < var_8 - 0x30) goto LAB_0007eec0;
          pbVar4 = var_9 + 1;
        } while (var_9 + 1 != var_7 + 9);
        var_8 = (type_4)var_9[1];
      }
LAB_0007eec0:
      if (var_8 != 0) {
        if ((var_1->ncmd).assign != (type_1 *)&DAT_00000001) goto LAB_0007ede8;
        (var_1->nfile).expfname = (char *)var_7;
        var_1->type = '\x11';
        goto LAB_0007ee28;
      }
      var_10 = (*(type_7 *)puVar2)(var_7,0,10);
      if ((**(int **)puVar10 == 0) && (-1 < var_10)) {
        (var_1->nfile)._unused_dupfd = var_10;
      }
      else {
        if ((*var_7 != 0x2d) || (var_7[1] != 0)) {
          puVar10 = var_6 + 0x7e54;
          msg = var_6 + 0x78f0;
                    /* WARNING: Subroutine does not return */
          *(type_8 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =
               *(type_8 *)(*(int *)(var_11 + -0x5ff0) + 4);
          var_5(msg,puVar10);
        }
        (var_1->nfile)._unused_dupfd = -1;
      }
      var_1 = (type_1 *)(var_1->ncmd).linno;
    } while (var_1 != (type_1 *)0x0);
  }
LAB_0007ee34:
  if (var_12 != *(int *)puVar3) {
    (*(type_7 *)PTR___stack_chk_fail_0012b0c8)();
    return;
  }
  return;
}


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

void MASKED(char *param_1)

{
  char cVar1;
  undefined *puVar2;
  byte *pbVar3;
  int iVar4;
  uint uVar5;
  byte *pbVar6;
  undefined *puVar7;
  undefined *puVar8;
  byte *pbVar9;
  int local_34;
  int *local_30;
  int local_2c;
  
  puVar2 = PTR___stack_chk_guard_0012b14c;
  puVar8 = PTR_FUN_0012a2d4;
  puVar7 = PTR_DAT_0012a214;
  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;
  if (param_1 != (char *)0x0) {
    do {
      while( true ) {
        cVar1 = *param_1;
        local_34 = 0;
        local_30 = &local_34;
        if ('\x0f' < cVar1) break;
LAB_0007ee28:
        param_1 = *(char **)(param_1 + 4);
        if (param_1 == (char *)0x0) goto LAB_0007ee34;
      }
      if (cVar1 < '\x16') {
        FUN_0007b0b0(*(undefined4 *)(*(int *)(param_1 + 0x10) + 8),
                     *(undefined4 *)(*(int *)(param_1 + 0x10) + 0xc),&local_34,10);
        *(undefined4 *)(param_1 + 0x14) = *(undefined4 *)(local_34 + 4);
        goto LAB_0007ee28;
      }
      if (('\x17' < cVar1) || (iVar4 = *(int *)(param_1 + 0x10), iVar4 == 0)) goto LAB_0007ee28;
      FUN_0007b0b0(*(undefined4 *)(iVar4 + 8),*(undefined4 *)(iVar4 + 0xc),&local_34,3);
      if (local_34 == 0) {
LAB_0007ede8:
                    /* WARNING: Subroutine does not return */
        FUN_0006ee68(PTR_UINT_0012a18c + 0x7e48);
      }
      pbVar9 = *(byte **)(local_34 + 4);
      uVar5 = (uint)*pbVar9;
      if (uVar5 - 0x30 < 10) {
        pbVar3 = pbVar9 + 1;
        do {
          pbVar6 = pbVar3;
          uVar5 = (uint)*pbVar6;
          if (9 < uVar5 - 0x30) goto LAB_0007eec0;
          pbVar3 = pbVar6 + 1;
        } while (pbVar6 + 1 != pbVar9 + 9);
        uVar5 = (uint)pbVar6[1];
      }
LAB_0007eec0:
      if (uVar5 != 0) {
        if (*(int *)(param_1 + 8) != 1) goto LAB_0007ede8;
        *(byte **)(param_1 + 0x14) = pbVar9;
        *param_1 = '\x11';
        goto LAB_0007ee28;
      }
      iVar4 = (*(code *)puVar8)(pbVar9,0,10);
      if ((**(int **)puVar7 == 0) && (-1 < iVar4)) {
        *(int *)(param_1 + 0xc) = iVar4;
      }
      else {
        if ((*pbVar9 != 0x2d) || (pbVar9[1] != 0)) {
          puVar8 = PTR_UINT_0012a18c + 0x7e54;
          puVar7 = PTR_UINT_0012a18c + 0x78f0;
                    /* WARNING: Subroutine does not return */
          *(undefined4 *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0xc) =
               *(undefined4 *)(*(int *)(PTR_DAT_0012a178 + -0x5ff0) + 4);
          FUN_0006ee68(puVar7,puVar8);
        }
        param_1[0xc] = -1;
        param_1[0xd] = -1;
        param_1[0xe] = -1;
        param_1[0xf] = -1;
      }
      param_1 = *(char **)(param_1 + 4);
    } while (param_1 != (char *)0x0);
  }
LAB_0007ee34:
  if (local_2c != *(int *)puVar2) {
    (*(code *)PTR___stack_chk_fail_0012b0c8)();
    return;
  }
  return;
}

