
int completion_glob_pattern(char *string)

{
  byte bVar1;
  char cVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  int iVar7;
  anon_union_4_2_91654ee9_for___value aVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  uint uVar12;
  char *string_00;
  byte *in_a1;
  byte *pbVar13;
  int *piVar14;
  byte *pbVar15;
  undefined *puVar16;
  mbstate_t state;
  mbstate_t state_bak;
  
  puVar6 = PTR___stack_chk_guard_001464dc;
  puVar5 = PTR_is_basic_table_00144b04;
  puVar4 = PTR_locale_mb_cur_max_00144b00;
  puVar3 = PTR_locale_utf8locale_00144afc;
  state.__count = 0;
  state.__value.__wch = 0;
  iVar9 = *(int *)PTR___stack_chk_guard_001464dc;
  iVar10 = (*(code *)PTR_strlen_00146390)();
  puVar16 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;
  iVar11 = (int)*string;
  pbVar13 = (byte *)string;
  do {
    while( true ) {
      aVar8 = state.__value;
      iVar7 = state.__count;
      pbVar15 = pbVar13 + 1;
      if (iVar11 == 0) {
        if (iVar9 == *(int *)puVar6) {
          return 0;
        }
        puVar16 = PTR___stack_chk_fail_00146488;
        (*(code *)PTR___stack_chk_fail_00146488)();
        piVar14 = *(int **)(puVar16 + 0xa7144);
        iVar10 = *piVar14;
        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {
          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);
          if ((cVar2 != ' ') && (cVar2 != '\t')) {
            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];
            if ((cVar2 != ' ') && (cVar2 != '\t')) {
              (**(code **)(puVar16 + 0xa71e8))(1,0x45);
              iVar10 = *piVar14;
            }
            iVar10 = iVar10 + 1;
            *piVar14 = iVar10;
          }
        }
        if (0 < iVar10) {
          (**(code **)(puVar16 + 0xa71ec))(1,0x42);
          iVar11 = *piVar14;
          *piVar14 = iVar10;
          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);
          if (string_00 != (char *)0x0) {
            iVar10 = completion_glob_pattern(string_00);
            if (iVar10 == 0) {
              **(undefined4 **)(puVar16 + 0xa712c) = 1;
            }
            (**(code **)(puVar16 + 0xa80e4))(string_00);
          }
        }
        if (in_a1 == (byte *)0x2a) {
          iVar9 = bash_glob_completion_internal(0x2a);
        }
        else {
          if (in_a1 == (byte *)0x3d) {
            iVar9 = bash_glob_completion_internal(0x3f);
            return iVar9;
          }
          if (in_a1 != (byte *)0x5c) {
                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */
                    /* WARNING: Treating indirect jump as call */
            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);
            return iVar9;
          }
          iVar9 = bash_glob_complete_word(iVar9,0x5c);
        }
        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);
        return iVar9;
      }
      uVar12 = iVar11 - 0x21U & 0xff;
      if (uVar12 < 0x3d) {
                    /* WARNING: Could not emulate address calculation at 0x0009e288 */
                    /* WARNING: Treating indirect jump as call */
        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))
                          ();
        return iVar9;
      }
      if (1 < *(int *)puVar4) break;
LAB_0009e330:
      iVar11 = (int)(char)pbVar13[1];
      pbVar13 = pbVar15;
    }
    bVar1 = *pbVar13;
    in_a1 = (byte *)(uint)bVar1;
    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)
    goto LAB_0009e330;
    if (((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||
       (in_a1 = pbVar13,
       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),
       1 < uVar12 + 2)) {
      if (uVar12 != 0) {
        pbVar15 = pbVar13 + uVar12;
        pbVar13 = pbVar13 + (uVar12 - 1);
      }
      goto LAB_0009e330;
    }
    iVar11 = (int)(char)pbVar13[1];
    pbVar13 = pbVar15;
    state.__count = iVar7;
    state.__value = aVar8;
  } while( true );
}



undefined4 FUN_0009e1e4(byte *param_1,byte *param_2)

{
  byte bVar1;
  char cVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  int iVar7;
  int iVar8;
  uint uVar9;
  undefined4 uVar10;
  int iVar11;
  byte *pbVar12;
  int *piVar13;
  byte *pbVar14;
  undefined *puVar15;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  int local_2c;
  
  puVar6 = PTR___stack_chk_guard_001464dc;
  puVar5 = PTR_is_basic_table_00144b04;
  puVar4 = PTR_locale_mb_cur_max_00144b00;
  puVar3 = PTR_locale_utf8locale_00144afc;
  local_3c = 0;
  local_38 = 0;
  local_2c = *(int *)PTR___stack_chk_guard_001464dc;
  iVar7 = (*(code *)PTR_strlen_00146390)();
  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;
  iVar8 = (int)(char)*param_1;
  pbVar12 = param_1;
  do {
    while( true ) {
      pbVar14 = pbVar12 + 1;
      if (iVar8 == 0) {
        if (local_2c == *(int *)puVar6) {
          return 0;
        }
        iVar7 = local_2c;
        puVar15 = PTR___stack_chk_fail_00146488;
        (*(code *)PTR___stack_chk_fail_00146488)();
        piVar13 = *(int **)(puVar15 + 0xa7144);
        iVar8 = *piVar13;
        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {
          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);
          if ((cVar2 != ' ') && (cVar2 != '\t')) {
            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];
            if ((cVar2 != ' ') && (cVar2 != '\t')) {
              (**(code **)(puVar15 + 0xa71e8))(1,0x45);
              iVar8 = *piVar13;
            }
            iVar8 = iVar8 + 1;
            *piVar13 = iVar8;
          }
        }
        if (0 < iVar8) {
          (**(code **)(puVar15 + 0xa71ec))(1,0x42);
          iVar11 = *piVar13;
          *piVar13 = iVar8;
          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);
          if (iVar8 != 0) {
            iVar11 = FUN_0009e1e4(iVar8);
            if (iVar11 == 0) {
              **(undefined4 **)(puVar15 + 0xa712c) = 1;
            }
            (**(code **)(puVar15 + 0xa80e4))(iVar8);
          }
        }
        if (param_2 == (byte *)0x2a) {
          uVar10 = FUN_0009c1cc(0x2a);
        }
        else {
          if (param_2 == (byte *)0x3d) {
            uVar10 = FUN_0009c1cc(0x3f);
            return uVar10;
          }
          if (param_2 != (byte *)0x5c) {
                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */
                    /* WARNING: Treating indirect jump as call */
            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);
            return uVar10;
          }
          uVar10 = FUN_0009c8f4(iVar7,0x5c);
        }
        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);
        return uVar10;
      }
      uVar9 = iVar8 - 0x21U & 0xff;
      if (uVar9 < 0x3d) {
                    /* WARNING: Could not emulate address calculation at 0x0009e288 */
                    /* WARNING: Treating indirect jump as call */
        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();
        return uVar10;
      }
      if (1 < *(int *)puVar4) break;
LAB_0009e330:
      iVar8 = (int)(char)pbVar12[1];
      pbVar12 = pbVar14;
    }
    bVar1 = *pbVar12;
    param_2 = (byte *)(uint)bVar1;
    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)
    goto LAB_0009e330;
    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {
LAB_0009e388:
      if (uVar9 != 0) {
        pbVar14 = pbVar12 + uVar9;
        pbVar12 = pbVar12 + (uVar9 - 1);
      }
      goto LAB_0009e330;
    }
    local_34 = local_3c;
    local_30 = local_38;
    param_2 = pbVar12;
    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);
    if (1 < uVar9 + 2) goto LAB_0009e388;
    local_3c = local_34;
    iVar8 = (int)(char)pbVar12[1];
    local_38 = local_30;
    pbVar12 = pbVar14;
  } while( true );
}


lui gp,0xb
addiu gp,gp,-0x1ca4
addu gp,gp,t9
addiu sp,sp,-0x60
lw t9,-0x61b0(gp)
sw s5,0x4c(sp)
sw s7,0x54(sp)
addiu s7,sp,0x24
lw s5,-0x6064(gp)
sw gp,0x10(sp)
sw s8,0x58(sp)
sw s6,0x50(sp)
or s6,zero,zero
sw s4,0x48(sp)
sw s2,0x40(sp)
sw s1,0x3c(sp)
sw s0,0x38(sp)
or s0,a0,zero
sw ra,0x5c(sp)
sw s3,0x44(sp)
sw zero,0x24(sp)
sw zero,0x4(s7)
lw v0,0x0(s5)
lw s8,-0x7a40(gp)
lw s1,-0x7a3c(gp)
lw s2,-0x7a44(gp)
sw v0,0x34(sp)
jalr t9
_nop
lw gp,0x10(sp)
addu t0,s0,v0
lb v0,0x0(s0)
lw s4,-0x7aac(gp)
addiu s4,s4,-0x6a30
beq v0,zero,0x0009e2a0
_addiu s3,s0,0x1
addiu v0,v0,-0x21
andi v0,v0,0xff
sltiu v1,v0,0x3d
beq v1,zero,0x0009e2f0
_sll v0,v0,0x2
addu v0,s4,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
li v0,0x1
lw a0,0x34(sp)
lw v1,0x0(s5)
bne a0,v1,0x0009e40c
_lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
lb v0,0x1(s0)
beq v0,zero,0x0009e404
_addiu v1,s0,0x2
or s0,s3,zero
or s3,v1,zero
lw v0,0x0(s8)
slti v0,v0,0x2
bne v0,zero,0x0009e32c
_or v0,s0,zero
lb a0,-0x1(s3)
andi a1,a0,0xff
srl v1,a1,0x5
sll v1,v1,0x2
addu v1,s1,v1
lw v0,0x0(v1)
srlv v0,v0,a1
andi v0,v0,0x1
beq v0,zero,0x0009e374
_nop
or v0,s0,zero
or s0,s3,zero
b 0x0009e26c
_lb v0,0x1(v0)
bne s6,zero,0x0009e29c
_nop
lb v0,0x1(s0)
b 0x0009e26c
_or s0,s3,zero
lb v0,0x1(s0)
addiu s6,s6,0x1
b 0x0009e26c
_or s0,s3,zero
lb v0,0x1(s0)
li v1,0x28
beq v0,v1,0x0009e29c
_or s0,s3,zero
b 0x0009e26c
_nop
lw v0,0x0(s2)
beq v0,zero,0x0009e3a8
_lw v0,0x24(sp)
bltz a0,0x0009e3a4
_sltu v0,zero,a0
beq v0,zero,0x0009e328
_addiu v1,v0,-0x1
addu s3,s0,v0
addu s0,s0,v1
or v0,s0,zero
b 0x0009e330
_or s0,s3,zero
lw v0,0x24(sp)
subu a2,t0,s0
lw t9,-0x6138(gp)
or a0,zero,zero
sw t0,0x1c(sp)
or a3,s7,zero
sw v0,0x2c(sp)
or a1,s0,zero
lw v0,0x28(sp)
jalr t9
_sw v0,0x30(sp)
addiu v1,v0,0x2
lw gp,0x10(sp)
sltiu v1,v1,0x2
beq v1,zero,0x0009e388
_lw t0,0x1c(sp)
lw v1,0x2c(sp)
or v0,s0,zero
or s0,s3,zero
lb v0,0x1(v0)
sw v1,0x24(sp)
lw v1,0x30(sp)
b 0x0009e26c
_sw v1,0x28(sp)
b 0x0009e2a0
_or v0,zero,zero
lw t9,-0x60b8(gp)
jalr t9
_nop
lui gp,0xb
addiu gp,gp,-0x1ed8
addu gp,gp,t9
addiu sp,sp,-0x30
lw v0,-0x6fe8(gp)
sw s2,0x24(sp)
sw s0,0x1c(sp)
lw s2,-0x6fe4(gp)
lw v0,0x0(v0)
sw gp,0x10(sp)
sw s3,0x28(sp)
or s3,a0,zero
sw s1,0x20(sp)
sw ra,0x2c(sp)
lw s0,0x0(s2)
slt v0,s0,v0
beq v0,zero,0x0009e4b8
_or s1,a1,zero
lw v0,-0x6ff8(gp)
li a0,0x20
lw v0,0x0(v0)
addu v0,v0,s0
lb v1,0x0(v0)
beq v1,a0,0x0009e4b8
_li a1,0x9
beq v1,a1,0x0009e4b8
_nop
lb v0,0x1(v0)
beq v0,a0,0x0009e4b0
_nop
beq v0,a1,0x0009e4b4
_addiu s0,s0,0x1
lw t9,-0x6f40(gp)
li a1,0x45
jalr t9
_li a0,0x1
lw gp,0x10(sp)
lw s0,0x0(s2)
addiu s0,s0,0x1
sw s0,0x0(s2)
bgtz s0,0x0009e554
_lw t9,-0x6f3c(gp)
li v0,0x2a
beq s1,v0,0x0009e5cc
_lw t9,-0x70e0(gp)
li v0,0x3d
beq s1,v0,0x0009e5e4
_li v0,0x5c
beq s1,v0,0x0009e504
_lw ra,0x2c(sp)
or a1,s1,zero
lw s3,0x28(sp)
or a0,zero,zero
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x6f38(gp)
jr t9
_addiu sp,sp,0x30
lw t9,-0x70e0(gp)
li a1,0x5c
addiu t9,t9,-0x370c
bal 0x0009c8f4
_or a0,s3,zero
lw gp,0x10(sp)
or s0,v0,zero
lw t9,-0x6f34(gp)
li a2,0x1
li a1,0x1
jalr t9
_or a0,s1,zero
or v0,s0,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
li a1,0x42
jalr t9
_li a0,0x1
or a2,s0,zero
lw gp,0x10(sp)
lw a1,0x0(s2)
sw s0,0x0(s2)
lw v0,-0x6ff8(gp)
lw t9,-0x7c38(gp)
bal 0x000a3b24
_lw a0,0x0(v0)
lw gp,0x10(sp)
beq v0,zero,0x0009e4c0
_or s0,v0,zero
lw t9,-0x70e0(gp)
addiu t9,t9,-0x1e1c
bal 0x0009e1e4
_or a0,v0,zero
bne v0,zero,0x0009e5b0
_lw gp,0x10(sp)
lw v0,-0x6ffc(gp)
li v1,0x1
sw v1,0x0(v0)
lw t9,-0x6044(gp)
jalr t9
_or a0,s0,zero
li v0,0x2a
bne s1,v0,0x0009e4cc
_lw gp,0x10(sp)
lw t9,-0x70e0(gp)
addiu t9,t9,-0x3e34
bal 0x0009c1cc
_li a0,0x2a
lw gp,0x10(sp)
b 0x0009e520
_or s0,v0,zero
lw t9,-0x70e0(gp)
li a0,0x3f
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
addiu t9,t9,-0x3e34
lw s1,0x20(sp)
lw s0,0x1c(sp)
b 0x0009c1cc
_addiu sp,sp,0x30
(translation_unit "undefined4 FUN_0009e1e4(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_0009e1e4(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}" type_identifier (function_declarator "FUN_0009e1e4(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar6 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar5 = PTR_is_basic_table_00144b04;" (assignment_expression "puVar5 = PTR_is_basic_table_00144b04" identifier = identifier) ;) (expression_statement "puVar4 = PTR_locale_mb_cur_max_00144b00;" (assignment_expression "puVar4 = PTR_locale_mb_cur_max_00144b00" identifier = identifier) ;) (expression_statement "puVar3 = PTR_locale_utf8locale_00144afc;" (assignment_expression "puVar3 = PTR_locale_utf8locale_00144afc" identifier = identifier) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)()" identifier = (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;" (assignment_expression "puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94" identifier = identifier) ;) (expression_statement "iVar8 = (int)(char)*param_1;" (assignment_expression "iVar8 = (int)(char)*param_1" identifier = (cast_expression "(int)(char)*param_1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*param_1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "pbVar12 = param_1;" (assignment_expression "pbVar12 = param_1" identifier = identifier) ;) (do_statement "do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );" do (compound_statement "{\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  }" { (while_statement "while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }" { (expression_statement "pbVar14 = pbVar12 + 1;" (assignment_expression "pbVar14 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }" { (if_statement "if (local_2c == *(int *)puVar6) {\n          return 0;\n        }" if (parenthesized_expression "(local_2c == *(int *)puVar6)" ( (binary_expression "local_2c == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar13 = *(int **)(puVar15 + 0xa7144);" (assignment_expression "piVar13 = *(int **)(puVar15 + 0xa7144)" identifier = (pointer_expression "*(int **)(puVar15 + 0xa7144)" * (cast_expression "(int **)(puVar15 + 0xa7144)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7144)" ( (binary_expression "puVar15 + 0xa7144" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *piVar13;" (assignment_expression "iVar8 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (if_statement "if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }" if (parenthesized_expression "(iVar8 < **(int **)(puVar15 + 0xa7140))" ( (binary_expression "iVar8 < **(int **)(puVar15 + 0xa7140)" identifier < (pointer_expression "**(int **)(puVar15 + 0xa7140)" * (pointer_expression "*(int **)(puVar15 + 0xa7140)" * (cast_expression "(int **)(puVar15 + 0xa7140)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7140)" ( (binary_expression "puVar15 + 0xa7140" identifier + number_literal) )))))) )) (compound_statement "{\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }" { (expression_statement "cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);" (assignment_expression "cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" identifier = (pointer_expression "*(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" * (cast_expression "(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (binary_expression "**(int **)(puVar15 + 0xa7130) + iVar8" (pointer_expression "**(int **)(puVar15 + 0xa7130)" * (pointer_expression "*(int **)(puVar15 + 0xa7130)" * (cast_expression "(int **)(puVar15 + 0xa7130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7130)" ( (binary_expression "puVar15 + 0xa7130" identifier + number_literal) ))))) + identifier) ))))) ;) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }" if (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" ( (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" ( (binary_expression "cVar2 != ' '" identifier != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(cVar2 != '\t')" ( (binary_expression "cVar2 != '\t'" identifier != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }" { (expression_statement "cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];" (assignment_expression "cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1]" identifier = (subscript_expression "((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1]" (parenthesized_expression "((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))" ( (cast_expression "(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (binary_expression "**(int **)(puVar15 + 0xa7130) + iVar8" (pointer_expression "**(int **)(puVar15 + 0xa7130)" * (pointer_expression "*(int **)(puVar15 + 0xa7130)" * (cast_expression "(int **)(puVar15 + 0xa7130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7130)" ( (binary_expression "puVar15 + 0xa7130" identifier + number_literal) ))))) + identifier) ))) )) [ number_literal ])) ;) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }" if (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" ( (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" ( (binary_expression "cVar2 != ' '" identifier != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(cVar2 != '\t')" ( (binary_expression "cVar2 != '\t'" identifier != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }" { (expression_statement "(**(code **)(puVar15 + 0xa71e8))(1,0x45);" (call_expression "(**(code **)(puVar15 + 0xa71e8))(1,0x45)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71e8))" ( (pointer_expression "**(code **)(puVar15 + 0xa71e8)" * (pointer_expression "*(code **)(puVar15 + 0xa71e8)" * (cast_expression "(code **)(puVar15 + 0xa71e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71e8)" ( (binary_expression "puVar15 + 0xa71e8" identifier + number_literal) ))))) )) (argument_list "(1,0x45)" ( number_literal , number_literal ))) ;) (expression_statement "iVar8 = *piVar13;" (assignment_expression "iVar8 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" * identifier) = identifier) ;) })) })) (if_statement "if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }" { (expression_statement "(**(code **)(puVar15 + 0xa71ec))(1,0x42);" (call_expression "(**(code **)(puVar15 + 0xa71ec))(1,0x42)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71ec))" ( (pointer_expression "**(code **)(puVar15 + 0xa71ec)" * (pointer_expression "*(code **)(puVar15 + 0xa71ec)" * (cast_expression "(code **)(puVar15 + 0xa71ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71ec)" ( (binary_expression "puVar15 + 0xa71ec" identifier + number_literal) ))))) )) (argument_list "(1,0x42)" ( number_literal , number_literal ))) ;) (expression_statement "iVar11 = *piVar13;" (assignment_expression "iVar11 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" * identifier) = identifier) ;) (expression_statement "iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);" (assignment_expression "iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" identifier = (call_expression "substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" identifier (argument_list "(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" ( (pointer_expression "**(undefined4 **)(puVar15 + 0xa7130)" * (pointer_expression "*(undefined4 **)(puVar15 + 0xa7130)" * (cast_expression "(undefined4 **)(puVar15 + 0xa7130)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7130)" ( (binary_expression "puVar15 + 0xa7130" identifier + number_literal) ))))) , identifier , identifier )))) ;) (if_statement "if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }" { (expression_statement "iVar11 = FUN_0009e1e4(iVar8);" (assignment_expression "iVar11 = FUN_0009e1e4(iVar8)" identifier = (call_expression "FUN_0009e1e4(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (if_statement "if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }" { (expression_statement "**(undefined4 **)(puVar15 + 0xa712c) = 1;" (assignment_expression "**(undefined4 **)(puVar15 + 0xa712c) = 1" (pointer_expression "**(undefined4 **)(puVar15 + 0xa712c)" * (pointer_expression "*(undefined4 **)(puVar15 + 0xa712c)" * (cast_expression "(undefined4 **)(puVar15 + 0xa712c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa712c)" ( (binary_expression "puVar15 + 0xa712c" identifier + number_literal) ))))) = number_literal) ;) })) (expression_statement "(**(code **)(puVar15 + 0xa80e4))(iVar8);" (call_expression "(**(code **)(puVar15 + 0xa80e4))(iVar8)" (parenthesized_expression "(**(code **)(puVar15 + 0xa80e4))" ( (pointer_expression "**(code **)(puVar15 + 0xa80e4)" * (pointer_expression "*(code **)(puVar15 + 0xa80e4)" * (cast_expression "(code **)(puVar15 + 0xa80e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa80e4)" ( (binary_expression "puVar15 + 0xa80e4" identifier + number_literal) ))))) )) (argument_list "(iVar8)" ( identifier ))) ;) })) })) (if_statement "if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" if (parenthesized_expression "(param_2 == (byte *)0x2a)" ( (binary_expression "param_2 == (byte *)0x2a" identifier == (cast_expression "(byte *)0x2a" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar10 = FUN_0009c1cc(0x2a);\n        }" { (expression_statement "uVar10 = FUN_0009c1cc(0x2a);" (assignment_expression "uVar10 = FUN_0009c1cc(0x2a)" identifier = (call_expression "FUN_0009c1cc(0x2a)" identifier (argument_list "(0x2a)" ( number_literal )))) ;) }) (else_clause "else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" else (compound_statement "{\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" { (if_statement "if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }" if (parenthesized_expression "(param_2 == (byte *)0x3d)" ( (binary_expression "param_2 == (byte *)0x3d" identifier == (cast_expression "(byte *)0x3d" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }" { (expression_statement "uVar10 = FUN_0009c1cc(0x3f);" (assignment_expression "uVar10 = FUN_0009c1cc(0x3f)" identifier = (call_expression "FUN_0009c1cc(0x3f)" identifier (argument_list "(0x3f)" ( number_literal )))) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if (param_2 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }" if (parenthesized_expression "(param_2 != (byte *)0x5c)" ( (binary_expression "param_2 != (byte *)0x5c" identifier != (cast_expression "(byte *)0x5c" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }" { comment comment (expression_statement "uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);" (assignment_expression "uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2)" identifier = (call_expression "(**(code **)(puVar15 + 0xa71f0))(0,param_2)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71f0))" ( (pointer_expression "**(code **)(puVar15 + 0xa71f0)" * (pointer_expression "*(code **)(puVar15 + 0xa71f0)" * (cast_expression "(code **)(puVar15 + 0xa71f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71f0)" ( (binary_expression "puVar15 + 0xa71f0" identifier + number_literal) ))))) )) (argument_list "(0,param_2)" ( number_literal , identifier )))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "uVar10 = FUN_0009c8f4(iVar7,0x5c);" (assignment_expression "uVar10 = FUN_0009c8f4(iVar7,0x5c)" identifier = (call_expression "FUN_0009c8f4(iVar7,0x5c)" identifier (argument_list "(iVar7,0x5c)" ( identifier , number_literal )))) ;) }))) (expression_statement "(**(code **)(puVar15 + 0xa71f4))(param_2,1,1);" (call_expression "(**(code **)(puVar15 + 0xa71f4))(param_2,1,1)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71f4))" ( (pointer_expression "**(code **)(puVar15 + 0xa71f4)" * (pointer_expression "*(code **)(puVar15 + 0xa71f4)" * (cast_expression "(code **)(puVar15 + 0xa71f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71f4)" ( (binary_expression "puVar15 + 0xa71f4" identifier + number_literal) ))))) )) (argument_list "(param_2,1,1)" ( identifier , number_literal , number_literal ))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "uVar9 = iVar8 - 0x21U & 0xff;" (assignment_expression "uVar9 = iVar8 - 0x21U & 0xff" identifier = (binary_expression "iVar8 - 0x21U & 0xff" (binary_expression "iVar8 - 0x21U" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar9 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }" if (parenthesized_expression "(uVar9 < 0x3d)" ( (binary_expression "uVar9 < 0x3d" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }" { comment comment (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" * (cast_expression "(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" ( (binary_expression "&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(puVar15 + uVar9 * 4 + -0x6a30)" * (cast_expression "(int *)(puVar15 + uVar9 * 4 + -0x6a30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + uVar9 * 4 + -0x6a30)" ( (binary_expression "puVar15 + uVar9 * 4 + -0x6a30" (binary_expression "puVar15 + uVar9 * 4" identifier + (binary_expression "uVar9 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if (1 < *(int *)puVar4) break;" if (parenthesized_expression "(1 < *(int *)puVar4)" ( (binary_expression "1 < *(int *)puVar4" number_literal < (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];" statement_identifier : (expression_statement "iVar8 = (int)(char)pbVar12[1];" (assignment_expression "iVar8 = (int)(char)pbVar12[1]" identifier = (cast_expression "(int)(char)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)pbVar12[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ])))) ;)) (expression_statement "pbVar12 = pbVar14;" (assignment_expression "pbVar12 = pbVar14" identifier = identifier) ;) })) (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (expression_statement "param_2 = (byte *)(uint)bVar1;" (assignment_expression "param_2 = (byte *)(uint)bVar1" identifier = (cast_expression "(byte *)(uint)bVar1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;" if (parenthesized_expression "((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)" ( (binary_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0" (parenthesized_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1)" ( (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1" (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f)" (pointer_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" * (cast_expression "(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + (uint)(bVar1 >> 5) * 4)" ( (binary_expression "puVar5 + (uint)(bVar1 >> 5) * 4" identifier + (binary_expression "(uint)(bVar1 >> 5) * 4" (call_expression "(uint)(bVar1 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 >> 5)" ( (binary_expression "bVar1 >> 5" identifier >> number_literal) ))) * number_literal)) )))) >> (parenthesized_expression "((uint)param_2 & 0x1f)" ( (binary_expression "(uint)param_2 & 0x1f" (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0009e330;" goto statement_identifier ;)) (if_statement "if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }" if (parenthesized_expression "((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1))" ( (binary_expression "(*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)" (parenthesized_expression "(*(int *)puVar3 != 0)" ( (binary_expression "*(int *)puVar3 != 0" (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)" ( (comma_expression "uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1" (assignment_expression "uVar9 = (uint)(bVar1 != 0)" identifier = (call_expression "(uint)(bVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )))) , (binary_expression "-1 < (char)bVar1" number_literal < (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ))) )) (compound_statement "{\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }" { (labeled_statement "LAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" statement_identifier : (if_statement "if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" { (expression_statement "pbVar14 = pbVar12 + uVar9;" (assignment_expression "pbVar14 = pbVar12 + uVar9" identifier = (binary_expression "pbVar12 + uVar9" identifier + identifier)) ;) (expression_statement "pbVar12 = pbVar12 + (uVar9 - 1);" (assignment_expression "pbVar12 = pbVar12 + (uVar9 - 1)" identifier = (binary_expression "pbVar12 + (uVar9 - 1)" identifier + (parenthesized_expression "(uVar9 - 1)" ( (binary_expression "uVar9 - 1" identifier - number_literal) )))) ;) }))) (goto_statement "goto LAB_0009e330;" goto statement_identifier ;) })) (expression_statement "local_34 = local_3c;" (assignment_expression "local_34 = local_3c" identifier = identifier) ;) (expression_statement "local_30 = local_38;" (assignment_expression "local_30 = local_38" identifier = identifier) ;) (expression_statement "param_2 = pbVar12;" (assignment_expression "param_2 = pbVar12" identifier = identifier) ;) (expression_statement "uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);" (assignment_expression "uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" identifier = (call_expression "(*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" (parenthesized_expression "(*(code *)PTR_mbrtowc_00146408)" ( (pointer_expression "*(code *)PTR_mbrtowc_00146408" * (cast_expression "(code *)PTR_mbrtowc_00146408" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" ( number_literal , identifier , (binary_expression "param_1 + (iVar7 - (int)pbVar12)" identifier + (parenthesized_expression "(iVar7 - (int)pbVar12)" ( (binary_expression "iVar7 - (int)pbVar12" identifier - (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (pointer_expression "&local_3c" & identifier) )))) ;) (if_statement "if (1 < uVar9 + 2) goto LAB_0009e388;" if (parenthesized_expression "(1 < uVar9 + 2)" ( (binary_expression "1 < uVar9 + 2" number_literal < (binary_expression "uVar9 + 2" identifier + number_literal)) )) (goto_statement "goto LAB_0009e388;" goto statement_identifier ;)) (expression_statement "local_3c = local_34;" (assignment_expression "local_3c = local_34" identifier = identifier) ;) (expression_statement "iVar8 = (int)(char)pbVar12[1];" (assignment_expression "iVar8 = (int)(char)pbVar12[1]" identifier = (cast_expression "(int)(char)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)pbVar12[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ])))) ;) (expression_statement "local_38 = local_30;" (assignment_expression "local_38 = local_30" identifier = identifier) ;) (expression_statement "pbVar12 = pbVar14;" (assignment_expression "pbVar12 = pbVar14" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int completion_glob_pattern(char *string)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  anon_union_4_2_91654ee9_for___value aVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  char *string_00;\n  byte *in_a1;\n  byte *pbVar13;\n  int *piVar14;\n  byte *pbVar15;\n  undefined *puVar16;\n  mbstate_t state;\n  mbstate_t state_bak;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  state.__count = 0;\n  state.__value.__wch = 0;\n  iVar9 = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar10 = (*(code *)PTR_strlen_00146390)();\n  puVar16 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar11 = (int)*string;\n  pbVar13 = (byte *)string;\n  do {\n    while( true ) {\n      aVar8 = state.__value;\n      iVar7 = state.__count;\n      pbVar15 = pbVar13 + 1;\n      if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }\n      uVar12 = iVar11 - 0x21U & 0xff;\n      if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];\n      pbVar13 = pbVar15;\n    }\n    bVar1 = *pbVar13;\n    in_a1 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if (((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)) {\n      if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    iVar11 = (int)(char)pbVar13[1];\n    pbVar13 = pbVar15;\n    state.__count = iVar7;\n    state.__value = aVar8;\n  } while( true );\n}\n\n" (function_definition "int completion_glob_pattern(char *string)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  anon_union_4_2_91654ee9_for___value aVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  char *string_00;\n  byte *in_a1;\n  byte *pbVar13;\n  int *piVar14;\n  byte *pbVar15;\n  undefined *puVar16;\n  mbstate_t state;\n  mbstate_t state_bak;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  state.__count = 0;\n  state.__value.__wch = 0;\n  iVar9 = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar10 = (*(code *)PTR_strlen_00146390)();\n  puVar16 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar11 = (int)*string;\n  pbVar13 = (byte *)string;\n  do {\n    while( true ) {\n      aVar8 = state.__value;\n      iVar7 = state.__count;\n      pbVar15 = pbVar13 + 1;\n      if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }\n      uVar12 = iVar11 - 0x21U & 0xff;\n      if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];\n      pbVar13 = pbVar15;\n    }\n    bVar1 = *pbVar13;\n    in_a1 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if (((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)) {\n      if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    iVar11 = (int)(char)pbVar13[1];\n    pbVar13 = pbVar15;\n    state.__count = iVar7;\n    state.__value = aVar8;\n  } while( true );\n}" primitive_type (function_declarator "completion_glob_pattern(char *string)" identifier (parameter_list "(char *string)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  anon_union_4_2_91654ee9_for___value aVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  char *string_00;\n  byte *in_a1;\n  byte *pbVar13;\n  int *piVar14;\n  byte *pbVar15;\n  undefined *puVar16;\n  mbstate_t state;\n  mbstate_t state_bak;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  state.__count = 0;\n  state.__value.__wch = 0;\n  iVar9 = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar10 = (*(code *)PTR_strlen_00146390)();\n  puVar16 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar11 = (int)*string;\n  pbVar13 = (byte *)string;\n  do {\n    while( true ) {\n      aVar8 = state.__value;\n      iVar7 = state.__count;\n      pbVar15 = pbVar13 + 1;\n      if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }\n      uVar12 = iVar11 - 0x21U & 0xff;\n      if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];\n      pbVar13 = pbVar15;\n    }\n    bVar1 = *pbVar13;\n    in_a1 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if (((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)) {\n      if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    iVar11 = (int)(char)pbVar13[1];\n    pbVar13 = pbVar15;\n    state.__count = iVar7;\n    state.__value = aVar8;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "anon_union_4_2_91654ee9_for___value aVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "char *string_00;" primitive_type (pointer_declarator "*string_00" * identifier) ;) (declaration "byte *in_a1;" type_identifier (pointer_declarator "*in_a1" * identifier) ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "mbstate_t state;" type_identifier identifier ;) (declaration "mbstate_t state_bak;" type_identifier identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar6 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar5 = PTR_is_basic_table_00144b04;" (assignment_expression "puVar5 = PTR_is_basic_table_00144b04" identifier = identifier) ;) (expression_statement "puVar4 = PTR_locale_mb_cur_max_00144b00;" (assignment_expression "puVar4 = PTR_locale_mb_cur_max_00144b00" identifier = identifier) ;) (expression_statement "puVar3 = PTR_locale_utf8locale_00144afc;" (assignment_expression "puVar3 = PTR_locale_utf8locale_00144afc" identifier = identifier) ;) (expression_statement "state.__count = 0;" (assignment_expression "state.__count = 0" (field_expression "state.__count" identifier . field_identifier) = number_literal) ;) (expression_statement "state.__value.__wch = 0;" (assignment_expression "state.__value.__wch = 0" (field_expression "state.__value.__wch" (field_expression "state.__value" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "iVar9 = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "iVar9 = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar10 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar10 = (*(code *)PTR_strlen_00146390)()" identifier = (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar16 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;" (assignment_expression "puVar16 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94" identifier = identifier) ;) (expression_statement "iVar11 = (int)*string;" (assignment_expression "iVar11 = (int)*string" identifier = (cast_expression "(int)*string" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*string" * identifier))) ;) (expression_statement "pbVar13 = (byte *)string;" (assignment_expression "pbVar13 = (byte *)string" identifier = (cast_expression "(byte *)string" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n    while( true ) {\n      aVar8 = state.__value;\n      iVar7 = state.__count;\n      pbVar15 = pbVar13 + 1;\n      if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }\n      uVar12 = iVar11 - 0x21U & 0xff;\n      if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];\n      pbVar13 = pbVar15;\n    }\n    bVar1 = *pbVar13;\n    in_a1 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if (((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)) {\n      if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    iVar11 = (int)(char)pbVar13[1];\n    pbVar13 = pbVar15;\n    state.__count = iVar7;\n    state.__value = aVar8;\n  } while( true );" do (compound_statement "{\n    while( true ) {\n      aVar8 = state.__value;\n      iVar7 = state.__count;\n      pbVar15 = pbVar13 + 1;\n      if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }\n      uVar12 = iVar11 - 0x21U & 0xff;\n      if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];\n      pbVar13 = pbVar15;\n    }\n    bVar1 = *pbVar13;\n    in_a1 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if (((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)) {\n      if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    iVar11 = (int)(char)pbVar13[1];\n    pbVar13 = pbVar15;\n    state.__count = iVar7;\n    state.__value = aVar8;\n  }" { (while_statement "while( true ) {\n      aVar8 = state.__value;\n      iVar7 = state.__count;\n      pbVar15 = pbVar13 + 1;\n      if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }\n      uVar12 = iVar11 - 0x21U & 0xff;\n      if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];\n      pbVar13 = pbVar15;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      aVar8 = state.__value;\n      iVar7 = state.__count;\n      pbVar15 = pbVar13 + 1;\n      if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }\n      uVar12 = iVar11 - 0x21U & 0xff;\n      if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];\n      pbVar13 = pbVar15;\n    }" { (expression_statement "aVar8 = state.__value;" (assignment_expression "aVar8 = state.__value" identifier = (field_expression "state.__value" identifier . field_identifier)) ;) (expression_statement "iVar7 = state.__count;" (assignment_expression "iVar7 = state.__count" identifier = (field_expression "state.__count" identifier . field_identifier)) ;) (expression_statement "pbVar15 = pbVar13 + 1;" (assignment_expression "pbVar15 = pbVar13 + 1" identifier = (binary_expression "pbVar13 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 == 0) {\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }\n        puVar16 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar14 = *(int **)(puVar16 + 0xa7144);\n        iVar10 = *piVar14;\n        if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }\n        if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }\n        if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }\n        (**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);\n        return iVar9;\n      }" { (if_statement "if (iVar9 == *(int *)puVar6) {\n          return 0;\n        }" if (parenthesized_expression "(iVar9 == *(int *)puVar6)" ( (binary_expression "iVar9 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar16 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar16 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar14 = *(int **)(puVar16 + 0xa7144);" (assignment_expression "piVar14 = *(int **)(puVar16 + 0xa7144)" identifier = (pointer_expression "*(int **)(puVar16 + 0xa7144)" * (cast_expression "(int **)(puVar16 + 0xa7144)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa7144)" ( (binary_expression "puVar16 + 0xa7144" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (if_statement "if (iVar10 < **(int **)(puVar16 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }" if (parenthesized_expression "(iVar10 < **(int **)(puVar16 + 0xa7140))" ( (binary_expression "iVar10 < **(int **)(puVar16 + 0xa7140)" identifier < (pointer_expression "**(int **)(puVar16 + 0xa7140)" * (pointer_expression "*(int **)(puVar16 + 0xa7140)" * (cast_expression "(int **)(puVar16 + 0xa7140)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa7140)" ( (binary_expression "puVar16 + 0xa7140" identifier + number_literal) )))))) )) (compound_statement "{\n          cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }\n        }" { (expression_statement "cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10);" (assignment_expression "cVar2 = *(char *)(**(int **)(puVar16 + 0xa7130) + iVar10)" identifier = (pointer_expression "*(char *)(**(int **)(puVar16 + 0xa7130) + iVar10)" * (cast_expression "(char *)(**(int **)(puVar16 + 0xa7130) + iVar10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(puVar16 + 0xa7130) + iVar10)" ( (binary_expression "**(int **)(puVar16 + 0xa7130) + iVar10" (pointer_expression "**(int **)(puVar16 + 0xa7130)" * (pointer_expression "*(int **)(puVar16 + 0xa7130)" * (cast_expression "(int **)(puVar16 + 0xa7130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa7130)" ( (binary_expression "puVar16 + 0xa7130" identifier + number_literal) ))))) + identifier) ))))) ;) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }" if (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" ( (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" ( (binary_expression "cVar2 != ' '" identifier != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(cVar2 != '\t')" ( (binary_expression "cVar2 != '\t'" identifier != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n            cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }\n            iVar10 = iVar10 + 1;\n            *piVar14 = iVar10;\n          }" { (expression_statement "cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1];" (assignment_expression "cVar2 = ((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1]" identifier = (subscript_expression "((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))[1]" (parenthesized_expression "((char *)(**(int **)(puVar16 + 0xa7130) + iVar10))" ( (cast_expression "(char *)(**(int **)(puVar16 + 0xa7130) + iVar10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(puVar16 + 0xa7130) + iVar10)" ( (binary_expression "**(int **)(puVar16 + 0xa7130) + iVar10" (pointer_expression "**(int **)(puVar16 + 0xa7130)" * (pointer_expression "*(int **)(puVar16 + 0xa7130)" * (cast_expression "(int **)(puVar16 + 0xa7130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa7130)" ( (binary_expression "puVar16 + 0xa7130" identifier + number_literal) ))))) + identifier) ))) )) [ number_literal ])) ;) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }" if (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" ( (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" ( (binary_expression "cVar2 != ' '" identifier != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(cVar2 != '\t')" ( (binary_expression "cVar2 != '\t'" identifier != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n              (**(code **)(puVar16 + 0xa71e8))(1,0x45);\n              iVar10 = *piVar14;\n            }" { (expression_statement "(**(code **)(puVar16 + 0xa71e8))(1,0x45);" (call_expression "(**(code **)(puVar16 + 0xa71e8))(1,0x45)" (parenthesized_expression "(**(code **)(puVar16 + 0xa71e8))" ( (pointer_expression "**(code **)(puVar16 + 0xa71e8)" * (pointer_expression "*(code **)(puVar16 + 0xa71e8)" * (cast_expression "(code **)(puVar16 + 0xa71e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa71e8)" ( (binary_expression "puVar16 + 0xa71e8" identifier + number_literal) ))))) )) (argument_list "(1,0x45)" ( number_literal , number_literal ))) ;) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) })) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*piVar14 = iVar10;" (assignment_expression "*piVar14 = iVar10" (pointer_expression "*piVar14" * identifier) = identifier) ;) })) })) (if_statement "if (0 < iVar10) {\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n          (**(code **)(puVar16 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar14;\n          *piVar14 = iVar10;\n          string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);\n          if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }\n        }" { (expression_statement "(**(code **)(puVar16 + 0xa71ec))(1,0x42);" (call_expression "(**(code **)(puVar16 + 0xa71ec))(1,0x42)" (parenthesized_expression "(**(code **)(puVar16 + 0xa71ec))" ( (pointer_expression "**(code **)(puVar16 + 0xa71ec)" * (pointer_expression "*(code **)(puVar16 + 0xa71ec)" * (cast_expression "(code **)(puVar16 + 0xa71ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa71ec)" ( (binary_expression "puVar16 + 0xa71ec" identifier + number_literal) ))))) )) (argument_list "(1,0x42)" ( number_literal , number_literal ))) ;) (expression_statement "iVar11 = *piVar14;" (assignment_expression "iVar11 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "*piVar14 = iVar10;" (assignment_expression "*piVar14 = iVar10" (pointer_expression "*piVar14" * identifier) = identifier) ;) (expression_statement "string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10);" (assignment_expression "string_00 = substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10)" identifier = (call_expression "substring((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10)" identifier (argument_list "((char *)**(undefined4 **)(puVar16 + 0xa7130),iVar11,iVar10)" ( (cast_expression "(char *)**(undefined4 **)(puVar16 + 0xa7130)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar16 + 0xa7130)" * (pointer_expression "*(undefined4 **)(puVar16 + 0xa7130)" * (cast_expression "(undefined4 **)(puVar16 + 0xa7130)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa7130)" ( (binary_expression "puVar16 + 0xa7130" identifier + number_literal) )))))) , identifier , identifier )))) ;) (if_statement "if (string_00 != (char *)0x0) {\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }" if (parenthesized_expression "(string_00 != (char *)0x0)" ( (binary_expression "string_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar10 = completion_glob_pattern(string_00);\n            if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar16 + 0xa80e4))(string_00);\n          }" { (expression_statement "iVar10 = completion_glob_pattern(string_00);" (assignment_expression "iVar10 = completion_glob_pattern(string_00)" identifier = (call_expression "completion_glob_pattern(string_00)" identifier (argument_list "(string_00)" ( identifier )))) ;) (if_statement "if (iVar10 == 0) {\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n              **(undefined4 **)(puVar16 + 0xa712c) = 1;\n            }" { (expression_statement "**(undefined4 **)(puVar16 + 0xa712c) = 1;" (assignment_expression "**(undefined4 **)(puVar16 + 0xa712c) = 1" (pointer_expression "**(undefined4 **)(puVar16 + 0xa712c)" * (pointer_expression "*(undefined4 **)(puVar16 + 0xa712c)" * (cast_expression "(undefined4 **)(puVar16 + 0xa712c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa712c)" ( (binary_expression "puVar16 + 0xa712c" identifier + number_literal) ))))) = number_literal) ;) })) (expression_statement "(**(code **)(puVar16 + 0xa80e4))(string_00);" (call_expression "(**(code **)(puVar16 + 0xa80e4))(string_00)" (parenthesized_expression "(**(code **)(puVar16 + 0xa80e4))" ( (pointer_expression "**(code **)(puVar16 + 0xa80e4)" * (pointer_expression "*(code **)(puVar16 + 0xa80e4)" * (cast_expression "(code **)(puVar16 + 0xa80e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa80e4)" ( (binary_expression "puVar16 + 0xa80e4" identifier + number_literal) ))))) )) (argument_list "(string_00)" ( identifier ))) ;) })) })) (if_statement "if (in_a1 == (byte *)0x2a) {\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }\n        else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }" if (parenthesized_expression "(in_a1 == (byte *)0x2a)" ( (binary_expression "in_a1 == (byte *)0x2a" identifier == (cast_expression "(byte *)0x2a" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar9 = bash_glob_completion_internal(0x2a);\n        }" { (expression_statement "iVar9 = bash_glob_completion_internal(0x2a);" (assignment_expression "iVar9 = bash_glob_completion_internal(0x2a)" identifier = (call_expression "bash_glob_completion_internal(0x2a)" identifier (argument_list "(0x2a)" ( number_literal )))) ;) }) (else_clause "else {\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }" else (compound_statement "{\n          if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }\n          if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }\n          iVar9 = bash_glob_complete_word(iVar9,0x5c);\n        }" { (if_statement "if (in_a1 == (byte *)0x3d) {\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }" if (parenthesized_expression "(in_a1 == (byte *)0x3d)" ( (binary_expression "in_a1 == (byte *)0x3d" identifier == (cast_expression "(byte *)0x3d" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar9 = bash_glob_completion_internal(0x3f);\n            return iVar9;\n          }" { (expression_statement "iVar9 = bash_glob_completion_internal(0x3f);" (assignment_expression "iVar9 = bash_glob_completion_internal(0x3f)" identifier = (call_expression "bash_glob_completion_internal(0x3f)" identifier (argument_list "(0x3f)" ( number_literal )))) ;) (return_statement "return iVar9;" return identifier ;) })) (if_statement "if (in_a1 != (byte *)0x5c) {\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }" if (parenthesized_expression "(in_a1 != (byte *)0x5c)" ( (binary_expression "in_a1 != (byte *)0x5c" identifier != (cast_expression "(byte *)0x5c" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n            iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);\n            return iVar9;\n          }" { comment comment (expression_statement "iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1);" (assignment_expression "iVar9 = (**(code **)(puVar16 + 0xa71f0))(0,in_a1)" identifier = (call_expression "(**(code **)(puVar16 + 0xa71f0))(0,in_a1)" (parenthesized_expression "(**(code **)(puVar16 + 0xa71f0))" ( (pointer_expression "**(code **)(puVar16 + 0xa71f0)" * (pointer_expression "*(code **)(puVar16 + 0xa71f0)" * (cast_expression "(code **)(puVar16 + 0xa71f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa71f0)" ( (binary_expression "puVar16 + 0xa71f0" identifier + number_literal) ))))) )) (argument_list "(0,in_a1)" ( number_literal , identifier )))) ;) (return_statement "return iVar9;" return identifier ;) })) (expression_statement "iVar9 = bash_glob_complete_word(iVar9,0x5c);" (assignment_expression "iVar9 = bash_glob_complete_word(iVar9,0x5c)" identifier = (call_expression "bash_glob_complete_word(iVar9,0x5c)" identifier (argument_list "(iVar9,0x5c)" ( identifier , number_literal )))) ;) }))) (expression_statement "(**(code **)(puVar16 + 0xa71f4))(in_a1,1,1);" (call_expression "(**(code **)(puVar16 + 0xa71f4))(in_a1,1,1)" (parenthesized_expression "(**(code **)(puVar16 + 0xa71f4))" ( (pointer_expression "**(code **)(puVar16 + 0xa71f4)" * (pointer_expression "*(code **)(puVar16 + 0xa71f4)" * (cast_expression "(code **)(puVar16 + 0xa71f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0xa71f4)" ( (binary_expression "puVar16 + 0xa71f4" identifier + number_literal) ))))) )) (argument_list "(in_a1,1,1)" ( identifier , number_literal , number_literal ))) ;) (return_statement "return iVar9;" return identifier ;) })) (expression_statement "uVar12 = iVar11 - 0x21U & 0xff;" (assignment_expression "uVar12 = iVar11 - 0x21U & 0xff" identifier = (binary_expression "iVar11 - 0x21U & 0xff" (binary_expression "iVar11 - 0x21U" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar12 < 0x3d) {\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }" if (parenthesized_expression "(uVar12 < 0x3d)" ( (binary_expression "uVar12 < 0x3d" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0009e288 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();\n        return iVar9;\n      }" { comment comment (expression_statement "iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ();" (assignment_expression "iVar9 = (*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ()" identifier = (call_expression "(*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))\n                          ()" (parenthesized_expression "(*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604))" ( (pointer_expression "*(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604)" * (cast_expression "(code *)((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604)" ( (binary_expression "(int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30) + 0x1604" (binary_expression "(int)pidstat_table + *(int *)(puVar16 + uVar12 * 4 + -0x6a30)" (cast_expression "(int)pidstat_table" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(puVar16 + uVar12 * 4 + -0x6a30)" * (cast_expression "(int *)(puVar16 + uVar12 * 4 + -0x6a30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + uVar12 * 4 + -0x6a30)" ( (binary_expression "puVar16 + uVar12 * 4 + -0x6a30" (binary_expression "puVar16 + uVar12 * 4" identifier + (binary_expression "uVar12 * 4" identifier * number_literal)) + number_literal) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar9;" return identifier ;) })) (if_statement "if (1 < *(int *)puVar4) break;" if (parenthesized_expression "(1 < *(int *)puVar4)" ( (binary_expression "1 < *(int *)puVar4" number_literal < (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0009e330:\n      iVar11 = (int)(char)pbVar13[1];" statement_identifier : (expression_statement "iVar11 = (int)(char)pbVar13[1];" (assignment_expression "iVar11 = (int)(char)pbVar13[1]" identifier = (cast_expression "(int)(char)pbVar13[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)pbVar13[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar13[1]" identifier [ number_literal ])))) ;)) (expression_statement "pbVar13 = pbVar15;" (assignment_expression "pbVar13 = pbVar15" identifier = identifier) ;) })) (expression_statement "bVar1 = *pbVar13;" (assignment_expression "bVar1 = *pbVar13" identifier = (pointer_expression "*pbVar13" * identifier)) ;) (expression_statement "in_a1 = (byte *)(uint)bVar1;" (assignment_expression "in_a1 = (byte *)(uint)bVar1" identifier = (cast_expression "(byte *)(uint)bVar1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;" if (parenthesized_expression "((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0)" ( (binary_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1) != 0" (parenthesized_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1)" ( (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f) & 1" (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)in_a1 & 0x1f)" (pointer_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" * (cast_expression "(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + (uint)(bVar1 >> 5) * 4)" ( (binary_expression "puVar5 + (uint)(bVar1 >> 5) * 4" identifier + (binary_expression "(uint)(bVar1 >> 5) * 4" (call_expression "(uint)(bVar1 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 >> 5)" ( (binary_expression "bVar1 >> 5" identifier >> number_literal) ))) * number_literal)) )))) >> (parenthesized_expression "((uint)in_a1 & 0x1f)" ( (binary_expression "(uint)in_a1 & 0x1f" (cast_expression "(uint)in_a1" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0009e330;" goto statement_identifier ;)) (if_statement "if (((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)) {\n      if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }\n      goto LAB_0009e330;\n    }" if (parenthesized_expression "(((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2))" ( (binary_expression "((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)) ||\n       (in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)" (parenthesized_expression "((*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1))" ( (binary_expression "(*(int *)puVar3 != 0) && (uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)" (parenthesized_expression "(*(int *)puVar3 != 0)" ( (binary_expression "*(int *)puVar3 != 0" (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1)" ( (comma_expression "uVar12 = (uint)(bVar1 != 0), -1 < (char)bVar1" (assignment_expression "uVar12 = (uint)(bVar1 != 0)" identifier = (call_expression "(uint)(bVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )))) , (binary_expression "-1 < (char)bVar1" number_literal < (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ))) )) || (parenthesized_expression "(in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2)" ( (comma_expression "in_a1 = pbVar13,\n       uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2" (assignment_expression "in_a1 = pbVar13" identifier = identifier) , (comma_expression "uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state),\n       1 < uVar12 + 2" (assignment_expression "uVar12 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state)" identifier = (call_expression "(*(code *)PTR_mbrtowc_00146408)(0,pbVar13,string + (iVar10 - (int)pbVar13),&state)" (parenthesized_expression "(*(code *)PTR_mbrtowc_00146408)" ( (pointer_expression "*(code *)PTR_mbrtowc_00146408" * (cast_expression "(code *)PTR_mbrtowc_00146408" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,pbVar13,string + (iVar10 - (int)pbVar13),&state)" ( number_literal , identifier , (binary_expression "string + (iVar10 - (int)pbVar13)" identifier + (parenthesized_expression "(iVar10 - (int)pbVar13)" ( (binary_expression "iVar10 - (int)pbVar13" identifier - (cast_expression "(int)pbVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (pointer_expression "&state" & identifier) )))) , (binary_expression "1 < uVar12 + 2" number_literal < (binary_expression "uVar12 + 2" identifier + number_literal)))) ))) )) (compound_statement "{\n      if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }\n      goto LAB_0009e330;\n    }" { (if_statement "if (uVar12 != 0) {\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }" if (parenthesized_expression "(uVar12 != 0)" ( (binary_expression "uVar12 != 0" identifier != number_literal) )) (compound_statement "{\n        pbVar15 = pbVar13 + uVar12;\n        pbVar13 = pbVar13 + (uVar12 - 1);\n      }" { (expression_statement "pbVar15 = pbVar13 + uVar12;" (assignment_expression "pbVar15 = pbVar13 + uVar12" identifier = (binary_expression "pbVar13 + uVar12" identifier + identifier)) ;) (expression_statement "pbVar13 = pbVar13 + (uVar12 - 1);" (assignment_expression "pbVar13 = pbVar13 + (uVar12 - 1)" identifier = (binary_expression "pbVar13 + (uVar12 - 1)" identifier + (parenthesized_expression "(uVar12 - 1)" ( (binary_expression "uVar12 - 1" identifier - number_literal) )))) ;) })) (goto_statement "goto LAB_0009e330;" goto statement_identifier ;) })) (expression_statement "iVar11 = (int)(char)pbVar13[1];" (assignment_expression "iVar11 = (int)(char)pbVar13[1]" identifier = (cast_expression "(int)(char)pbVar13[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)pbVar13[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar13[1]" identifier [ number_literal ])))) ;) (expression_statement "pbVar13 = pbVar15;" (assignment_expression "pbVar13 = pbVar15" identifier = identifier) ;) (expression_statement "state.__count = iVar7;" (assignment_expression "state.__count = iVar7" (field_expression "state.__count" identifier . field_identifier) = identifier) ;) (expression_statement "state.__value = aVar8;" (assignment_expression "state.__value = aVar8" (field_expression "state.__value" identifier . field_identifier) = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_0009e1e4(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_0009e1e4(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}" type_identifier (function_declarator "FUN_0009e1e4(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar6 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar5 = PTR_is_basic_table_00144b04;" (assignment_expression "puVar5 = PTR_is_basic_table_00144b04" identifier = identifier) ;) (expression_statement "puVar4 = PTR_locale_mb_cur_max_00144b00;" (assignment_expression "puVar4 = PTR_locale_mb_cur_max_00144b00" identifier = identifier) ;) (expression_statement "puVar3 = PTR_locale_utf8locale_00144afc;" (assignment_expression "puVar3 = PTR_locale_utf8locale_00144afc" identifier = identifier) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)()" identifier = (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;" (assignment_expression "puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94" identifier = identifier) ;) (expression_statement "iVar8 = (int)(char)*param_1;" (assignment_expression "iVar8 = (int)(char)*param_1" identifier = (cast_expression "(int)(char)*param_1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*param_1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "pbVar12 = param_1;" (assignment_expression "pbVar12 = param_1" identifier = identifier) ;) (do_statement "do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );" do (compound_statement "{\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  }" { (while_statement "while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }" { (expression_statement "pbVar14 = pbVar12 + 1;" (assignment_expression "pbVar14 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }" { (if_statement "if (local_2c == *(int *)puVar6) {\n          return 0;\n        }" if (parenthesized_expression "(local_2c == *(int *)puVar6)" ( (binary_expression "local_2c == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar13 = *(int **)(puVar15 + 0xa7144);" (assignment_expression "piVar13 = *(int **)(puVar15 + 0xa7144)" identifier = (pointer_expression "*(int **)(puVar15 + 0xa7144)" * (cast_expression "(int **)(puVar15 + 0xa7144)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7144)" ( (binary_expression "puVar15 + 0xa7144" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *piVar13;" (assignment_expression "iVar8 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (if_statement "if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }" if (parenthesized_expression "(iVar8 < **(int **)(puVar15 + 0xa7140))" ( (binary_expression "iVar8 < **(int **)(puVar15 + 0xa7140)" identifier < (pointer_expression "**(int **)(puVar15 + 0xa7140)" * (pointer_expression "*(int **)(puVar15 + 0xa7140)" * (cast_expression "(int **)(puVar15 + 0xa7140)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7140)" ( (binary_expression "puVar15 + 0xa7140" identifier + number_literal) )))))) )) (compound_statement "{\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }" { (expression_statement "cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);" (assignment_expression "cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" identifier = (pointer_expression "*(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" * (cast_expression "(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (binary_expression "**(int **)(puVar15 + 0xa7130) + iVar8" (pointer_expression "**(int **)(puVar15 + 0xa7130)" * (pointer_expression "*(int **)(puVar15 + 0xa7130)" * (cast_expression "(int **)(puVar15 + 0xa7130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7130)" ( (binary_expression "puVar15 + 0xa7130" identifier + number_literal) ))))) + identifier) ))))) ;) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }" if (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" ( (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" ( (binary_expression "cVar2 != ' '" identifier != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(cVar2 != '\t')" ( (binary_expression "cVar2 != '\t'" identifier != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }" { (expression_statement "cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];" (assignment_expression "cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1]" identifier = (subscript_expression "((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1]" (parenthesized_expression "((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))" ( (cast_expression "(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(puVar15 + 0xa7130) + iVar8)" ( (binary_expression "**(int **)(puVar15 + 0xa7130) + iVar8" (pointer_expression "**(int **)(puVar15 + 0xa7130)" * (pointer_expression "*(int **)(puVar15 + 0xa7130)" * (cast_expression "(int **)(puVar15 + 0xa7130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7130)" ( (binary_expression "puVar15 + 0xa7130" identifier + number_literal) ))))) + identifier) ))) )) [ number_literal ])) ;) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }" if (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" ( (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" ( (binary_expression "cVar2 != ' '" identifier != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(cVar2 != '\t')" ( (binary_expression "cVar2 != '\t'" identifier != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }" { (expression_statement "(**(code **)(puVar15 + 0xa71e8))(1,0x45);" (call_expression "(**(code **)(puVar15 + 0xa71e8))(1,0x45)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71e8))" ( (pointer_expression "**(code **)(puVar15 + 0xa71e8)" * (pointer_expression "*(code **)(puVar15 + 0xa71e8)" * (cast_expression "(code **)(puVar15 + 0xa71e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71e8)" ( (binary_expression "puVar15 + 0xa71e8" identifier + number_literal) ))))) )) (argument_list "(1,0x45)" ( number_literal , number_literal ))) ;) (expression_statement "iVar8 = *piVar13;" (assignment_expression "iVar8 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" * identifier) = identifier) ;) })) })) (if_statement "if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }" { (expression_statement "(**(code **)(puVar15 + 0xa71ec))(1,0x42);" (call_expression "(**(code **)(puVar15 + 0xa71ec))(1,0x42)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71ec))" ( (pointer_expression "**(code **)(puVar15 + 0xa71ec)" * (pointer_expression "*(code **)(puVar15 + 0xa71ec)" * (cast_expression "(code **)(puVar15 + 0xa71ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71ec)" ( (binary_expression "puVar15 + 0xa71ec" identifier + number_literal) ))))) )) (argument_list "(1,0x42)" ( number_literal , number_literal ))) ;) (expression_statement "iVar11 = *piVar13;" (assignment_expression "iVar11 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" * identifier) = identifier) ;) (expression_statement "iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);" (assignment_expression "iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" identifier = (call_expression "substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" identifier (argument_list "(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" ( (pointer_expression "**(undefined4 **)(puVar15 + 0xa7130)" * (pointer_expression "*(undefined4 **)(puVar15 + 0xa7130)" * (cast_expression "(undefined4 **)(puVar15 + 0xa7130)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa7130)" ( (binary_expression "puVar15 + 0xa7130" identifier + number_literal) ))))) , identifier , identifier )))) ;) (if_statement "if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }" { (expression_statement "iVar11 = FUN_0009e1e4(iVar8);" (assignment_expression "iVar11 = FUN_0009e1e4(iVar8)" identifier = (call_expression "FUN_0009e1e4(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (if_statement "if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }" { (expression_statement "**(undefined4 **)(puVar15 + 0xa712c) = 1;" (assignment_expression "**(undefined4 **)(puVar15 + 0xa712c) = 1" (pointer_expression "**(undefined4 **)(puVar15 + 0xa712c)" * (pointer_expression "*(undefined4 **)(puVar15 + 0xa712c)" * (cast_expression "(undefined4 **)(puVar15 + 0xa712c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa712c)" ( (binary_expression "puVar15 + 0xa712c" identifier + number_literal) ))))) = number_literal) ;) })) (expression_statement "(**(code **)(puVar15 + 0xa80e4))(iVar8);" (call_expression "(**(code **)(puVar15 + 0xa80e4))(iVar8)" (parenthesized_expression "(**(code **)(puVar15 + 0xa80e4))" ( (pointer_expression "**(code **)(puVar15 + 0xa80e4)" * (pointer_expression "*(code **)(puVar15 + 0xa80e4)" * (cast_expression "(code **)(puVar15 + 0xa80e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa80e4)" ( (binary_expression "puVar15 + 0xa80e4" identifier + number_literal) ))))) )) (argument_list "(iVar8)" ( identifier ))) ;) })) })) (if_statement "if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" if (parenthesized_expression "(param_2 == (byte *)0x2a)" ( (binary_expression "param_2 == (byte *)0x2a" identifier == (cast_expression "(byte *)0x2a" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar10 = FUN_0009c1cc(0x2a);\n        }" { (expression_statement "uVar10 = FUN_0009c1cc(0x2a);" (assignment_expression "uVar10 = FUN_0009c1cc(0x2a)" identifier = (call_expression "FUN_0009c1cc(0x2a)" identifier (argument_list "(0x2a)" ( number_literal )))) ;) }) (else_clause "else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" else (compound_statement "{\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" { (if_statement "if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }" if (parenthesized_expression "(param_2 == (byte *)0x3d)" ( (binary_expression "param_2 == (byte *)0x3d" identifier == (cast_expression "(byte *)0x3d" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }" { (expression_statement "uVar10 = FUN_0009c1cc(0x3f);" (assignment_expression "uVar10 = FUN_0009c1cc(0x3f)" identifier = (call_expression "FUN_0009c1cc(0x3f)" identifier (argument_list "(0x3f)" ( number_literal )))) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }" if (parenthesized_expression "(param_2 != (byte *)0x5c)" ( (binary_expression "param_2 != (byte *)0x5c" identifier != (cast_expression "(byte *)0x5c" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }" { (expression_statement "uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);" (assignment_expression "uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2)" identifier = (call_expression "(**(code **)(puVar15 + 0xa71f0))(0,param_2)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71f0))" ( (pointer_expression "**(code **)(puVar15 + 0xa71f0)" * (pointer_expression "*(code **)(puVar15 + 0xa71f0)" * (cast_expression "(code **)(puVar15 + 0xa71f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71f0)" ( (binary_expression "puVar15 + 0xa71f0" identifier + number_literal) ))))) )) (argument_list "(0,param_2)" ( number_literal , identifier )))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "uVar10 = FUN_0009c8f4(iVar7,0x5c);" (assignment_expression "uVar10 = FUN_0009c8f4(iVar7,0x5c)" identifier = (call_expression "FUN_0009c8f4(iVar7,0x5c)" identifier (argument_list "(iVar7,0x5c)" ( identifier , number_literal )))) ;) }))) (expression_statement "(**(code **)(puVar15 + 0xa71f4))(param_2,1,1);" (call_expression "(**(code **)(puVar15 + 0xa71f4))(param_2,1,1)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71f4))" ( (pointer_expression "**(code **)(puVar15 + 0xa71f4)" * (pointer_expression "*(code **)(puVar15 + 0xa71f4)" * (cast_expression "(code **)(puVar15 + 0xa71f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xa71f4)" ( (binary_expression "puVar15 + 0xa71f4" identifier + number_literal) ))))) )) (argument_list "(param_2,1,1)" ( identifier , number_literal , number_literal ))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "uVar9 = iVar8 - 0x21U & 0xff;" (assignment_expression "uVar9 = iVar8 - 0x21U & 0xff" identifier = (binary_expression "iVar8 - 0x21U & 0xff" (binary_expression "iVar8 - 0x21U" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }" if (parenthesized_expression "(uVar9 < 0x3d)" ( (binary_expression "uVar9 < 0x3d" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }" { (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" * (cast_expression "(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" ( (binary_expression "&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(puVar15 + uVar9 * 4 + -0x6a30)" * (cast_expression "(int *)(puVar15 + uVar9 * 4 + -0x6a30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + uVar9 * 4 + -0x6a30)" ( (binary_expression "puVar15 + uVar9 * 4 + -0x6a30" (binary_expression "puVar15 + uVar9 * 4" identifier + (binary_expression "uVar9 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if (1 < *(int *)puVar4) break;" if (parenthesized_expression "(1 < *(int *)puVar4)" ( (binary_expression "1 < *(int *)puVar4" number_literal < (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];" statement_identifier : (expression_statement "iVar8 = (int)(char)pbVar12[1];" (assignment_expression "iVar8 = (int)(char)pbVar12[1]" identifier = (cast_expression "(int)(char)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)pbVar12[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ])))) ;)) (expression_statement "pbVar12 = pbVar14;" (assignment_expression "pbVar12 = pbVar14" identifier = identifier) ;) })) (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (expression_statement "param_2 = (byte *)(uint)bVar1;" (assignment_expression "param_2 = (byte *)(uint)bVar1" identifier = (cast_expression "(byte *)(uint)bVar1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;" if (parenthesized_expression "((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)" ( (binary_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0" (parenthesized_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1)" ( (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1" (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f)" (pointer_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" * (cast_expression "(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + (uint)(bVar1 >> 5) * 4)" ( (binary_expression "puVar5 + (uint)(bVar1 >> 5) * 4" identifier + (binary_expression "(uint)(bVar1 >> 5) * 4" (call_expression "(uint)(bVar1 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 >> 5)" ( (binary_expression "bVar1 >> 5" identifier >> number_literal) ))) * number_literal)) )))) >> (parenthesized_expression "((uint)param_2 & 0x1f)" ( (binary_expression "(uint)param_2 & 0x1f" (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) ))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0009e330;" goto statement_identifier ;)) (if_statement "if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }" if (parenthesized_expression "((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1))" ( (binary_expression "(*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)" (parenthesized_expression "(*(int *)puVar3 != 0)" ( (binary_expression "*(int *)puVar3 != 0" (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)" ( (comma_expression "uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1" (assignment_expression "uVar9 = (uint)(bVar1 != 0)" identifier = (call_expression "(uint)(bVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )))) , (binary_expression "-1 < (char)bVar1" number_literal < (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ))) )) (compound_statement "{\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }" { (labeled_statement "LAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" statement_identifier : (if_statement "if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" { (expression_statement "pbVar14 = pbVar12 + uVar9;" (assignment_expression "pbVar14 = pbVar12 + uVar9" identifier = (binary_expression "pbVar12 + uVar9" identifier + identifier)) ;) (expression_statement "pbVar12 = pbVar12 + (uVar9 - 1);" (assignment_expression "pbVar12 = pbVar12 + (uVar9 - 1)" identifier = (binary_expression "pbVar12 + (uVar9 - 1)" identifier + (parenthesized_expression "(uVar9 - 1)" ( (binary_expression "uVar9 - 1" identifier - number_literal) )))) ;) }))) (goto_statement "goto LAB_0009e330;" goto statement_identifier ;) })) (expression_statement "local_34 = local_3c;" (assignment_expression "local_34 = local_3c" identifier = identifier) ;) (expression_statement "local_30 = local_38;" (assignment_expression "local_30 = local_38" identifier = identifier) ;) (expression_statement "param_2 = pbVar12;" (assignment_expression "param_2 = pbVar12" identifier = identifier) ;) (expression_statement "uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);" (assignment_expression "uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" identifier = (call_expression "(*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" (parenthesized_expression "(*(code *)PTR_mbrtowc_00146408)" ( (pointer_expression "*(code *)PTR_mbrtowc_00146408" * (cast_expression "(code *)PTR_mbrtowc_00146408" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" ( number_literal , identifier , (binary_expression "param_1 + (iVar7 - (int)pbVar12)" identifier + (parenthesized_expression "(iVar7 - (int)pbVar12)" ( (binary_expression "iVar7 - (int)pbVar12" identifier - (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (pointer_expression "&local_3c" & identifier) )))) ;) (if_statement "if (1 < uVar9 + 2) goto LAB_0009e388;" if (parenthesized_expression "(1 < uVar9 + 2)" ( (binary_expression "1 < uVar9 + 2" number_literal < (binary_expression "uVar9 + 2" identifier + number_literal)) )) (goto_statement "goto LAB_0009e388;" goto statement_identifier ;)) (expression_statement "local_3c = local_34;" (assignment_expression "local_3c = local_34" identifier = identifier) ;) (expression_statement "iVar8 = (int)(char)pbVar12[1];" (assignment_expression "iVar8 = (int)(char)pbVar12[1]" identifier = (cast_expression "(int)(char)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)pbVar12[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ])))) ;) (expression_statement "local_38 = local_30;" (assignment_expression "local_38 = local_30" identifier = identifier) ;) (expression_statement "pbVar12 = pbVar14;" (assignment_expression "pbVar12 = pbVar14" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE 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 IDENT ;) (declaration TYPE 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + IDENT) ))) )) [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) ))) * LIT)) )))) >> (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) , (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT))) ))) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) )))) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_0009e1e4(byte *param_1,byte *param_2)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_0009e1e4(byte *param_1,byte *param_2)" (identifier "FUN_0009e1e4") (parameter_list "(byte *param_1,byte *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  byte *pbVar12;\n  int *piVar13;\n  byte *pbVar14;\n  undefined *puVar15;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_001464dc;\n  puVar5 = PTR_is_basic_table_00144b04;\n  puVar4 = PTR_locale_mb_cur_max_00144b00;\n  puVar3 = PTR_locale_utf8locale_00144afc;\n  local_3c = 0;\n  local_38 = 0;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  iVar7 = (*(code *)PTR_strlen_00146390)();\n  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;\n  iVar8 = (int)(char)*param_1;\n  pbVar12 = param_1;\n  do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar6 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar6 = PTR___stack_chk_guard_001464dc" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_guard_001464dc")) (; ";")) (expression_statement "puVar5 = PTR_is_basic_table_00144b04;" (assignment_expression "puVar5 = PTR_is_basic_table_00144b04" (identifier "puVar5") (= "=") (identifier "PTR_is_basic_table_00144b04")) (; ";")) (expression_statement "puVar4 = PTR_locale_mb_cur_max_00144b00;" (assignment_expression "puVar4 = PTR_locale_mb_cur_max_00144b00" (identifier "puVar4") (= "=") (identifier "PTR_locale_mb_cur_max_00144b00")) (; ";")) (expression_statement "puVar3 = PTR_locale_utf8locale_00144afc;" (assignment_expression "puVar3 = PTR_locale_utf8locale_00144afc" (identifier "puVar3") (= "=") (identifier "PTR_locale_utf8locale_00144afc")) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_001464dc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_001464dc")))) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)()" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;" (assignment_expression "puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94" (identifier "puVar15") (= "=") (identifier "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94")) (; ";")) (expression_statement "iVar8 = (int)(char)*param_1;" (assignment_expression "iVar8 = (int)(char)*param_1" (identifier "iVar8") (= "=") (cast_expression "(int)(char)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)*param_1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))))) (; ";")) (expression_statement "pbVar12 = param_1;" (assignment_expression "pbVar12 = param_1" (identifier "pbVar12") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  } while( true );" (do "do") (compound_statement "{\n    while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }\n    bVar1 = *pbVar12;\n    param_2 = (byte *)(uint)bVar1;\n    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;\n    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }\n    local_34 = local_3c;\n    local_30 = local_38;\n    param_2 = pbVar12;\n    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);\n    if (1 < uVar9 + 2) goto LAB_0009e388;\n    local_3c = local_34;\n    iVar8 = (int)(char)pbVar12[1];\n    local_38 = local_30;\n    pbVar12 = pbVar14;\n  }" ({ "{") (while_statement "while( true ) {\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      pbVar14 = pbVar12 + 1;\n      if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }\n      uVar9 = iVar8 - 0x21U & 0xff;\n      if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }\n      if (1 < *(int *)puVar4) break;\nLAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];\n      pbVar12 = pbVar14;\n    }" ({ "{") (expression_statement "pbVar14 = pbVar12 + 1;" (assignment_expression "pbVar14 = pbVar12 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar8 == 0) {\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (local_2c == *(int *)puVar6) {\n          return 0;\n        }\n        iVar7 = local_2c;\n        puVar15 = PTR___stack_chk_fail_00146488;\n        (*(code *)PTR___stack_chk_fail_00146488)();\n        piVar13 = *(int **)(puVar15 + 0xa7144);\n        iVar8 = *piVar13;\n        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }\n        if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }\n        if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }\n        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);\n        return uVar10;\n      }" ({ "{") (if_statement "if (local_2c == *(int *)puVar6) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar6)" (( "(") (binary_expression "local_2c == *(int *)puVar6" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar6" (* "*") (cast_expression "(int *)puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6")))) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar7 = local_2c;" (assignment_expression "iVar7 = local_2c" (identifier "iVar7") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00146488" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_00146488")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00146488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00146488"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar13 = *(int **)(puVar15 + 0xa7144);" (assignment_expression "piVar13 = *(int **)(puVar15 + 0xa7144)" (identifier "piVar13") (= "=") (pointer_expression "*(int **)(puVar15 + 0xa7144)" (* "*") (cast_expression "(int **)(puVar15 + 0xa7144)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa7144)" (( "(") (binary_expression "puVar15 + 0xa7144" (identifier "puVar15") (+ "+") (number_literal "0xa7144")) () ")"))))) (; ";")) (expression_statement "iVar8 = *piVar13;" (assignment_expression "iVar8 = *piVar13" (identifier "iVar8") (= "=") (pointer_expression "*piVar13" (* "*") (identifier "piVar13"))) (; ";")) (if_statement "if (iVar8 < **(int **)(puVar15 + 0xa7140)) {\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }" (if "if") (parenthesized_expression "(iVar8 < **(int **)(puVar15 + 0xa7140))" (( "(") (binary_expression "iVar8 < **(int **)(puVar15 + 0xa7140)" (identifier "iVar8") (< "<") (pointer_expression "**(int **)(puVar15 + 0xa7140)" (* "*") (pointer_expression "*(int **)(puVar15 + 0xa7140)" (* "*") (cast_expression "(int **)(puVar15 + 0xa7140)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa7140)" (( "(") (binary_expression "puVar15 + 0xa7140" (identifier "puVar15") (+ "+") (number_literal "0xa7140")) () ")")))))) () ")")) (compound_statement "{\n          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);\n          if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }\n        }" ({ "{") (expression_statement "cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);" (assignment_expression "cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" (* "*") (cast_expression "(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(puVar15 + 0xa7130) + iVar8)" (( "(") (binary_expression "**(int **)(puVar15 + 0xa7130) + iVar8" (pointer_expression "**(int **)(puVar15 + 0xa7130)" (* "*") (pointer_expression "*(int **)(puVar15 + 0xa7130)" (* "*") (cast_expression "(int **)(puVar15 + 0xa7130)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa7130)" (( "(") (binary_expression "puVar15 + 0xa7130" (identifier "puVar15") (+ "+") (number_literal "0xa7130")) () ")"))))) (+ "+") (identifier "iVar8")) () ")"))))) (; ";")) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }" (if "if") (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" (( "(") (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" (( "(") (binary_expression "cVar2 != ' '" (identifier "cVar2") (!= "!=") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(cVar2 != '\t')" (( "(") (binary_expression "cVar2 != '\t'" (identifier "cVar2") (!= "!=") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")"))) () ")")) (compound_statement "{\n            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];\n            if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }\n            iVar8 = iVar8 + 1;\n            *piVar13 = iVar8;\n          }" ({ "{") (expression_statement "cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];" (assignment_expression "cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1]" (identifier "cVar2") (= "=") (subscript_expression "((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1]" (parenthesized_expression "((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))" (( "(") (cast_expression "(char *)(**(int **)(puVar15 + 0xa7130) + iVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(puVar15 + 0xa7130) + iVar8)" (( "(") (binary_expression "**(int **)(puVar15 + 0xa7130) + iVar8" (pointer_expression "**(int **)(puVar15 + 0xa7130)" (* "*") (pointer_expression "*(int **)(puVar15 + 0xa7130)" (* "*") (cast_expression "(int **)(puVar15 + 0xa7130)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa7130)" (( "(") (binary_expression "puVar15 + 0xa7130" (identifier "puVar15") (+ "+") (number_literal "0xa7130")) () ")"))))) (+ "+") (identifier "iVar8")) () ")"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((cVar2 != ' ') && (cVar2 != '\t')) {\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }" (if "if") (parenthesized_expression "((cVar2 != ' ') && (cVar2 != '\t'))" (( "(") (binary_expression "(cVar2 != ' ') && (cVar2 != '\t')" (parenthesized_expression "(cVar2 != ' ')" (( "(") (binary_expression "cVar2 != ' '" (identifier "cVar2") (!= "!=") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(cVar2 != '\t')" (( "(") (binary_expression "cVar2 != '\t'" (identifier "cVar2") (!= "!=") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")"))) () ")")) (compound_statement "{\n              (**(code **)(puVar15 + 0xa71e8))(1,0x45);\n              iVar8 = *piVar13;\n            }" ({ "{") (expression_statement "(**(code **)(puVar15 + 0xa71e8))(1,0x45);" (call_expression "(**(code **)(puVar15 + 0xa71e8))(1,0x45)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71e8))" (( "(") (pointer_expression "**(code **)(puVar15 + 0xa71e8)" (* "*") (pointer_expression "*(code **)(puVar15 + 0xa71e8)" (* "*") (cast_expression "(code **)(puVar15 + 0xa71e8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa71e8)" (( "(") (binary_expression "puVar15 + 0xa71e8" (identifier "puVar15") (+ "+") (number_literal "0xa71e8")) () ")"))))) () ")")) (argument_list "(1,0x45)" (( "(") (number_literal "1") (, ",") (number_literal "0x45") () ")"))) (; ";")) (expression_statement "iVar8 = *piVar13;" (assignment_expression "iVar8 = *piVar13" (identifier "iVar8") (= "=") (pointer_expression "*piVar13" (* "*") (identifier "piVar13"))) (; ";")) (} "}"))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (} "}"))) (if_statement "if (0 < iVar8) {\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }" (if "if") (parenthesized_expression "(0 < iVar8)" (( "(") (binary_expression "0 < iVar8" (number_literal "0") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n          (**(code **)(puVar15 + 0xa71ec))(1,0x42);\n          iVar11 = *piVar13;\n          *piVar13 = iVar8;\n          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);\n          if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }\n        }" ({ "{") (expression_statement "(**(code **)(puVar15 + 0xa71ec))(1,0x42);" (call_expression "(**(code **)(puVar15 + 0xa71ec))(1,0x42)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71ec))" (( "(") (pointer_expression "**(code **)(puVar15 + 0xa71ec)" (* "*") (pointer_expression "*(code **)(puVar15 + 0xa71ec)" (* "*") (cast_expression "(code **)(puVar15 + 0xa71ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa71ec)" (( "(") (binary_expression "puVar15 + 0xa71ec" (identifier "puVar15") (+ "+") (number_literal "0xa71ec")) () ")"))))) () ")")) (argument_list "(1,0x42)" (( "(") (number_literal "1") (, ",") (number_literal "0x42") () ")"))) (; ";")) (expression_statement "iVar11 = *piVar13;" (assignment_expression "iVar11 = *piVar13" (identifier "iVar11") (= "=") (pointer_expression "*piVar13" (* "*") (identifier "piVar13"))) (; ";")) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);" (assignment_expression "iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" (identifier "iVar8") (= "=") (call_expression "substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" (identifier "substring") (argument_list "(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8)" (( "(") (pointer_expression "**(undefined4 **)(puVar15 + 0xa7130)" (* "*") (pointer_expression "*(undefined4 **)(puVar15 + 0xa7130)" (* "*") (cast_expression "(undefined4 **)(puVar15 + 0xa7130)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa7130)" (( "(") (binary_expression "puVar15 + 0xa7130" (identifier "puVar15") (+ "+") (number_literal "0xa7130")) () ")"))))) (, ",") (identifier "iVar11") (, ",") (identifier "iVar8") () ")")))) (; ";")) (if_statement "if (iVar8 != 0) {\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar11 = FUN_0009e1e4(iVar8);\n            if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }\n            (**(code **)(puVar15 + 0xa80e4))(iVar8);\n          }" ({ "{") (expression_statement "iVar11 = FUN_0009e1e4(iVar8);" (assignment_expression "iVar11 = FUN_0009e1e4(iVar8)" (identifier "iVar11") (= "=") (call_expression "FUN_0009e1e4(iVar8)" (identifier "FUN_0009e1e4") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")")))) (; ";")) (if_statement "if (iVar11 == 0) {\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              **(undefined4 **)(puVar15 + 0xa712c) = 1;\n            }" ({ "{") (expression_statement "**(undefined4 **)(puVar15 + 0xa712c) = 1;" (assignment_expression "**(undefined4 **)(puVar15 + 0xa712c) = 1" (pointer_expression "**(undefined4 **)(puVar15 + 0xa712c)" (* "*") (pointer_expression "*(undefined4 **)(puVar15 + 0xa712c)" (* "*") (cast_expression "(undefined4 **)(puVar15 + 0xa712c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa712c)" (( "(") (binary_expression "puVar15 + 0xa712c" (identifier "puVar15") (+ "+") (number_literal "0xa712c")) () ")"))))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar15 + 0xa80e4))(iVar8);" (call_expression "(**(code **)(puVar15 + 0xa80e4))(iVar8)" (parenthesized_expression "(**(code **)(puVar15 + 0xa80e4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0xa80e4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0xa80e4)" (* "*") (cast_expression "(code **)(puVar15 + 0xa80e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa80e4)" (( "(") (binary_expression "puVar15 + 0xa80e4" (identifier "puVar15") (+ "+") (number_literal "0xa80e4")) () ")"))))) () ")")) (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (param_2 == (byte *)0x2a) {\n          uVar10 = FUN_0009c1cc(0x2a);\n        }\n        else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" (if "if") (parenthesized_expression "(param_2 == (byte *)0x2a)" (( "(") (binary_expression "param_2 == (byte *)0x2a" (identifier "param_2") (== "==") (cast_expression "(byte *)0x2a" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2a"))) () ")")) (compound_statement "{\n          uVar10 = FUN_0009c1cc(0x2a);\n        }" ({ "{") (expression_statement "uVar10 = FUN_0009c1cc(0x2a);" (assignment_expression "uVar10 = FUN_0009c1cc(0x2a)" (identifier "uVar10") (= "=") (call_expression "FUN_0009c1cc(0x2a)" (identifier "FUN_0009c1cc") (argument_list "(0x2a)" (( "(") (number_literal "0x2a") () ")")))) (; ";")) (} "}")) (else_clause "else {\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" (else "else") (compound_statement "{\n          if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }\n          if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }\n          uVar10 = FUN_0009c8f4(iVar7,0x5c);\n        }" ({ "{") (if_statement "if (param_2 == (byte *)0x3d) {\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }" (if "if") (parenthesized_expression "(param_2 == (byte *)0x3d)" (( "(") (binary_expression "param_2 == (byte *)0x3d" (identifier "param_2") (== "==") (cast_expression "(byte *)0x3d" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x3d"))) () ")")) (compound_statement "{\n            uVar10 = FUN_0009c1cc(0x3f);\n            return uVar10;\n          }" ({ "{") (expression_statement "uVar10 = FUN_0009c1cc(0x3f);" (assignment_expression "uVar10 = FUN_0009c1cc(0x3f)" (identifier "uVar10") (= "=") (call_expression "FUN_0009c1cc(0x3f)" (identifier "FUN_0009c1cc") (argument_list "(0x3f)" (( "(") (number_literal "0x3f") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (if_statement "if (param_2 != (byte *)0x5c) {\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }" (if "if") (parenthesized_expression "(param_2 != (byte *)0x5c)" (( "(") (binary_expression "param_2 != (byte *)0x5c" (identifier "param_2") (!= "!=") (cast_expression "(byte *)0x5c" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x5c"))) () ")")) (compound_statement "{\n                    \n                    \n            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);\n            return uVar10;\n          }" ({ "{") (expression_statement "uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);" (assignment_expression "uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2)" (identifier "uVar10") (= "=") (call_expression "(**(code **)(puVar15 + 0xa71f0))(0,param_2)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71f0))" (( "(") (pointer_expression "**(code **)(puVar15 + 0xa71f0)" (* "*") (pointer_expression "*(code **)(puVar15 + 0xa71f0)" (* "*") (cast_expression "(code **)(puVar15 + 0xa71f0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa71f0)" (( "(") (binary_expression "puVar15 + 0xa71f0" (identifier "puVar15") (+ "+") (number_literal "0xa71f0")) () ")"))))) () ")")) (argument_list "(0,param_2)" (( "(") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (expression_statement "uVar10 = FUN_0009c8f4(iVar7,0x5c);" (assignment_expression "uVar10 = FUN_0009c8f4(iVar7,0x5c)" (identifier "uVar10") (= "=") (call_expression "FUN_0009c8f4(iVar7,0x5c)" (identifier "FUN_0009c8f4") (argument_list "(iVar7,0x5c)" (( "(") (identifier "iVar7") (, ",") (number_literal "0x5c") () ")")))) (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar15 + 0xa71f4))(param_2,1,1);" (call_expression "(**(code **)(puVar15 + 0xa71f4))(param_2,1,1)" (parenthesized_expression "(**(code **)(puVar15 + 0xa71f4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0xa71f4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0xa71f4)" (* "*") (cast_expression "(code **)(puVar15 + 0xa71f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0xa71f4)" (( "(") (binary_expression "puVar15 + 0xa71f4" (identifier "puVar15") (+ "+") (number_literal "0xa71f4")) () ")"))))) () ")")) (argument_list "(param_2,1,1)" (( "(") (identifier "param_2") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")"))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (expression_statement "uVar9 = iVar8 - 0x21U & 0xff;" (assignment_expression "uVar9 = iVar8 - 0x21U & 0xff" (identifier "uVar9") (= "=") (binary_expression "iVar8 - 0x21U & 0xff" (binary_expression "iVar8 - 0x21U" (identifier "iVar8") (- "-") (number_literal "0x21U")) (& "&") (number_literal "0xff"))) (; ";")) (if_statement "if (uVar9 < 0x3d) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }" (if "if") (parenthesized_expression "(uVar9 < 0x3d)" (( "(") (binary_expression "uVar9 < 0x3d" (identifier "uVar9") (< "<") (number_literal "0x3d")) () ")")) (compound_statement "{\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();\n        return uVar10;\n      }" ({ "{") (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))()" (identifier "uVar10") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30))" (( "(") (binary_expression "&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(puVar15 + uVar9 * 4 + -0x6a30)" (* "*") (cast_expression "(int *)(puVar15 + uVar9 * 4 + -0x6a30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + uVar9 * 4 + -0x6a30)" (( "(") (binary_expression "puVar15 + uVar9 * 4 + -0x6a30" (binary_expression "puVar15 + uVar9 * 4" (identifier "puVar15") (+ "+") (binary_expression "uVar9 * 4" (identifier "uVar9") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x6a30")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (if_statement "if (1 < *(int *)puVar4) break;" (if "if") (parenthesized_expression "(1 < *(int *)puVar4)" (( "(") (binary_expression "1 < *(int *)puVar4" (number_literal "1") (< "<") (pointer_expression "*(int *)puVar4" (* "*") (cast_expression "(int *)puVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4")))) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0009e330:\n      iVar8 = (int)(char)pbVar12[1];" (statement_identifier "LAB_0009e330") (: ":") (expression_statement "iVar8 = (int)(char)pbVar12[1];" (assignment_expression "iVar8 = (int)(char)pbVar12[1]" (identifier "iVar8") (= "=") (cast_expression "(int)(char)pbVar12[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)pbVar12[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar12[1]" (identifier "pbVar12") ([ "[") (number_literal "1") (] "]"))))) (; ";"))) (expression_statement "pbVar12 = pbVar14;" (assignment_expression "pbVar12 = pbVar14" (identifier "pbVar12") (= "=") (identifier "pbVar14")) (; ";")) (} "}"))) (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" (identifier "bVar1") (= "=") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12"))) (; ";")) (expression_statement "param_2 = (byte *)(uint)bVar1;" (assignment_expression "param_2 = (byte *)(uint)bVar1" (identifier "param_2") (= "=") (cast_expression "(byte *)(uint)bVar1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")))) (; ";")) (if_statement "if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)\n    goto LAB_0009e330;" (if "if") (parenthesized_expression "((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)" (( "(") (binary_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0" (parenthesized_expression "(*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1)" (( "(") (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1" (binary_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f)" (pointer_expression "*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" (* "*") (cast_expression "(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + (uint)(bVar1 >> 5) * 4)" (( "(") (binary_expression "puVar5 + (uint)(bVar1 >> 5) * 4" (identifier "puVar5") (+ "+") (binary_expression "(uint)(bVar1 >> 5) * 4" (call_expression "(uint)(bVar1 >> 5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(bVar1 >> 5)" (( "(") (binary_expression "bVar1 >> 5" (identifier "bVar1") (>> ">>") (number_literal "5")) () ")"))) (* "*") (number_literal "4"))) () ")")))) (>> ">>") (parenthesized_expression "((uint)param_2 & 0x1f)" (( "(") (binary_expression "(uint)param_2 & 0x1f" (cast_expression "(uint)param_2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_2")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0009e330;" (goto "goto") (statement_identifier "LAB_0009e330") (; ";"))) (if_statement "if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }" (if "if") (parenthesized_expression "((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1))" (( "(") (binary_expression "(*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)" (parenthesized_expression "(*(int *)puVar3 != 0)" (( "(") (binary_expression "*(int *)puVar3 != 0" (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)" (( "(") (comma_expression "uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1" (assignment_expression "uVar9 = (uint)(bVar1 != 0)" (identifier "uVar9") (= "=") (call_expression "(uint)(bVar1 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")))) (, ",") (binary_expression "-1 < (char)bVar1" (number_literal "-1") (< "<") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")))) () ")"))) () ")")) (compound_statement "{\nLAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }\n      goto LAB_0009e330;\n    }" ({ "{") (labeled_statement "LAB_0009e388:\n      if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" (statement_identifier "LAB_0009e388") (: ":") (if_statement "if (uVar9 != 0) {\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pbVar14 = pbVar12 + uVar9;\n        pbVar12 = pbVar12 + (uVar9 - 1);\n      }" ({ "{") (expression_statement "pbVar14 = pbVar12 + uVar9;" (assignment_expression "pbVar14 = pbVar12 + uVar9" (identifier "pbVar14") (= "=") (binary_expression "pbVar12 + uVar9" (identifier "pbVar12") (+ "+") (identifier "uVar9"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uVar9 - 1);" (assignment_expression "pbVar12 = pbVar12 + (uVar9 - 1)" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uVar9 - 1)" (identifier "pbVar12") (+ "+") (parenthesized_expression "(uVar9 - 1)" (( "(") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1")) () ")")))) (; ";")) (} "}")))) (goto_statement "goto LAB_0009e330;" (goto "goto") (statement_identifier "LAB_0009e330") (; ";")) (} "}"))) (expression_statement "local_34 = local_3c;" (assignment_expression "local_34 = local_3c" (identifier "local_34") (= "=") (identifier "local_3c")) (; ";")) (expression_statement "local_30 = local_38;" (assignment_expression "local_30 = local_38" (identifier "local_30") (= "=") (identifier "local_38")) (; ";")) (expression_statement "param_2 = pbVar12;" (assignment_expression "param_2 = pbVar12" (identifier "param_2") (= "=") (identifier "pbVar12")) (; ";")) (expression_statement "uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);" (assignment_expression "uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" (identifier "uVar9") (= "=") (call_expression "(*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" (parenthesized_expression "(*(code *)PTR_mbrtowc_00146408)" (( "(") (pointer_expression "*(code *)PTR_mbrtowc_00146408" (* "*") (cast_expression "(code *)PTR_mbrtowc_00146408" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mbrtowc_00146408"))) () ")")) (argument_list "(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c)" (( "(") (number_literal "0") (, ",") (identifier "pbVar12") (, ",") (binary_expression "param_1 + (iVar7 - (int)pbVar12)" (identifier "param_1") (+ "+") (parenthesized_expression "(iVar7 - (int)pbVar12)" (( "(") (binary_expression "iVar7 - (int)pbVar12" (identifier "iVar7") (- "-") (cast_expression "(int)pbVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar12"))) () ")"))) (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) () ")")))) (; ";")) (if_statement "if (1 < uVar9 + 2) goto LAB_0009e388;" (if "if") (parenthesized_expression "(1 < uVar9 + 2)" (( "(") (binary_expression "1 < uVar9 + 2" (number_literal "1") (< "<") (binary_expression "uVar9 + 2" (identifier "uVar9") (+ "+") (number_literal "2"))) () ")")) (goto_statement "goto LAB_0009e388;" (goto "goto") (statement_identifier "LAB_0009e388") (; ";"))) (expression_statement "local_3c = local_34;" (assignment_expression "local_3c = local_34" (identifier "local_3c") (= "=") (identifier "local_34")) (; ";")) (expression_statement "iVar8 = (int)(char)pbVar12[1];" (assignment_expression "iVar8 = (int)(char)pbVar12[1]" (identifier "iVar8") (= "=") (cast_expression "(int)(char)pbVar12[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)pbVar12[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar12[1]" (identifier "pbVar12") ([ "[") (number_literal "1") (] "]"))))) (; ";")) (expression_statement "local_38 = local_30;" (assignment_expression "local_38 = local_30" (identifier "local_38") (= "=") (identifier "local_30")) (; ";")) (expression_statement "pbVar12 = pbVar14;" (assignment_expression "pbVar12 = pbVar14" (identifier "pbVar12") (= "=") (identifier "pbVar14")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))))) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (identifier))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list)))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (break_statement)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (goto_statement label: (statement_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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (pointer_expression argument: (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (true))))))

undefined4 MASKED(byte *param_1,byte *param_2)

{
  byte bVar1;
  char cVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  int iVar7;
  int iVar8;
  uint uVar9;
  undefined4 uVar10;
  int iVar11;
  byte *pbVar12;
  int *piVar13;
  byte *pbVar14;
  undefined *puVar15;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  int local_2c;
  
  puVar6 = PTR___stack_chk_guard_001464dc;
  puVar5 = PTR_is_basic_table_00144b04;
  puVar4 = PTR_locale_mb_cur_max_00144b00;
  puVar3 = PTR_locale_utf8locale_00144afc;
  local_3c = 0;
  local_38 = 0;
  local_2c = *(int *)PTR___stack_chk_guard_001464dc;
  iVar7 = (*(code *)PTR_strlen_00146390)();
  puVar15 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94;
  iVar8 = (int)(char)*param_1;
  pbVar12 = param_1;
  do {
    while( true ) {
      pbVar14 = pbVar12 + 1;
      if (iVar8 == 0) {
        if (local_2c == *(int *)puVar6) {
          return 0;
        }
        iVar7 = local_2c;
        puVar15 = PTR___stack_chk_fail_00146488;
        (*(code *)PTR___stack_chk_fail_00146488)();
        piVar13 = *(int **)(puVar15 + 0xa7144);
        iVar8 = *piVar13;
        if (iVar8 < **(int **)(puVar15 + 0xa7140)) {
          cVar2 = *(char *)(**(int **)(puVar15 + 0xa7130) + iVar8);
          if ((cVar2 != ' ') && (cVar2 != '\t')) {
            cVar2 = ((char *)(**(int **)(puVar15 + 0xa7130) + iVar8))[1];
            if ((cVar2 != ' ') && (cVar2 != '\t')) {
              (**(code **)(puVar15 + 0xa71e8))(1,0x45);
              iVar8 = *piVar13;
            }
            iVar8 = iVar8 + 1;
            *piVar13 = iVar8;
          }
        }
        if (0 < iVar8) {
          (**(code **)(puVar15 + 0xa71ec))(1,0x42);
          iVar11 = *piVar13;
          *piVar13 = iVar8;
          iVar8 = substring(**(undefined4 **)(puVar15 + 0xa7130),iVar11,iVar8);
          if (iVar8 != 0) {
            iVar11 = MASKED(iVar8);
            if (iVar11 == 0) {
              **(undefined4 **)(puVar15 + 0xa712c) = 1;
            }
            (**(code **)(puVar15 + 0xa80e4))(iVar8);
          }
        }
        if (param_2 == (byte *)0x2a) {
          uVar10 = FUN_0009c1cc(0x2a);
        }
        else {
          if (param_2 == (byte *)0x3d) {
            uVar10 = FUN_0009c1cc(0x3f);
            return uVar10;
          }
          if (param_2 != (byte *)0x5c) {
                    /* WARNING: Could not recover jumptable at 0x0009e4fc. Too many branches */
                    /* WARNING: Treating indirect jump as call */
            uVar10 = (**(code **)(puVar15 + 0xa71f0))(0,param_2);
            return uVar10;
          }
          uVar10 = FUN_0009c8f4(iVar7,0x5c);
        }
        (**(code **)(puVar15 + 0xa71f4))(param_2,1,1);
        return uVar10;
      }
      uVar9 = iVar8 - 0x21U & 0xff;
      if (uVar9 < 0x3d) {
                    /* WARNING: Could not emulate address calculation at 0x0009e288 */
                    /* WARNING: Treating indirect jump as call */
        uVar10 = (*(code *)(&_gp_1 + *(int *)(puVar15 + uVar9 * 4 + -0x6a30)))();
        return uVar10;
      }
      if (1 < *(int *)puVar4) break;
LAB_0009e330:
      iVar8 = (int)(char)pbVar12[1];
      pbVar12 = pbVar14;
    }
    bVar1 = *pbVar12;
    param_2 = (byte *)(uint)bVar1;
    if ((*(uint *)(puVar5 + (uint)(bVar1 >> 5) * 4) >> ((uint)param_2 & 0x1f) & 1) != 0)
    goto LAB_0009e330;
    if ((*(int *)puVar3 != 0) && (uVar9 = (uint)(bVar1 != 0), -1 < (char)bVar1)) {
LAB_0009e388:
      if (uVar9 != 0) {
        pbVar14 = pbVar12 + uVar9;
        pbVar12 = pbVar12 + (uVar9 - 1);
      }
      goto LAB_0009e330;
    }
    local_34 = local_3c;
    local_30 = local_38;
    param_2 = pbVar12;
    uVar9 = (*(code *)PTR_mbrtowc_00146408)(0,pbVar12,param_1 + (iVar7 - (int)pbVar12),&local_3c);
    if (1 < uVar9 + 2) goto LAB_0009e388;
    local_3c = local_34;
    iVar8 = (int)(char)pbVar12[1];
    local_38 = local_30;
    pbVar12 = pbVar14;
  } while( true );
}

