
_Bool print_line_head(char *beg,size_t len,char *lim,char sep)

{
  int *piVar1;
  char cVar2;
  byte bVar3;
  undefined *puVar4;
  mbstate_t *pmVar5;
  int iVar6;
  undefined4 *puVar7;
  uint uVar8;
  undefined1 *puVar9;
  mbstate_t *pmVar10;
  char *pcVar11;
  mbstate_t *pmVar12;
  uint uVar13;
  uint uVar14;
  uint *puVar15;
  int iVar16;
  mbstate_t *pmVar17;
  mbstate_t *pmVar18;
  undefined1 *puVar19;
  uint *unaff_s8;
  undefined8 uVar20;
  uintmax_t uVar21;
  undefined1 *puVar22;
  undefined4 in_stack_ffffffb4;
  undefined4 in_stack_ffffffb8;
  mbstate_t *in_stack_ffffffbc;
  int local_3c;
  mbstate_t mbs;
  
  puVar4 = PTR___stack_chk_guard_000564b4;
  pmVar17 = (mbstate_t *)PTR_DAT_00056108;
  puVar19 = &_gp;
  puVar22 = &_gp;
  pmVar10 = *(mbstate_t **)PTR___stack_chk_guard_000564b4;
  pmVar12 = (mbstate_t *)lim;
  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {
    uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600);
    uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604);
    if (uVar13 != 0 || uVar8 != 0) {
      mbs.__count = 0;
      mbs.__value.__wch = 0;
      unaff_s8 = (uint *)(beg + len);
      bVar3 = *(byte *)unaff_s8;
      iVar16 = (int)(char)bVar3;
      *(byte *)unaff_s8 = 0xff;
      puVar15 = (uint *)beg;
      do {
        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {
          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;
        }
        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {
        }
        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {
        }
LAB_00016954:
        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);
        if (unaff_s8 <= puVar15) {
          *(byte *)unaff_s8 = bVar3;
          break;
        }
        pmVar12 = &mbs;
        puVar19 = puVar22;
        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);
        puVar22 = puVar19;
        if (0xfffffffd < uVar8) {
          iVar6 = *(int *)(puVar19 + -0x7fd8);
          *(byte *)unaff_s8 = bVar3;
          beg = (char *)0x0;
          *(undefined1 *)(iVar6 + 0x6618) = 1;
          goto LAB_00016848;
        }
        puVar15 = (uint *)((int)puVar15 + uVar8);
        uVar13 = *(uint *)((int)pmVar17 + 0x6600);
        uVar8 = *(uint *)((int)pmVar17 + 0x6604);
      } while( true );
    }
  }
  puVar15 = *(uint **)(puVar19 + -0x7fd8);
  if (puVar15[0x196d] != 0) {
    puVar19 = puVar22;
    print_filename();
    if (*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0) {
      iVar16 = **(int **)(puVar19 + -0x7d10);
      puVar22 = *(undefined1 **)(iVar16 + 0x14);
      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {
        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;
        *puVar22 = 0;
        puVar22 = puVar19;
      }
      else {
        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);
        puVar22 = puVar19;
        if (iVar16 < 0) {
          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();
          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;
          puVar22 = puVar19;
        }
      }
    }
    else {
      print_sep(sep);
      puVar22 = puVar19;
    }
  }
  iVar16 = *(int *)(puVar19 + -0x7fd8);
  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);
  if (*(char *)(iVar16 + 0x65b1) == '\0') goto LAB_00016780;
  local_3c = *(int *)(puVar19 + -0x7fd8);
  unaff_s8 = *(uint **)(puVar19 + -0x7fd8);
  pcVar11 = *(char **)(local_3c + 0x657c);
  pmVar5 = (mbstate_t *)unaff_s8[0x1973];
  pmVar17 = (mbstate_t *)unaff_s8[0x1972];
  pmVar12 = pmVar17;
  in_stack_ffffffbc = pmVar5;
  if (lim <= pcVar11) goto LAB_0001670c;
  pmVar18 = pmVar17;
  if (pcVar11 < beg) {
    pmVar18 = (mbstate_t *)0x0;
    cVar2 = **(char **)(puVar19 + -0x7fa8);
    do {
      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);
      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);
      puVar19 = puVar22;
      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);
      puVar22 = puVar19;
      if (iVar6 == 0) break;
      pcVar11 = (char *)(iVar6 + 1);
      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);
    } while (pcVar11 < beg);
    pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count);
    pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18));
    uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18);
    if (pmVar18 < pmVar17) goto LAB_00016b14;
    if (pmVar17 == pmVar18) goto LAB_00016b00;
  }
LAB_000166cc:
  in_stack_ffffffbc = (mbstate_t *)((int)&pmVar5->__count + 1);
  unaff_s8[0x1972] = (uint)pmVar18;
  unaff_s8[0x1973] = (uint)pmVar5;
  pmVar17 = (mbstate_t *)((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5));
  *(char **)(local_3c + 0x657c) = beg;
  pmVar12 = (mbstate_t *)(uint)(pmVar17 < pmVar18);
  if (pmVar12 != (mbstate_t *)0x0) goto LAB_00016b14;
  if ((pmVar18 == pmVar17) && (in_stack_ffffffbc < pmVar5)) goto LAB_00016b14;
  unaff_s8[0x1972] = (uint)pmVar17;
  unaff_s8[0x1973] = (uint)in_stack_ffffffbc;
  *(char **)(local_3c + 0x657c) = lim;
  pmVar12 = pmVar17;
LAB_0001670c:
  lim = *(char **)(puVar19 + -0x7fd8);
  pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038);
  if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {
    puVar19 = puVar22;
    print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);
    puVar22 = puVar19;
  }
  printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),
               *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));
  puVar19 = puVar22;
  if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {
    print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));
    puVar19 = puVar22;
  }
  print_sep(sep);
  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);
  puVar22 = puVar19;
LAB_00016780:
  iVar6 = *(int *)(puVar19 + -0x7fd8);
  if (*(char *)&pmVar17[0xcb6].__count == '\0') goto LAB_00016838;
  uVar8 = *(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584);
  pmVar5 = *(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580);
  uVar14 = (int)beg - *(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0);
  uVar13 = uVar14 + uVar8;
  pmVar12 = (mbstate_t *)((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f));
  if (pmVar12 < pmVar5) goto LAB_00016b14;
  uVar8 = (uint)(uVar13 < uVar8);
  if (pmVar5 == pmVar12) goto LAB_00016b1c;
  do {
    lim = *(char **)(puVar19 + -0x7fd8);
    pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034);
    if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {
      puVar19 = puVar22;
      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);
      puVar22 = puVar19;
      in_stack_ffffffbc = pmVar12;
    }
    printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),
                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));
    puVar19 = puVar22;
    if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {
      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));
      puVar19 = puVar22;
    }
    print_sep(sep);
    iVar6 = *(int *)(puVar19 + -0x7fd8);
    puVar22 = puVar19;
LAB_00016838:
    beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);
    if (((beg == (char *)0x0) ||
        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&
         puVar15[0x196d] == 0)) || (len == 0)) {
LAB_00016844:
      beg = (char *)0x1;
    }
    else {
      iVar6 = **(int **)(puVar19 + -0x7d10);
      puVar9 = *(undefined1 **)(iVar6 + 0x14);
      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {
        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;
        *puVar9 = 9;
      }
      else {
        puVar7 = (undefined4 *)(puVar19 + -0x7d38);
        puVar19 = puVar22;
        iVar6 = (*(code *)*puVar7)(iVar6,9);
        puVar22 = puVar19;
        if (-1 < iVar6) goto LAB_00016844;
        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();
        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;
        puVar22 = puVar19;
      }
    }
LAB_00016848:
    if (pmVar10 == *(mbstate_t **)puVar4) {
      return SUB41(beg,0);
    }
    pmVar5 = pmVar10;
    uVar20 = (**(code **)(puVar19 + -0x7c4c))();
LAB_00016b00:
    pmVar18 = (mbstate_t *)uVar20;
    if ((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5) goto LAB_000166cc;
LAB_00016b14:
    do {
      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),
                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));
      uVar8 = (uint)uVar21;
LAB_00016b1c:
    } while (uVar8 != 0);
  } while( true );
}



uint * FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)

{
  char cVar1;
  byte bVar2;
  undefined *puVar3;
  uint uVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined *puVar7;
  undefined1 *puVar8;
  uint extraout_v1;
  uint uVar9;
  uint *puVar10;
  uint uVar11;
  uint *puVar12;
  undefined *puVar13;
  undefined *puVar14;
  uint uVar15;
  char *pcVar16;
  uint *unaff_s8;
  undefined8 uVar17;
  undefined *local_3c;
  
  puVar3 = PTR___stack_chk_guard_000564b4;
  puVar14 = PTR_DAT_00056108;
  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;
  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {
    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);
    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);
    if (uVar15 != 0 || uVar4 != 0) {
      unaff_s8 = (uint *)((int)param_1 + param_2);
      bVar2 = *(byte *)unaff_s8;
      puVar13 = (undefined *)(int)(char)bVar2;
      *(byte *)unaff_s8 = 0xff;
      puVar12 = param_1;
      do {
        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {
          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;
        }
        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {
        }
        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {
        }
LAB_00016954:
        if (unaff_s8 <= puVar12) {
          *(byte *)unaff_s8 = bVar2;
          break;
        }
        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);
        puVar7 = PTR_DAT_00056108;
        if (0xfffffffd < uVar4) {
          *(byte *)unaff_s8 = bVar2;
          param_1 = (uint *)0x0;
          puVar7[0x6618] = 1;
          goto LAB_00016848;
        }
        puVar12 = (uint *)((int)puVar12 + uVar4);
        uVar15 = *(uint *)(puVar14 + 0x6600);
        uVar4 = *(uint *)(puVar14 + 0x6604);
      } while( true );
    }
  }
  puVar12 = (uint *)PTR_DAT_00056108;
  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {
    FUN_000163a0();
    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {
      iVar5 = *(int *)PTR_stdout_000563d0;
      puVar8 = *(undefined1 **)(iVar5 + 0x14);
      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {
        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;
        *puVar8 = 0;
      }
      else {
        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);
        if (iVar5 < 0) {
          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();
          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;
        }
      }
    }
    else {
      FUN_000164b4(param_4);
    }
  }
  puVar13 = PTR_DAT_00056108;
  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;
  local_3c = PTR_DAT_00056108;
  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);
  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);
  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);
  unaff_s8 = (uint *)PTR_DAT_00056108;
  if (param_3 <= puVar10) goto LAB_0001670c;
  puVar7 = puVar14;
  unaff_s8 = (uint *)puVar13;
  if (puVar10 < param_1) {
    uVar15 = 0;
    cVar1 = *PTR_eolbyte_00056138;
    do {
      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);
      if (iVar5 == 0) break;
      puVar10 = (uint *)(iVar5 + 1);
      uVar15 = uVar15 + 1;
    } while (puVar10 < param_1);
    uVar11 = uVar15 + uVar4;
    puVar7 = puVar14 + (uVar11 < uVar15);
    uVar17 = CONCAT44(uVar4,puVar7);
    if (puVar7 < puVar14) goto LAB_00016b14;
    uVar4 = uVar11;
    if (puVar14 == puVar7) goto LAB_00016b00;
  }
LAB_000166cc:
  uVar15 = uVar4 + 1;
  unaff_s8[0x1972] = (uint)puVar7;
  unaff_s8[0x1973] = uVar4;
  puVar14 = puVar7 + (uVar15 < uVar4);
  *(uint **)(local_3c + 0x657c) = param_1;
  if (puVar14 < puVar7) goto LAB_00016b14;
  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;
  unaff_s8[0x1972] = (uint)puVar14;
  unaff_s8[0x1973] = uVar15;
  *(uint **)(local_3c + 0x657c) = param_3;
LAB_0001670c:
  param_3 = (uint *)PTR_DAT_00056108;
  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);
  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {
    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);
  }
  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));
  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {
    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));
  }
  FUN_000164b4(param_4);
LAB_00016780:
  puVar14 = PTR_DAT_00056108;
  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;
  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);
  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);
  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);
  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;
  if (uVar15 < uVar4) goto LAB_00016b14;
  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));
  if (uVar4 == uVar15) goto LAB_00016b1c;
  do {
    param_3 = (uint *)PTR_DAT_00056108;
    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);
    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {
      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);
    }
    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));
    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {
      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));
    }
    FUN_000164b4(param_4);
LAB_00016838:
    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];
    if (((param_1 == (uint *)0x0) ||
        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||
       (param_2 == 0)) {
LAB_00016844:
      param_1 = (uint *)0x1;
    }
    else {
      iVar5 = *(int *)PTR_stdout_000563d0;
      puVar8 = *(undefined1 **)(iVar5 + 0x14);
      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {
        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;
        *puVar8 = 9;
      }
      else {
        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);
        if (-1 < iVar5) goto LAB_00016844;
        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();
        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;
      }
    }
LAB_00016848:
    if (uVar9 == *(uint *)puVar3) {
      return param_1;
    }
    uVar11 = uVar9;
    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();
LAB_00016b00:
    puVar7 = (undefined *)uVar17;
    uVar4 = uVar11;
    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;
LAB_00016b14:
    do {
      FUN_00016240();
      uVar11 = extraout_v1;
LAB_00016b1c:
    } while (uVar11 != 0);
  } while( true );
}


lui gp,0x4
addiu gp,gp,0x7b30
addu gp,gp,t9
addiu sp,sp,-0x60
lw v1,-0x7fd8(gp)
li v0,0x1
sw s1,0x3c(sp)
sw s0,0x38(sp)
or s0,a0,zero
lw s1,-0x7c2c(gp)
lw v1,0x65c4(v1)
sw gp,0x10(sp)
sw s6,0x50(sp)
or s6,a2,zero
sw s4,0x48(sp)
or s4,a3,zero
sw ra,0x5c(sp)
sw s8,0x58(sp)
sw s7,0x54(sp)
sw s5,0x4c(sp)
sw s3,0x44(sp)
sw s2,0x40(sp)
sw a1,0x64(sp)
lw a0,0x0(s1)
sw a0,0x34(sp)
bne v1,v0,0x000168d0
_lw s5,-0x7fd8(gp)
lw s2,-0x7fd8(gp)
lw v0,0x65b4(s2)
bne v0,zero,0x0001699c
_lw t9,-0x7fcc(gp)
lw s3,-0x7fd8(gp)
lbu v0,0x65b1(s3)
beq v0,zero,0x00016780
_lw s5,-0x7fd8(gp)
lw v0,-0x7fd8(gp)
lw s8,-0x7fd8(gp)
sw v0,0x24(sp)
lw a0,0x657c(v0)
lw v0,0x65cc(s8)
lw s5,0x65c8(s8)
sw v0,0x1c(sp)
sltu v0,a0,s6
beq v0,zero,0x0001670c
_sltu v0,a0,s0
beq v0,zero,0x00016a80
_lw v0,-0x7fa8(gp)
or s7,zero,zero
lb v0,0x0(v0)
b 0x0001668c
_sw v0,0x20(sp)
addiu a0,v0,0x1
sltu v0,a0,s0
beq v0,zero,0x000166a4
_addiu s7,s7,0x1
lw t9,-0x7fc0(gp)
subu a2,s0,a0
jalr t9
_lw a1,0x20(sp)
bne v0,zero,0x0001667c
_lw gp,0x10(sp)
lw v0,0x1c(sp)
addu a0,s7,v0
sltu v1,a0,s7
addu v1,v1,s5
sltu v0,v1,s5
bne v0,zero,0x00016b10
_lw t9,-0x7fcc(gp)
beq s5,v1,0x00016b00
_lw v0,0x1c(sp)
addiu a1,a0,0x1
lw a2,0x24(sp)
sw v1,0x65c8(s8)
sltu v0,a1,a0
sw a0,0x65cc(s8)
addu v0,v0,v1
sw a1,0x1c(sp)
sw s0,0x657c(a2)
sltu a2,v0,v1
bne a2,zero,0x00016b0c
_or s5,v0,zero
beq v1,v0,0x00016b2c
_sltu a0,a1,a0
sw v0,0x65c8(s8)
sw a1,0x65cc(s8)
lw v0,0x24(sp)
sw s6,0x657c(v0)
lw s6,-0x7fd8(gp)
lw a0,-0x7fd8(gp)
lw v1,0x664c(s6)
beq v1,zero,0x0001672c
_lw s7,0x6038(a0)
lb v1,0x0(s7)
bne v1,zero,0x00016a0c
_lw v1,-0x7fd8(gp)
lw v1,-0x7fd8(gp)
or a2,s5,zero
lw a0,-0x7fc8(gp)
lw t9,-0x7fcc(gp)
lw a3,0x1c(sp)
lw a1,0x6644(v1)
addiu t9,t9,0x6004
bal 0x00016004
_addiu a0,a0,0x848
lw v0,0x664c(s6)
beq v0,zero,0x00016768
_lw gp,0x10(sp)
lb v0,0x0(s7)
bne v0,zero,0x000169f8
_lw v0,-0x7fd8(gp)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x64b4
bal 0x000164b4
_or a0,s4,zero
lw gp,0x10(sp)
lw s5,-0x7fd8(gp)
lbu v0,0x65b0(s5)
beq v0,zero,0x00016838
_lw v0,-0x7fd8(gp)
lw v1,-0x7fd8(gp)
lw v0,-0x7fd8(gp)
lw a2,0x65f0(v1)
lw v1,0x6584(v0)
lw v0,0x6580(v0)
subu s0,s0,a2
sra a2,s0,0x1f
addu a3,s0,v1
addu a2,a2,v0
sltu s0,a3,s0
addu a2,s0,a2
sltu a0,a2,v0
bne a0,zero,0x00016b10
_lw t9,-0x7fcc(gp)
beq v0,a2,0x00016b1c
_sltu v1,a3,v1
lw s6,-0x7fd8(gp)
lw a0,-0x7fd8(gp)
lw v1,0x664c(s6)
beq v1,zero,0x000167ec
_lw s0,0x6034(a0)
lb v1,0x0(s0)
bne v1,zero,0x00016a38
_lw v1,-0x7fd8(gp)
lw v1,-0x7fd8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7fcc(gp)
lw a1,0x6644(v1)
addiu t9,t9,0x6004
bal 0x00016004
_addiu a0,a0,0x848
lw v0,0x664c(s6)
beq v0,zero,0x00016820
_lw gp,0x10(sp)
lb v0,0x0(s0)
bne v0,zero,0x00016a24
_lw v0,-0x7fd8(gp)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x64b4
bal 0x000164b4
_or a0,s4,zero
lw gp,0x10(sp)
lw v0,-0x7fd8(gp)
lbu s0,0x6648(v0)
bne s0,zero,0x00016888
_lbu v0,0x65b1(s3)
li s0,0x1
lw a0,0x34(sp)
or v0,s0,zero
lw v1,0x0(s1)
bne a0,v1,0x00016af4
_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
lbu a0,0x65b0(s5)
lw v1,0x65b4(s2)
or v0,v0,a0
or v0,v0,v1
beq v0,zero,0x00016844
_lw v0,0x64(sp)
beq v0,zero,0x00016844
_lw v0,-0x7d10(gp)
lw a0,0x0(v0)
lw v1,0x14(a0)
lw v0,0x18(a0)
sltu v0,v1,v0
beq v0,zero,0x00016ac0
_addiu v0,v1,0x1
sw v0,0x14(a0)
li v0,0x9
b 0x00016848
_sb v0,0x0(v1)
lw a1,0x6600(s5)
lw v0,0x6604(s5)
or v1,a1,v0
beq v1,zero,0x0001661c
_lw v1,0x64(sp)
or s2,s0,zero
sw zero,0x2c(sp)
addiu s7,sp,0x2c
sw zero,0x30(sp)
addu s8,s0,v1
li v1,-0x1
lb s3,0x0(s8)
b 0x0001691c
_sb v1,0x0(s8)
lbu v1,0x0(s2)
and v1,v1,v0
bne v1,zero,0x00016954
_nop
addiu s2,s2,0x1
andi v1,s2,0x7
bne v1,zero,0x00016908
_nop
lw v1,0x0(s2)
lw a0,0x4(s2)
and v1,v1,a1
and a0,a0,v0
or v1,v1,a0
beq v1,zero,0x00016994
_nop
lbu v1,0x0(s2)
and v1,v1,v0
beq v1,zero,0x0001698c
_nop
sltu v0,s2,s8
beq v0,zero,0x00016a78
_lw t9,-0x7fa4(gp)
subu a1,s8,s2
or a2,s7,zero
jalr t9
_or a0,s2,zero
sltiu v1,v0,-0x2
beq v1,zero,0x00016a60
_lw gp,0x10(sp)
addu s2,s2,v0
lw a1,0x6600(s5)
b 0x0001691c
_lw v0,0x6604(s5)
b 0x00016944
_addiu s2,s2,0x1
b 0x00016928
_addiu s2,s2,0x8
addiu t9,t9,0x63a0
bal 0x000163a0
_nop
lw gp,0x10(sp)
lw v0,-0x7fd8(gp)
lw v0,0x65bc(v0)
bne v0,zero,0x000169e4
_lw t9,-0x7fcc(gp)
lw v0,-0x7d10(gp)
lw a0,0x0(v0)
lw v1,0x14(a0)
lw v0,0x18(a0)
sltu v0,v1,v0
beq v0,zero,0x00016a8c
_addiu v0,v1,0x1
sw v0,0x14(a0)
b 0x0001662c
_sb zero,0x0(v1)
addiu t9,t9,0x64b4
bal 0x000164b4
_or a0,s4,zero
b 0x0001662c
_lw gp,0x10(sp)
lw t9,-0x7fb0(gp)
bal 0x0003592c
_lw a0,0x6020(v0)
b 0x00016768
_lw gp,0x10(sp)
or a1,s7,zero
lw t9,-0x7fac(gp)
bal 0x0003590c
_lw a0,0x6024(v1)
b 0x0001672c
_lw gp,0x10(sp)
lw t9,-0x7fb0(gp)
bal 0x0003592c
_lw a0,0x6020(v0)
b 0x00016820
_lw gp,0x10(sp)
or a1,s0,zero
lw t9,-0x7fac(gp)
sw a3,0x20(sp)
sw a2,0x1c(sp)
bal 0x0003590c
_lw a0,0x6024(v1)
lw gp,0x10(sp)
lw a3,0x20(sp)
b 0x000167ec
_lw a2,0x1c(sp)
lw v0,-0x7fd8(gp)
li v1,0x1
sb s3,0x0(s8)
or s0,zero,zero
b 0x00016848
_sb v1,0x6618(v0)
b 0x0001661c
_sb s3,0x0(s8)
or v1,s5,zero
b 0x000166c8
_lw a0,0x1c(sp)
lw t9,-0x7d38(gp)
jalr t9
_or a1,zero,zero
bgez v0,0x0001662c
_lw gp,0x10(sp)
lw t9,-0x7cf8(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v1,0x0(v0)
lw v0,-0x7fd8(gp)
b 0x0001662c
_sw v1,0x6630(v0)
lw t9,-0x7d38(gp)
jalr t9
_li a1,0x9
bgez v0,0x00016844
_lw gp,0x10(sp)
lw t9,-0x7cf8(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v1,0x0(v0)
lw v0,-0x7fd8(gp)
b 0x00016848
_sw v1,0x6630(v0)
lw t9,-0x7c4c(gp)
jalr t9
_nop
sltu v0,a0,v0
beq v0,zero,0x000166cc
_addiu a1,a0,0x1
lw t9,-0x7fcc(gp)
addiu t9,t9,0x6240
bal 0x00016240
_nop
beq v1,zero,0x000167cc
_lw t9,-0x7fcc(gp)
b 0x00016b14
_addiu t9,t9,0x6240
beq a0,zero,0x000166fc
_lw t9,-0x7fcc(gp)
b 0x00016b14
_addiu t9,t9,0x6240
(translation_unit "uint * FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}\n\n" (function_definition "uint * FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}" type_identifier (pointer_declarator "* FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" * (function_declarator "FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" identifier (parameter_list "(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) )))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint extraout_v1;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "char *pcVar16;" primitive_type (pointer_declarator "*pcVar16" * identifier) ;) (declaration "uint *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "undefined *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000564b4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000564b4" identifier = identifier) ;) (expression_statement "puVar14 = PTR_DAT_00056108;" (assignment_expression "puVar14 = PTR_DAT_00056108" identifier = identifier) ;) (expression_statement "uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;" (assignment_expression "uVar9 = *(uint *)PTR___stack_chk_guard_000564b4" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_000564b4" * (cast_expression "(uint *)PTR___stack_chk_guard_000564b4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65c4) != 1)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65c4) != 1" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65c4)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65c4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65c4)" ( (binary_expression "PTR_DAT_00056108 + 0x65c4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }" { (expression_statement "uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);" (assignment_expression "uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6600)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6600)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6600)" ( (binary_expression "PTR_DAT_00056108 + 0x6600" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6604)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6604)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6604)" ( (binary_expression "PTR_DAT_00056108 + 0x6604" identifier + number_literal) ))))) ;) (if_statement "if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }" if (parenthesized_expression "(uVar15 != 0 || uVar4 != 0)" ( (binary_expression "uVar15 != 0 || uVar4 != 0" (binary_expression "uVar15 != 0" identifier != number_literal) || (binary_expression "uVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }" { (expression_statement "unaff_s8 = (uint *)((int)param_1 + param_2);" (assignment_expression "unaff_s8 = (uint *)((int)param_1 + param_2)" identifier = (cast_expression "(uint *)((int)param_1 + param_2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + param_2)" ( (binary_expression "(int)param_1 + param_2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "bVar2 = *(byte *)unaff_s8;" (assignment_expression "bVar2 = *(byte *)unaff_s8" identifier = (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar13 = (undefined *)(int)(char)bVar2;" (assignment_expression "puVar13 = (undefined *)(int)(char)bVar2" identifier = (cast_expression "(undefined *)(int)(char)bVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)(char)bVar2" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier)))) ;) (expression_statement "*(byte *)unaff_s8 = 0xff;" (assignment_expression "*(byte *)unaff_s8 = 0xff" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar12 = param_1;" (assignment_expression "puVar12 = param_1" identifier = identifier) ;) (do_statement "do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );" do (compound_statement "{\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      }" { (for_statement "for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }" for ( ; (binary_expression "((uint)puVar12 & 7) != 0" (parenthesized_expression "((uint)puVar12 & 7)" ( (binary_expression "(uint)puVar12 & 7" (cast_expression "(uint)puVar12" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ; (assignment_expression "puVar12 = (uint *)((int)puVar12 + 1)" identifier = (cast_expression "(uint *)((int)puVar12 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ) (compound_statement "{\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }" { (if_statement "if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;" if (parenthesized_expression "((*(byte *)puVar12 & uVar4) != 0)" ( (binary_expression "(*(byte *)puVar12 & uVar4) != 0" (parenthesized_expression "(*(byte *)puVar12 & uVar4)" ( (binary_expression "*(byte *)puVar12 & uVar4" (pointer_expression "*(byte *)puVar12" * (cast_expression "(byte *)puVar12" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & identifier) )) != number_literal) )) (goto_statement "goto LAB_00016954;" goto statement_identifier ;)) })) (for_statement "for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }" for ( ; (binary_expression "(*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0" (binary_expression "(*puVar12 & uVar15) == 0" (parenthesized_expression "(*puVar12 & uVar15)" ( (binary_expression "*puVar12 & uVar15" (pointer_expression "*puVar12" * identifier) & identifier) )) == number_literal) && (binary_expression "(puVar12[1] & uVar4) == 0" (parenthesized_expression "(puVar12[1] & uVar4)" ( (binary_expression "puVar12[1] & uVar4" (subscript_expression "puVar12[1]" identifier [ number_literal ]) & identifier) )) == number_literal)) ; (assignment_expression "puVar12 = puVar12 + 2" identifier = (binary_expression "puVar12 + 2" identifier + number_literal)) ) (compound_statement "{\n        }" { })) (for_statement "for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }" for ( ; (binary_expression "(*(byte *)puVar12 & uVar4) == 0" (parenthesized_expression "(*(byte *)puVar12 & uVar4)" ( (binary_expression "*(byte *)puVar12 & uVar4" (pointer_expression "*(byte *)puVar12" * (cast_expression "(byte *)puVar12" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & identifier) )) == number_literal) ; (assignment_expression "puVar12 = (uint *)((int)puVar12 + 1)" identifier = (cast_expression "(uint *)((int)puVar12 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ) (compound_statement "{\n        }" { })) (labeled_statement "LAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" statement_identifier : (if_statement "if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" if (parenthesized_expression "(unaff_s8 <= puVar12)" ( (binary_expression "unaff_s8 <= puVar12" identifier <= identifier) )) (compound_statement "{\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" { (expression_statement "*(byte *)unaff_s8 = bVar2;" (assignment_expression "*(byte *)unaff_s8 = bVar2" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (break_statement "break;" break ;) }))) (expression_statement "uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);" (assignment_expression "uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12)" identifier = (call_expression "(*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12)" (parenthesized_expression "(*(code *)PTR_rpl_mbrlen_0005613c)" ( (pointer_expression "*(code *)PTR_rpl_mbrlen_0005613c" * (cast_expression "(code *)PTR_rpl_mbrlen_0005613c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12,(int)unaff_s8 - (int)puVar12)" ( identifier , (binary_expression "(int)unaff_s8 - (int)puVar12" (cast_expression "(int)unaff_s8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "puVar7 = PTR_DAT_00056108;" (assignment_expression "puVar7 = PTR_DAT_00056108" identifier = identifier) ;) (if_statement "if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }" if (parenthesized_expression "(0xfffffffd < uVar4)" ( (binary_expression "0xfffffffd < uVar4" number_literal < identifier) )) (compound_statement "{\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }" { (expression_statement "*(byte *)unaff_s8 = bVar2;" (assignment_expression "*(byte *)unaff_s8 = bVar2" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "param_1 = (uint *)0x0;" (assignment_expression "param_1 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar7[0x6618] = 1;" (assignment_expression "puVar7[0x6618] = 1" (subscript_expression "puVar7[0x6618]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_00016848;" goto statement_identifier ;) })) (expression_statement "puVar12 = (uint *)((int)puVar12 + uVar4);" (assignment_expression "puVar12 = (uint *)((int)puVar12 + uVar4)" identifier = (cast_expression "(uint *)((int)puVar12 + uVar4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + uVar4)" ( (binary_expression "(int)puVar12 + uVar4" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar15 = *(uint *)(puVar14 + 0x6600);" (assignment_expression "uVar15 = *(uint *)(puVar14 + 0x6600)" identifier = (pointer_expression "*(uint *)(puVar14 + 0x6600)" * (cast_expression "(uint *)(puVar14 + 0x6600)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x6600)" ( (binary_expression "puVar14 + 0x6600" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(puVar14 + 0x6604);" (assignment_expression "uVar4 = *(uint *)(puVar14 + 0x6604)" identifier = (pointer_expression "*(uint *)(puVar14 + 0x6604)" * (cast_expression "(uint *)(puVar14 + 0x6604)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x6604)" ( (binary_expression "puVar14 + 0x6604" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (expression_statement "puVar12 = (uint *)PTR_DAT_00056108;" (assignment_expression "puVar12 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65b4) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65b4) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65b4)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65b4)" ( (binary_expression "PTR_DAT_00056108 + 0x65b4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }" { (expression_statement "FUN_000163a0();" (call_expression "FUN_000163a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }" if (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65bc) == 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65bc) == 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65bc)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65bc)" ( (binary_expression "PTR_DAT_00056108 + 0x65bc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }" { (expression_statement "iVar5 = *(int *)PTR_stdout_000563d0;" (assignment_expression "iVar5 = *(int *)PTR_stdout_000563d0" identifier = (pointer_expression "*(int *)PTR_stdout_000563d0" * (cast_expression "(int *)PTR_stdout_000563d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar8 = *(undefined1 **)(iVar5 + 0x14);" (assignment_expression "puVar8 = *(undefined1 **)(iVar5 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" if (parenthesized_expression "(puVar8 < *(undefined1 **)(iVar5 + 0x18))" ( (binary_expression "puVar8 < *(undefined1 **)(iVar5 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar5 + 0x18)" * (cast_expression "(undefined1 **)(iVar5 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }" { (expression_statement "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;" (assignment_expression "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1" (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) }) (else_clause "else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" else (compound_statement "{\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" { (expression_statement "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);" (assignment_expression "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0)" identifier = (call_expression "(*(code *)PTR___overflow_000563a8)(iVar5,0)" (parenthesized_expression "(*(code *)PTR___overflow_000563a8)" ( (pointer_expression "*(code *)PTR___overflow_000563a8" * (cast_expression "(code *)PTR___overflow_000563a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }" { (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000563e8)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000563e8)()" (parenthesized_expression "(*(code *)PTR___errno_location_000563e8)" ( (pointer_expression "*(code *)PTR___errno_location_000563e8" * (cast_expression "(code *)PTR___errno_location_000563e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;" (assignment_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6" (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6630)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6630)" ( (binary_expression "PTR_DAT_00056108 + 0x6630" identifier + number_literal) )))) = (pointer_expression "*puVar6" * identifier)) ;) })) }))) }) (else_clause "else {\n      FUN_000164b4(param_4);\n    }" else (compound_statement "{\n      FUN_000164b4(param_4);\n    }" { (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) }))) })) (expression_statement "puVar13 = PTR_DAT_00056108;" (assignment_expression "puVar13 = PTR_DAT_00056108" identifier = identifier) ;) (if_statement "if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;" if (parenthesized_expression "(PTR_DAT_00056108[0x65b1] == '\0')" ( (binary_expression "PTR_DAT_00056108[0x65b1] == '\0'" (subscript_expression "PTR_DAT_00056108[0x65b1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016780;" goto statement_identifier ;)) (expression_statement "local_3c = PTR_DAT_00056108;" (assignment_expression "local_3c = PTR_DAT_00056108" identifier = identifier) ;) (expression_statement "puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);" (assignment_expression "puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c)" identifier = (pointer_expression "*(uint **)(PTR_DAT_00056108 + 0x657c)" * (cast_expression "(uint **)(PTR_DAT_00056108 + 0x657c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x657c)" ( (binary_expression "PTR_DAT_00056108 + 0x657c" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x65cc)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x65cc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65cc)" ( (binary_expression "PTR_DAT_00056108 + 0x65cc" identifier + number_literal) ))))) ;) (expression_statement "puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);" (assignment_expression "puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8)" identifier = (pointer_expression "*(undefined **)(PTR_DAT_00056108 + 0x65c8)" * (cast_expression "(undefined **)(PTR_DAT_00056108 + 0x65c8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65c8)" ( (binary_expression "PTR_DAT_00056108 + 0x65c8" identifier + number_literal) ))))) ;) (expression_statement "unaff_s8 = (uint *)PTR_DAT_00056108;" (assignment_expression "unaff_s8 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (param_3 <= puVar10) goto LAB_0001670c;" if (parenthesized_expression "(param_3 <= puVar10)" ( (binary_expression "param_3 <= puVar10" identifier <= identifier) )) (goto_statement "goto LAB_0001670c;" goto statement_identifier ;)) (expression_statement "puVar7 = puVar14;" (assignment_expression "puVar7 = puVar14" identifier = identifier) ;) (expression_statement "unaff_s8 = (uint *)puVar13;" (assignment_expression "unaff_s8 = (uint *)puVar13" identifier = (cast_expression "(uint *)puVar13" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }" if (parenthesized_expression "(puVar10 < param_1)" ( (binary_expression "puVar10 < param_1" identifier < identifier) )) (compound_statement "{\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }" { (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (expression_statement "cVar1 = *PTR_eolbyte_00056138;" (assignment_expression "cVar1 = *PTR_eolbyte_00056138" identifier = (pointer_expression "*PTR_eolbyte_00056138" * identifier)) ;) (do_statement "do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);" do (compound_statement "{\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    }" { (expression_statement "iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);" (assignment_expression "iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1)" identifier = (call_expression "(*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1)" (parenthesized_expression "(*(code *)PTR_rpl_memchr_00056120)" ( (pointer_expression "*(code *)PTR_rpl_memchr_00056120" * (cast_expression "(code *)PTR_rpl_memchr_00056120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10,(int)cVar1)" ( identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar10 = (uint *)(iVar5 + 1);" (assignment_expression "puVar10 = (uint *)(iVar5 + 1)" identifier = (cast_expression "(uint *)(iVar5 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 1)" ( (binary_expression "iVar5 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar10 < param_1)" ( (binary_expression "puVar10 < param_1" identifier < identifier) )) ;) (expression_statement "uVar11 = uVar15 + uVar4;" (assignment_expression "uVar11 = uVar15 + uVar4" identifier = (binary_expression "uVar15 + uVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar14 + (uVar11 < uVar15);" (assignment_expression "puVar7 = puVar14 + (uVar11 < uVar15)" identifier = (binary_expression "puVar14 + (uVar11 < uVar15)" identifier + (parenthesized_expression "(uVar11 < uVar15)" ( (binary_expression "uVar11 < uVar15" identifier < identifier) )))) ;) (expression_statement "uVar17 = CONCAT44(uVar4,puVar7);" (assignment_expression "uVar17 = CONCAT44(uVar4,puVar7)" identifier = (call_expression "CONCAT44(uVar4,puVar7)" identifier (argument_list "(uVar4,puVar7)" ( identifier , identifier )))) ;) (if_statement "if (puVar7 < puVar14) goto LAB_00016b14;" if (parenthesized_expression "(puVar7 < puVar14)" ( (binary_expression "puVar7 < puVar14" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "uVar4 = uVar11;" (assignment_expression "uVar4 = uVar11" identifier = identifier) ;) (if_statement "if (puVar14 == puVar7) goto LAB_00016b00;" if (parenthesized_expression "(puVar14 == puVar7)" ( (binary_expression "puVar14 == puVar7" identifier == identifier) )) (goto_statement "goto LAB_00016b00;" goto statement_identifier ;)) })) (labeled_statement "LAB_000166cc:\n  uVar15 = uVar4 + 1;" statement_identifier : (expression_statement "uVar15 = uVar4 + 1;" (assignment_expression "uVar15 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;)) (expression_statement "unaff_s8[0x1972] = (uint)puVar7;" (assignment_expression "unaff_s8[0x1972] = (uint)puVar7" (subscript_expression "unaff_s8[0x1972]" identifier [ number_literal ]) = (cast_expression "(uint)puVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "unaff_s8[0x1973] = uVar4;" (assignment_expression "unaff_s8[0x1973] = uVar4" (subscript_expression "unaff_s8[0x1973]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar14 = puVar7 + (uVar15 < uVar4);" (assignment_expression "puVar14 = puVar7 + (uVar15 < uVar4)" identifier = (binary_expression "puVar7 + (uVar15 < uVar4)" identifier + (parenthesized_expression "(uVar15 < uVar4)" ( (binary_expression "uVar15 < uVar4" identifier < identifier) )))) ;) (expression_statement "*(uint **)(local_3c + 0x657c) = param_1;" (assignment_expression "*(uint **)(local_3c + 0x657c) = param_1" (pointer_expression "*(uint **)(local_3c + 0x657c)" * (cast_expression "(uint **)(local_3c + 0x657c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_3c + 0x657c)" ( (binary_expression "local_3c + 0x657c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (puVar14 < puVar7) goto LAB_00016b14;" if (parenthesized_expression "(puVar14 < puVar7)" ( (binary_expression "puVar14 < puVar7" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (if_statement "if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;" if (parenthesized_expression "((puVar7 == puVar14) && (uVar15 < uVar4))" ( (binary_expression "(puVar7 == puVar14) && (uVar15 < uVar4)" (parenthesized_expression "(puVar7 == puVar14)" ( (binary_expression "puVar7 == puVar14" identifier == identifier) )) && (parenthesized_expression "(uVar15 < uVar4)" ( (binary_expression "uVar15 < uVar4" identifier < identifier) ))) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "unaff_s8[0x1972] = (uint)puVar14;" (assignment_expression "unaff_s8[0x1972] = (uint)puVar14" (subscript_expression "unaff_s8[0x1972]" identifier [ number_literal ]) = (cast_expression "(uint)puVar14" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "unaff_s8[0x1973] = uVar15;" (assignment_expression "unaff_s8[0x1973] = uVar15" (subscript_expression "unaff_s8[0x1973]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(uint **)(local_3c + 0x657c) = param_3;" (assignment_expression "*(uint **)(local_3c + 0x657c) = param_3" (pointer_expression "*(uint **)(local_3c + 0x657c)" * (cast_expression "(uint **)(local_3c + 0x657c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_3c + 0x657c)" ( (binary_expression "local_3c + 0x657c" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;" statement_identifier : (expression_statement "param_3 = (uint *)PTR_DAT_00056108;" (assignment_expression "param_3 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);" (assignment_expression "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038)" identifier = (pointer_expression "*(char **)(PTR_DAT_00056108 + 0x6038)" * (cast_expression "(char **)(PTR_DAT_00056108 + 0x6038)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6038)" ( (binary_expression "PTR_DAT_00056108 + 0x6038" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }" if (parenthesized_expression "((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x664c) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x664c)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x664c)" ( (binary_expression "PTR_DAT_00056108 + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }" { (expression_statement "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);" (call_expression "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6024)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6024)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6024)" ( (binary_expression "PTR_DAT_00056108 + 0x6024" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));" (call_expression "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" identifier (argument_list "(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" ( (binary_expression "PTR_wcrtomb_00056118 + 0x848" identifier + number_literal) , (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6644)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6644)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6644)" ( (binary_expression "PTR_DAT_00056108 + 0x6644" identifier + number_literal) )))) ))) ;) (if_statement "if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }" if (parenthesized_expression "((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)((int)param_3 + 0x664c) != 0)" ( (binary_expression "*(int *)((int)param_3 + 0x664c) != 0" (pointer_expression "*(int *)((int)param_3 + 0x664c)" * (cast_expression "(int *)((int)param_3 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x664c)" ( (binary_expression "(int)param_3 + 0x664c" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }" { (expression_statement "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));" (call_expression "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6020)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6020)" ( (binary_expression "PTR_DAT_00056108 + 0x6020" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (labeled_statement "LAB_00016780:\n  puVar14 = PTR_DAT_00056108;" statement_identifier : (expression_statement "puVar14 = PTR_DAT_00056108;" (assignment_expression "puVar14 = PTR_DAT_00056108" identifier = identifier) ;)) (if_statement "if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;" if (parenthesized_expression "(PTR_DAT_00056108[0x65b0] == '\0')" ( (binary_expression "PTR_DAT_00056108[0x65b0] == '\0'" (subscript_expression "PTR_DAT_00056108[0x65b0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016838;" goto statement_identifier ;)) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6580)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6580)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6580)" ( (binary_expression "PTR_DAT_00056108 + 0x6580" identifier + number_literal) ))))) ;) (expression_statement "uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);" (assignment_expression "uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0)" identifier = (binary_expression "(int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) - (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65f0)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65f0)" ( (binary_expression "PTR_DAT_00056108 + 0x65f0" identifier + number_literal) )))))) ;) (expression_statement "uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);" (assignment_expression "uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584)" identifier = (binary_expression "uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584)" identifier + (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6584)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6584)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6584)" ( (binary_expression "PTR_DAT_00056108 + 0x6584" identifier + number_literal) )))))) ;) (expression_statement "uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;" (assignment_expression "uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4" identifier = (binary_expression "(uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4" (binary_expression "(uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f)" (call_expression "(uint)(uVar11 < uVar15)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 < uVar15)" ( (binary_expression "uVar11 < uVar15" identifier < identifier) ))) + (parenthesized_expression "((int)uVar15 >> 0x1f)" ( (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + identifier)) ;) (if_statement "if (uVar15 < uVar4) goto LAB_00016b14;" if (parenthesized_expression "(uVar15 < uVar4)" ( (binary_expression "uVar15 < uVar4" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));" (assignment_expression "uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" identifier = (call_expression "(uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" ( (binary_expression "uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584)" identifier < (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6584)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6584)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6584)" ( (binary_expression "PTR_DAT_00056108 + 0x6584" identifier + number_literal) ))))) )))) ;) (if_statement "if (uVar4 == uVar15) goto LAB_00016b1c;" if (parenthesized_expression "(uVar4 == uVar15)" ( (binary_expression "uVar4 == uVar15" identifier == identifier) )) (goto_statement "goto LAB_00016b1c;" goto statement_identifier ;)) (do_statement "do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );" do (compound_statement "{\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  }" { (expression_statement "param_3 = (uint *)PTR_DAT_00056108;" (assignment_expression "param_3 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);" (assignment_expression "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034)" identifier = (pointer_expression "*(char **)(PTR_DAT_00056108 + 0x6034)" * (cast_expression "(char **)(PTR_DAT_00056108 + 0x6034)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6034)" ( (binary_expression "PTR_DAT_00056108 + 0x6034" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }" if (parenthesized_expression "((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x664c) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x664c)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x664c)" ( (binary_expression "PTR_DAT_00056108 + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }" { (expression_statement "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);" (call_expression "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6024)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6024)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6024)" ( (binary_expression "PTR_DAT_00056108 + 0x6024" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));" (call_expression "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" identifier (argument_list "(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" ( (binary_expression "PTR_wcrtomb_00056118 + 0x848" identifier + number_literal) , (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6644)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6644)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6644)" ( (binary_expression "PTR_DAT_00056108 + 0x6644" identifier + number_literal) )))) ))) ;) (if_statement "if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }" if (parenthesized_expression "((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)((int)param_3 + 0x664c) != 0)" ( (binary_expression "*(int *)((int)param_3 + 0x664c) != 0" (pointer_expression "*(int *)((int)param_3 + 0x664c)" * (cast_expression "(int *)((int)param_3 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x664c)" ( (binary_expression "(int)param_3 + 0x664c" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }" { (expression_statement "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));" (call_expression "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6020)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6020)" ( (binary_expression "PTR_DAT_00056108 + 0x6020" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (labeled_statement "LAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];" statement_identifier : (expression_statement "param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];" (assignment_expression "param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648]" identifier = (cast_expression "(uint *)(uint)(byte)PTR_DAT_00056108[0x6648]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)(byte)PTR_DAT_00056108[0x6648]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_00056108[0x6648]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_00056108[0x6648]" identifier [ number_literal ]))))) ;)) (if_statement "if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" if (parenthesized_expression "(((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0))" ( (binary_expression "((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)" (parenthesized_expression "((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0))" ( (binary_expression "(param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)" (parenthesized_expression "(param_1 == (uint *)0x0)" ( (binary_expression "param_1 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)" ( (binary_expression "(puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0" (parenthesized_expression "(puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0')" ( (binary_expression "puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0'" (binary_expression "puVar13[0x65b1] == '\0'" (subscript_expression "puVar13[0x65b1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (binary_expression "puVar14[0x65b0] == '\0'" (subscript_expression "puVar14[0x65b0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "puVar12[0x196d] == 0" (subscript_expression "puVar12[0x196d]" identifier [ number_literal ]) == number_literal)) ))) )) || (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }" { (labeled_statement "LAB_00016844:\n      param_1 = (uint *)0x1;" statement_identifier : (expression_statement "param_1 = (uint *)0x1;" (assignment_expression "param_1 = (uint *)0x1" identifier = (cast_expression "(uint *)0x1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" else (compound_statement "{\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" { (expression_statement "iVar5 = *(int *)PTR_stdout_000563d0;" (assignment_expression "iVar5 = *(int *)PTR_stdout_000563d0" identifier = (pointer_expression "*(int *)PTR_stdout_000563d0" * (cast_expression "(int *)PTR_stdout_000563d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar8 = *(undefined1 **)(iVar5 + 0x14);" (assignment_expression "puVar8 = *(undefined1 **)(iVar5 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" if (parenthesized_expression "(puVar8 < *(undefined1 **)(iVar5 + 0x18))" ( (binary_expression "puVar8 < *(undefined1 **)(iVar5 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar5 + 0x18)" * (cast_expression "(undefined1 **)(iVar5 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }" { (expression_statement "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;" (assignment_expression "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1" (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = 9;" (assignment_expression "*puVar8 = 9" (pointer_expression "*puVar8" * identifier) = number_literal) ;) }) (else_clause "else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" else (compound_statement "{\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" { (expression_statement "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);" (assignment_expression "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9)" identifier = (call_expression "(*(code *)PTR___overflow_000563a8)(iVar5,9)" (parenthesized_expression "(*(code *)PTR___overflow_000563a8)" ( (pointer_expression "*(code *)PTR___overflow_000563a8" * (cast_expression "(code *)PTR___overflow_000563a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,9)" ( identifier , number_literal )))) ;) (if_statement "if (-1 < iVar5) goto LAB_00016844;" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_00016844;" goto statement_identifier ;)) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000563e8)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000563e8)()" (parenthesized_expression "(*(code *)PTR___errno_location_000563e8)" ( (pointer_expression "*(code *)PTR___errno_location_000563e8" * (cast_expression "(code *)PTR___errno_location_000563e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;" (assignment_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6" (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6630)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6630)" ( (binary_expression "PTR_DAT_00056108 + 0x6630" identifier + number_literal) )))) = (pointer_expression "*puVar6" * identifier)) ;) }))) }))) (labeled_statement "LAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }" if (parenthesized_expression "(uVar9 == *(uint *)puVar3)" ( (binary_expression "uVar9 == *(uint *)puVar3" identifier == (pointer_expression "*(uint *)puVar3" * (cast_expression "(uint *)puVar3" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) (expression_statement "uVar11 = uVar9;" (assignment_expression "uVar11 = uVar9" identifier = identifier) ;) (expression_statement "uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();" (assignment_expression "uVar17 = (*(code *)PTR___stack_chk_fail_00056494)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_00056494)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00056494)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00056494" * (cast_expression "(code *)PTR___stack_chk_fail_00056494" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (labeled_statement "LAB_00016b00:\n    puVar7 = (undefined *)uVar17;" statement_identifier : (expression_statement "puVar7 = (undefined *)uVar17;" (assignment_expression "puVar7 = (undefined *)uVar17" identifier = (cast_expression "(undefined *)uVar17" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "uVar4 = uVar11;" (assignment_expression "uVar4 = uVar11" identifier = identifier) ;) (if_statement "if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;" if (parenthesized_expression "((uint)((ulonglong)uVar17 >> 0x20) <= uVar11)" ( (binary_expression "(uint)((ulonglong)uVar17 >> 0x20) <= uVar11" (call_expression "(uint)((ulonglong)uVar17 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) <= identifier) )) (goto_statement "goto LAB_000166cc;" goto statement_identifier ;)) (labeled_statement "LAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);" statement_identifier : (do_statement "do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);" do (compound_statement "{\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    }" { (expression_statement "FUN_00016240();" (call_expression "FUN_00016240()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar11 = extraout_v1;" (assignment_expression "uVar11 = extraout_v1" identifier = identifier) ;) (labeled_statement "LAB_00016b1c:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "_Bool print_line_head(char *beg,size_t len,char *lim,char sep)\n\n{\n  int *piVar1;\n  char cVar2;\n  byte bVar3;\n  undefined *puVar4;\n  mbstate_t *pmVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  undefined1 *puVar9;\n  mbstate_t *pmVar10;\n  char *pcVar11;\n  mbstate_t *pmVar12;\n  uint uVar13;\n  uint uVar14;\n  uint *puVar15;\n  int iVar16;\n  mbstate_t *pmVar17;\n  mbstate_t *pmVar18;\n  undefined1 *puVar19;\n  uint *unaff_s8;\n  undefined8 uVar20;\n  uintmax_t uVar21;\n  undefined1 *puVar22;\n  undefined4 in_stack_ffffffb4;\n  undefined4 in_stack_ffffffb8;\n  mbstate_t *in_stack_ffffffbc;\n  int local_3c;\n  mbstate_t mbs;\n  \n  puVar4 = PTR___stack_chk_guard_000564b4;\n  pmVar17 = (mbstate_t *)PTR_DAT_00056108;\n  puVar19 = &_gp;\n  puVar22 = &_gp;\n  pmVar10 = *(mbstate_t **)PTR___stack_chk_guard_000564b4;\n  pmVar12 = (mbstate_t *)lim;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar13 != 0 || uVar8 != 0) {\n      mbs.__count = 0;\n      mbs.__value.__wch = 0;\n      unaff_s8 = (uint *)(beg + len);\n      bVar3 = *(byte *)unaff_s8;\n      iVar16 = (int)(char)bVar3;\n      *(byte *)unaff_s8 = 0xff;\n      puVar15 = (uint *)beg;\n      do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar15 = *(uint **)(puVar19 + -0x7fd8);\n  if (puVar15[0x196d] != 0) {\n    puVar19 = puVar22;\n    print_filename();\n    if (*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0) {\n      iVar16 = **(int **)(puVar19 + -0x7d10);\n      puVar22 = *(undefined1 **)(iVar16 + 0x14);\n      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }\n    }\n    else {\n      print_sep(sep);\n      puVar22 = puVar19;\n    }\n  }\n  iVar16 = *(int *)(puVar19 + -0x7fd8);\n  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);\n  if (*(char *)(iVar16 + 0x65b1) == '\0') goto LAB_00016780;\n  local_3c = *(int *)(puVar19 + -0x7fd8);\n  unaff_s8 = *(uint **)(puVar19 + -0x7fd8);\n  pcVar11 = *(char **)(local_3c + 0x657c);\n  pmVar5 = (mbstate_t *)unaff_s8[0x1973];\n  pmVar17 = (mbstate_t *)unaff_s8[0x1972];\n  pmVar12 = pmVar17;\n  in_stack_ffffffbc = pmVar5;\n  if (lim <= pcVar11) goto LAB_0001670c;\n  pmVar18 = pmVar17;\n  if (pcVar11 < beg) {\n    pmVar18 = (mbstate_t *)0x0;\n    cVar2 = **(char **)(puVar19 + -0x7fa8);\n    do {\n      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);\n      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);\n      puVar19 = puVar22;\n      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);\n      puVar22 = puVar19;\n      if (iVar6 == 0) break;\n      pcVar11 = (char *)(iVar6 + 1);\n      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);\n    } while (pcVar11 < beg);\n    pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count);\n    pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18));\n    uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18);\n    if (pmVar18 < pmVar17) goto LAB_00016b14;\n    if (pmVar17 == pmVar18) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  in_stack_ffffffbc = (mbstate_t *)((int)&pmVar5->__count + 1);\n  unaff_s8[0x1972] = (uint)pmVar18;\n  unaff_s8[0x1973] = (uint)pmVar5;\n  pmVar17 = (mbstate_t *)((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5));\n  *(char **)(local_3c + 0x657c) = beg;\n  pmVar12 = (mbstate_t *)(uint)(pmVar17 < pmVar18);\n  if (pmVar12 != (mbstate_t *)0x0) goto LAB_00016b14;\n  if ((pmVar18 == pmVar17) && (in_stack_ffffffbc < pmVar5)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)pmVar17;\n  unaff_s8[0x1973] = (uint)in_stack_ffffffbc;\n  *(char **)(local_3c + 0x657c) = lim;\n  pmVar12 = pmVar17;\nLAB_0001670c:\n  lim = *(char **)(puVar19 + -0x7fd8);\n  pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038);\n  if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n    puVar19 = puVar22;\n    print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n    puVar22 = puVar19;\n  }\n  printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n               *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n  puVar19 = puVar22;\n  if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n    print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n    puVar19 = puVar22;\n  }\n  print_sep(sep);\n  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);\n  puVar22 = puVar19;\nLAB_00016780:\n  iVar6 = *(int *)(puVar19 + -0x7fd8);\n  if (*(char *)&pmVar17[0xcb6].__count == '\0') goto LAB_00016838;\n  uVar8 = *(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584);\n  pmVar5 = *(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580);\n  uVar14 = (int)beg - *(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0);\n  uVar13 = uVar14 + uVar8;\n  pmVar12 = (mbstate_t *)((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f));\n  if (pmVar12 < pmVar5) goto LAB_00016b14;\n  uVar8 = (uint)(uVar13 < uVar8);\n  if (pmVar5 == pmVar12) goto LAB_00016b1c;\n  do {\n    lim = *(char **)(puVar19 + -0x7fd8);\n    pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034);\n    if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n      puVar19 = puVar22;\n      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n      puVar22 = puVar19;\n      in_stack_ffffffbc = pmVar12;\n    }\n    printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n    puVar19 = puVar22;\n    if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n      puVar19 = puVar22;\n    }\n    print_sep(sep);\n    iVar6 = *(int *)(puVar19 + -0x7fd8);\n    puVar22 = puVar19;\nLAB_00016838:\n    beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);\n    if (((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0)) {\nLAB_00016844:\n      beg = (char *)0x1;\n    }\n    else {\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }\nLAB_00016848:\n    if (pmVar10 == *(mbstate_t **)puVar4) {\n      return SUB41(beg,0);\n    }\n    pmVar5 = pmVar10;\n    uVar20 = (**(code **)(puVar19 + -0x7c4c))();\nLAB_00016b00:\n    pmVar18 = (mbstate_t *)uVar20;\n    if ((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    } while (uVar8 != 0);\n  } while( true );\n}\n\n" (function_definition "_Bool print_line_head(char *beg,size_t len,char *lim,char sep)\n\n{\n  int *piVar1;\n  char cVar2;\n  byte bVar3;\n  undefined *puVar4;\n  mbstate_t *pmVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  undefined1 *puVar9;\n  mbstate_t *pmVar10;\n  char *pcVar11;\n  mbstate_t *pmVar12;\n  uint uVar13;\n  uint uVar14;\n  uint *puVar15;\n  int iVar16;\n  mbstate_t *pmVar17;\n  mbstate_t *pmVar18;\n  undefined1 *puVar19;\n  uint *unaff_s8;\n  undefined8 uVar20;\n  uintmax_t uVar21;\n  undefined1 *puVar22;\n  undefined4 in_stack_ffffffb4;\n  undefined4 in_stack_ffffffb8;\n  mbstate_t *in_stack_ffffffbc;\n  int local_3c;\n  mbstate_t mbs;\n  \n  puVar4 = PTR___stack_chk_guard_000564b4;\n  pmVar17 = (mbstate_t *)PTR_DAT_00056108;\n  puVar19 = &_gp;\n  puVar22 = &_gp;\n  pmVar10 = *(mbstate_t **)PTR___stack_chk_guard_000564b4;\n  pmVar12 = (mbstate_t *)lim;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar13 != 0 || uVar8 != 0) {\n      mbs.__count = 0;\n      mbs.__value.__wch = 0;\n      unaff_s8 = (uint *)(beg + len);\n      bVar3 = *(byte *)unaff_s8;\n      iVar16 = (int)(char)bVar3;\n      *(byte *)unaff_s8 = 0xff;\n      puVar15 = (uint *)beg;\n      do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar15 = *(uint **)(puVar19 + -0x7fd8);\n  if (puVar15[0x196d] != 0) {\n    puVar19 = puVar22;\n    print_filename();\n    if (*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0) {\n      iVar16 = **(int **)(puVar19 + -0x7d10);\n      puVar22 = *(undefined1 **)(iVar16 + 0x14);\n      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }\n    }\n    else {\n      print_sep(sep);\n      puVar22 = puVar19;\n    }\n  }\n  iVar16 = *(int *)(puVar19 + -0x7fd8);\n  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);\n  if (*(char *)(iVar16 + 0x65b1) == '\0') goto LAB_00016780;\n  local_3c = *(int *)(puVar19 + -0x7fd8);\n  unaff_s8 = *(uint **)(puVar19 + -0x7fd8);\n  pcVar11 = *(char **)(local_3c + 0x657c);\n  pmVar5 = (mbstate_t *)unaff_s8[0x1973];\n  pmVar17 = (mbstate_t *)unaff_s8[0x1972];\n  pmVar12 = pmVar17;\n  in_stack_ffffffbc = pmVar5;\n  if (lim <= pcVar11) goto LAB_0001670c;\n  pmVar18 = pmVar17;\n  if (pcVar11 < beg) {\n    pmVar18 = (mbstate_t *)0x0;\n    cVar2 = **(char **)(puVar19 + -0x7fa8);\n    do {\n      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);\n      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);\n      puVar19 = puVar22;\n      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);\n      puVar22 = puVar19;\n      if (iVar6 == 0) break;\n      pcVar11 = (char *)(iVar6 + 1);\n      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);\n    } while (pcVar11 < beg);\n    pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count);\n    pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18));\n    uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18);\n    if (pmVar18 < pmVar17) goto LAB_00016b14;\n    if (pmVar17 == pmVar18) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  in_stack_ffffffbc = (mbstate_t *)((int)&pmVar5->__count + 1);\n  unaff_s8[0x1972] = (uint)pmVar18;\n  unaff_s8[0x1973] = (uint)pmVar5;\n  pmVar17 = (mbstate_t *)((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5));\n  *(char **)(local_3c + 0x657c) = beg;\n  pmVar12 = (mbstate_t *)(uint)(pmVar17 < pmVar18);\n  if (pmVar12 != (mbstate_t *)0x0) goto LAB_00016b14;\n  if ((pmVar18 == pmVar17) && (in_stack_ffffffbc < pmVar5)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)pmVar17;\n  unaff_s8[0x1973] = (uint)in_stack_ffffffbc;\n  *(char **)(local_3c + 0x657c) = lim;\n  pmVar12 = pmVar17;\nLAB_0001670c:\n  lim = *(char **)(puVar19 + -0x7fd8);\n  pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038);\n  if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n    puVar19 = puVar22;\n    print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n    puVar22 = puVar19;\n  }\n  printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n               *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n  puVar19 = puVar22;\n  if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n    print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n    puVar19 = puVar22;\n  }\n  print_sep(sep);\n  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);\n  puVar22 = puVar19;\nLAB_00016780:\n  iVar6 = *(int *)(puVar19 + -0x7fd8);\n  if (*(char *)&pmVar17[0xcb6].__count == '\0') goto LAB_00016838;\n  uVar8 = *(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584);\n  pmVar5 = *(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580);\n  uVar14 = (int)beg - *(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0);\n  uVar13 = uVar14 + uVar8;\n  pmVar12 = (mbstate_t *)((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f));\n  if (pmVar12 < pmVar5) goto LAB_00016b14;\n  uVar8 = (uint)(uVar13 < uVar8);\n  if (pmVar5 == pmVar12) goto LAB_00016b1c;\n  do {\n    lim = *(char **)(puVar19 + -0x7fd8);\n    pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034);\n    if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n      puVar19 = puVar22;\n      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n      puVar22 = puVar19;\n      in_stack_ffffffbc = pmVar12;\n    }\n    printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n    puVar19 = puVar22;\n    if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n      puVar19 = puVar22;\n    }\n    print_sep(sep);\n    iVar6 = *(int *)(puVar19 + -0x7fd8);\n    puVar22 = puVar19;\nLAB_00016838:\n    beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);\n    if (((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0)) {\nLAB_00016844:\n      beg = (char *)0x1;\n    }\n    else {\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }\nLAB_00016848:\n    if (pmVar10 == *(mbstate_t **)puVar4) {\n      return SUB41(beg,0);\n    }\n    pmVar5 = pmVar10;\n    uVar20 = (**(code **)(puVar19 + -0x7c4c))();\nLAB_00016b00:\n    pmVar18 = (mbstate_t *)uVar20;\n    if ((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    } while (uVar8 != 0);\n  } while( true );\n}" type_identifier (function_declarator "print_line_head(char *beg,size_t len,char *lim,char sep)" identifier (parameter_list "(char *beg,size_t len,char *lim,char sep)" ( (parameter_declaration "char *beg" primitive_type (pointer_declarator "*beg" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "char *lim" primitive_type (pointer_declarator "*lim" * identifier)) , (parameter_declaration "char sep" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  byte bVar3;\n  undefined *puVar4;\n  mbstate_t *pmVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  undefined1 *puVar9;\n  mbstate_t *pmVar10;\n  char *pcVar11;\n  mbstate_t *pmVar12;\n  uint uVar13;\n  uint uVar14;\n  uint *puVar15;\n  int iVar16;\n  mbstate_t *pmVar17;\n  mbstate_t *pmVar18;\n  undefined1 *puVar19;\n  uint *unaff_s8;\n  undefined8 uVar20;\n  uintmax_t uVar21;\n  undefined1 *puVar22;\n  undefined4 in_stack_ffffffb4;\n  undefined4 in_stack_ffffffb8;\n  mbstate_t *in_stack_ffffffbc;\n  int local_3c;\n  mbstate_t mbs;\n  \n  puVar4 = PTR___stack_chk_guard_000564b4;\n  pmVar17 = (mbstate_t *)PTR_DAT_00056108;\n  puVar19 = &_gp;\n  puVar22 = &_gp;\n  pmVar10 = *(mbstate_t **)PTR___stack_chk_guard_000564b4;\n  pmVar12 = (mbstate_t *)lim;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar13 != 0 || uVar8 != 0) {\n      mbs.__count = 0;\n      mbs.__value.__wch = 0;\n      unaff_s8 = (uint *)(beg + len);\n      bVar3 = *(byte *)unaff_s8;\n      iVar16 = (int)(char)bVar3;\n      *(byte *)unaff_s8 = 0xff;\n      puVar15 = (uint *)beg;\n      do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar15 = *(uint **)(puVar19 + -0x7fd8);\n  if (puVar15[0x196d] != 0) {\n    puVar19 = puVar22;\n    print_filename();\n    if (*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0) {\n      iVar16 = **(int **)(puVar19 + -0x7d10);\n      puVar22 = *(undefined1 **)(iVar16 + 0x14);\n      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }\n    }\n    else {\n      print_sep(sep);\n      puVar22 = puVar19;\n    }\n  }\n  iVar16 = *(int *)(puVar19 + -0x7fd8);\n  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);\n  if (*(char *)(iVar16 + 0x65b1) == '\0') goto LAB_00016780;\n  local_3c = *(int *)(puVar19 + -0x7fd8);\n  unaff_s8 = *(uint **)(puVar19 + -0x7fd8);\n  pcVar11 = *(char **)(local_3c + 0x657c);\n  pmVar5 = (mbstate_t *)unaff_s8[0x1973];\n  pmVar17 = (mbstate_t *)unaff_s8[0x1972];\n  pmVar12 = pmVar17;\n  in_stack_ffffffbc = pmVar5;\n  if (lim <= pcVar11) goto LAB_0001670c;\n  pmVar18 = pmVar17;\n  if (pcVar11 < beg) {\n    pmVar18 = (mbstate_t *)0x0;\n    cVar2 = **(char **)(puVar19 + -0x7fa8);\n    do {\n      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);\n      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);\n      puVar19 = puVar22;\n      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);\n      puVar22 = puVar19;\n      if (iVar6 == 0) break;\n      pcVar11 = (char *)(iVar6 + 1);\n      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);\n    } while (pcVar11 < beg);\n    pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count);\n    pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18));\n    uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18);\n    if (pmVar18 < pmVar17) goto LAB_00016b14;\n    if (pmVar17 == pmVar18) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  in_stack_ffffffbc = (mbstate_t *)((int)&pmVar5->__count + 1);\n  unaff_s8[0x1972] = (uint)pmVar18;\n  unaff_s8[0x1973] = (uint)pmVar5;\n  pmVar17 = (mbstate_t *)((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5));\n  *(char **)(local_3c + 0x657c) = beg;\n  pmVar12 = (mbstate_t *)(uint)(pmVar17 < pmVar18);\n  if (pmVar12 != (mbstate_t *)0x0) goto LAB_00016b14;\n  if ((pmVar18 == pmVar17) && (in_stack_ffffffbc < pmVar5)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)pmVar17;\n  unaff_s8[0x1973] = (uint)in_stack_ffffffbc;\n  *(char **)(local_3c + 0x657c) = lim;\n  pmVar12 = pmVar17;\nLAB_0001670c:\n  lim = *(char **)(puVar19 + -0x7fd8);\n  pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038);\n  if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n    puVar19 = puVar22;\n    print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n    puVar22 = puVar19;\n  }\n  printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n               *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n  puVar19 = puVar22;\n  if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n    print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n    puVar19 = puVar22;\n  }\n  print_sep(sep);\n  pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);\n  puVar22 = puVar19;\nLAB_00016780:\n  iVar6 = *(int *)(puVar19 + -0x7fd8);\n  if (*(char *)&pmVar17[0xcb6].__count == '\0') goto LAB_00016838;\n  uVar8 = *(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584);\n  pmVar5 = *(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580);\n  uVar14 = (int)beg - *(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0);\n  uVar13 = uVar14 + uVar8;\n  pmVar12 = (mbstate_t *)((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f));\n  if (pmVar12 < pmVar5) goto LAB_00016b14;\n  uVar8 = (uint)(uVar13 < uVar8);\n  if (pmVar5 == pmVar12) goto LAB_00016b1c;\n  do {\n    lim = *(char **)(puVar19 + -0x7fd8);\n    pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034);\n    if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n      puVar19 = puVar22;\n      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n      puVar22 = puVar19;\n      in_stack_ffffffbc = pmVar12;\n    }\n    printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n    puVar19 = puVar22;\n    if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n      puVar19 = puVar22;\n    }\n    print_sep(sep);\n    iVar6 = *(int *)(puVar19 + -0x7fd8);\n    puVar22 = puVar19;\nLAB_00016838:\n    beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);\n    if (((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0)) {\nLAB_00016844:\n      beg = (char *)0x1;\n    }\n    else {\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }\nLAB_00016848:\n    if (pmVar10 == *(mbstate_t **)puVar4) {\n      return SUB41(beg,0);\n    }\n    pmVar5 = pmVar10;\n    uVar20 = (**(code **)(puVar19 + -0x7c4c))();\nLAB_00016b00:\n    pmVar18 = (mbstate_t *)uVar20;\n    if ((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    } while (uVar8 != 0);\n  } while( true );\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "mbstate_t *pmVar5;" type_identifier (pointer_declarator "*pmVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "mbstate_t *pmVar10;" type_identifier (pointer_declarator "*pmVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "mbstate_t *pmVar12;" type_identifier (pointer_declarator "*pmVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "mbstate_t *pmVar17;" type_identifier (pointer_declarator "*pmVar17" * identifier) ;) (declaration "mbstate_t *pmVar18;" type_identifier (pointer_declarator "*pmVar18" * identifier) ;) (declaration "undefined1 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "uint *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "undefined8 uVar20;" type_identifier identifier ;) (declaration "uintmax_t uVar21;" type_identifier identifier ;) (declaration "undefined1 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "undefined4 in_stack_ffffffb4;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffffb8;" type_identifier identifier ;) (declaration "mbstate_t *in_stack_ffffffbc;" type_identifier (pointer_declarator "*in_stack_ffffffbc" * identifier) ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "mbstate_t mbs;" type_identifier identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_000564b4;" (assignment_expression "puVar4 = PTR___stack_chk_guard_000564b4" identifier = identifier) ;) (expression_statement "pmVar17 = (mbstate_t *)PTR_DAT_00056108;" (assignment_expression "pmVar17 = (mbstate_t *)PTR_DAT_00056108" identifier = (cast_expression "(mbstate_t *)PTR_DAT_00056108" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar19 = &_gp;" (assignment_expression "puVar19 = &_gp" identifier = (pointer_expression "&_gp" & identifier)) ;) (expression_statement "puVar22 = &_gp;" (assignment_expression "puVar22 = &_gp" identifier = (pointer_expression "&_gp" & identifier)) ;) (expression_statement "pmVar10 = *(mbstate_t **)PTR___stack_chk_guard_000564b4;" (assignment_expression "pmVar10 = *(mbstate_t **)PTR___stack_chk_guard_000564b4" identifier = (pointer_expression "*(mbstate_t **)PTR___stack_chk_guard_000564b4" * (cast_expression "(mbstate_t **)PTR___stack_chk_guard_000564b4" ( (type_descriptor "mbstate_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pmVar12 = (mbstate_t *)lim;" (assignment_expression "pmVar12 = (mbstate_t *)lim" identifier = (cast_expression "(mbstate_t *)lim" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar13 != 0 || uVar8 != 0) {\n      mbs.__count = 0;\n      mbs.__value.__wch = 0;\n      unaff_s8 = (uint *)(beg + len);\n      bVar3 = *(byte *)unaff_s8;\n      iVar16 = (int)(char)bVar3;\n      *(byte *)unaff_s8 = 0xff;\n      puVar15 = (uint *)beg;\n      do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65c4) != 1)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65c4) != 1" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65c4)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65c4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65c4)" ( (binary_expression "PTR_DAT_00056108 + 0x65c4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar13 != 0 || uVar8 != 0) {\n      mbs.__count = 0;\n      mbs.__value.__wch = 0;\n      unaff_s8 = (uint *)(beg + len);\n      bVar3 = *(byte *)unaff_s8;\n      iVar16 = (int)(char)bVar3;\n      *(byte *)unaff_s8 = 0xff;\n      puVar15 = (uint *)beg;\n      do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );\n    }\n  }" { (expression_statement "uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600);" (assignment_expression "uVar13 = *(uint *)(PTR_DAT_00056108 + 0x6600)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6600)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6600)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6600)" ( (binary_expression "PTR_DAT_00056108 + 0x6600" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604);" (assignment_expression "uVar8 = *(uint *)(PTR_DAT_00056108 + 0x6604)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6604)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6604)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6604)" ( (binary_expression "PTR_DAT_00056108 + 0x6604" identifier + number_literal) ))))) ;) (if_statement "if (uVar13 != 0 || uVar8 != 0) {\n      mbs.__count = 0;\n      mbs.__value.__wch = 0;\n      unaff_s8 = (uint *)(beg + len);\n      bVar3 = *(byte *)unaff_s8;\n      iVar16 = (int)(char)bVar3;\n      *(byte *)unaff_s8 = 0xff;\n      puVar15 = (uint *)beg;\n      do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );\n    }" if (parenthesized_expression "(uVar13 != 0 || uVar8 != 0)" ( (binary_expression "uVar13 != 0 || uVar8 != 0" (binary_expression "uVar13 != 0" identifier != number_literal) || (binary_expression "uVar8 != 0" identifier != number_literal)) )) (compound_statement "{\n      mbs.__count = 0;\n      mbs.__value.__wch = 0;\n      unaff_s8 = (uint *)(beg + len);\n      bVar3 = *(byte *)unaff_s8;\n      iVar16 = (int)(char)bVar3;\n      *(byte *)unaff_s8 = 0xff;\n      puVar15 = (uint *)beg;\n      do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );\n    }" { (expression_statement "mbs.__count = 0;" (assignment_expression "mbs.__count = 0" (field_expression "mbs.__count" identifier . field_identifier) = number_literal) ;) (expression_statement "mbs.__value.__wch = 0;" (assignment_expression "mbs.__value.__wch = 0" (field_expression "mbs.__value.__wch" (field_expression "mbs.__value" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "unaff_s8 = (uint *)(beg + len);" (assignment_expression "unaff_s8 = (uint *)(beg + len)" identifier = (cast_expression "(uint *)(beg + len)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(beg + len)" ( (binary_expression "beg + len" identifier + identifier) )))) ;) (expression_statement "bVar3 = *(byte *)unaff_s8;" (assignment_expression "bVar3 = *(byte *)unaff_s8" identifier = (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar16 = (int)(char)bVar3;" (assignment_expression "iVar16 = (int)(char)bVar3" identifier = (cast_expression "(int)(char)bVar3" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar3" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "*(byte *)unaff_s8 = 0xff;" (assignment_expression "*(byte *)unaff_s8 = 0xff" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar15 = (uint *)beg;" (assignment_expression "puVar15 = (uint *)beg" identifier = (cast_expression "(uint *)beg" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      } while( true );" do (compound_statement "{\n        for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }\n        for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }\nLAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);\n        if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }\n        pmVar12 = &mbs;\n        puVar19 = puVar22;\n        uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);\n        puVar22 = puVar19;\n        if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }\n        puVar15 = (uint *)((int)puVar15 + uVar8);\n        uVar13 = *(uint *)((int)pmVar17 + 0x6600);\n        uVar8 = *(uint *)((int)pmVar17 + 0x6604);\n      }" { (for_statement "for (; ((uint)puVar15 & 7) != 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }" for ( ; (binary_expression "((uint)puVar15 & 7) != 0" (parenthesized_expression "((uint)puVar15 & 7)" ( (binary_expression "(uint)puVar15 & 7" (cast_expression "(uint)puVar15" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ; (assignment_expression "puVar15 = (uint *)((int)puVar15 + 1)" identifier = (cast_expression "(uint *)((int)puVar15 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + 1)" ( (binary_expression "(int)puVar15 + 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ) (compound_statement "{\n          if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;\n        }" { (if_statement "if ((*(byte *)puVar15 & uVar8) != 0) goto LAB_00016954;" if (parenthesized_expression "((*(byte *)puVar15 & uVar8) != 0)" ( (binary_expression "(*(byte *)puVar15 & uVar8) != 0" (parenthesized_expression "(*(byte *)puVar15 & uVar8)" ( (binary_expression "*(byte *)puVar15 & uVar8" (pointer_expression "*(byte *)puVar15" * (cast_expression "(byte *)puVar15" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & identifier) )) != number_literal) )) (goto_statement "goto LAB_00016954;" goto statement_identifier ;)) })) (for_statement "for (; (*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0; puVar15 = puVar15 + 2) {\n        }" for ( ; (binary_expression "(*puVar15 & uVar13) == 0 && (puVar15[1] & uVar8) == 0" (binary_expression "(*puVar15 & uVar13) == 0" (parenthesized_expression "(*puVar15 & uVar13)" ( (binary_expression "*puVar15 & uVar13" (pointer_expression "*puVar15" * identifier) & identifier) )) == number_literal) && (binary_expression "(puVar15[1] & uVar8) == 0" (parenthesized_expression "(puVar15[1] & uVar8)" ( (binary_expression "puVar15[1] & uVar8" (subscript_expression "puVar15[1]" identifier [ number_literal ]) & identifier) )) == number_literal)) ; (assignment_expression "puVar15 = puVar15 + 2" identifier = (binary_expression "puVar15 + 2" identifier + number_literal)) ) (compound_statement "{\n        }" { })) (for_statement "for (; (*(byte *)puVar15 & uVar8) == 0; puVar15 = (uint *)((int)puVar15 + 1)) {\n        }" for ( ; (binary_expression "(*(byte *)puVar15 & uVar8) == 0" (parenthesized_expression "(*(byte *)puVar15 & uVar8)" ( (binary_expression "*(byte *)puVar15 & uVar8" (pointer_expression "*(byte *)puVar15" * (cast_expression "(byte *)puVar15" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & identifier) )) == number_literal) ; (assignment_expression "puVar15 = (uint *)((int)puVar15 + 1)" identifier = (cast_expression "(uint *)((int)puVar15 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + 1)" ( (binary_expression "(int)puVar15 + 1" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ) (compound_statement "{\n        }" { })) (labeled_statement "LAB_00016954:\n        puVar7 = (undefined4 *)(puVar19 + -0x7fa4);" statement_identifier : (expression_statement "puVar7 = (undefined4 *)(puVar19 + -0x7fa4);" (assignment_expression "puVar7 = (undefined4 *)(puVar19 + -0x7fa4)" identifier = (cast_expression "(undefined4 *)(puVar19 + -0x7fa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fa4)" ( (binary_expression "puVar19 + -0x7fa4" identifier + number_literal) )))) ;)) (if_statement "if (unaff_s8 <= puVar15) {\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }" if (parenthesized_expression "(unaff_s8 <= puVar15)" ( (binary_expression "unaff_s8 <= puVar15" identifier <= identifier) )) (compound_statement "{\n          *(byte *)unaff_s8 = bVar3;\n          break;\n        }" { (expression_statement "*(byte *)unaff_s8 = bVar3;" (assignment_expression "*(byte *)unaff_s8 = bVar3" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (break_statement "break;" break ;) })) (expression_statement "pmVar12 = &mbs;" (assignment_expression "pmVar12 = &mbs" identifier = (pointer_expression "&mbs" & identifier)) ;) (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (expression_statement "uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15);" (assignment_expression "uVar8 = (*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15)" identifier = (call_expression "(*(code *)*puVar7)(puVar15,(int)unaff_s8 - (int)puVar15)" (parenthesized_expression "(*(code *)*puVar7)" ( (pointer_expression "*(code *)*puVar7" * (cast_expression "(code *)*puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) )) (argument_list "(puVar15,(int)unaff_s8 - (int)puVar15)" ( identifier , (binary_expression "(int)unaff_s8 - (int)puVar15" (cast_expression "(int)unaff_s8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) (if_statement "if (0xfffffffd < uVar8) {\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }" if (parenthesized_expression "(0xfffffffd < uVar8)" ( (binary_expression "0xfffffffd < uVar8" number_literal < identifier) )) (compound_statement "{\n          iVar6 = *(int *)(puVar19 + -0x7fd8);\n          *(byte *)unaff_s8 = bVar3;\n          beg = (char *)0x0;\n          *(undefined1 *)(iVar6 + 0x6618) = 1;\n          goto LAB_00016848;\n        }" { (expression_statement "iVar6 = *(int *)(puVar19 + -0x7fd8);" (assignment_expression "iVar6 = *(int *)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)unaff_s8 = bVar3;" (assignment_expression "*(byte *)unaff_s8 = bVar3" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "beg = (char *)0x0;" (assignment_expression "beg = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(undefined1 *)(iVar6 + 0x6618) = 1;" (assignment_expression "*(undefined1 *)(iVar6 + 0x6618) = 1" (pointer_expression "*(undefined1 *)(iVar6 + 0x6618)" * (cast_expression "(undefined1 *)(iVar6 + 0x6618)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x6618)" ( (binary_expression "iVar6 + 0x6618" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00016848;" goto statement_identifier ;) })) (expression_statement "puVar15 = (uint *)((int)puVar15 + uVar8);" (assignment_expression "puVar15 = (uint *)((int)puVar15 + uVar8)" identifier = (cast_expression "(uint *)((int)puVar15 + uVar8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar15 + uVar8)" ( (binary_expression "(int)puVar15 + uVar8" (cast_expression "(int)puVar15" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar13 = *(uint *)((int)pmVar17 + 0x6600);" (assignment_expression "uVar13 = *(uint *)((int)pmVar17 + 0x6600)" identifier = (pointer_expression "*(uint *)((int)pmVar17 + 0x6600)" * (cast_expression "(uint *)((int)pmVar17 + 0x6600)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pmVar17 + 0x6600)" ( (binary_expression "(int)pmVar17 + 0x6600" (cast_expression "(int)pmVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar8 = *(uint *)((int)pmVar17 + 0x6604);" (assignment_expression "uVar8 = *(uint *)((int)pmVar17 + 0x6604)" identifier = (pointer_expression "*(uint *)((int)pmVar17 + 0x6604)" * (cast_expression "(uint *)((int)pmVar17 + 0x6604)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pmVar17 + 0x6604)" ( (binary_expression "(int)pmVar17 + 0x6604" (cast_expression "(int)pmVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (expression_statement "puVar15 = *(uint **)(puVar19 + -0x7fd8);" (assignment_expression "puVar15 = *(uint **)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(uint **)(puVar19 + -0x7fd8)" * (cast_expression "(uint **)(puVar19 + -0x7fd8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (puVar15[0x196d] != 0) {\n    puVar19 = puVar22;\n    print_filename();\n    if (*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0) {\n      iVar16 = **(int **)(puVar19 + -0x7d10);\n      puVar22 = *(undefined1 **)(iVar16 + 0x14);\n      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }\n    }\n    else {\n      print_sep(sep);\n      puVar22 = puVar19;\n    }\n  }" if (parenthesized_expression "(puVar15[0x196d] != 0)" ( (binary_expression "puVar15[0x196d] != 0" (subscript_expression "puVar15[0x196d]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    puVar19 = puVar22;\n    print_filename();\n    if (*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0) {\n      iVar16 = **(int **)(puVar19 + -0x7d10);\n      puVar22 = *(undefined1 **)(iVar16 + 0x14);\n      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }\n    }\n    else {\n      print_sep(sep);\n      puVar22 = puVar19;\n    }\n  }" { (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (expression_statement "print_filename();" (call_expression "print_filename()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0) {\n      iVar16 = **(int **)(puVar19 + -0x7d10);\n      puVar22 = *(undefined1 **)(iVar16 + 0x14);\n      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }\n    }\n    else {\n      print_sep(sep);\n      puVar22 = puVar19;\n    }" if (parenthesized_expression "(*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0)" ( (binary_expression "*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc) == 0" (pointer_expression "*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc)" * (cast_expression "(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x65bc)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x65bc" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar16 = **(int **)(puVar19 + -0x7d10);\n      puVar22 = *(undefined1 **)(iVar16 + 0x14);\n      if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }\n    }" { (expression_statement "iVar16 = **(int **)(puVar19 + -0x7d10);" (assignment_expression "iVar16 = **(int **)(puVar19 + -0x7d10)" identifier = (pointer_expression "**(int **)(puVar19 + -0x7d10)" * (pointer_expression "*(int **)(puVar19 + -0x7d10)" * (cast_expression "(int **)(puVar19 + -0x7d10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7d10)" ( (binary_expression "puVar19 + -0x7d10" identifier + number_literal) )))))) ;) (expression_statement "puVar22 = *(undefined1 **)(iVar16 + 0x14);" (assignment_expression "puVar22 = *(undefined1 **)(iVar16 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar16 + 0x14)" * (cast_expression "(undefined1 **)(iVar16 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar16 + 0x14)" ( (binary_expression "iVar16 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar22 < *(undefined1 **)(iVar16 + 0x18)) {\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }\n      else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }" if (parenthesized_expression "(puVar22 < *(undefined1 **)(iVar16 + 0x18))" ( (binary_expression "puVar22 < *(undefined1 **)(iVar16 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar16 + 0x18)" * (cast_expression "(undefined1 **)(iVar16 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar16 + 0x18)" ( (binary_expression "iVar16 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;\n        *puVar22 = 0;\n        puVar22 = puVar19;\n      }" { (expression_statement "*(undefined1 **)(iVar16 + 0x14) = puVar22 + 1;" (assignment_expression "*(undefined1 **)(iVar16 + 0x14) = puVar22 + 1" (pointer_expression "*(undefined1 **)(iVar16 + 0x14)" * (cast_expression "(undefined1 **)(iVar16 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar16 + 0x14)" ( (binary_expression "iVar16 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar22 + 1" identifier + number_literal)) ;) (expression_statement "*puVar22 = 0;" (assignment_expression "*puVar22 = 0" (pointer_expression "*puVar22" * identifier) = number_literal) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) }) (else_clause "else {\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }" else (compound_statement "{\n        iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);\n        puVar22 = puVar19;\n        if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }\n      }" { (expression_statement "iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0);" (assignment_expression "iVar16 = (**(code **)(puVar19 + -0x7d38))(iVar16,0)" identifier = (call_expression "(**(code **)(puVar19 + -0x7d38))(iVar16,0)" (parenthesized_expression "(**(code **)(puVar19 + -0x7d38))" ( (pointer_expression "**(code **)(puVar19 + -0x7d38)" * (pointer_expression "*(code **)(puVar19 + -0x7d38)" * (cast_expression "(code **)(puVar19 + -0x7d38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7d38)" ( (binary_expression "puVar19 + -0x7d38" identifier + number_literal) ))))) )) (argument_list "(iVar16,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) (if_statement "if (iVar16 < 0) {\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }" if (parenthesized_expression "(iVar16 < 0)" ( (binary_expression "iVar16 < 0" identifier < number_literal) )) (compound_statement "{\n          puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n          *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n          puVar22 = puVar19;\n        }" { (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar19 + -0x7cf8))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar19 + -0x7cf8))()" (parenthesized_expression "(**(code **)(puVar19 + -0x7cf8))" ( (pointer_expression "**(code **)(puVar19 + -0x7cf8)" * (pointer_expression "*(code **)(puVar19 + -0x7cf8)" * (cast_expression "(code **)(puVar19 + -0x7cf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7cf8)" ( (binary_expression "puVar19 + -0x7cf8" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;" (assignment_expression "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7" (pointer_expression "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630)" * (cast_expression "(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6630)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6630" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) })) }))) }) (else_clause "else {\n      print_sep(sep);\n      puVar22 = puVar19;\n    }" else (compound_statement "{\n      print_sep(sep);\n      puVar22 = puVar19;\n    }" { (expression_statement "print_sep(sep);" (call_expression "print_sep(sep)" identifier (argument_list "(sep)" ( identifier ))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) }))) })) (expression_statement "iVar16 = *(int *)(puVar19 + -0x7fd8);" (assignment_expression "iVar16 = *(int *)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (expression_statement "pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);" (assignment_expression "pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(mbstate_t **)(puVar19 + -0x7fd8)" * (cast_expression "(mbstate_t **)(puVar19 + -0x7fd8)" ( (type_descriptor "mbstate_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar16 + 0x65b1) == '\0') goto LAB_00016780;" if (parenthesized_expression "(*(char *)(iVar16 + 0x65b1) == '\0')" ( (binary_expression "*(char *)(iVar16 + 0x65b1) == '\0'" (pointer_expression "*(char *)(iVar16 + 0x65b1)" * (cast_expression "(char *)(iVar16 + 0x65b1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar16 + 0x65b1)" ( (binary_expression "iVar16 + 0x65b1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016780;" goto statement_identifier ;)) (expression_statement "local_3c = *(int *)(puVar19 + -0x7fd8);" (assignment_expression "local_3c = *(int *)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (expression_statement "unaff_s8 = *(uint **)(puVar19 + -0x7fd8);" (assignment_expression "unaff_s8 = *(uint **)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(uint **)(puVar19 + -0x7fd8)" * (cast_expression "(uint **)(puVar19 + -0x7fd8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (expression_statement "pcVar11 = *(char **)(local_3c + 0x657c);" (assignment_expression "pcVar11 = *(char **)(local_3c + 0x657c)" identifier = (pointer_expression "*(char **)(local_3c + 0x657c)" * (cast_expression "(char **)(local_3c + 0x657c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_3c + 0x657c)" ( (binary_expression "local_3c + 0x657c" identifier + number_literal) ))))) ;) (expression_statement "pmVar5 = (mbstate_t *)unaff_s8[0x1973];" (assignment_expression "pmVar5 = (mbstate_t *)unaff_s8[0x1973]" identifier = (cast_expression "(mbstate_t *)unaff_s8[0x1973]" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "unaff_s8[0x1973]" identifier [ number_literal ]))) ;) (expression_statement "pmVar17 = (mbstate_t *)unaff_s8[0x1972];" (assignment_expression "pmVar17 = (mbstate_t *)unaff_s8[0x1972]" identifier = (cast_expression "(mbstate_t *)unaff_s8[0x1972]" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "unaff_s8[0x1972]" identifier [ number_literal ]))) ;) (expression_statement "pmVar12 = pmVar17;" (assignment_expression "pmVar12 = pmVar17" identifier = identifier) ;) (expression_statement "in_stack_ffffffbc = pmVar5;" (assignment_expression "in_stack_ffffffbc = pmVar5" identifier = identifier) ;) (if_statement "if (lim <= pcVar11) goto LAB_0001670c;" if (parenthesized_expression "(lim <= pcVar11)" ( (binary_expression "lim <= pcVar11" identifier <= identifier) )) (goto_statement "goto LAB_0001670c;" goto statement_identifier ;)) (expression_statement "pmVar18 = pmVar17;" (assignment_expression "pmVar18 = pmVar17" identifier = identifier) ;) (if_statement "if (pcVar11 < beg) {\n    pmVar18 = (mbstate_t *)0x0;\n    cVar2 = **(char **)(puVar19 + -0x7fa8);\n    do {\n      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);\n      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);\n      puVar19 = puVar22;\n      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);\n      puVar22 = puVar19;\n      if (iVar6 == 0) break;\n      pcVar11 = (char *)(iVar6 + 1);\n      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);\n    } while (pcVar11 < beg);\n    pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count);\n    pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18));\n    uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18);\n    if (pmVar18 < pmVar17) goto LAB_00016b14;\n    if (pmVar17 == pmVar18) goto LAB_00016b00;\n  }" if (parenthesized_expression "(pcVar11 < beg)" ( (binary_expression "pcVar11 < beg" identifier < identifier) )) (compound_statement "{\n    pmVar18 = (mbstate_t *)0x0;\n    cVar2 = **(char **)(puVar19 + -0x7fa8);\n    do {\n      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);\n      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);\n      puVar19 = puVar22;\n      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);\n      puVar22 = puVar19;\n      if (iVar6 == 0) break;\n      pcVar11 = (char *)(iVar6 + 1);\n      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);\n    } while (pcVar11 < beg);\n    pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count);\n    pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18));\n    uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18);\n    if (pmVar18 < pmVar17) goto LAB_00016b14;\n    if (pmVar17 == pmVar18) goto LAB_00016b00;\n  }" { (expression_statement "pmVar18 = (mbstate_t *)0x0;" (assignment_expression "pmVar18 = (mbstate_t *)0x0" identifier = (cast_expression "(mbstate_t *)0x0" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cVar2 = **(char **)(puVar19 + -0x7fa8);" (assignment_expression "cVar2 = **(char **)(puVar19 + -0x7fa8)" identifier = (pointer_expression "**(char **)(puVar19 + -0x7fa8)" * (pointer_expression "*(char **)(puVar19 + -0x7fa8)" * (cast_expression "(char **)(puVar19 + -0x7fa8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7fa8)" ( (binary_expression "puVar19 + -0x7fa8" identifier + number_literal) )))))) ;) (do_statement "do {\n      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);\n      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);\n      puVar19 = puVar22;\n      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);\n      puVar22 = puVar19;\n      if (iVar6 == 0) break;\n      pcVar11 = (char *)(iVar6 + 1);\n      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);\n    } while (pcVar11 < beg);" do (compound_statement "{\n      puVar7 = (undefined4 *)(puVar19 + -0x7fc0);\n      pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);\n      puVar19 = puVar22;\n      iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);\n      puVar22 = puVar19;\n      if (iVar6 == 0) break;\n      pcVar11 = (char *)(iVar6 + 1);\n      pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);\n    }" { (expression_statement "puVar7 = (undefined4 *)(puVar19 + -0x7fc0);" (assignment_expression "puVar7 = (undefined4 *)(puVar19 + -0x7fc0)" identifier = (cast_expression "(undefined4 *)(puVar19 + -0x7fc0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fc0)" ( (binary_expression "puVar19 + -0x7fc0" identifier + number_literal) )))) ;) (expression_statement "pmVar12 = (mbstate_t *)(beg + -(int)pcVar11);" (assignment_expression "pmVar12 = (mbstate_t *)(beg + -(int)pcVar11)" identifier = (cast_expression "(mbstate_t *)(beg + -(int)pcVar11)" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(beg + -(int)pcVar11)" ( (binary_expression "beg + -(int)pcVar11" identifier + (unary_expression "-(int)pcVar11" - (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier))) )))) ;) (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (expression_statement "iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2);" (assignment_expression "iVar6 = (*(code *)*puVar7)(pcVar11,(int)cVar2)" identifier = (call_expression "(*(code *)*puVar7)(pcVar11,(int)cVar2)" (parenthesized_expression "(*(code *)*puVar7)" ( (pointer_expression "*(code *)*puVar7" * (cast_expression "(code *)*puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) )) (argument_list "(pcVar11,(int)cVar2)" ( identifier , (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar11 = (char *)(iVar6 + 1);" (assignment_expression "pcVar11 = (char *)(iVar6 + 1)" identifier = (cast_expression "(char *)(iVar6 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1);" (assignment_expression "pmVar18 = (mbstate_t *)((int)&pmVar18->__count + 1)" identifier = (cast_expression "(mbstate_t *)((int)&pmVar18->__count + 1)" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pmVar18->__count + 1)" ( (binary_expression "(int)&pmVar18->__count + 1" (cast_expression "(int)&pmVar18->__count" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pmVar18->__count" & (field_expression "pmVar18->__count" identifier -> field_identifier))) + number_literal) )))) ;) }) while (parenthesized_expression "(pcVar11 < beg)" ( (binary_expression "pcVar11 < beg" identifier < identifier) )) ;) (expression_statement "pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count);" (assignment_expression "pmVar5 = (mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count)" identifier = (cast_expression "(mbstate_t *)((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count)" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count)" ( (binary_expression "(int)&in_stack_ffffffbc->__count + (int)&pmVar18->__count" (cast_expression "(int)&in_stack_ffffffbc->__count" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&in_stack_ffffffbc->__count" & (field_expression "in_stack_ffffffbc->__count" identifier -> field_identifier))) + (cast_expression "(int)&pmVar18->__count" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pmVar18->__count" & (field_expression "pmVar18->__count" identifier -> field_identifier)))) )))) ;) (expression_statement "pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18));" (assignment_expression "pmVar18 = (mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18))" identifier = (cast_expression "(mbstate_t *)((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18))" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pmVar17->__count + (uint)(pmVar5 < pmVar18))" ( (binary_expression "(int)&pmVar17->__count + (uint)(pmVar5 < pmVar18)" (cast_expression "(int)&pmVar17->__count" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pmVar17->__count" & (field_expression "pmVar17->__count" identifier -> field_identifier))) + (call_expression "(uint)(pmVar5 < pmVar18)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pmVar5 < pmVar18)" ( (binary_expression "pmVar5 < pmVar18" identifier < identifier) )))) )))) ;) (expression_statement "uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18);" (assignment_expression "uVar20 = CONCAT44(in_stack_ffffffbc,pmVar18)" identifier = (call_expression "CONCAT44(in_stack_ffffffbc,pmVar18)" identifier (argument_list "(in_stack_ffffffbc,pmVar18)" ( identifier , identifier )))) ;) (if_statement "if (pmVar18 < pmVar17) goto LAB_00016b14;" if (parenthesized_expression "(pmVar18 < pmVar17)" ( (binary_expression "pmVar18 < pmVar17" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (if_statement "if (pmVar17 == pmVar18) goto LAB_00016b00;" if (parenthesized_expression "(pmVar17 == pmVar18)" ( (binary_expression "pmVar17 == pmVar18" identifier == identifier) )) (goto_statement "goto LAB_00016b00;" goto statement_identifier ;)) })) (labeled_statement "LAB_000166cc:\n  in_stack_ffffffbc = (mbstate_t *)((int)&pmVar5->__count + 1);" statement_identifier : (expression_statement "in_stack_ffffffbc = (mbstate_t *)((int)&pmVar5->__count + 1);" (assignment_expression "in_stack_ffffffbc = (mbstate_t *)((int)&pmVar5->__count + 1)" identifier = (cast_expression "(mbstate_t *)((int)&pmVar5->__count + 1)" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pmVar5->__count + 1)" ( (binary_expression "(int)&pmVar5->__count + 1" (cast_expression "(int)&pmVar5->__count" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pmVar5->__count" & (field_expression "pmVar5->__count" identifier -> field_identifier))) + number_literal) )))) ;)) (expression_statement "unaff_s8[0x1972] = (uint)pmVar18;" (assignment_expression "unaff_s8[0x1972] = (uint)pmVar18" (subscript_expression "unaff_s8[0x1972]" identifier [ number_literal ]) = (cast_expression "(uint)pmVar18" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "unaff_s8[0x1973] = (uint)pmVar5;" (assignment_expression "unaff_s8[0x1973] = (uint)pmVar5" (subscript_expression "unaff_s8[0x1973]" identifier [ number_literal ]) = (cast_expression "(uint)pmVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pmVar17 = (mbstate_t *)((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5));" (assignment_expression "pmVar17 = (mbstate_t *)((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5))" identifier = (cast_expression "(mbstate_t *)((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5))" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5))" ( (binary_expression "(int)&pmVar18->__count + (uint)(in_stack_ffffffbc < pmVar5)" (cast_expression "(int)&pmVar18->__count" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pmVar18->__count" & (field_expression "pmVar18->__count" identifier -> field_identifier))) + (call_expression "(uint)(in_stack_ffffffbc < pmVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(in_stack_ffffffbc < pmVar5)" ( (binary_expression "in_stack_ffffffbc < pmVar5" identifier < identifier) )))) )))) ;) (expression_statement "*(char **)(local_3c + 0x657c) = beg;" (assignment_expression "*(char **)(local_3c + 0x657c) = beg" (pointer_expression "*(char **)(local_3c + 0x657c)" * (cast_expression "(char **)(local_3c + 0x657c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_3c + 0x657c)" ( (binary_expression "local_3c + 0x657c" identifier + number_literal) )))) = identifier) ;) (expression_statement "pmVar12 = (mbstate_t *)(uint)(pmVar17 < pmVar18);" (assignment_expression "pmVar12 = (mbstate_t *)(uint)(pmVar17 < pmVar18)" identifier = (cast_expression "(mbstate_t *)(uint)(pmVar17 < pmVar18)" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(pmVar17 < pmVar18)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pmVar17 < pmVar18)" ( (binary_expression "pmVar17 < pmVar18" identifier < identifier) ))))) ;) (if_statement "if (pmVar12 != (mbstate_t *)0x0) goto LAB_00016b14;" if (parenthesized_expression "(pmVar12 != (mbstate_t *)0x0)" ( (binary_expression "pmVar12 != (mbstate_t *)0x0" identifier != (cast_expression "(mbstate_t *)0x0" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (if_statement "if ((pmVar18 == pmVar17) && (in_stack_ffffffbc < pmVar5)) goto LAB_00016b14;" if (parenthesized_expression "((pmVar18 == pmVar17) && (in_stack_ffffffbc < pmVar5))" ( (binary_expression "(pmVar18 == pmVar17) && (in_stack_ffffffbc < pmVar5)" (parenthesized_expression "(pmVar18 == pmVar17)" ( (binary_expression "pmVar18 == pmVar17" identifier == identifier) )) && (parenthesized_expression "(in_stack_ffffffbc < pmVar5)" ( (binary_expression "in_stack_ffffffbc < pmVar5" identifier < identifier) ))) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "unaff_s8[0x1972] = (uint)pmVar17;" (assignment_expression "unaff_s8[0x1972] = (uint)pmVar17" (subscript_expression "unaff_s8[0x1972]" identifier [ number_literal ]) = (cast_expression "(uint)pmVar17" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "unaff_s8[0x1973] = (uint)in_stack_ffffffbc;" (assignment_expression "unaff_s8[0x1973] = (uint)in_stack_ffffffbc" (subscript_expression "unaff_s8[0x1973]" identifier [ number_literal ]) = (cast_expression "(uint)in_stack_ffffffbc" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(char **)(local_3c + 0x657c) = lim;" (assignment_expression "*(char **)(local_3c + 0x657c) = lim" (pointer_expression "*(char **)(local_3c + 0x657c)" * (cast_expression "(char **)(local_3c + 0x657c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_3c + 0x657c)" ( (binary_expression "local_3c + 0x657c" identifier + number_literal) )))) = identifier) ;) (expression_statement "pmVar12 = pmVar17;" (assignment_expression "pmVar12 = pmVar17" identifier = identifier) ;) (labeled_statement "LAB_0001670c:\n  lim = *(char **)(puVar19 + -0x7fd8);" statement_identifier : (expression_statement "lim = *(char **)(puVar19 + -0x7fd8);" (assignment_expression "lim = *(char **)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(char **)(puVar19 + -0x7fd8)" * (cast_expression "(char **)(puVar19 + -0x7fd8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;)) (expression_statement "pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038);" (assignment_expression "pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038)" identifier = (pointer_expression "*(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038)" * (cast_expression "(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6038)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6038)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6038" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n    puVar19 = puVar22;\n    print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n    puVar22 = puVar19;\n  }" if (parenthesized_expression "((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0'))" ( (binary_expression "(*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')" (parenthesized_expression "(*(int *)(lim + 0x664c) != 0)" ( (binary_expression "*(int *)(lim + 0x664c) != 0" (pointer_expression "*(int *)(lim + 0x664c)" * (cast_expression "(int *)(lim + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lim + 0x664c)" ( (binary_expression "lim + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')" ( (comma_expression "piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0'" (assignment_expression "piVar1 = (int *)(puVar19 + -0x7fd8)" identifier = (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) , (binary_expression "*pcVar11 != '\0'" (pointer_expression "*pcVar11" * identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    puVar19 = puVar22;\n    print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n    puVar22 = puVar19;\n  }" { (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (expression_statement "print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);" (call_expression "print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11)" identifier (argument_list "(*(char **)(*piVar1 + 0x6024),pcVar11)" ( (pointer_expression "*(char **)(*piVar1 + 0x6024)" * (cast_expression "(char **)(*piVar1 + 0x6024)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x6024)" ( (binary_expression "*piVar1 + 0x6024" (pointer_expression "*piVar1" * identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) })) (expression_statement "printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n               *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));" (call_expression "printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n               *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644))" identifier (argument_list "((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n               *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644))" ( (cast_expression "(char *)(*(int *)(puVar19 + -0x7fc8) + 0x848)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fc8) + 0x848)" ( (binary_expression "*(int *)(puVar19 + -0x7fc8) + 0x848" (pointer_expression "*(int *)(puVar19 + -0x7fc8)" * (cast_expression "(int *)(puVar19 + -0x7fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fc8)" ( (binary_expression "puVar19 + -0x7fc8" identifier + number_literal) )))) + number_literal) ))) , (pointer_expression "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644)" * (cast_expression "(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6644)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6644" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (if_statement "if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n    print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n    puVar19 = puVar22;\n  }" if (parenthesized_expression "((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0'))" ( (binary_expression "(*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')" (parenthesized_expression "(*(int *)(lim + 0x664c) != 0)" ( (binary_expression "*(int *)(lim + 0x664c) != 0" (pointer_expression "*(int *)(lim + 0x664c)" * (cast_expression "(int *)(lim + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lim + 0x664c)" ( (binary_expression "lim + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar11 != '\0')" ( (binary_expression "*pcVar11 != '\0'" (pointer_expression "*pcVar11" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n    puVar19 = puVar22;\n  }" { (expression_statement "print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));" (call_expression "print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020))" identifier (argument_list "(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020))" ( (pointer_expression "*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020)" * (cast_expression "(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar22 + -0x7fd8) + 0x6020)" ( (binary_expression "*(int *)(puVar22 + -0x7fd8) + 0x6020" (pointer_expression "*(int *)(puVar22 + -0x7fd8)" * (cast_expression "(int *)(puVar22 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + -0x7fd8)" ( (binary_expression "puVar22 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) })) (expression_statement "print_sep(sep);" (call_expression "print_sep(sep)" identifier (argument_list "(sep)" ( identifier ))) ;) (expression_statement "pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8);" (assignment_expression "pmVar17 = *(mbstate_t **)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(mbstate_t **)(puVar19 + -0x7fd8)" * (cast_expression "(mbstate_t **)(puVar19 + -0x7fd8)" ( (type_descriptor "mbstate_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) (labeled_statement "LAB_00016780:\n  iVar6 = *(int *)(puVar19 + -0x7fd8);" statement_identifier : (expression_statement "iVar6 = *(int *)(puVar19 + -0x7fd8);" (assignment_expression "iVar6 = *(int *)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;)) (if_statement "if (*(char *)&pmVar17[0xcb6].__count == '\0') goto LAB_00016838;" if (parenthesized_expression "(*(char *)&pmVar17[0xcb6].__count == '\0')" ( (binary_expression "*(char *)&pmVar17[0xcb6].__count == '\0'" (pointer_expression "*(char *)&pmVar17[0xcb6].__count" * (cast_expression "(char *)&pmVar17[0xcb6].__count" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pmVar17[0xcb6].__count" & (field_expression "pmVar17[0xcb6].__count" (subscript_expression "pmVar17[0xcb6]" identifier [ number_literal ]) . field_identifier)))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016838;" goto statement_identifier ;)) (expression_statement "uVar8 = *(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584);" (assignment_expression "uVar8 = *(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584)" identifier = (pointer_expression "*(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584)" * (cast_expression "(uint *)(*(int *)(puVar19 + -0x7fd8) + 0x6584)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6584)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6584" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "pmVar5 = *(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580);" (assignment_expression "pmVar5 = *(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580)" identifier = (pointer_expression "*(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580)" * (cast_expression "(mbstate_t **)(*(int *)(puVar19 + -0x7fd8) + 0x6580)" ( (type_descriptor "mbstate_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6580)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6580" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar14 = (int)beg - *(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0);" (assignment_expression "uVar14 = (int)beg - *(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0)" identifier = (binary_expression "(int)beg - *(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0)" (cast_expression "(int)beg" ( (type_descriptor "int" primitive_type) ) identifier) - (pointer_expression "*(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0)" * (cast_expression "(int *)(*(int *)(puVar19 + -0x7fd8) + 0x65f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x65f0)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x65f0" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "uVar13 = uVar14 + uVar8;" (assignment_expression "uVar13 = uVar14 + uVar8" identifier = (binary_expression "uVar14 + uVar8" identifier + identifier)) ;) (expression_statement "pmVar12 = (mbstate_t *)((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f));" (assignment_expression "pmVar12 = (mbstate_t *)((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f))" identifier = (cast_expression "(mbstate_t *)((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f))" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f))" ( (binary_expression "(int)&pmVar5->__count + (uint)(uVar13 < uVar14) + ((int)uVar14 >> 0x1f)" (binary_expression "(int)&pmVar5->__count + (uint)(uVar13 < uVar14)" (cast_expression "(int)&pmVar5->__count" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pmVar5->__count" & (field_expression "pmVar5->__count" identifier -> field_identifier))) + (call_expression "(uint)(uVar13 < uVar14)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar13 < uVar14)" ( (binary_expression "uVar13 < uVar14" identifier < identifier) )))) + (parenthesized_expression "((int)uVar14 >> 0x1f)" ( (binary_expression "(int)uVar14 >> 0x1f" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) )))) ;) (if_statement "if (pmVar12 < pmVar5) goto LAB_00016b14;" if (parenthesized_expression "(pmVar12 < pmVar5)" ( (binary_expression "pmVar12 < pmVar5" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "uVar8 = (uint)(uVar13 < uVar8);" (assignment_expression "uVar8 = (uint)(uVar13 < uVar8)" identifier = (call_expression "(uint)(uVar13 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar13 < uVar8)" ( (binary_expression "uVar13 < uVar8" identifier < identifier) )))) ;) (if_statement "if (pmVar5 == pmVar12) goto LAB_00016b1c;" if (parenthesized_expression "(pmVar5 == pmVar12)" ( (binary_expression "pmVar5 == pmVar12" identifier == identifier) )) (goto_statement "goto LAB_00016b1c;" goto statement_identifier ;)) (do_statement "do {\n    lim = *(char **)(puVar19 + -0x7fd8);\n    pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034);\n    if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n      puVar19 = puVar22;\n      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n      puVar22 = puVar19;\n      in_stack_ffffffbc = pmVar12;\n    }\n    printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n    puVar19 = puVar22;\n    if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n      puVar19 = puVar22;\n    }\n    print_sep(sep);\n    iVar6 = *(int *)(puVar19 + -0x7fd8);\n    puVar22 = puVar19;\nLAB_00016838:\n    beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);\n    if (((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0)) {\nLAB_00016844:\n      beg = (char *)0x1;\n    }\n    else {\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }\nLAB_00016848:\n    if (pmVar10 == *(mbstate_t **)puVar4) {\n      return SUB41(beg,0);\n    }\n    pmVar5 = pmVar10;\n    uVar20 = (**(code **)(puVar19 + -0x7c4c))();\nLAB_00016b00:\n    pmVar18 = (mbstate_t *)uVar20;\n    if ((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    } while (uVar8 != 0);\n  } while( true );" do (compound_statement "{\n    lim = *(char **)(puVar19 + -0x7fd8);\n    pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034);\n    if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n      puVar19 = puVar22;\n      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n      puVar22 = puVar19;\n      in_stack_ffffffbc = pmVar12;\n    }\n    printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));\n    puVar19 = puVar22;\n    if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n      puVar19 = puVar22;\n    }\n    print_sep(sep);\n    iVar6 = *(int *)(puVar19 + -0x7fd8);\n    puVar22 = puVar19;\nLAB_00016838:\n    beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);\n    if (((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0)) {\nLAB_00016844:\n      beg = (char *)0x1;\n    }\n    else {\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }\nLAB_00016848:\n    if (pmVar10 == *(mbstate_t **)puVar4) {\n      return SUB41(beg,0);\n    }\n    pmVar5 = pmVar10;\n    uVar20 = (**(code **)(puVar19 + -0x7c4c))();\nLAB_00016b00:\n    pmVar18 = (mbstate_t *)uVar20;\n    if ((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    } while (uVar8 != 0);\n  }" { (expression_statement "lim = *(char **)(puVar19 + -0x7fd8);" (assignment_expression "lim = *(char **)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(char **)(puVar19 + -0x7fd8)" * (cast_expression "(char **)(puVar19 + -0x7fd8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (expression_statement "pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034);" (assignment_expression "pcVar11 = *(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034)" identifier = (pointer_expression "*(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034)" * (cast_expression "(char **)(*(int *)(puVar19 + -0x7fd8) + 0x6034)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6034)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6034" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if ((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')) {\n      puVar19 = puVar22;\n      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n      puVar22 = puVar19;\n      in_stack_ffffffbc = pmVar12;\n    }" if (parenthesized_expression "((*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0'))" ( (binary_expression "(*(int *)(lim + 0x664c) != 0) && (piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')" (parenthesized_expression "(*(int *)(lim + 0x664c) != 0)" ( (binary_expression "*(int *)(lim + 0x664c) != 0" (pointer_expression "*(int *)(lim + 0x664c)" * (cast_expression "(int *)(lim + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lim + 0x664c)" ( (binary_expression "lim + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0')" ( (comma_expression "piVar1 = (int *)(puVar19 + -0x7fd8), *pcVar11 != '\0'" (assignment_expression "piVar1 = (int *)(puVar19 + -0x7fd8)" identifier = (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) , (binary_expression "*pcVar11 != '\0'" (pointer_expression "*pcVar11" * identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      puVar19 = puVar22;\n      print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);\n      puVar22 = puVar19;\n      in_stack_ffffffbc = pmVar12;\n    }" { (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (expression_statement "print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11);" (call_expression "print_start_colorize(*(char **)(*piVar1 + 0x6024),pcVar11)" identifier (argument_list "(*(char **)(*piVar1 + 0x6024),pcVar11)" ( (pointer_expression "*(char **)(*piVar1 + 0x6024)" * (cast_expression "(char **)(*piVar1 + 0x6024)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x6024)" ( (binary_expression "*piVar1 + 0x6024" (pointer_expression "*piVar1" * identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) (expression_statement "in_stack_ffffffbc = pmVar12;" (assignment_expression "in_stack_ffffffbc = pmVar12" identifier = identifier) ;) })) (expression_statement "printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644));" (call_expression "printf_errno((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644))" identifier (argument_list "((char *)(*(int *)(puVar19 + -0x7fc8) + 0x848),\n                 *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644))" ( (cast_expression "(char *)(*(int *)(puVar19 + -0x7fc8) + 0x848)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fc8) + 0x848)" ( (binary_expression "*(int *)(puVar19 + -0x7fc8) + 0x848" (pointer_expression "*(int *)(puVar19 + -0x7fc8)" * (cast_expression "(int *)(puVar19 + -0x7fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fc8)" ( (binary_expression "puVar19 + -0x7fc8" identifier + number_literal) )))) + number_literal) ))) , (pointer_expression "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644)" * (cast_expression "(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6644)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6644)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6644" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (if_statement "if ((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')) {\n      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n      puVar19 = puVar22;\n    }" if (parenthesized_expression "((*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0'))" ( (binary_expression "(*(int *)(lim + 0x664c) != 0) && (*pcVar11 != '\0')" (parenthesized_expression "(*(int *)(lim + 0x664c) != 0)" ( (binary_expression "*(int *)(lim + 0x664c) != 0" (pointer_expression "*(int *)(lim + 0x664c)" * (cast_expression "(int *)(lim + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lim + 0x664c)" ( (binary_expression "lim + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar11 != '\0')" ( (binary_expression "*pcVar11 != '\0'" (pointer_expression "*pcVar11" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));\n      puVar19 = puVar22;\n    }" { (expression_statement "print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020));" (call_expression "print_end_colorize(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020))" identifier (argument_list "(*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020))" ( (pointer_expression "*(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020)" * (cast_expression "(char **)(*(int *)(puVar22 + -0x7fd8) + 0x6020)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar22 + -0x7fd8) + 0x6020)" ( (binary_expression "*(int *)(puVar22 + -0x7fd8) + 0x6020" (pointer_expression "*(int *)(puVar22 + -0x7fd8)" * (cast_expression "(int *)(puVar22 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + -0x7fd8)" ( (binary_expression "puVar22 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) })) (expression_statement "print_sep(sep);" (call_expression "print_sep(sep)" identifier (argument_list "(sep)" ( identifier ))) ;) (expression_statement "iVar6 = *(int *)(puVar19 + -0x7fd8);" (assignment_expression "iVar6 = *(int *)(puVar19 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) ))))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) (labeled_statement "LAB_00016838:\n    beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);" statement_identifier : (expression_statement "beg = (char *)(uint)*(byte *)(iVar6 + 0x6648);" (assignment_expression "beg = (char *)(uint)*(byte *)(iVar6 + 0x6648)" identifier = (binary_expression "(char *)(uint)*(byte *)(iVar6 + 0x6648)" (cast_expression "(char *)(uint)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)(iVar6 + 0x6648)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x6648)" ( (binary_expression "iVar6 + 0x6648" identifier + number_literal) ))))) ;)) (if_statement "if (((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0)) {\nLAB_00016844:\n      beg = (char *)0x1;\n    }\n    else {\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }" if (parenthesized_expression "(((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0))" ( (binary_expression "((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)) || (len == 0)" (parenthesized_expression "((beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0))" ( (binary_expression "(beg == (char *)0x0) ||\n        ((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)" (parenthesized_expression "(beg == (char *)0x0)" ( (binary_expression "beg == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0)" ( (binary_expression "(*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0') &&\n         puVar15[0x196d] == 0" (parenthesized_expression "(*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0')" ( (binary_expression "*(char *)(iVar16 + 0x65b1) == '\0' && *(char *)&pmVar17[0xcb6].__count == '\0'" (binary_expression "*(char *)(iVar16 + 0x65b1) == '\0'" (pointer_expression "*(char *)(iVar16 + 0x65b1)" * (cast_expression "(char *)(iVar16 + 0x65b1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar16 + 0x65b1)" ( (binary_expression "iVar16 + 0x65b1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) && (binary_expression "*(char *)&pmVar17[0xcb6].__count == '\0'" (pointer_expression "*(char *)&pmVar17[0xcb6].__count" * (cast_expression "(char *)&pmVar17[0xcb6].__count" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pmVar17[0xcb6].__count" & (field_expression "pmVar17[0xcb6].__count" (subscript_expression "pmVar17[0xcb6]" identifier [ number_literal ]) . field_identifier)))) == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "puVar15[0x196d] == 0" (subscript_expression "puVar15[0x196d]" identifier [ number_literal ]) == number_literal)) ))) )) || (parenthesized_expression "(len == 0)" ( (binary_expression "len == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00016844:\n      beg = (char *)0x1;\n    }" { (labeled_statement "LAB_00016844:\n      beg = (char *)0x1;" statement_identifier : (expression_statement "beg = (char *)0x1;" (assignment_expression "beg = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }" else (compound_statement "{\n      iVar6 = **(int **)(puVar19 + -0x7d10);\n      puVar9 = *(undefined1 **)(iVar6 + 0x14);\n      if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }\n    }" { (expression_statement "iVar6 = **(int **)(puVar19 + -0x7d10);" (assignment_expression "iVar6 = **(int **)(puVar19 + -0x7d10)" identifier = (pointer_expression "**(int **)(puVar19 + -0x7d10)" * (pointer_expression "*(int **)(puVar19 + -0x7d10)" * (cast_expression "(int **)(puVar19 + -0x7d10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7d10)" ( (binary_expression "puVar19 + -0x7d10" identifier + number_literal) )))))) ;) (expression_statement "puVar9 = *(undefined1 **)(iVar6 + 0x14);" (assignment_expression "puVar9 = *(undefined1 **)(iVar6 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar6 + 0x14)" * (cast_expression "(undefined1 **)(iVar6 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar9 < *(undefined1 **)(iVar6 + 0x18)) {\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }\n      else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }" if (parenthesized_expression "(puVar9 < *(undefined1 **)(iVar6 + 0x18))" ( (binary_expression "puVar9 < *(undefined1 **)(iVar6 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar6 + 0x18)" * (cast_expression "(undefined1 **)(iVar6 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;\n        *puVar9 = 9;\n      }" { (expression_statement "*(undefined1 **)(iVar6 + 0x14) = puVar9 + 1;" (assignment_expression "*(undefined1 **)(iVar6 + 0x14) = puVar9 + 1" (pointer_expression "*(undefined1 **)(iVar6 + 0x14)" * (cast_expression "(undefined1 **)(iVar6 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = 9;" (assignment_expression "*puVar9 = 9" (pointer_expression "*puVar9" * identifier) = number_literal) ;) }) (else_clause "else {\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }" else (compound_statement "{\n        puVar7 = (undefined4 *)(puVar19 + -0x7d38);\n        puVar19 = puVar22;\n        iVar6 = (*(code *)*puVar7)(iVar6,9);\n        puVar22 = puVar19;\n        if (-1 < iVar6) goto LAB_00016844;\n        puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();\n        *(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;\n        puVar22 = puVar19;\n      }" { (expression_statement "puVar7 = (undefined4 *)(puVar19 + -0x7d38);" (assignment_expression "puVar7 = (undefined4 *)(puVar19 + -0x7d38)" identifier = (cast_expression "(undefined4 *)(puVar19 + -0x7d38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7d38)" ( (binary_expression "puVar19 + -0x7d38" identifier + number_literal) )))) ;) (expression_statement "puVar19 = puVar22;" (assignment_expression "puVar19 = puVar22" identifier = identifier) ;) (expression_statement "iVar6 = (*(code *)*puVar7)(iVar6,9);" (assignment_expression "iVar6 = (*(code *)*puVar7)(iVar6,9)" identifier = (call_expression "(*(code *)*puVar7)(iVar6,9)" (parenthesized_expression "(*(code *)*puVar7)" ( (pointer_expression "*(code *)*puVar7" * (cast_expression "(code *)*puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) )) (argument_list "(iVar6,9)" ( identifier , number_literal )))) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) (if_statement "if (-1 < iVar6) goto LAB_00016844;" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (goto_statement "goto LAB_00016844;" goto statement_identifier ;)) (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar19 + -0x7cf8))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar19 + -0x7cf8))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar19 + -0x7cf8))()" (parenthesized_expression "(**(code **)(puVar19 + -0x7cf8))" ( (pointer_expression "**(code **)(puVar19 + -0x7cf8)" * (pointer_expression "*(code **)(puVar19 + -0x7cf8)" * (cast_expression "(code **)(puVar19 + -0x7cf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7cf8)" ( (binary_expression "puVar19 + -0x7cf8" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7;" (assignment_expression "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630) = *puVar7" (pointer_expression "*(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630)" * (cast_expression "(undefined4 *)(*(int *)(puVar19 + -0x7fd8) + 0x6630)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar19 + -0x7fd8) + 0x6630)" ( (binary_expression "*(int *)(puVar19 + -0x7fd8) + 0x6630" (pointer_expression "*(int *)(puVar19 + -0x7fd8)" * (cast_expression "(int *)(puVar19 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar19 + -0x7fd8)" ( (binary_expression "puVar19 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar22 = puVar19;" (assignment_expression "puVar22 = puVar19" identifier = identifier) ;) }))) }))) (labeled_statement "LAB_00016848:\n    if (pmVar10 == *(mbstate_t **)puVar4) {\n      return SUB41(beg,0);\n    }" statement_identifier : (if_statement "if (pmVar10 == *(mbstate_t **)puVar4) {\n      return SUB41(beg,0);\n    }" if (parenthesized_expression "(pmVar10 == *(mbstate_t **)puVar4)" ( (binary_expression "pmVar10 == *(mbstate_t **)puVar4" identifier == (pointer_expression "*(mbstate_t **)puVar4" * (cast_expression "(mbstate_t **)puVar4" ( (type_descriptor "mbstate_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n      return SUB41(beg,0);\n    }" { (return_statement "return SUB41(beg,0);" return (call_expression "SUB41(beg,0)" identifier (argument_list "(beg,0)" ( identifier , number_literal ))) ;) }))) (expression_statement "pmVar5 = pmVar10;" (assignment_expression "pmVar5 = pmVar10" identifier = identifier) ;) (expression_statement "uVar20 = (**(code **)(puVar19 + -0x7c4c))();" (assignment_expression "uVar20 = (**(code **)(puVar19 + -0x7c4c))()" identifier = (call_expression "(**(code **)(puVar19 + -0x7c4c))()" (parenthesized_expression "(**(code **)(puVar19 + -0x7c4c))" ( (pointer_expression "**(code **)(puVar19 + -0x7c4c)" * (pointer_expression "*(code **)(puVar19 + -0x7c4c)" * (cast_expression "(code **)(puVar19 + -0x7c4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar19 + -0x7c4c)" ( (binary_expression "puVar19 + -0x7c4c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (labeled_statement "LAB_00016b00:\n    pmVar18 = (mbstate_t *)uVar20;" statement_identifier : (expression_statement "pmVar18 = (mbstate_t *)uVar20;" (assignment_expression "pmVar18 = (mbstate_t *)uVar20" identifier = (cast_expression "(mbstate_t *)uVar20" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (if_statement "if ((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5) goto LAB_000166cc;" if (parenthesized_expression "((mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5)" ( (binary_expression "(mbstate_t *)((ulonglong)uVar20 >> 0x20) <= pmVar5" (cast_expression "(mbstate_t *)((ulonglong)uVar20 >> 0x20)" ( (type_descriptor "mbstate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar20 >> 0x20)" ( (binary_expression "(ulonglong)uVar20 >> 0x20" (cast_expression "(ulonglong)uVar20" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) <= identifier) )) (goto_statement "goto LAB_000166cc;" goto statement_identifier ;)) (labeled_statement "LAB_00016b14:\n    do {\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    } while (uVar8 != 0);" statement_identifier : (do_statement "do {\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    } while (uVar8 != 0);" do (compound_statement "{\n      uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));\n      uVar8 = (uint)uVar21;\nLAB_00016b1c:\n    }" { (expression_statement "uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc));" (assignment_expression "uVar21 = add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc))" identifier = (call_expression "add_count(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc))" identifier (argument_list "(CONCAT44(puVar22,in_stack_ffffffb4),\n                         CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc))" ( (call_expression "CONCAT44(puVar22,in_stack_ffffffb4)" identifier (argument_list "(puVar22,in_stack_ffffffb4)" ( identifier , identifier ))) , (call_expression "CONCAT44(in_stack_ffffffb8,in_stack_ffffffbc)" identifier (argument_list "(in_stack_ffffffb8,in_stack_ffffffbc)" ( identifier , identifier ))) )))) ;) (expression_statement "uVar8 = (uint)uVar21;" (assignment_expression "uVar8 = (uint)uVar21" identifier = (cast_expression "(uint)uVar21" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (labeled_statement "LAB_00016b1c:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "uint * FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}\n\n" (function_definition "uint * FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}" type_identifier (pointer_declarator "* FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" * (function_declarator "FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" identifier (parameter_list "(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) )))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint extraout_v1;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "char *pcVar16;" primitive_type (pointer_declarator "*pcVar16" * identifier) ;) (declaration "uint *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "undefined *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000564b4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000564b4" identifier = identifier) ;) (expression_statement "puVar14 = PTR_DAT_00056108;" (assignment_expression "puVar14 = PTR_DAT_00056108" identifier = identifier) ;) (expression_statement "uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;" (assignment_expression "uVar9 = *(uint *)PTR___stack_chk_guard_000564b4" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_000564b4" * (cast_expression "(uint *)PTR___stack_chk_guard_000564b4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65c4) != 1)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65c4) != 1" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65c4)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65c4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65c4)" ( (binary_expression "PTR_DAT_00056108 + 0x65c4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }" { (expression_statement "uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);" (assignment_expression "uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6600)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6600)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6600)" ( (binary_expression "PTR_DAT_00056108 + 0x6600" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6604)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6604)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6604)" ( (binary_expression "PTR_DAT_00056108 + 0x6604" identifier + number_literal) ))))) ;) (if_statement "if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }" if (parenthesized_expression "(uVar15 != 0 || uVar4 != 0)" ( (binary_expression "uVar15 != 0 || uVar4 != 0" (binary_expression "uVar15 != 0" identifier != number_literal) || (binary_expression "uVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }" { (expression_statement "unaff_s8 = (uint *)((int)param_1 + param_2);" (assignment_expression "unaff_s8 = (uint *)((int)param_1 + param_2)" identifier = (cast_expression "(uint *)((int)param_1 + param_2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + param_2)" ( (binary_expression "(int)param_1 + param_2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "bVar2 = *(byte *)unaff_s8;" (assignment_expression "bVar2 = *(byte *)unaff_s8" identifier = (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar13 = (undefined *)(int)(char)bVar2;" (assignment_expression "puVar13 = (undefined *)(int)(char)bVar2" identifier = (cast_expression "(undefined *)(int)(char)bVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)(char)bVar2" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier)))) ;) (expression_statement "*(byte *)unaff_s8 = 0xff;" (assignment_expression "*(byte *)unaff_s8 = 0xff" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar12 = param_1;" (assignment_expression "puVar12 = param_1" identifier = identifier) ;) (do_statement "do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );" do (compound_statement "{\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      }" { (for_statement "for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }" for ( ; (binary_expression "((uint)puVar12 & 7) != 0" (parenthesized_expression "((uint)puVar12 & 7)" ( (binary_expression "(uint)puVar12 & 7" (cast_expression "(uint)puVar12" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ; (assignment_expression "puVar12 = (uint *)((int)puVar12 + 1)" identifier = (cast_expression "(uint *)((int)puVar12 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ) (compound_statement "{\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }" { (if_statement "if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;" if (parenthesized_expression "((*(byte *)puVar12 & uVar4) != 0)" ( (binary_expression "(*(byte *)puVar12 & uVar4) != 0" (parenthesized_expression "(*(byte *)puVar12 & uVar4)" ( (binary_expression "*(byte *)puVar12 & uVar4" (pointer_expression "*(byte *)puVar12" * (cast_expression "(byte *)puVar12" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & identifier) )) != number_literal) )) (goto_statement "goto LAB_00016954;" goto statement_identifier ;)) })) (for_statement "for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }" for ( ; (binary_expression "(*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0" (binary_expression "(*puVar12 & uVar15) == 0" (parenthesized_expression "(*puVar12 & uVar15)" ( (binary_expression "*puVar12 & uVar15" (pointer_expression "*puVar12" * identifier) & identifier) )) == number_literal) && (binary_expression "(puVar12[1] & uVar4) == 0" (parenthesized_expression "(puVar12[1] & uVar4)" ( (binary_expression "puVar12[1] & uVar4" (subscript_expression "puVar12[1]" identifier [ number_literal ]) & identifier) )) == number_literal)) ; (assignment_expression "puVar12 = puVar12 + 2" identifier = (binary_expression "puVar12 + 2" identifier + number_literal)) ) (compound_statement "{\n        }" { })) (for_statement "for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }" for ( ; (binary_expression "(*(byte *)puVar12 & uVar4) == 0" (parenthesized_expression "(*(byte *)puVar12 & uVar4)" ( (binary_expression "*(byte *)puVar12 & uVar4" (pointer_expression "*(byte *)puVar12" * (cast_expression "(byte *)puVar12" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & identifier) )) == number_literal) ; (assignment_expression "puVar12 = (uint *)((int)puVar12 + 1)" identifier = (cast_expression "(uint *)((int)puVar12 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ) (compound_statement "{\n        }" { })) (labeled_statement "LAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" statement_identifier : (if_statement "if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" if (parenthesized_expression "(unaff_s8 <= puVar12)" ( (binary_expression "unaff_s8 <= puVar12" identifier <= identifier) )) (compound_statement "{\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" { (expression_statement "*(byte *)unaff_s8 = bVar2;" (assignment_expression "*(byte *)unaff_s8 = bVar2" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (break_statement "break;" break ;) }))) (expression_statement "uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);" (assignment_expression "uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12)" identifier = (call_expression "(*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12)" (parenthesized_expression "(*(code *)PTR_rpl_mbrlen_0005613c)" ( (pointer_expression "*(code *)PTR_rpl_mbrlen_0005613c" * (cast_expression "(code *)PTR_rpl_mbrlen_0005613c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12,(int)unaff_s8 - (int)puVar12)" ( identifier , (binary_expression "(int)unaff_s8 - (int)puVar12" (cast_expression "(int)unaff_s8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "puVar7 = PTR_DAT_00056108;" (assignment_expression "puVar7 = PTR_DAT_00056108" identifier = identifier) ;) (if_statement "if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }" if (parenthesized_expression "(0xfffffffd < uVar4)" ( (binary_expression "0xfffffffd < uVar4" number_literal < identifier) )) (compound_statement "{\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }" { (expression_statement "*(byte *)unaff_s8 = bVar2;" (assignment_expression "*(byte *)unaff_s8 = bVar2" (pointer_expression "*(byte *)unaff_s8" * (cast_expression "(byte *)unaff_s8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "param_1 = (uint *)0x0;" (assignment_expression "param_1 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar7[0x6618] = 1;" (assignment_expression "puVar7[0x6618] = 1" (subscript_expression "puVar7[0x6618]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_00016848;" goto statement_identifier ;) })) (expression_statement "puVar12 = (uint *)((int)puVar12 + uVar4);" (assignment_expression "puVar12 = (uint *)((int)puVar12 + uVar4)" identifier = (cast_expression "(uint *)((int)puVar12 + uVar4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + uVar4)" ( (binary_expression "(int)puVar12 + uVar4" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar15 = *(uint *)(puVar14 + 0x6600);" (assignment_expression "uVar15 = *(uint *)(puVar14 + 0x6600)" identifier = (pointer_expression "*(uint *)(puVar14 + 0x6600)" * (cast_expression "(uint *)(puVar14 + 0x6600)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x6600)" ( (binary_expression "puVar14 + 0x6600" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(puVar14 + 0x6604);" (assignment_expression "uVar4 = *(uint *)(puVar14 + 0x6604)" identifier = (pointer_expression "*(uint *)(puVar14 + 0x6604)" * (cast_expression "(uint *)(puVar14 + 0x6604)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x6604)" ( (binary_expression "puVar14 + 0x6604" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (expression_statement "puVar12 = (uint *)PTR_DAT_00056108;" (assignment_expression "puVar12 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65b4) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65b4) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65b4)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65b4)" ( (binary_expression "PTR_DAT_00056108 + 0x65b4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }" { (expression_statement "FUN_000163a0();" (call_expression "FUN_000163a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }" if (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65bc) == 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65bc) == 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65bc)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65bc)" ( (binary_expression "PTR_DAT_00056108 + 0x65bc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }" { (expression_statement "iVar5 = *(int *)PTR_stdout_000563d0;" (assignment_expression "iVar5 = *(int *)PTR_stdout_000563d0" identifier = (pointer_expression "*(int *)PTR_stdout_000563d0" * (cast_expression "(int *)PTR_stdout_000563d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar8 = *(undefined1 **)(iVar5 + 0x14);" (assignment_expression "puVar8 = *(undefined1 **)(iVar5 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" if (parenthesized_expression "(puVar8 < *(undefined1 **)(iVar5 + 0x18))" ( (binary_expression "puVar8 < *(undefined1 **)(iVar5 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar5 + 0x18)" * (cast_expression "(undefined1 **)(iVar5 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }" { (expression_statement "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;" (assignment_expression "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1" (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) }) (else_clause "else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" else (compound_statement "{\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" { (expression_statement "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);" (assignment_expression "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0)" identifier = (call_expression "(*(code *)PTR___overflow_000563a8)(iVar5,0)" (parenthesized_expression "(*(code *)PTR___overflow_000563a8)" ( (pointer_expression "*(code *)PTR___overflow_000563a8" * (cast_expression "(code *)PTR___overflow_000563a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }" { (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000563e8)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000563e8)()" (parenthesized_expression "(*(code *)PTR___errno_location_000563e8)" ( (pointer_expression "*(code *)PTR___errno_location_000563e8" * (cast_expression "(code *)PTR___errno_location_000563e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;" (assignment_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6" (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6630)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6630)" ( (binary_expression "PTR_DAT_00056108 + 0x6630" identifier + number_literal) )))) = (pointer_expression "*puVar6" * identifier)) ;) })) }))) }) (else_clause "else {\n      FUN_000164b4(param_4);\n    }" else (compound_statement "{\n      FUN_000164b4(param_4);\n    }" { (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) }))) })) (expression_statement "puVar13 = PTR_DAT_00056108;" (assignment_expression "puVar13 = PTR_DAT_00056108" identifier = identifier) ;) (if_statement "if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;" if (parenthesized_expression "(PTR_DAT_00056108[0x65b1] == '\0')" ( (binary_expression "PTR_DAT_00056108[0x65b1] == '\0'" (subscript_expression "PTR_DAT_00056108[0x65b1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016780;" goto statement_identifier ;)) (expression_statement "local_3c = PTR_DAT_00056108;" (assignment_expression "local_3c = PTR_DAT_00056108" identifier = identifier) ;) (expression_statement "puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);" (assignment_expression "puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c)" identifier = (pointer_expression "*(uint **)(PTR_DAT_00056108 + 0x657c)" * (cast_expression "(uint **)(PTR_DAT_00056108 + 0x657c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x657c)" ( (binary_expression "PTR_DAT_00056108 + 0x657c" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x65cc)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x65cc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65cc)" ( (binary_expression "PTR_DAT_00056108 + 0x65cc" identifier + number_literal) ))))) ;) (expression_statement "puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);" (assignment_expression "puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8)" identifier = (pointer_expression "*(undefined **)(PTR_DAT_00056108 + 0x65c8)" * (cast_expression "(undefined **)(PTR_DAT_00056108 + 0x65c8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65c8)" ( (binary_expression "PTR_DAT_00056108 + 0x65c8" identifier + number_literal) ))))) ;) (expression_statement "unaff_s8 = (uint *)PTR_DAT_00056108;" (assignment_expression "unaff_s8 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (param_3 <= puVar10) goto LAB_0001670c;" if (parenthesized_expression "(param_3 <= puVar10)" ( (binary_expression "param_3 <= puVar10" identifier <= identifier) )) (goto_statement "goto LAB_0001670c;" goto statement_identifier ;)) (expression_statement "puVar7 = puVar14;" (assignment_expression "puVar7 = puVar14" identifier = identifier) ;) (expression_statement "unaff_s8 = (uint *)puVar13;" (assignment_expression "unaff_s8 = (uint *)puVar13" identifier = (cast_expression "(uint *)puVar13" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }" if (parenthesized_expression "(puVar10 < param_1)" ( (binary_expression "puVar10 < param_1" identifier < identifier) )) (compound_statement "{\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }" { (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (expression_statement "cVar1 = *PTR_eolbyte_00056138;" (assignment_expression "cVar1 = *PTR_eolbyte_00056138" identifier = (pointer_expression "*PTR_eolbyte_00056138" * identifier)) ;) (do_statement "do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);" do (compound_statement "{\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    }" { (expression_statement "iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);" (assignment_expression "iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1)" identifier = (call_expression "(*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1)" (parenthesized_expression "(*(code *)PTR_rpl_memchr_00056120)" ( (pointer_expression "*(code *)PTR_rpl_memchr_00056120" * (cast_expression "(code *)PTR_rpl_memchr_00056120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10,(int)cVar1)" ( identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar10 = (uint *)(iVar5 + 1);" (assignment_expression "puVar10 = (uint *)(iVar5 + 1)" identifier = (cast_expression "(uint *)(iVar5 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 1)" ( (binary_expression "iVar5 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar10 < param_1)" ( (binary_expression "puVar10 < param_1" identifier < identifier) )) ;) (expression_statement "uVar11 = uVar15 + uVar4;" (assignment_expression "uVar11 = uVar15 + uVar4" identifier = (binary_expression "uVar15 + uVar4" identifier + identifier)) ;) (expression_statement "puVar7 = puVar14 + (uVar11 < uVar15);" (assignment_expression "puVar7 = puVar14 + (uVar11 < uVar15)" identifier = (binary_expression "puVar14 + (uVar11 < uVar15)" identifier + (parenthesized_expression "(uVar11 < uVar15)" ( (binary_expression "uVar11 < uVar15" identifier < identifier) )))) ;) (expression_statement "uVar17 = CONCAT44(uVar4,puVar7);" (assignment_expression "uVar17 = CONCAT44(uVar4,puVar7)" identifier = (call_expression "CONCAT44(uVar4,puVar7)" identifier (argument_list "(uVar4,puVar7)" ( identifier , identifier )))) ;) (if_statement "if (puVar7 < puVar14) goto LAB_00016b14;" if (parenthesized_expression "(puVar7 < puVar14)" ( (binary_expression "puVar7 < puVar14" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "uVar4 = uVar11;" (assignment_expression "uVar4 = uVar11" identifier = identifier) ;) (if_statement "if (puVar14 == puVar7) goto LAB_00016b00;" if (parenthesized_expression "(puVar14 == puVar7)" ( (binary_expression "puVar14 == puVar7" identifier == identifier) )) (goto_statement "goto LAB_00016b00;" goto statement_identifier ;)) })) (labeled_statement "LAB_000166cc:\n  uVar15 = uVar4 + 1;" statement_identifier : (expression_statement "uVar15 = uVar4 + 1;" (assignment_expression "uVar15 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;)) (expression_statement "unaff_s8[0x1972] = (uint)puVar7;" (assignment_expression "unaff_s8[0x1972] = (uint)puVar7" (subscript_expression "unaff_s8[0x1972]" identifier [ number_literal ]) = (cast_expression "(uint)puVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "unaff_s8[0x1973] = uVar4;" (assignment_expression "unaff_s8[0x1973] = uVar4" (subscript_expression "unaff_s8[0x1973]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar14 = puVar7 + (uVar15 < uVar4);" (assignment_expression "puVar14 = puVar7 + (uVar15 < uVar4)" identifier = (binary_expression "puVar7 + (uVar15 < uVar4)" identifier + (parenthesized_expression "(uVar15 < uVar4)" ( (binary_expression "uVar15 < uVar4" identifier < identifier) )))) ;) (expression_statement "*(uint **)(local_3c + 0x657c) = param_1;" (assignment_expression "*(uint **)(local_3c + 0x657c) = param_1" (pointer_expression "*(uint **)(local_3c + 0x657c)" * (cast_expression "(uint **)(local_3c + 0x657c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_3c + 0x657c)" ( (binary_expression "local_3c + 0x657c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (puVar14 < puVar7) goto LAB_00016b14;" if (parenthesized_expression "(puVar14 < puVar7)" ( (binary_expression "puVar14 < puVar7" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (if_statement "if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;" if (parenthesized_expression "((puVar7 == puVar14) && (uVar15 < uVar4))" ( (binary_expression "(puVar7 == puVar14) && (uVar15 < uVar4)" (parenthesized_expression "(puVar7 == puVar14)" ( (binary_expression "puVar7 == puVar14" identifier == identifier) )) && (parenthesized_expression "(uVar15 < uVar4)" ( (binary_expression "uVar15 < uVar4" identifier < identifier) ))) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "unaff_s8[0x1972] = (uint)puVar14;" (assignment_expression "unaff_s8[0x1972] = (uint)puVar14" (subscript_expression "unaff_s8[0x1972]" identifier [ number_literal ]) = (cast_expression "(uint)puVar14" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "unaff_s8[0x1973] = uVar15;" (assignment_expression "unaff_s8[0x1973] = uVar15" (subscript_expression "unaff_s8[0x1973]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(uint **)(local_3c + 0x657c) = param_3;" (assignment_expression "*(uint **)(local_3c + 0x657c) = param_3" (pointer_expression "*(uint **)(local_3c + 0x657c)" * (cast_expression "(uint **)(local_3c + 0x657c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_3c + 0x657c)" ( (binary_expression "local_3c + 0x657c" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;" statement_identifier : (expression_statement "param_3 = (uint *)PTR_DAT_00056108;" (assignment_expression "param_3 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);" (assignment_expression "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038)" identifier = (pointer_expression "*(char **)(PTR_DAT_00056108 + 0x6038)" * (cast_expression "(char **)(PTR_DAT_00056108 + 0x6038)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6038)" ( (binary_expression "PTR_DAT_00056108 + 0x6038" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }" if (parenthesized_expression "((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x664c) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x664c)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x664c)" ( (binary_expression "PTR_DAT_00056108 + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }" { (expression_statement "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);" (call_expression "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6024)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6024)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6024)" ( (binary_expression "PTR_DAT_00056108 + 0x6024" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));" (call_expression "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" identifier (argument_list "(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" ( (binary_expression "PTR_wcrtomb_00056118 + 0x848" identifier + number_literal) , (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6644)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6644)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6644)" ( (binary_expression "PTR_DAT_00056108 + 0x6644" identifier + number_literal) )))) ))) ;) (if_statement "if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }" if (parenthesized_expression "((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)((int)param_3 + 0x664c) != 0)" ( (binary_expression "*(int *)((int)param_3 + 0x664c) != 0" (pointer_expression "*(int *)((int)param_3 + 0x664c)" * (cast_expression "(int *)((int)param_3 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x664c)" ( (binary_expression "(int)param_3 + 0x664c" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }" { (expression_statement "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));" (call_expression "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6020)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6020)" ( (binary_expression "PTR_DAT_00056108 + 0x6020" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (labeled_statement "LAB_00016780:\n  puVar14 = PTR_DAT_00056108;" statement_identifier : (expression_statement "puVar14 = PTR_DAT_00056108;" (assignment_expression "puVar14 = PTR_DAT_00056108" identifier = identifier) ;)) (if_statement "if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;" if (parenthesized_expression "(PTR_DAT_00056108[0x65b0] == '\0')" ( (binary_expression "PTR_DAT_00056108[0x65b0] == '\0'" (subscript_expression "PTR_DAT_00056108[0x65b0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016838;" goto statement_identifier ;)) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6580)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6580)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6580)" ( (binary_expression "PTR_DAT_00056108 + 0x6580" identifier + number_literal) ))))) ;) (expression_statement "uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);" (assignment_expression "uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0)" identifier = (binary_expression "(int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) - (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65f0)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x65f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x65f0)" ( (binary_expression "PTR_DAT_00056108 + 0x65f0" identifier + number_literal) )))))) ;) (expression_statement "uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);" (assignment_expression "uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584)" identifier = (binary_expression "uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584)" identifier + (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6584)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6584)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6584)" ( (binary_expression "PTR_DAT_00056108 + 0x6584" identifier + number_literal) )))))) ;) (expression_statement "uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;" (assignment_expression "uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4" identifier = (binary_expression "(uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4" (binary_expression "(uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f)" (call_expression "(uint)(uVar11 < uVar15)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 < uVar15)" ( (binary_expression "uVar11 < uVar15" identifier < identifier) ))) + (parenthesized_expression "((int)uVar15 >> 0x1f)" ( (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + identifier)) ;) (if_statement "if (uVar15 < uVar4) goto LAB_00016b14;" if (parenthesized_expression "(uVar15 < uVar4)" ( (binary_expression "uVar15 < uVar4" identifier < identifier) )) (goto_statement "goto LAB_00016b14;" goto statement_identifier ;)) (expression_statement "uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));" (assignment_expression "uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" identifier = (call_expression "(uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" ( (binary_expression "uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584)" identifier < (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6584)" * (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6584)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6584)" ( (binary_expression "PTR_DAT_00056108 + 0x6584" identifier + number_literal) ))))) )))) ;) (if_statement "if (uVar4 == uVar15) goto LAB_00016b1c;" if (parenthesized_expression "(uVar4 == uVar15)" ( (binary_expression "uVar4 == uVar15" identifier == identifier) )) (goto_statement "goto LAB_00016b1c;" goto statement_identifier ;)) (do_statement "do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );" do (compound_statement "{\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  }" { (expression_statement "param_3 = (uint *)PTR_DAT_00056108;" (assignment_expression "param_3 = (uint *)PTR_DAT_00056108" identifier = (cast_expression "(uint *)PTR_DAT_00056108" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);" (assignment_expression "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034)" identifier = (pointer_expression "*(char **)(PTR_DAT_00056108 + 0x6034)" * (cast_expression "(char **)(PTR_DAT_00056108 + 0x6034)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6034)" ( (binary_expression "PTR_DAT_00056108 + 0x6034" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }" if (parenthesized_expression "((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00056108 + 0x664c) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x664c)" * (cast_expression "(int *)(PTR_DAT_00056108 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x664c)" ( (binary_expression "PTR_DAT_00056108 + 0x664c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }" { (expression_statement "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);" (call_expression "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6024)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6024)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6024)" ( (binary_expression "PTR_DAT_00056108 + 0x6024" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));" (call_expression "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" identifier (argument_list "(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" ( (binary_expression "PTR_wcrtomb_00056118 + 0x848" identifier + number_literal) , (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6644)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6644)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6644)" ( (binary_expression "PTR_DAT_00056108 + 0x6644" identifier + number_literal) )))) ))) ;) (if_statement "if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }" if (parenthesized_expression "((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0'))" ( (binary_expression "(*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)((int)param_3 + 0x664c) != 0)" ( (binary_expression "*(int *)((int)param_3 + 0x664c) != 0" (pointer_expression "*(int *)((int)param_3 + 0x664c)" * (cast_expression "(int *)((int)param_3 + 0x664c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x664c)" ( (binary_expression "(int)param_3 + 0x664c" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar16 != '\0')" ( (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }" { (expression_statement "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));" (call_expression "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" identifier (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6020)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6020)" ( (binary_expression "PTR_DAT_00056108 + 0x6020" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (labeled_statement "LAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];" statement_identifier : (expression_statement "param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];" (assignment_expression "param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648]" identifier = (cast_expression "(uint *)(uint)(byte)PTR_DAT_00056108[0x6648]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)(byte)PTR_DAT_00056108[0x6648]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_00056108[0x6648]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_00056108[0x6648]" identifier [ number_literal ]))))) ;)) (if_statement "if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" if (parenthesized_expression "(((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0))" ( (binary_expression "((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)" (parenthesized_expression "((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0))" ( (binary_expression "(param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)" (parenthesized_expression "(param_1 == (uint *)0x0)" ( (binary_expression "param_1 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)" ( (binary_expression "(puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0" (parenthesized_expression "(puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0')" ( (binary_expression "puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0'" (binary_expression "puVar13[0x65b1] == '\0'" (subscript_expression "puVar13[0x65b1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (binary_expression "puVar14[0x65b0] == '\0'" (subscript_expression "puVar14[0x65b0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) )) && (binary_expression "puVar12[0x196d] == 0" (subscript_expression "puVar12[0x196d]" identifier [ number_literal ]) == number_literal)) ))) )) || (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }" { (labeled_statement "LAB_00016844:\n      param_1 = (uint *)0x1;" statement_identifier : (expression_statement "param_1 = (uint *)0x1;" (assignment_expression "param_1 = (uint *)0x1" identifier = (cast_expression "(uint *)0x1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" else (compound_statement "{\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" { (expression_statement "iVar5 = *(int *)PTR_stdout_000563d0;" (assignment_expression "iVar5 = *(int *)PTR_stdout_000563d0" identifier = (pointer_expression "*(int *)PTR_stdout_000563d0" * (cast_expression "(int *)PTR_stdout_000563d0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar8 = *(undefined1 **)(iVar5 + 0x14);" (assignment_expression "puVar8 = *(undefined1 **)(iVar5 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" if (parenthesized_expression "(puVar8 < *(undefined1 **)(iVar5 + 0x18))" ( (binary_expression "puVar8 < *(undefined1 **)(iVar5 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar5 + 0x18)" * (cast_expression "(undefined1 **)(iVar5 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }" { (expression_statement "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;" (assignment_expression "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1" (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" * (cast_expression "(undefined1 **)(iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = 9;" (assignment_expression "*puVar8 = 9" (pointer_expression "*puVar8" * identifier) = number_literal) ;) }) (else_clause "else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" else (compound_statement "{\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" { (expression_statement "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);" (assignment_expression "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9)" identifier = (call_expression "(*(code *)PTR___overflow_000563a8)(iVar5,9)" (parenthesized_expression "(*(code *)PTR___overflow_000563a8)" ( (pointer_expression "*(code *)PTR___overflow_000563a8" * (cast_expression "(code *)PTR___overflow_000563a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,9)" ( identifier , number_literal )))) ;) (if_statement "if (-1 < iVar5) goto LAB_00016844;" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_00016844;" goto statement_identifier ;)) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000563e8)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000563e8)()" (parenthesized_expression "(*(code *)PTR___errno_location_000563e8)" ( (pointer_expression "*(code *)PTR___errno_location_000563e8" * (cast_expression "(code *)PTR___errno_location_000563e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;" (assignment_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6" (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630)" * (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6630)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00056108 + 0x6630)" ( (binary_expression "PTR_DAT_00056108 + 0x6630" identifier + number_literal) )))) = (pointer_expression "*puVar6" * identifier)) ;) }))) }))) (labeled_statement "LAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }" if (parenthesized_expression "(uVar9 == *(uint *)puVar3)" ( (binary_expression "uVar9 == *(uint *)puVar3" identifier == (pointer_expression "*(uint *)puVar3" * (cast_expression "(uint *)puVar3" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) (expression_statement "uVar11 = uVar9;" (assignment_expression "uVar11 = uVar9" identifier = identifier) ;) (expression_statement "uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();" (assignment_expression "uVar17 = (*(code *)PTR___stack_chk_fail_00056494)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_00056494)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00056494)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00056494" * (cast_expression "(code *)PTR___stack_chk_fail_00056494" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (labeled_statement "LAB_00016b00:\n    puVar7 = (undefined *)uVar17;" statement_identifier : (expression_statement "puVar7 = (undefined *)uVar17;" (assignment_expression "puVar7 = (undefined *)uVar17" identifier = (cast_expression "(undefined *)uVar17" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "uVar4 = uVar11;" (assignment_expression "uVar4 = uVar11" identifier = identifier) ;) (if_statement "if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;" if (parenthesized_expression "((uint)((ulonglong)uVar17 >> 0x20) <= uVar11)" ( (binary_expression "(uint)((ulonglong)uVar17 >> 0x20) <= uVar11" (call_expression "(uint)((ulonglong)uVar17 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) <= identifier) )) (goto_statement "goto LAB_000166cc;" goto statement_identifier ;)) (labeled_statement "LAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);" statement_identifier : (do_statement "do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);" do (compound_statement "{\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    }" { (expression_statement "FUN_00016240();" (call_expression "FUN_00016240()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar11 = extraout_v1;" (assignment_expression "uVar11 = extraout_v1" identifier = identifier) ;) (labeled_statement "LAB_00016b1c:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (for_statement for ( ; (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & IDENT) )) != LIT) )) (goto_statement goto statement_identifier ;)) })) (for_statement for ( ; (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & IDENT) )) == LIT) && (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & IDENT) )) == LIT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { })) (for_statement for ( ; (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & IDENT) )) == LIT) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ) (compound_statement { })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (break_statement break ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) })) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT < IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT < IDENT) )))) ;) (expression_statement (assignment_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 IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) && (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence '))) )) && (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) ))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) }))) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return 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 ( )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) <= IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement ;)) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;)) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "uint * FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}" (type_identifier "uint") (pointer_declarator "* FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" (* "*") (function_declarator "FUN_000165b0(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" (identifier "FUN_000165b0") (parameter_list "(uint *param_1,int param_2,uint *param_3,undefined4 param_4)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")")))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined1 *puVar8;\n  uint extraout_v1;\n  uint uVar9;\n  uint *puVar10;\n  uint uVar11;\n  uint *puVar12;\n  undefined *puVar13;\n  undefined *puVar14;\n  uint uVar15;\n  char *pcVar16;\n  uint *unaff_s8;\n  undefined8 uVar17;\n  undefined *local_3c;\n  \n  puVar3 = PTR___stack_chk_guard_000564b4;\n  puVar14 = PTR_DAT_00056108;\n  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;\n  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }\n  puVar12 = (uint *)PTR_DAT_00056108;\n  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }\n  puVar13 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;\n  local_3c = PTR_DAT_00056108;\n  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);\n  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);\n  unaff_s8 = (uint *)PTR_DAT_00056108;\n  if (param_3 <= puVar10) goto LAB_0001670c;\n  puVar7 = puVar14;\n  unaff_s8 = (uint *)puVar13;\n  if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }\nLAB_000166cc:\n  uVar15 = uVar4 + 1;\n  unaff_s8[0x1972] = (uint)puVar7;\n  unaff_s8[0x1973] = uVar4;\n  puVar14 = puVar7 + (uVar15 < uVar4);\n  *(uint **)(local_3c + 0x657c) = param_1;\n  if (puVar14 < puVar7) goto LAB_00016b14;\n  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;\n  unaff_s8[0x1972] = (uint)puVar14;\n  unaff_s8[0x1973] = uVar15;\n  *(uint **)(local_3c + 0x657c) = param_3;\nLAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;\n  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);\n  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }\n  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }\n  FUN_000164b4(param_4);\nLAB_00016780:\n  puVar14 = PTR_DAT_00056108;\n  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;\n  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);\n  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);\n  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);\n  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;\n  if (uVar15 < uVar4) goto LAB_00016b14;\n  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));\n  if (uVar4 == uVar15) goto LAB_00016b1c;\n  do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint extraout_v1;" (type_identifier "uint") (identifier "extraout_v1") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint *puVar10;" (type_identifier "uint") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "uint *puVar12;" (type_identifier "uint") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined *puVar13;" (type_identifier "undefined") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "undefined *puVar14;" (type_identifier "undefined") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "char *pcVar16;" (primitive_type "char") (pointer_declarator "*pcVar16" (* "*") (identifier "pcVar16")) (; ";")) (declaration "uint *unaff_s8;" (type_identifier "uint") (pointer_declarator "*unaff_s8" (* "*") (identifier "unaff_s8")) (; ";")) (declaration "undefined8 uVar17;" (type_identifier "undefined8") (identifier "uVar17") (; ";")) (declaration "undefined *local_3c;" (type_identifier "undefined") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_000564b4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000564b4" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_000564b4")) (; ";")) (expression_statement "puVar14 = PTR_DAT_00056108;" (assignment_expression "puVar14 = PTR_DAT_00056108" (identifier "puVar14") (= "=") (identifier "PTR_DAT_00056108")) (; ";")) (expression_statement "uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;" (assignment_expression "uVar9 = *(uint *)PTR___stack_chk_guard_000564b4" (identifier "uVar9") (= "=") (pointer_expression "*(uint *)PTR___stack_chk_guard_000564b4" (* "*") (cast_expression "(uint *)PTR___stack_chk_guard_000564b4" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000564b4")))) (; ";")) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65c4) != 1)" (( "(") (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65c4) != 1" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65c4)" (* "*") (cast_expression "(int *)(PTR_DAT_00056108 + 0x65c4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x65c4)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x65c4" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x65c4")) () ")")))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);\n    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);\n    if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }\n  }" ({ "{") (expression_statement "uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);" (assignment_expression "uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600)" (identifier "uVar15") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6600)" (* "*") (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6600)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6600)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6600" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6600")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6604)" (* "*") (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6604)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6604)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6604" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6604")) () ")"))))) (; ";")) (if_statement "if (uVar15 != 0 || uVar4 != 0) {\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }" (if "if") (parenthesized_expression "(uVar15 != 0 || uVar4 != 0)" (( "(") (binary_expression "uVar15 != 0 || uVar4 != 0" (binary_expression "uVar15 != 0" (identifier "uVar15") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      unaff_s8 = (uint *)((int)param_1 + param_2);\n      bVar2 = *(byte *)unaff_s8;\n      puVar13 = (undefined *)(int)(char)bVar2;\n      *(byte *)unaff_s8 = 0xff;\n      puVar12 = param_1;\n      do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );\n    }" ({ "{") (expression_statement "unaff_s8 = (uint *)((int)param_1 + param_2);" (assignment_expression "unaff_s8 = (uint *)((int)param_1 + param_2)" (identifier "unaff_s8") (= "=") (cast_expression "(uint *)((int)param_1 + param_2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + param_2)" (( "(") (binary_expression "(int)param_1 + param_2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "bVar2 = *(byte *)unaff_s8;" (assignment_expression "bVar2 = *(byte *)unaff_s8" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)unaff_s8" (* "*") (cast_expression "(byte *)unaff_s8" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "unaff_s8")))) (; ";")) (expression_statement "puVar13 = (undefined *)(int)(char)bVar2;" (assignment_expression "puVar13 = (undefined *)(int)(char)bVar2" (identifier "puVar13") (= "=") (cast_expression "(undefined *)(int)(char)bVar2" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)(char)bVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar2"))))) (; ";")) (expression_statement "*(byte *)unaff_s8 = 0xff;" (assignment_expression "*(byte *)unaff_s8 = 0xff" (pointer_expression "*(byte *)unaff_s8" (* "*") (cast_expression "(byte *)unaff_s8" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "unaff_s8"))) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "puVar12 = param_1;" (assignment_expression "puVar12 = param_1" (identifier "puVar12") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      } while( true );" (do "do") (compound_statement "{\n        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }\n        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }\n        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }\nLAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }\n        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);\n        puVar7 = PTR_DAT_00056108;\n        if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }\n        puVar12 = (uint *)((int)puVar12 + uVar4);\n        uVar15 = *(uint *)(puVar14 + 0x6600);\n        uVar4 = *(uint *)(puVar14 + 0x6604);\n      }" ({ "{") (for_statement "for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }" (for "for") (( "(") (; ";") (binary_expression "((uint)puVar12 & 7) != 0" (parenthesized_expression "((uint)puVar12 & 7)" (( "(") (binary_expression "(uint)puVar12 & 7" (cast_expression "(uint)puVar12" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar12")) (& "&") (number_literal "7")) () ")")) (!= "!=") (number_literal "0")) (; ";") (assignment_expression "puVar12 = (uint *)((int)puVar12 + 1)" (identifier "puVar12") (= "=") (cast_expression "(uint *)((int)puVar12 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + 1)" (( "(") (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (number_literal "1")) () ")")))) () ")") (compound_statement "{\n          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;\n        }" ({ "{") (if_statement "if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;" (if "if") (parenthesized_expression "((*(byte *)puVar12 & uVar4) != 0)" (( "(") (binary_expression "(*(byte *)puVar12 & uVar4) != 0" (parenthesized_expression "(*(byte *)puVar12 & uVar4)" (( "(") (binary_expression "*(byte *)puVar12 & uVar4" (pointer_expression "*(byte *)puVar12" (* "*") (cast_expression "(byte *)puVar12" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) (& "&") (identifier "uVar4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00016954;" (goto "goto") (statement_identifier "LAB_00016954") (; ";"))) (} "}"))) (for_statement "for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {\n        }" (for "for") (( "(") (; ";") (binary_expression "(*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0" (binary_expression "(*puVar12 & uVar15) == 0" (parenthesized_expression "(*puVar12 & uVar15)" (( "(") (binary_expression "*puVar12 & uVar15" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (& "&") (identifier "uVar15")) () ")")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "(puVar12[1] & uVar4) == 0" (parenthesized_expression "(puVar12[1] & uVar4)" (( "(") (binary_expression "puVar12[1] & uVar4" (subscript_expression "puVar12[1]" (identifier "puVar12") ([ "[") (number_literal "1") (] "]")) (& "&") (identifier "uVar4")) () ")")) (== "==") (number_literal "0"))) (; ";") (assignment_expression "puVar12 = puVar12 + 2" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 2" (identifier "puVar12") (+ "+") (number_literal "2"))) () ")") (compound_statement "{\n        }" ({ "{") (} "}"))) (for_statement "for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {\n        }" (for "for") (( "(") (; ";") (binary_expression "(*(byte *)puVar12 & uVar4) == 0" (parenthesized_expression "(*(byte *)puVar12 & uVar4)" (( "(") (binary_expression "*(byte *)puVar12 & uVar4" (pointer_expression "*(byte *)puVar12" (* "*") (cast_expression "(byte *)puVar12" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) (& "&") (identifier "uVar4")) () ")")) (== "==") (number_literal "0")) (; ";") (assignment_expression "puVar12 = (uint *)((int)puVar12 + 1)" (identifier "puVar12") (= "=") (cast_expression "(uint *)((int)puVar12 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + 1)" (( "(") (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (number_literal "1")) () ")")))) () ")") (compound_statement "{\n        }" ({ "{") (} "}"))) (labeled_statement "LAB_00016954:\n        if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" (statement_identifier "LAB_00016954") (: ":") (if_statement "if (unaff_s8 <= puVar12) {\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" (if "if") (parenthesized_expression "(unaff_s8 <= puVar12)" (( "(") (binary_expression "unaff_s8 <= puVar12" (identifier "unaff_s8") (<= "<=") (identifier "puVar12")) () ")")) (compound_statement "{\n          *(byte *)unaff_s8 = bVar2;\n          break;\n        }" ({ "{") (expression_statement "*(byte *)unaff_s8 = bVar2;" (assignment_expression "*(byte *)unaff_s8 = bVar2" (pointer_expression "*(byte *)unaff_s8" (* "*") (cast_expression "(byte *)unaff_s8" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "unaff_s8"))) (= "=") (identifier "bVar2")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}")))) (expression_statement "uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);" (assignment_expression "uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12)" (parenthesized_expression "(*(code *)PTR_rpl_mbrlen_0005613c)" (( "(") (pointer_expression "*(code *)PTR_rpl_mbrlen_0005613c" (* "*") (cast_expression "(code *)PTR_rpl_mbrlen_0005613c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_mbrlen_0005613c"))) () ")")) (argument_list "(puVar12,(int)unaff_s8 - (int)puVar12)" (( "(") (identifier "puVar12") (, ",") (binary_expression "(int)unaff_s8 - (int)puVar12" (cast_expression "(int)unaff_s8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s8")) (- "-") (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12"))) () ")")))) (; ";")) (expression_statement "puVar7 = PTR_DAT_00056108;" (assignment_expression "puVar7 = PTR_DAT_00056108" (identifier "puVar7") (= "=") (identifier "PTR_DAT_00056108")) (; ";")) (if_statement "if (0xfffffffd < uVar4) {\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }" (if "if") (parenthesized_expression "(0xfffffffd < uVar4)" (( "(") (binary_expression "0xfffffffd < uVar4" (number_literal "0xfffffffd") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n          *(byte *)unaff_s8 = bVar2;\n          param_1 = (uint *)0x0;\n          puVar7[0x6618] = 1;\n          goto LAB_00016848;\n        }" ({ "{") (expression_statement "*(byte *)unaff_s8 = bVar2;" (assignment_expression "*(byte *)unaff_s8 = bVar2" (pointer_expression "*(byte *)unaff_s8" (* "*") (cast_expression "(byte *)unaff_s8" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "unaff_s8"))) (= "=") (identifier "bVar2")) (; ";")) (expression_statement "param_1 = (uint *)0x0;" (assignment_expression "param_1 = (uint *)0x0" (identifier "param_1") (= "=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar7[0x6618] = 1;" (assignment_expression "puVar7[0x6618] = 1" (subscript_expression "puVar7[0x6618]" (identifier "puVar7") ([ "[") (number_literal "0x6618") (] "]")) (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00016848;" (goto "goto") (statement_identifier "LAB_00016848") (; ";")) (} "}"))) (expression_statement "puVar12 = (uint *)((int)puVar12 + uVar4);" (assignment_expression "puVar12 = (uint *)((int)puVar12 + uVar4)" (identifier "puVar12") (= "=") (cast_expression "(uint *)((int)puVar12 + uVar4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + uVar4)" (( "(") (binary_expression "(int)puVar12 + uVar4" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (identifier "uVar4")) () ")")))) (; ";")) (expression_statement "uVar15 = *(uint *)(puVar14 + 0x6600);" (assignment_expression "uVar15 = *(uint *)(puVar14 + 0x6600)" (identifier "uVar15") (= "=") (pointer_expression "*(uint *)(puVar14 + 0x6600)" (* "*") (cast_expression "(uint *)(puVar14 + 0x6600)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0x6600)" (( "(") (binary_expression "puVar14 + 0x6600" (identifier "puVar14") (+ "+") (number_literal "0x6600")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(puVar14 + 0x6604);" (assignment_expression "uVar4 = *(uint *)(puVar14 + 0x6604)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(puVar14 + 0x6604)" (* "*") (cast_expression "(uint *)(puVar14 + 0x6604)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0x6604)" (( "(") (binary_expression "puVar14 + 0x6604" (identifier "puVar14") (+ "+") (number_literal "0x6604")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar12 = (uint *)PTR_DAT_00056108;" (assignment_expression "puVar12 = (uint *)PTR_DAT_00056108" (identifier "puVar12") (= "=") (cast_expression "(uint *)PTR_DAT_00056108" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_00056108"))) (; ";")) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65b4) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65b4) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65b4)" (* "*") (cast_expression "(int *)(PTR_DAT_00056108 + 0x65b4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x65b4)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x65b4" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x65b4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000163a0();\n    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }\n  }" ({ "{") (expression_statement "FUN_000163a0();" (call_expression "FUN_000163a0()" (identifier "FUN_000163a0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }\n    else {\n      FUN_000164b4(param_4);\n    }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x65bc) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00056108 + 0x65bc) == 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65bc)" (* "*") (cast_expression "(int *)(PTR_DAT_00056108 + 0x65bc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x65bc)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x65bc" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x65bc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar5 = *(int *)PTR_stdout_000563d0;" (assignment_expression "iVar5 = *(int *)PTR_stdout_000563d0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR_stdout_000563d0" (* "*") (cast_expression "(int *)PTR_stdout_000563d0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_000563d0")))) (; ";")) (expression_statement "puVar8 = *(undefined1 **)(iVar5 + 0x14);" (assignment_expression "puVar8 = *(undefined1 **)(iVar5 + 0x14)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar5 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" (if "if") (parenthesized_expression "(puVar8 < *(undefined1 **)(iVar5 + 0x18))" (( "(") (binary_expression "puVar8 < *(undefined1 **)(iVar5 + 0x18)" (identifier "puVar8") (< "<") (pointer_expression "*(undefined1 **)(iVar5 + 0x18)" (* "*") (cast_expression "(undefined1 **)(iVar5 + 0x18)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x18)" (( "(") (binary_expression "iVar5 + 0x18" (identifier "iVar5") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 0;\n      }" ({ "{") (expression_statement "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;" (assignment_expression "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1" (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar5 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" (else "else") (compound_statement "{\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }\n      }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);" (assignment_expression "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR___overflow_000563a8)(iVar5,0)" (parenthesized_expression "(*(code *)PTR___overflow_000563a8)" (( "(") (pointer_expression "*(code *)PTR___overflow_000563a8" (* "*") (cast_expression "(code *)PTR___overflow_000563a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___overflow_000563a8"))) () ")")) (argument_list "(iVar5,0)" (( "(") (identifier "iVar5") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n        }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)()" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000563e8)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_000563e8)()" (parenthesized_expression "(*(code *)PTR___errno_location_000563e8)" (( "(") (pointer_expression "*(code *)PTR___errno_location_000563e8" (* "*") (cast_expression "(code *)PTR___errno_location_000563e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_000563e8"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;" (assignment_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6" (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6630)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6630)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6630" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6630")) () ")")))) (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\n      FUN_000164b4(param_4);\n    }" (else "else") (compound_statement "{\n      FUN_000164b4(param_4);\n    }" ({ "{") (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" (identifier "FUN_000164b4") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "puVar13 = PTR_DAT_00056108;" (assignment_expression "puVar13 = PTR_DAT_00056108" (identifier "puVar13") (= "=") (identifier "PTR_DAT_00056108")) (; ";")) (if_statement "if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;" (if "if") (parenthesized_expression "(PTR_DAT_00056108[0x65b1] == '\0')" (( "(") (binary_expression "PTR_DAT_00056108[0x65b1] == '\0'" (subscript_expression "PTR_DAT_00056108[0x65b1]" (identifier "PTR_DAT_00056108") ([ "[") (number_literal "0x65b1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00016780;" (goto "goto") (statement_identifier "LAB_00016780") (; ";"))) (expression_statement "local_3c = PTR_DAT_00056108;" (assignment_expression "local_3c = PTR_DAT_00056108" (identifier "local_3c") (= "=") (identifier "PTR_DAT_00056108")) (; ";")) (expression_statement "puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);" (assignment_expression "puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c)" (identifier "puVar10") (= "=") (pointer_expression "*(uint **)(PTR_DAT_00056108 + 0x657c)" (* "*") (cast_expression "(uint **)(PTR_DAT_00056108 + 0x657c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x657c)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x657c" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x657c")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x65cc)" (* "*") (cast_expression "(uint *)(PTR_DAT_00056108 + 0x65cc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x65cc)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x65cc" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x65cc")) () ")"))))) (; ";")) (expression_statement "puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);" (assignment_expression "puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8)" (identifier "puVar14") (= "=") (pointer_expression "*(undefined **)(PTR_DAT_00056108 + 0x65c8)" (* "*") (cast_expression "(undefined **)(PTR_DAT_00056108 + 0x65c8)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x65c8)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x65c8" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x65c8")) () ")"))))) (; ";")) (expression_statement "unaff_s8 = (uint *)PTR_DAT_00056108;" (assignment_expression "unaff_s8 = (uint *)PTR_DAT_00056108" (identifier "unaff_s8") (= "=") (cast_expression "(uint *)PTR_DAT_00056108" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_00056108"))) (; ";")) (if_statement "if (param_3 <= puVar10) goto LAB_0001670c;" (if "if") (parenthesized_expression "(param_3 <= puVar10)" (( "(") (binary_expression "param_3 <= puVar10" (identifier "param_3") (<= "<=") (identifier "puVar10")) () ")")) (goto_statement "goto LAB_0001670c;" (goto "goto") (statement_identifier "LAB_0001670c") (; ";"))) (expression_statement "puVar7 = puVar14;" (assignment_expression "puVar7 = puVar14" (identifier "puVar7") (= "=") (identifier "puVar14")) (; ";")) (expression_statement "unaff_s8 = (uint *)puVar13;" (assignment_expression "unaff_s8 = (uint *)puVar13" (identifier "unaff_s8") (= "=") (cast_expression "(uint *)puVar13" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar13"))) (; ";")) (if_statement "if (puVar10 < param_1) {\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }" (if "if") (parenthesized_expression "(puVar10 < param_1)" (( "(") (binary_expression "puVar10 < param_1" (identifier "puVar10") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    uVar15 = 0;\n    cVar1 = *PTR_eolbyte_00056138;\n    do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);\n    uVar11 = uVar15 + uVar4;\n    puVar7 = puVar14 + (uVar11 < uVar15);\n    uVar17 = CONCAT44(uVar4,puVar7);\n    if (puVar7 < puVar14) goto LAB_00016b14;\n    uVar4 = uVar11;\n    if (puVar14 == puVar7) goto LAB_00016b00;\n  }" ({ "{") (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" (identifier "uVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar1 = *PTR_eolbyte_00056138;" (assignment_expression "cVar1 = *PTR_eolbyte_00056138" (identifier "cVar1") (= "=") (pointer_expression "*PTR_eolbyte_00056138" (* "*") (identifier "PTR_eolbyte_00056138"))) (; ";")) (do_statement "do {\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    } while (puVar10 < param_1);" (do "do") (compound_statement "{\n      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);\n      if (iVar5 == 0) break;\n      puVar10 = (uint *)(iVar5 + 1);\n      uVar15 = uVar15 + 1;\n    }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);" (assignment_expression "iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1)" (parenthesized_expression "(*(code *)PTR_rpl_memchr_00056120)" (( "(") (pointer_expression "*(code *)PTR_rpl_memchr_00056120" (* "*") (cast_expression "(code *)PTR_rpl_memchr_00056120" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_memchr_00056120"))) () ")")) (argument_list "(puVar10,(int)cVar1)" (( "(") (identifier "puVar10") (, ",") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) () ")")))) (; ";")) (if_statement "if (iVar5 == 0) break;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar10 = (uint *)(iVar5 + 1);" (assignment_expression "puVar10 = (uint *)(iVar5 + 1)" (identifier "puVar10") (= "=") (cast_expression "(uint *)(iVar5 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 1)" (( "(") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" (identifier "uVar15") (= "=") (binary_expression "uVar15 + 1" (identifier "uVar15") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar10 < param_1)" (( "(") (binary_expression "puVar10 < param_1" (identifier "puVar10") (< "<") (identifier "param_1")) () ")")) (; ";")) (expression_statement "uVar11 = uVar15 + uVar4;" (assignment_expression "uVar11 = uVar15 + uVar4" (identifier "uVar11") (= "=") (binary_expression "uVar15 + uVar4" (identifier "uVar15") (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "puVar7 = puVar14 + (uVar11 < uVar15);" (assignment_expression "puVar7 = puVar14 + (uVar11 < uVar15)" (identifier "puVar7") (= "=") (binary_expression "puVar14 + (uVar11 < uVar15)" (identifier "puVar14") (+ "+") (parenthesized_expression "(uVar11 < uVar15)" (( "(") (binary_expression "uVar11 < uVar15" (identifier "uVar11") (< "<") (identifier "uVar15")) () ")")))) (; ";")) (expression_statement "uVar17 = CONCAT44(uVar4,puVar7);" (assignment_expression "uVar17 = CONCAT44(uVar4,puVar7)" (identifier "uVar17") (= "=") (call_expression "CONCAT44(uVar4,puVar7)" (identifier "CONCAT44") (argument_list "(uVar4,puVar7)" (( "(") (identifier "uVar4") (, ",") (identifier "puVar7") () ")")))) (; ";")) (if_statement "if (puVar7 < puVar14) goto LAB_00016b14;" (if "if") (parenthesized_expression "(puVar7 < puVar14)" (( "(") (binary_expression "puVar7 < puVar14" (identifier "puVar7") (< "<") (identifier "puVar14")) () ")")) (goto_statement "goto LAB_00016b14;" (goto "goto") (statement_identifier "LAB_00016b14") (; ";"))) (expression_statement "uVar4 = uVar11;" (assignment_expression "uVar4 = uVar11" (identifier "uVar4") (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (puVar14 == puVar7) goto LAB_00016b00;" (if "if") (parenthesized_expression "(puVar14 == puVar7)" (( "(") (binary_expression "puVar14 == puVar7" (identifier "puVar14") (== "==") (identifier "puVar7")) () ")")) (goto_statement "goto LAB_00016b00;" (goto "goto") (statement_identifier "LAB_00016b00") (; ";"))) (} "}"))) (labeled_statement "LAB_000166cc:\n  uVar15 = uVar4 + 1;" (statement_identifier "LAB_000166cc") (: ":") (expression_statement "uVar15 = uVar4 + 1;" (assignment_expression "uVar15 = uVar4 + 1" (identifier "uVar15") (= "=") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "unaff_s8[0x1972] = (uint)puVar7;" (assignment_expression "unaff_s8[0x1972] = (uint)puVar7" (subscript_expression "unaff_s8[0x1972]" (identifier "unaff_s8") ([ "[") (number_literal "0x1972") (] "]")) (= "=") (cast_expression "(uint)puVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar7"))) (; ";")) (expression_statement "unaff_s8[0x1973] = uVar4;" (assignment_expression "unaff_s8[0x1973] = uVar4" (subscript_expression "unaff_s8[0x1973]" (identifier "unaff_s8") ([ "[") (number_literal "0x1973") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "puVar14 = puVar7 + (uVar15 < uVar4);" (assignment_expression "puVar14 = puVar7 + (uVar15 < uVar4)" (identifier "puVar14") (= "=") (binary_expression "puVar7 + (uVar15 < uVar4)" (identifier "puVar7") (+ "+") (parenthesized_expression "(uVar15 < uVar4)" (( "(") (binary_expression "uVar15 < uVar4" (identifier "uVar15") (< "<") (identifier "uVar4")) () ")")))) (; ";")) (expression_statement "*(uint **)(local_3c + 0x657c) = param_1;" (assignment_expression "*(uint **)(local_3c + 0x657c) = param_1" (pointer_expression "*(uint **)(local_3c + 0x657c)" (* "*") (cast_expression "(uint **)(local_3c + 0x657c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_3c + 0x657c)" (( "(") (binary_expression "local_3c + 0x657c" (identifier "local_3c") (+ "+") (number_literal "0x657c")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (if_statement "if (puVar14 < puVar7) goto LAB_00016b14;" (if "if") (parenthesized_expression "(puVar14 < puVar7)" (( "(") (binary_expression "puVar14 < puVar7" (identifier "puVar14") (< "<") (identifier "puVar7")) () ")")) (goto_statement "goto LAB_00016b14;" (goto "goto") (statement_identifier "LAB_00016b14") (; ";"))) (if_statement "if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;" (if "if") (parenthesized_expression "((puVar7 == puVar14) && (uVar15 < uVar4))" (( "(") (binary_expression "(puVar7 == puVar14) && (uVar15 < uVar4)" (parenthesized_expression "(puVar7 == puVar14)" (( "(") (binary_expression "puVar7 == puVar14" (identifier "puVar7") (== "==") (identifier "puVar14")) () ")")) (&& "&&") (parenthesized_expression "(uVar15 < uVar4)" (( "(") (binary_expression "uVar15 < uVar4" (identifier "uVar15") (< "<") (identifier "uVar4")) () ")"))) () ")")) (goto_statement "goto LAB_00016b14;" (goto "goto") (statement_identifier "LAB_00016b14") (; ";"))) (expression_statement "unaff_s8[0x1972] = (uint)puVar14;" (assignment_expression "unaff_s8[0x1972] = (uint)puVar14" (subscript_expression "unaff_s8[0x1972]" (identifier "unaff_s8") ([ "[") (number_literal "0x1972") (] "]")) (= "=") (cast_expression "(uint)puVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar14"))) (; ";")) (expression_statement "unaff_s8[0x1973] = uVar15;" (assignment_expression "unaff_s8[0x1973] = uVar15" (subscript_expression "unaff_s8[0x1973]" (identifier "unaff_s8") ([ "[") (number_literal "0x1973") (] "]")) (= "=") (identifier "uVar15")) (; ";")) (expression_statement "*(uint **)(local_3c + 0x657c) = param_3;" (assignment_expression "*(uint **)(local_3c + 0x657c) = param_3" (pointer_expression "*(uint **)(local_3c + 0x657c)" (* "*") (cast_expression "(uint **)(local_3c + 0x657c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_3c + 0x657c)" (( "(") (binary_expression "local_3c + 0x657c" (identifier "local_3c") (+ "+") (number_literal "0x657c")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (labeled_statement "LAB_0001670c:\n  param_3 = (uint *)PTR_DAT_00056108;" (statement_identifier "LAB_0001670c") (: ":") (expression_statement "param_3 = (uint *)PTR_DAT_00056108;" (assignment_expression "param_3 = (uint *)PTR_DAT_00056108" (identifier "param_3") (= "=") (cast_expression "(uint *)PTR_DAT_00056108" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_00056108"))) (; ";"))) (expression_statement "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);" (assignment_expression "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038)" (identifier "pcVar16") (= "=") (pointer_expression "*(char **)(PTR_DAT_00056108 + 0x6038)" (* "*") (cast_expression "(char **)(PTR_DAT_00056108 + 0x6038)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6038)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6038" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6038")) () ")"))))) (; ";")) (if_statement "if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }" (if "if") (parenthesized_expression "((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0'))" (( "(") (binary_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00056108 + 0x664c) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x664c)" (* "*") (cast_expression "(int *)(PTR_DAT_00056108 + 0x664c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x664c)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x664c" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x664c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar16 != '\0')" (( "(") (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n  }" ({ "{") (expression_statement "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);" (call_expression "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" (identifier "print_start_colorize") (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6024)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6024)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6024)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6024" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6024")) () ")")))) (, ",") (identifier "pcVar16") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));" (call_expression "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" (identifier "FUN_00016004") (argument_list "(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" (( "(") (binary_expression "PTR_wcrtomb_00056118 + 0x848" (identifier "PTR_wcrtomb_00056118") (+ "+") (number_literal "0x848")) (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6644)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6644)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6644)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6644" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6644")) () ")")))) () ")"))) (; ";")) (if_statement "if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }" (if "if") (parenthesized_expression "((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0'))" (( "(") (binary_expression "(*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)((int)param_3 + 0x664c) != 0)" (( "(") (binary_expression "*(int *)((int)param_3 + 0x664c) != 0" (pointer_expression "*(int *)((int)param_3 + 0x664c)" (* "*") (cast_expression "(int *)((int)param_3 + 0x664c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x664c)" (( "(") (binary_expression "(int)param_3 + 0x664c" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x664c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar16 != '\0')" (( "(") (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n  }" ({ "{") (expression_statement "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));" (call_expression "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" (identifier "print_end_colorize") (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6020)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6020)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6020)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6020" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6020")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" (identifier "FUN_000164b4") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))) (; ";")) (labeled_statement "LAB_00016780:\n  puVar14 = PTR_DAT_00056108;" (statement_identifier "LAB_00016780") (: ":") (expression_statement "puVar14 = PTR_DAT_00056108;" (assignment_expression "puVar14 = PTR_DAT_00056108" (identifier "puVar14") (= "=") (identifier "PTR_DAT_00056108")) (; ";"))) (if_statement "if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;" (if "if") (parenthesized_expression "(PTR_DAT_00056108[0x65b0] == '\0')" (( "(") (binary_expression "PTR_DAT_00056108[0x65b0] == '\0'" (subscript_expression "PTR_DAT_00056108[0x65b0]" (identifier "PTR_DAT_00056108") ([ "[") (number_literal "0x65b0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00016838;" (goto "goto") (statement_identifier "LAB_00016838") (; ";"))) (expression_statement "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);" (assignment_expression "uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6580)" (* "*") (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6580)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6580)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6580" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6580")) () ")"))))) (; ";")) (expression_statement "uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);" (assignment_expression "uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0)" (identifier "uVar15") (= "=") (binary_expression "(int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (- "-") (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x65f0)" (* "*") (cast_expression "(int *)(PTR_DAT_00056108 + 0x65f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x65f0)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x65f0" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x65f0")) () ")")))))) (; ";")) (expression_statement "uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);" (assignment_expression "uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584)" (identifier "uVar11") (= "=") (binary_expression "uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584)" (identifier "uVar15") (+ "+") (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6584)" (* "*") (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6584)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6584)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6584" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6584")) () ")")))))) (; ";")) (expression_statement "uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;" (assignment_expression "uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4" (identifier "uVar15") (= "=") (binary_expression "(uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4" (binary_expression "(uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f)" (call_expression "(uint)(uVar11 < uVar15)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar11 < uVar15)" (( "(") (binary_expression "uVar11 < uVar15" (identifier "uVar11") (< "<") (identifier "uVar15")) () ")"))) (+ "+") (parenthesized_expression "((int)uVar15 >> 0x1f)" (( "(") (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (identifier "uVar4"))) (; ";")) (if_statement "if (uVar15 < uVar4) goto LAB_00016b14;" (if "if") (parenthesized_expression "(uVar15 < uVar4)" (( "(") (binary_expression "uVar15 < uVar4" (identifier "uVar15") (< "<") (identifier "uVar4")) () ")")) (goto_statement "goto LAB_00016b14;" (goto "goto") (statement_identifier "LAB_00016b14") (; ";"))) (expression_statement "uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));" (assignment_expression "uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" (identifier "uVar11") (= "=") (call_expression "(uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584))" (( "(") (binary_expression "uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584)" (identifier "uVar11") (< "<") (pointer_expression "*(uint *)(PTR_DAT_00056108 + 0x6584)" (* "*") (cast_expression "(uint *)(PTR_DAT_00056108 + 0x6584)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6584)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6584" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6584")) () ")"))))) () ")")))) (; ";")) (if_statement "if (uVar4 == uVar15) goto LAB_00016b1c;" (if "if") (parenthesized_expression "(uVar4 == uVar15)" (( "(") (binary_expression "uVar4 == uVar15" (identifier "uVar4") (== "==") (identifier "uVar15")) () ")")) (goto_statement "goto LAB_00016b1c;" (goto "goto") (statement_identifier "LAB_00016b1c") (; ";"))) (do_statement "do {\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  } while( true );" (do "do") (compound_statement "{\n    param_3 = (uint *)PTR_DAT_00056108;\n    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);\n    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }\n    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));\n    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }\n    FUN_000164b4(param_4);\nLAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];\n    if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }\nLAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }\n    uVar11 = uVar9;\n    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();\nLAB_00016b00:\n    puVar7 = (undefined *)uVar17;\n    uVar4 = uVar11;\n    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;\nLAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);\n  }" ({ "{") (expression_statement "param_3 = (uint *)PTR_DAT_00056108;" (assignment_expression "param_3 = (uint *)PTR_DAT_00056108" (identifier "param_3") (= "=") (cast_expression "(uint *)PTR_DAT_00056108" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_00056108"))) (; ";")) (expression_statement "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);" (assignment_expression "pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034)" (identifier "pcVar16") (= "=") (pointer_expression "*(char **)(PTR_DAT_00056108 + 0x6034)" (* "*") (cast_expression "(char **)(PTR_DAT_00056108 + 0x6034)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6034)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6034" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6034")) () ")"))))) (; ";")) (if_statement "if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }" (if "if") (parenthesized_expression "((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0'))" (( "(") (binary_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)(PTR_DAT_00056108 + 0x664c) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00056108 + 0x664c) != 0" (pointer_expression "*(int *)(PTR_DAT_00056108 + 0x664c)" (* "*") (cast_expression "(int *)(PTR_DAT_00056108 + 0x664c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x664c)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x664c" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x664c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar16 != '\0')" (( "(") (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);\n    }" ({ "{") (expression_statement "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);" (call_expression "print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" (identifier "print_start_colorize") (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16)" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6024)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6024)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6024)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6024" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6024")) () ")")))) (, ",") (identifier "pcVar16") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));" (call_expression "FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" (identifier "FUN_00016004") (argument_list "(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644))" (( "(") (binary_expression "PTR_wcrtomb_00056118 + 0x848" (identifier "PTR_wcrtomb_00056118") (+ "+") (number_literal "0x848")) (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6644)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6644)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6644)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6644" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6644")) () ")")))) () ")"))) (; ";")) (if_statement "if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }" (if "if") (parenthesized_expression "((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0'))" (( "(") (binary_expression "(*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')" (parenthesized_expression "(*(int *)((int)param_3 + 0x664c) != 0)" (( "(") (binary_expression "*(int *)((int)param_3 + 0x664c) != 0" (pointer_expression "*(int *)((int)param_3 + 0x664c)" (* "*") (cast_expression "(int *)((int)param_3 + 0x664c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x664c)" (( "(") (binary_expression "(int)param_3 + 0x664c" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x664c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar16 != '\0')" (( "(") (binary_expression "*pcVar16 != '\0'" (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));\n    }" ({ "{") (expression_statement "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));" (call_expression "print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" (identifier "print_end_colorize") (argument_list "(*(undefined4 *)(PTR_DAT_00056108 + 0x6020))" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6020)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6020)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6020)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6020" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6020")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000164b4(param_4);" (call_expression "FUN_000164b4(param_4)" (identifier "FUN_000164b4") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))) (; ";")) (labeled_statement "LAB_00016838:\n    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];" (statement_identifier "LAB_00016838") (: ":") (expression_statement "param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];" (assignment_expression "param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648]" (identifier "param_1") (= "=") (cast_expression "(uint *)(uint)(byte)PTR_DAT_00056108[0x6648]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)(byte)PTR_DAT_00056108[0x6648]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR_DAT_00056108[0x6648]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR_DAT_00056108[0x6648]" (identifier "PTR_DAT_00056108") ([ "[") (number_literal "0x6648") (] "]")))))) (; ";"))) (if_statement "if (((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)) {\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }\n    else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" (if "if") (parenthesized_expression "(((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0))" (( "(") (binary_expression "((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||\n       (param_2 == 0)" (parenthesized_expression "((param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0))" (( "(") (binary_expression "(param_1 == (uint *)0x0) ||\n        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)" (parenthesized_expression "(param_1 == (uint *)0x0)" (( "(") (binary_expression "param_1 == (uint *)0x0" (identifier "param_1") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)" (( "(") (binary_expression "(puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0" (parenthesized_expression "(puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0')" (( "(") (binary_expression "puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0'" (binary_expression "puVar13[0x65b1] == '\0'" (subscript_expression "puVar13[0x65b1]" (identifier "puVar13") ([ "[") (number_literal "0x65b1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (binary_expression "puVar14[0x65b0] == '\0'" (subscript_expression "puVar14[0x65b0]" (identifier "puVar14") ([ "[") (number_literal "0x65b0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (&& "&&") (binary_expression "puVar12[0x196d] == 0" (subscript_expression "puVar12[0x196d]" (identifier "puVar12") ([ "[") (number_literal "0x196d") (] "]")) (== "==") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_00016844:\n      param_1 = (uint *)0x1;\n    }" ({ "{") (labeled_statement "LAB_00016844:\n      param_1 = (uint *)0x1;" (statement_identifier "LAB_00016844") (: ":") (expression_statement "param_1 = (uint *)0x1;" (assignment_expression "param_1 = (uint *)0x1" (identifier "param_1") (= "=") (cast_expression "(uint *)0x1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";"))) (} "}")) (else_clause "else {\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" (else "else") (compound_statement "{\n      iVar5 = *(int *)PTR_stdout_000563d0;\n      puVar8 = *(undefined1 **)(iVar5 + 0x14);\n      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }\n    }" ({ "{") (expression_statement "iVar5 = *(int *)PTR_stdout_000563d0;" (assignment_expression "iVar5 = *(int *)PTR_stdout_000563d0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR_stdout_000563d0" (* "*") (cast_expression "(int *)PTR_stdout_000563d0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_000563d0")))) (; ";")) (expression_statement "puVar8 = *(undefined1 **)(iVar5 + 0x14);" (assignment_expression "puVar8 = *(undefined1 **)(iVar5 + 0x14)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar5 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }\n      else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" (if "if") (parenthesized_expression "(puVar8 < *(undefined1 **)(iVar5 + 0x18))" (( "(") (binary_expression "puVar8 < *(undefined1 **)(iVar5 + 0x18)" (identifier "puVar8") (< "<") (pointer_expression "*(undefined1 **)(iVar5 + 0x18)" (* "*") (cast_expression "(undefined1 **)(iVar5 + 0x18)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x18)" (( "(") (binary_expression "iVar5 + 0x18" (identifier "iVar5") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;\n        *puVar8 = 9;\n      }" ({ "{") (expression_statement "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;" (assignment_expression "*(undefined1 **)(iVar5 + 0x14) = puVar8 + 1" (pointer_expression "*(undefined1 **)(iVar5 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar5 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar8 = 9;" (assignment_expression "*puVar8 = 9" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "9")) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" (else "else") (compound_statement "{\n        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);\n        if (-1 < iVar5) goto LAB_00016844;\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();\n        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;\n      }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);" (assignment_expression "iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR___overflow_000563a8)(iVar5,9)" (parenthesized_expression "(*(code *)PTR___overflow_000563a8)" (( "(") (pointer_expression "*(code *)PTR___overflow_000563a8" (* "*") (cast_expression "(code *)PTR___overflow_000563a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___overflow_000563a8"))) () ")")) (argument_list "(iVar5,9)" (( "(") (identifier "iVar5") (, ",") (number_literal "9") () ")")))) (; ";")) (if_statement "if (-1 < iVar5) goto LAB_00016844;" (if "if") (parenthesized_expression "(-1 < iVar5)" (( "(") (binary_expression "-1 < iVar5" (number_literal "-1") (< "<") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_00016844;" (goto "goto") (statement_identifier "LAB_00016844") (; ";"))) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)()" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000563e8)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_000563e8)()" (parenthesized_expression "(*(code *)PTR___errno_location_000563e8)" (( "(") (pointer_expression "*(code *)PTR___errno_location_000563e8" (* "*") (cast_expression "(code *)PTR___errno_location_000563e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_000563e8"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;" (assignment_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6" (pointer_expression "*(undefined4 *)(PTR_DAT_00056108 + 0x6630)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00056108 + 0x6630)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00056108 + 0x6630)" (( "(") (binary_expression "PTR_DAT_00056108 + 0x6630" (identifier "PTR_DAT_00056108") (+ "+") (number_literal "0x6630")) () ")")))) (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_00016848:\n    if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }" (statement_identifier "LAB_00016848") (: ":") (if_statement "if (uVar9 == *(uint *)puVar3) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(uVar9 == *(uint *)puVar3)" (( "(") (binary_expression "uVar9 == *(uint *)puVar3" (identifier "uVar9") (== "==") (pointer_expression "*(uint *)puVar3" (* "*") (cast_expression "(uint *)puVar3" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (expression_statement "uVar11 = uVar9;" (assignment_expression "uVar11 = uVar9" (identifier "uVar11") (= "=") (identifier "uVar9")) (; ";")) (expression_statement "uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();" (assignment_expression "uVar17 = (*(code *)PTR___stack_chk_fail_00056494)()" (identifier "uVar17") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_00056494)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00056494)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00056494" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00056494" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00056494"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (labeled_statement "LAB_00016b00:\n    puVar7 = (undefined *)uVar17;" (statement_identifier "LAB_00016b00") (: ":") (expression_statement "puVar7 = (undefined *)uVar17;" (assignment_expression "puVar7 = (undefined *)uVar17" (identifier "puVar7") (= "=") (cast_expression "(undefined *)uVar17" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar17"))) (; ";"))) (expression_statement "uVar4 = uVar11;" (assignment_expression "uVar4 = uVar11" (identifier "uVar4") (= "=") (identifier "uVar11")) (; ";")) (if_statement "if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;" (if "if") (parenthesized_expression "((uint)((ulonglong)uVar17 >> 0x20) <= uVar11)" (( "(") (binary_expression "(uint)((ulonglong)uVar17 >> 0x20) <= uVar11" (call_expression "(uint)((ulonglong)uVar17 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar17 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar17")) (>> ">>") (number_literal "0x20")) () ")"))) (<= "<=") (identifier "uVar11")) () ")")) (goto_statement "goto LAB_000166cc;" (goto "goto") (statement_identifier "LAB_000166cc") (; ";"))) (labeled_statement "LAB_00016b14:\n    do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);" (statement_identifier "LAB_00016b14") (: ":") (do_statement "do {\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    } while (uVar11 != 0);" (do "do") (compound_statement "{\n      FUN_00016240();\n      uVar11 = extraout_v1;\nLAB_00016b1c:\n    }" ({ "{") (expression_statement "FUN_00016240();" (call_expression "FUN_00016240()" (identifier "FUN_00016240") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar11 = extraout_v1;" (assignment_expression "uVar11 = extraout_v1" (identifier "uVar11") (= "=") (identifier "extraout_v1")) (; ";")) (labeled_statement "LAB_00016b1c:" (statement_identifier "LAB_00016b1c") (: ":") (expression_statement "" (; ""))) (} "}")) (while "while") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (; ";"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(char *var_4,size_t var_5,char *var_15,char sep)

{
  int *piVar1;
  char cVar2;
  type_2 bVar3;
  type_3 *puVar4;
  type_4 *var_17;
  int var_9;
  type_5 *puVar7;
  type_6 var_3;
  type_7 *var_27;
  type_4 *var_28;
  char *var_16;
  type_4 *var_22;
  type_6 var_2;
  type_6 var_26;
  type_6 *var_6;
  int var_11;
  type_4 *var_20;
  type_4 *var_18;
  type_7 *var_7;
  type_6 *var_8;
  type_8 uVar20;
  type_9 uVar21;
  type_7 *var_12;
  type_5 in_stack_ffffffb4;
  type_5 in_stack_ffffffb8;
  type_4 *var_21;
  int var_14;
  type_4 mbs;
  
  puVar4 = PTR___stack_chk_guard_000564b4;
  var_20 = (type_4 *)var_1;
  var_7 = &_gp;
  var_12 = &_gp;
  var_28 = *(type_4 **)PTR___stack_chk_guard_000564b4;
  var_22 = (type_4 *)var_15;
  if (*(int *)(var_1 + 0x65c4) != 1) {
    var_2 = *(type_6 *)(var_1 + 0x6600);
    var_3 = *(type_6 *)(var_1 + 0x6604);
    if (var_2 != 0 || var_3 != 0) {
      mbs.__count = 0;
      mbs.__value.__wch = 0;
      var_8 = (type_6 *)(var_4 + var_5);
      bVar3 = *(type_2 *)var_8;
      var_11 = (int)(char)bVar3;
      *(type_2 *)var_8 = 0xff;
      var_6 = (type_6 *)var_4;
      do {
        for (; ((type_6)var_6 & 7) != 0; var_6 = (type_6 *)((int)var_6 + 1)) {
          if ((*(type_2 *)var_6 & var_3) != 0) goto LAB_00016954;
        }
        for (; (*var_6 & var_2) == 0 && (var_6[1] & var_3) == 0; var_6 = var_6 + 2) {
        }
        for (; (*(type_2 *)var_6 & var_3) == 0; var_6 = (type_6 *)((int)var_6 + 1)) {
        }
LAB_00016954:
        puVar7 = (type_5 *)(var_7 + -0x7fa4);
        if (var_8 <= var_6) {
          *(type_2 *)var_8 = bVar3;
          break;
        }
        var_22 = &mbs;
        var_7 = var_12;
        var_3 = (*(type_10 *)*puVar7)(var_6,(int)var_8 - (int)var_6);
        var_12 = var_7;
        if (0xfffffffd < var_3) {
          var_9 = *(int *)(var_7 + -0x7fd8);
          *(type_2 *)var_8 = bVar3;
          var_4 = (char *)0x0;
          *(type_7 *)(var_9 + 0x6618) = 1;
          goto LAB_00016848;
        }
        var_6 = (type_6 *)((int)var_6 + var_3);
        var_2 = *(type_6 *)((int)var_20 + 0x6600);
        var_3 = *(type_6 *)((int)var_20 + 0x6604);
      } while( true );
    }
  }
  var_6 = *(type_6 **)(var_7 + -0x7fd8);
  if (var_6[0x196d] != 0) {
    var_7 = var_12;
    var_10();
    if (*(int *)(*(int *)(var_7 + -0x7fd8) + 0x65bc) == 0) {
      var_11 = **(int **)(var_7 + -0x7d10);
      var_12 = *(type_7 **)(var_11 + 0x14);
      if (var_12 < *(type_7 **)(var_11 + 0x18)) {
        *(type_7 **)(var_11 + 0x14) = var_12 + 1;
        *var_12 = 0;
        var_12 = var_7;
      }
      else {
        var_11 = (**(type_10 **)(var_7 + -0x7d38))(var_11,0);
        var_12 = var_7;
        if (var_11 < 0) {
          puVar7 = (type_5 *)(**(type_10 **)(var_7 + -0x7cf8))();
          *(type_5 *)(*(int *)(var_7 + -0x7fd8) + 0x6630) = *puVar7;
          var_12 = var_7;
        }
      }
    }
    else {
      var_13(sep);
      var_12 = var_7;
    }
  }
  var_11 = *(int *)(var_7 + -0x7fd8);
  var_20 = *(type_4 **)(var_7 + -0x7fd8);
  if (*(char *)(var_11 + 0x65b1) == '\0') goto LAB_00016780;
  var_14 = *(int *)(var_7 + -0x7fd8);
  var_8 = *(type_6 **)(var_7 + -0x7fd8);
  var_16 = *(char **)(var_14 + 0x657c);
  var_17 = (type_4 *)var_8[0x1973];
  var_20 = (type_4 *)var_8[0x1972];
  var_22 = var_20;
  var_21 = var_17;
  if (var_15 <= var_16) goto LAB_0001670c;
  var_18 = var_20;
  if (var_16 < var_4) {
    var_18 = (type_4 *)0x0;
    cVar2 = **(char **)(var_7 + -0x7fa8);
    do {
      puVar7 = (type_5 *)(var_7 + -0x7fc0);
      var_22 = (type_4 *)(var_4 + -(int)var_16);
      var_7 = var_12;
      var_9 = (*(type_10 *)*puVar7)(var_16,(int)cVar2);
      var_12 = var_7;
      if (var_9 == 0) break;
      var_16 = (char *)(var_9 + 1);
      var_18 = (type_4 *)((int)&var_18->__count + 1);
    } while (var_16 < var_4);
    var_17 = (type_4 *)((int)&var_21->__count + (int)&var_18->__count);
    var_18 = (type_4 *)((int)&var_20->__count + (type_6)(var_17 < var_18));
    uVar20 = var_19(var_21,var_18);
    if (var_18 < var_20) goto LAB_00016b14;
    if (var_20 == var_18) goto LAB_00016b00;
  }
LAB_000166cc:
  var_21 = (type_4 *)((int)&var_17->__count + 1);
  var_8[0x1972] = (type_6)var_18;
  var_8[0x1973] = (type_6)var_17;
  var_20 = (type_4 *)((int)&var_18->__count + (type_6)(var_21 < var_17));
  *(char **)(var_14 + 0x657c) = var_4;
  var_22 = (type_4 *)(type_6)(var_20 < var_18);
  if (var_22 != (type_4 *)0x0) goto LAB_00016b14;
  if ((var_18 == var_20) && (var_21 < var_17)) goto LAB_00016b14;
  var_8[0x1972] = (type_6)var_20;
  var_8[0x1973] = (type_6)var_21;
  *(char **)(var_14 + 0x657c) = var_15;
  var_22 = var_20;
LAB_0001670c:
  var_15 = *(char **)(var_7 + -0x7fd8);
  var_16 = *(char **)(*(int *)(var_7 + -0x7fd8) + 0x6038);
  if ((*(int *)(var_15 + 0x664c) != 0) && (piVar1 = (int *)(var_7 + -0x7fd8), *var_16 != '\0')) {
    var_7 = var_12;
    var_23(*(char **)(*piVar1 + 0x6024),var_16);
    var_12 = var_7;
  }
  var_24((char *)(*(int *)(var_7 + -0x7fc8) + 0x848),
               *(type_5 *)(*(int *)(var_7 + -0x7fd8) + 0x6644));
  var_7 = var_12;
  if ((*(int *)(var_15 + 0x664c) != 0) && (*var_16 != '\0')) {
    var_25(*(char **)(*(int *)(var_12 + -0x7fd8) + 0x6020));
    var_7 = var_12;
  }
  var_13(sep);
  var_20 = *(type_4 **)(var_7 + -0x7fd8);
  var_12 = var_7;
LAB_00016780:
  var_9 = *(int *)(var_7 + -0x7fd8);
  if (*(char *)&var_20[0xcb6].__count == '\0') goto LAB_00016838;
  var_3 = *(type_6 *)(*(int *)(var_7 + -0x7fd8) + 0x6584);
  var_17 = *(type_4 **)(*(int *)(var_7 + -0x7fd8) + 0x6580);
  var_26 = (int)var_4 - *(int *)(*(int *)(var_7 + -0x7fd8) + 0x65f0);
  var_2 = var_26 + var_3;
  var_22 = (type_4 *)((int)&var_17->__count + (type_6)(var_2 < var_26) + ((int)var_26 >> 0x1f));
  if (var_22 < var_17) goto LAB_00016b14;
  var_3 = (type_6)(var_2 < var_3);
  if (var_17 == var_22) goto LAB_00016b1c;
  do {
    var_15 = *(char **)(var_7 + -0x7fd8);
    var_16 = *(char **)(*(int *)(var_7 + -0x7fd8) + 0x6034);
    if ((*(int *)(var_15 + 0x664c) != 0) && (piVar1 = (int *)(var_7 + -0x7fd8), *var_16 != '\0')) {
      var_7 = var_12;
      var_23(*(char **)(*piVar1 + 0x6024),var_16);
      var_12 = var_7;
      var_21 = var_22;
    }
    var_24((char *)(*(int *)(var_7 + -0x7fc8) + 0x848),
                 *(type_5 *)(*(int *)(var_7 + -0x7fd8) + 0x6644));
    var_7 = var_12;
    if ((*(int *)(var_15 + 0x664c) != 0) && (*var_16 != '\0')) {
      var_25(*(char **)(*(int *)(var_12 + -0x7fd8) + 0x6020));
      var_7 = var_12;
    }
    var_13(sep);
    var_9 = *(int *)(var_7 + -0x7fd8);
    var_12 = var_7;
LAB_00016838:
    var_4 = (char *)(type_6)*(type_2 *)(var_9 + 0x6648);
    if (((var_4 == (char *)0x0) ||
        ((*(char *)(var_11 + 0x65b1) == '\0' && *(char *)&var_20[0xcb6].__count == '\0') &&
         var_6[0x196d] == 0)) || (var_5 == 0)) {
LAB_00016844:
      var_4 = (char *)0x1;
    }
    else {
      var_9 = **(int **)(var_7 + -0x7d10);
      var_27 = *(type_7 **)(var_9 + 0x14);
      if (var_27 < *(type_7 **)(var_9 + 0x18)) {
        *(type_7 **)(var_9 + 0x14) = var_27 + 1;
        *var_27 = 9;
      }
      else {
        puVar7 = (type_5 *)(var_7 + -0x7d38);
        var_7 = var_12;
        var_9 = (*(type_10 *)*puVar7)(var_9,9);
        var_12 = var_7;
        if (-1 < var_9) goto LAB_00016844;
        puVar7 = (type_5 *)(**(type_10 **)(var_7 + -0x7cf8))();
        *(type_5 *)(*(int *)(var_7 + -0x7fd8) + 0x6630) = *puVar7;
        var_12 = var_7;
      }
    }
LAB_00016848:
    if (var_28 == *(type_4 **)puVar4) {
      return var_29(var_4,0);
    }
    var_17 = var_28;
    uVar20 = (**(type_10 **)(var_7 + -0x7c4c))();
LAB_00016b00:
    var_18 = (type_4 *)uVar20;
    if ((type_4 *)((type_11)uVar20 >> 0x20) <= var_17) goto LAB_000166cc;
LAB_00016b14:
    do {
      uVar21 = var_30(var_19(var_12,in_stack_ffffffb4),
                         var_19(in_stack_ffffffb8,var_21));
      var_3 = (type_6)uVar21;
LAB_00016b1c:
    } while (var_3 != 0);
  } while( true );
}


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

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

{
  char cVar1;
  byte bVar2;
  undefined *puVar3;
  uint uVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined *puVar7;
  undefined1 *puVar8;
  uint extraout_v1;
  uint uVar9;
  uint *puVar10;
  uint uVar11;
  uint *puVar12;
  undefined *puVar13;
  undefined *puVar14;
  uint uVar15;
  char *pcVar16;
  uint *unaff_s8;
  undefined8 uVar17;
  undefined *local_3c;
  
  puVar3 = PTR___stack_chk_guard_000564b4;
  puVar14 = PTR_DAT_00056108;
  uVar9 = *(uint *)PTR___stack_chk_guard_000564b4;
  if (*(int *)(PTR_DAT_00056108 + 0x65c4) != 1) {
    uVar15 = *(uint *)(PTR_DAT_00056108 + 0x6600);
    uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6604);
    if (uVar15 != 0 || uVar4 != 0) {
      unaff_s8 = (uint *)((int)param_1 + param_2);
      bVar2 = *(byte *)unaff_s8;
      puVar13 = (undefined *)(int)(char)bVar2;
      *(byte *)unaff_s8 = 0xff;
      puVar12 = param_1;
      do {
        for (; ((uint)puVar12 & 7) != 0; puVar12 = (uint *)((int)puVar12 + 1)) {
          if ((*(byte *)puVar12 & uVar4) != 0) goto LAB_00016954;
        }
        for (; (*puVar12 & uVar15) == 0 && (puVar12[1] & uVar4) == 0; puVar12 = puVar12 + 2) {
        }
        for (; (*(byte *)puVar12 & uVar4) == 0; puVar12 = (uint *)((int)puVar12 + 1)) {
        }
LAB_00016954:
        if (unaff_s8 <= puVar12) {
          *(byte *)unaff_s8 = bVar2;
          break;
        }
        uVar4 = (*(code *)PTR_rpl_mbrlen_0005613c)(puVar12,(int)unaff_s8 - (int)puVar12);
        puVar7 = PTR_DAT_00056108;
        if (0xfffffffd < uVar4) {
          *(byte *)unaff_s8 = bVar2;
          param_1 = (uint *)0x0;
          puVar7[0x6618] = 1;
          goto LAB_00016848;
        }
        puVar12 = (uint *)((int)puVar12 + uVar4);
        uVar15 = *(uint *)(puVar14 + 0x6600);
        uVar4 = *(uint *)(puVar14 + 0x6604);
      } while( true );
    }
  }
  puVar12 = (uint *)PTR_DAT_00056108;
  if (*(int *)(PTR_DAT_00056108 + 0x65b4) != 0) {
    FUN_000163a0();
    if (*(int *)(PTR_DAT_00056108 + 0x65bc) == 0) {
      iVar5 = *(int *)PTR_stdout_000563d0;
      puVar8 = *(undefined1 **)(iVar5 + 0x14);
      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {
        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;
        *puVar8 = 0;
      }
      else {
        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,0);
        if (iVar5 < 0) {
          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();
          *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;
        }
      }
    }
    else {
      FUN_000164b4(param_4);
    }
  }
  puVar13 = PTR_DAT_00056108;
  if (PTR_DAT_00056108[0x65b1] == '\0') goto LAB_00016780;
  local_3c = PTR_DAT_00056108;
  puVar10 = *(uint **)(PTR_DAT_00056108 + 0x657c);
  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x65cc);
  puVar14 = *(undefined **)(PTR_DAT_00056108 + 0x65c8);
  unaff_s8 = (uint *)PTR_DAT_00056108;
  if (param_3 <= puVar10) goto LAB_0001670c;
  puVar7 = puVar14;
  unaff_s8 = (uint *)puVar13;
  if (puVar10 < param_1) {
    uVar15 = 0;
    cVar1 = *PTR_eolbyte_00056138;
    do {
      iVar5 = (*(code *)PTR_rpl_memchr_00056120)(puVar10,(int)cVar1);
      if (iVar5 == 0) break;
      puVar10 = (uint *)(iVar5 + 1);
      uVar15 = uVar15 + 1;
    } while (puVar10 < param_1);
    uVar11 = uVar15 + uVar4;
    puVar7 = puVar14 + (uVar11 < uVar15);
    uVar17 = CONCAT44(uVar4,puVar7);
    if (puVar7 < puVar14) goto LAB_00016b14;
    uVar4 = uVar11;
    if (puVar14 == puVar7) goto LAB_00016b00;
  }
LAB_000166cc:
  uVar15 = uVar4 + 1;
  unaff_s8[0x1972] = (uint)puVar7;
  unaff_s8[0x1973] = uVar4;
  puVar14 = puVar7 + (uVar15 < uVar4);
  *(uint **)(local_3c + 0x657c) = param_1;
  if (puVar14 < puVar7) goto LAB_00016b14;
  if ((puVar7 == puVar14) && (uVar15 < uVar4)) goto LAB_00016b14;
  unaff_s8[0x1972] = (uint)puVar14;
  unaff_s8[0x1973] = uVar15;
  *(uint **)(local_3c + 0x657c) = param_3;
LAB_0001670c:
  param_3 = (uint *)PTR_DAT_00056108;
  pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6038);
  if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {
    print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);
  }
  FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));
  if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {
    print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));
  }
  FUN_000164b4(param_4);
LAB_00016780:
  puVar14 = PTR_DAT_00056108;
  if (PTR_DAT_00056108[0x65b0] == '\0') goto LAB_00016838;
  uVar4 = *(uint *)(PTR_DAT_00056108 + 0x6580);
  uVar15 = (int)param_1 - *(int *)(PTR_DAT_00056108 + 0x65f0);
  uVar11 = uVar15 + *(uint *)(PTR_DAT_00056108 + 0x6584);
  uVar15 = (uint)(uVar11 < uVar15) + ((int)uVar15 >> 0x1f) + uVar4;
  if (uVar15 < uVar4) goto LAB_00016b14;
  uVar11 = (uint)(uVar11 < *(uint *)(PTR_DAT_00056108 + 0x6584));
  if (uVar4 == uVar15) goto LAB_00016b1c;
  do {
    param_3 = (uint *)PTR_DAT_00056108;
    pcVar16 = *(char **)(PTR_DAT_00056108 + 0x6034);
    if ((*(int *)(PTR_DAT_00056108 + 0x664c) != 0) && (*pcVar16 != '\0')) {
      print_start_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6024),pcVar16);
    }
    FUN_00016004(PTR_wcrtomb_00056118 + 0x848,*(undefined4 *)(PTR_DAT_00056108 + 0x6644));
    if ((*(int *)((int)param_3 + 0x664c) != 0) && (*pcVar16 != '\0')) {
      print_end_colorize(*(undefined4 *)(PTR_DAT_00056108 + 0x6020));
    }
    FUN_000164b4(param_4);
LAB_00016838:
    param_1 = (uint *)(uint)(byte)PTR_DAT_00056108[0x6648];
    if (((param_1 == (uint *)0x0) ||
        ((puVar13[0x65b1] == '\0' && puVar14[0x65b0] == '\0') && puVar12[0x196d] == 0)) ||
       (param_2 == 0)) {
LAB_00016844:
      param_1 = (uint *)0x1;
    }
    else {
      iVar5 = *(int *)PTR_stdout_000563d0;
      puVar8 = *(undefined1 **)(iVar5 + 0x14);
      if (puVar8 < *(undefined1 **)(iVar5 + 0x18)) {
        *(undefined1 **)(iVar5 + 0x14) = puVar8 + 1;
        *puVar8 = 9;
      }
      else {
        iVar5 = (*(code *)PTR___overflow_000563a8)(iVar5,9);
        if (-1 < iVar5) goto LAB_00016844;
        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_000563e8)();
        *(undefined4 *)(PTR_DAT_00056108 + 0x6630) = *puVar6;
      }
    }
LAB_00016848:
    if (uVar9 == *(uint *)puVar3) {
      return param_1;
    }
    uVar11 = uVar9;
    uVar17 = (*(code *)PTR___stack_chk_fail_00056494)();
LAB_00016b00:
    puVar7 = (undefined *)uVar17;
    uVar4 = uVar11;
    if ((uint)((ulonglong)uVar17 >> 0x20) <= uVar11) goto LAB_000166cc;
LAB_00016b14:
    do {
      FUN_00016240();
      uVar11 = extraout_v1;
LAB_00016b1c:
    } while (uVar11 != 0);
  } while( true );
}

