
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

int formatIPTC(Image *ifile,Image *ofile)

{
  byte bVar1;
  short sVar2;
  bool bVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined4 *puVar6;
  int iVar7;
  char *pcVar8;
  code *pcVar9;
  uint uVar10;
  uint uVar11;
  uint uVar12;
  undefined1 *puVar13;
  int iVar14;
  short *psVar15;
  uint *puVar16;
  uint uVar17;
  undefined1 *puVar18;
  byte *pbVar19;
  byte *pbVar20;
  undefined *puVar21;
  undefined1 *puVar22;
  char *local_104c;
  uint local_1044;
  char temp [4096];
  
  puVar5 = PTR___stack_chk_guard_003a9230;
  puVar6 = *(undefined4 **)PTR___stack_chk_guard_003a9230;
  iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)();
  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
  puVar21 = PTR_MagickImageList_3__magick_276__003a8948;
  if (iVar7 == -1) {
LAB_00248c70:
    local_1044 = 0;
  }
  else {
    if (iVar7 != 0x1c) {
      do {
                    /* WARNING: Do nothing block with infinite loop */
      } while( true );
    }
    local_1044 = 0;
    pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;
    pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);
    while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&
           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {
      uVar11 = uVar11 & 0xff;
      psVar15 = (short *)(puVar21 + 0x4f0c);
      uVar17 = 5;
      iVar7 = 0;
      while (uVar17 != uVar11) {
        local_104c = pcVar8;
        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;
        sVar2 = *psVar15;
        psVar15 = psVar15 + 4;
        iVar7 = iVar7 + 1;
        uVar17 = (uint)sVar2;
      }
      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);
LAB_00248a9c:
      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);
      if (uVar17 == 0xffffffff) break;
      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;
      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);
      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;
      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);
      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;
      puVar18 = puVar13;
      if (uVar12 != 0) {
        puVar22 = puVar13;
        do {
          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);
          if (iVar7 == -1) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);
            local_1044 = 0xffffffff;
            goto LAB_00248b50;
          }
          *puVar22 = (char)iVar7;
          puVar22 = puVar22 + 1;
          puVar18 = puVar13 + uVar12;
        } while (puVar13 + uVar12 != puVar22);
      }
      *puVar18 = 0;
      if (*local_104c == '\0') {
        (*(code *)PTR_FormatLocaleString_003a8d7c)
                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);
      }
      else {
        (*(code *)PTR_FormatLocaleString_003a8d7c)
                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,
                   uVar10 & 0xff,uVar11,local_104c);
      }
      local_1044 = local_1044 + 1;
      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);
      (*pcVar9)(ofile,puVar13,uVar12);
      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);
      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);
      if (iVar7 == -1) goto LAB_00248b50;
      if (iVar7 != 0x1c) break;
    }
    local_1044 = 0xffffffff;
  }
LAB_00248b50:
  if (puVar6 == *(undefined4 **)puVar5) {
    return local_1044;
  }
  puVar21 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  pbVar19 = (byte *)*puVar6;
  if ((*pbVar19 == 0x1c) && (pbVar19[1] == 2)) {
    return local_1044;
  }
  if (0xb < local_1044) {
    iVar7 = *(int *)(puVar21 + 0x15fc54);
    uVar10 = local_1044;
    pbVar20 = pbVar19;
    while( true ) {
      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);
      if (iVar14 != 0) break;
      uVar11 = pbVar20[6] | 1;
      uVar17 = (uVar10 - 7) - uVar11;
      uVar12 = uVar17 - 4;
      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;
      uVar11 = *puVar16;
      if (uVar12 < uVar11) break;
      if (*(short *)(pbVar20 + 4) == 0x404) {
        *puVar6 = puVar16 + 1;
        return uVar11;
      }
      if ((uVar11 & 1) != 0) {
        uVar11 = uVar11 + 1;
      }
      uVar10 = uVar12 - uVar11;
      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);
      if (uVar10 < 0xc) break;
    }
  }
LAB_00248da0:
  if (local_1044 != 0) {
    bVar1 = *pbVar19;
    uVar10 = local_1044 - 1;
    pbVar20 = pbVar19;
    if (local_1044 - 1 != 0) {
      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {
        bVar1 = *pbVar19;
        uVar10 = uVar11 - 1;
        local_1044 = uVar11;
        pbVar20 = pbVar19;
        if (uVar11 - 1 == 0) {
          return 0;
        }
      }
      *puVar6 = pbVar20;
      bVar1 = *pbVar20;
      if (local_1044 - 2 != 0) {
        bVar3 = false;
        iVar7 = 0;
        uVar10 = local_1044 - 2;
        do {
          local_1044 = uVar11 - 2;
          if (bVar1 == 0x1c) {
            if (local_1044 == 0) {
              return iVar7 + 1;
            }
            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {
              pbVar19 = pbVar20 + 2;
              goto LAB_00248da0;
            }
            local_1044 = uVar11 - 3;
            pbVar19 = pbVar20 + 3;
            if (local_1044 == 0) {
              return iVar7 + 2;
            }
            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;
            uVar10 = uVar11 - 4;
            if (uVar10 == 0) {
              return iVar7 + 3;
            }
            iVar14 = iVar7 + 4;
            if ((char)pbVar20[3] < '\0') {
              uVar17 = (uint)pbVar20[4];
              pbVar19 = pbVar20 + 5;
              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {
                iVar14 = iVar14 + 1;
                bVar3 = uVar10 < uVar17;
                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;
                uVar17 = (uint)*pbVar19 | uVar17 << 8;
                uVar10 = uVar11;
                pbVar19 = pbVar19 + 1;
              }
              uVar10 = 1;
            }
            else {
              uVar11 = uVar11 - 5;
              pbVar19 = pbVar20 + 5;
              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);
              if (uVar11 == 0) {
                return iVar14;
              }
              iVar14 = iVar7 + 5;
            }
            bVar3 = uVar10 < uVar17;
LAB_00248ef8:
            if (bVar3) {
              return iVar14;
            }
            uVar10 = uVar11 - uVar17;
            if (uVar10 == 0) {
              return iVar14;
            }
            iVar7 = iVar14 + uVar17;
            bVar3 = true;
            pbVar20 = pbVar19 + uVar17;
          }
          else {
            pbVar20 = pbVar19;
            if (bVar3) {
              return iVar7;
            }
          }
          uVar17 = uVar10 - 1;
          bVar1 = *pbVar20;
          pbVar19 = pbVar20 + 1;
          uVar11 = uVar10;
          uVar10 = uVar17;
          if (uVar17 == 0) {
            return iVar7;
          }
        } while( true );
      }
    }
  }
  return 0;
}



uint FUN_00248970(undefined4 param_1,undefined4 param_2)

{
  byte bVar1;
  short sVar2;
  bool bVar3;
  undefined *puVar4;
  undefined *puVar5;
  int iVar6;
  char *pcVar7;
  code *pcVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  undefined1 *puVar12;
  int iVar13;
  short *psVar14;
  undefined4 *puVar15;
  uint *puVar16;
  uint uVar17;
  uint uVar18;
  undefined1 *puVar19;
  byte *pbVar20;
  byte *pbVar21;
  undefined *puVar22;
  undefined1 *puVar23;
  char *local_104c;
  uint local_1044;
  undefined1 auStack_102c [4096];
  undefined4 *local_2c;
  
  puVar5 = PTR___stack_chk_guard_003a9230;
  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;
  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();
  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
  puVar22 = PTR_DAT_003a8948;
  if (iVar6 == -1) {
LAB_00248c70:
    local_1044 = 0;
  }
  else {
    if (iVar6 != 0x1c) {
      do {
                    /* WARNING: Do nothing block with infinite loop */
      } while( true );
    }
    local_1044 = 0;
    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;
    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);
    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&
           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {
      uVar10 = uVar10 & 0xff;
      psVar14 = (short *)(puVar22 + 0x4f0c);
      uVar18 = 5;
      iVar6 = 0;
      while (uVar18 != uVar10) {
        local_104c = pcVar7;
        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;
        sVar2 = *psVar14;
        psVar14 = psVar14 + 4;
        iVar6 = iVar6 + 1;
        uVar18 = (uint)sVar2;
      }
      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);
LAB_00248a9c:
      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
      if (uVar18 == 0xffffffff) break;
      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;
      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;
      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);
      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;
      puVar19 = puVar12;
      if (uVar11 != 0) {
        puVar23 = puVar12;
        do {
          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
          if (iVar6 == -1) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);
            local_1044 = 0xffffffff;
            goto LAB_00248b50;
          }
          *puVar23 = (char)iVar6;
          puVar23 = puVar23 + 1;
          puVar19 = puVar12 + uVar11;
        } while (puVar12 + uVar11 != puVar23);
      }
      *puVar19 = 0;
      if (*local_104c == '\0') {
        (*(code *)PTR_FormatLocaleString_003a8d7c)
                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);
      }
      else {
        (*(code *)PTR_FormatLocaleString_003a8d7c)
                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,
                   uVar9 & 0xff,uVar10,local_104c);
      }
      local_1044 = local_1044 + 1;
      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);
      (*pcVar8)(param_2,puVar12,uVar11);
      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);
      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
      if (iVar6 == -1) goto LAB_00248b50;
      if (iVar6 != 0x1c) break;
    }
    local_1044 = 0xffffffff;
  }
LAB_00248b50:
  if (local_2c == *(undefined4 **)puVar5) {
    return local_1044;
  }
  puVar15 = local_2c;
  puVar22 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  pbVar20 = (byte *)*puVar15;
  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {
    return local_1044;
  }
  if (0xb < local_1044) {
    iVar6 = *(int *)(puVar22 + 0x15fc54);
    uVar9 = local_1044;
    pbVar21 = pbVar20;
    while( true ) {
      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);
      if (iVar13 != 0) break;
      uVar10 = pbVar21[6] | 1;
      uVar18 = (uVar9 - 7) - uVar10;
      uVar11 = uVar18 - 4;
      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;
      uVar10 = *puVar16;
      if (uVar11 < uVar10) break;
      if (*(short *)(pbVar21 + 4) == 0x404) {
        *puVar15 = puVar16 + 1;
        return uVar10;
      }
      if ((uVar10 & 1) != 0) {
        uVar10 = uVar10 + 1;
      }
      uVar9 = uVar11 - uVar10;
      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);
      if (uVar9 < 0xc) break;
    }
  }
LAB_00248da0:
  if (local_1044 != 0) {
    bVar1 = *pbVar20;
    uVar9 = local_1044 - 1;
    pbVar21 = pbVar20;
    if (local_1044 - 1 != 0) {
      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {
        bVar1 = *pbVar20;
        uVar9 = uVar10 - 1;
        local_1044 = uVar10;
        pbVar21 = pbVar20;
        if (uVar10 - 1 == 0) {
          return 0;
        }
      }
      *puVar15 = pbVar21;
      bVar1 = *pbVar21;
      if (local_1044 - 2 != 0) {
        bVar3 = false;
        uVar18 = 0;
        uVar9 = local_1044 - 2;
        do {
          local_1044 = uVar10 - 2;
          if (bVar1 == 0x1c) {
            if (local_1044 == 0) {
              return uVar18 + 1;
            }
            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {
              pbVar20 = pbVar21 + 2;
              goto LAB_00248da0;
            }
            local_1044 = uVar10 - 3;
            pbVar20 = pbVar21 + 3;
            if (local_1044 == 0) {
              return uVar18 + 2;
            }
            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;
            uVar9 = uVar10 - 4;
            if (uVar9 == 0) {
              return uVar18 + 3;
            }
            uVar11 = uVar18 + 4;
            if ((char)pbVar21[3] < '\0') {
              uVar17 = (uint)pbVar21[4];
              pbVar20 = pbVar21 + 5;
              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {
                uVar11 = uVar11 + 1;
                bVar3 = uVar9 < uVar17;
                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;
                uVar17 = (uint)*pbVar20 | uVar17 << 8;
                uVar9 = uVar10;
                pbVar20 = pbVar20 + 1;
              }
              uVar9 = 1;
            }
            else {
              uVar10 = uVar10 - 5;
              pbVar20 = pbVar21 + 5;
              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);
              if (uVar10 == 0) {
                return uVar11;
              }
              uVar11 = uVar18 + 5;
            }
            bVar3 = uVar9 < uVar17;
LAB_00248ef8:
            if (bVar3) {
              return uVar11;
            }
            uVar9 = uVar10 - uVar17;
            if (uVar9 == 0) {
              return uVar11;
            }
            uVar18 = uVar11 + uVar17;
            bVar3 = true;
            pbVar21 = pbVar20 + uVar17;
          }
          else {
            pbVar21 = pbVar20;
            if (bVar3) {
              return uVar18;
            }
          }
          uVar11 = uVar9 - 1;
          bVar1 = *pbVar21;
          pbVar20 = pbVar21 + 1;
          uVar10 = uVar9;
          uVar9 = uVar11;
          if (uVar11 == 0) {
            return uVar18;
          }
        } while( true );
      }
    }
  }
  return 0;
}


lui gp,0x16
addiu gp,gp,0x7f40
addu gp,gp,t9
addiu sp,sp,-0x1070
lw t9,-0x70c0(gp)
sw s7,0x1064(sp)
lw s7,-0x7680(gp)
sw gp,0x18(sp)
sw s1,0x104c(sp)
or s1,a0,zero
sw ra,0x106c(sp)
sw s8,0x1068(sp)
sw s6,0x1060(sp)
sw s5,0x105c(sp)
sw s4,0x1058(sp)
sw s3,0x1054(sp)
sw s2,0x1050(sp)
sw s0,0x1048(sp)
sw a1,0x20(sp)
lw v0,0x0(s7)
sw v0,0x1044(sp)
jalr t9
_nop
li v1,-0x1
beq v0,v1,0x00248c70
_lw gp,0x18(sp)
li v1,0x1c
beq v0,v1,0x002489ec
_lw v0,-0x7f68(gp)
b 0x002489e4
_nop
sw zero,0x2c(sp)
sw v0,0x28(sp)
lw v0,-0x7f68(gp)
addiu v0,v0,0x4f04
sw v0,0x30(sp)
lw v0,-0x7f64(gp)
sw v0,0x38(sp)
lw v0,-0x7fcc(gp)
addiu v0,v0,-0x3688
sw v0,0x3c(sp)
lw v0,-0x7cd8(gp)
addiu v0,v0,-0x7e8c
sw v0,0x34(sp)
lw t9,-0x70c0(gp)
or a0,s1,zero
jalr t9
_li s2,-0x1
lw gp,0x18(sp)
beq v0,s2,0x00248c38
_or s6,v0,zero
lw t9,-0x70c0(gp)
jalr t9
_or a0,s1,zero
beq v0,s2,0x00248c38
_lw gp,0x18(sp)
lw v1,0x28(sp)
li a1,0x5
li a2,0x36
andi s0,v0,0xff
addiu a0,v1,0x4f0c
b 0x00248a7c
_or v1,zero,zero
beq v1,a2,0x00248c68
_lw v0,0x3c(sp)
lh a1,0x0(a0)
addiu a0,a0,0x8
bne a1,s0,0x00248a6c
_addiu v1,v1,0x1
addiu v1,v1,-0x1
lw v0,0x30(sp)
sll v1,v1,0x3
addu v1,v0,v1
lw v0,0x4(v1)
sw v0,0x24(sp)
lw t9,-0x70c0(gp)
or a0,s1,zero
jalr t9
_li s3,-0x1
lw gp,0x18(sp)
beq v0,s3,0x00248c38
_or s2,v0,zero
andi v0,v0,0x80
bne v0,zero,0x00248c70
_lw t9,-0x70c0(gp)
jalr t9
_or a0,s1,zero
beq v0,s3,0x00248c38
_lw gp,0x18(sp)
sll s2,s2,0x8
or s2,s2,v0
bltz s2,0x00248c38
_lw t9,-0x73a4(gp)
li a1,0x1
jalr t9
_addiu a0,s2,0x1000
lw gp,0x18(sp)
beq v0,zero,0x00248c70
_or s5,v0,zero
beq s2,zero,0x00248b90
_or s3,v0,zero
addu s3,s2,v0
li s4,-0x1
b 0x00248b24
_or s8,v0,zero
sb v0,0x0(s8)
addiu s8,s8,0x1
beq s3,s8,0x00248b94
_lw v1,0x24(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s1,zero
bne v0,s4,0x00248b14
_lw gp,0x18(sp)
lw t9,-0x78f0(gp)
or a0,s5,zero
jalr t9
_sw v0,0x20(sp)
lw gp,0x18(sp)
lw a1,0x20(sp)
lw a0,0x1044(sp)
or v0,a1,zero
lw v1,0x0(s7)
bne a0,v1,0x00248c80
_lw ra,0x106c(sp)
lw s8,0x1068(sp)
lw s7,0x1064(sp)
lw s6,0x1060(sp)
lw s5,0x105c(sp)
lw s4,0x1058(sp)
lw s3,0x1054(sp)
lw s2,0x1050(sp)
lw s1,0x104c(sp)
lw s0,0x1048(sp)
jr ra
_addiu sp,sp,0x1070
lw v1,0x24(sp)
sb zero,0x0(s3)
lb v0,0x0(v1)
beq v0,zero,0x00248c40
_andi a3,s6,0xff
lw a2,-0x7f64(gp)
addiu s3,sp,0x44
lw t9,-0x7b34(gp)
li a1,0x1000
sw v1,0x14(sp)
or a0,s3,zero
addiu a2,a2,-0x7c70
jalr t9
_sw s0,0x10(sp)
lw gp,0x18(sp)
lw v0,0x2c(sp)
or a1,s3,zero
lw s0,0x20(sp)
lw t9,-0x7308(gp)
addiu v0,v0,0x1
or a0,s0,zero
jalr t9
_sw v0,0x2c(sp)
or a2,s2,zero
lw t9,0x34(sp)
or a1,s5,zero
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
lw t9,-0x78f0(gp)
jalr t9
_or a0,s5,zero
lw gp,0x18(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s1,zero
li v1,-0x1
beq v0,v1,0x00248c78
_lw gp,0x18(sp)
li v1,0x1c
beq v0,v1,0x00248a24
_lw t9,-0x70c0(gp)
b 0x00248b50
_li a1,-0x1
lw v0,0x38(sp)
addiu s3,sp,0x44
lw t9,-0x7b34(gp)
li a1,0x1000
sw s0,0x10(sp)
or a0,s3,zero
jalr t9
_addiu a2,v0,-0x7c64
b 0x00248bcc
_lw gp,0x18(sp)
b 0x00248a9c
_sw v0,0x24(sp)
b 0x00248b50
_or a1,zero,zero
b 0x00248b50
_lw a1,0x2c(sp)
lw t9,-0x784c(gp)
jalr t9
_nop
(translation_unit "uint FUN_00248970(undefined4 param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "uint FUN_00248970(undefined4 param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00248970(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "short sVar2;" (sized_type_specifier "short" short) identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "short *psVar14;" (sized_type_specifier "short" short) (pointer_declarator "*psVar14" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "undefined1 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "byte *pbVar20;" type_identifier (pointer_declarator "*pbVar20" * identifier) ;) (declaration "byte *pbVar21;" type_identifier (pointer_declarator "*pbVar21" * identifier) ;) (declaration "undefined *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "undefined1 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "char *local_104c;" primitive_type (pointer_declarator "*local_104c" * identifier) ;) (declaration "uint local_1044;" type_identifier identifier ;) (declaration "undefined1 auStack_102c [4096];" type_identifier (array_declarator "auStack_102c [4096]" identifier [ number_literal ]) ;) (declaration "undefined4 *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar5 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)()" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)()" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (expression_statement "puVar22 = PTR_DAT_003a8948;" (assignment_expression "puVar22 = PTR_DAT_003a8948" identifier = identifier) ;) (if_statement "if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_00248c70:\n    local_1044 = 0;\n  }" { (labeled_statement "LAB_00248c70:\n    local_1044 = 0;" statement_identifier : (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if (iVar6 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" else (compound_statement "{\n    if (iVar6 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" { (if_statement "if (iVar6 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }" if (parenthesized_expression "(iVar6 != 0x1c)" ( (binary_expression "iVar6 != 0x1c" identifier != number_literal) )) (compound_statement "{\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }" { (do_statement "do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );" do (compound_statement "{\n                    /* WARNING: Do nothing block with infinite loop */\n      }" { comment }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" identifier = number_literal) ;) (expression_statement "pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;" (assignment_expression "pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" identifier + number_literal)) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c)" identifier = (cast_expression "(code *)(PTR_LAB_003a8bd8 + -0x7e8c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a8bd8 + -0x7e8c)" ( (binary_expression "PTR_LAB_003a8bd8 + -0x7e8c" identifier + number_literal) )))) ;) (while_statement "while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }" while (parenthesized_expression "((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)))" ( (parenthesized_expression "(uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))" ( (comma_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" (assignment_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" (binary_expression "uVar9 != 0xffffffff" identifier != number_literal) && (parenthesized_expression "(uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" ( (comma_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "uVar10 != 0xffffffff" identifier != number_literal)) )))) )) )) (compound_statement "{\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }" { (expression_statement "uVar10 = uVar10 & 0xff;" (assignment_expression "uVar10 = uVar10 & 0xff" identifier = (binary_expression "uVar10 & 0xff" identifier & number_literal)) ;) (expression_statement "psVar14 = (short *)(puVar22 + 0x4f0c);" (assignment_expression "psVar14 = (short *)(puVar22 + 0x4f0c)" identifier = (cast_expression "(short *)(puVar22 + 0x4f0c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + 0x4f0c)" ( (binary_expression "puVar22 + 0x4f0c" identifier + number_literal) )))) ;) (expression_statement "uVar18 = 5;" (assignment_expression "uVar18 = 5" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (while_statement "while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }" while (parenthesized_expression "(uVar18 != uVar10)" ( (binary_expression "uVar18 != uVar10" identifier != identifier) )) (compound_statement "{\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }" { (expression_statement "local_104c = pcVar7;" (assignment_expression "local_104c = pcVar7" identifier = identifier) ;) (if_statement "if (iVar6 + 1 == 0x36) goto LAB_00248a9c;" if (parenthesized_expression "(iVar6 + 1 == 0x36)" ( (binary_expression "iVar6 + 1 == 0x36" (binary_expression "iVar6 + 1" identifier + number_literal) == number_literal) )) (goto_statement "goto LAB_00248a9c;" goto statement_identifier ;)) (expression_statement "sVar2 = *psVar14;" (assignment_expression "sVar2 = *psVar14" identifier = (pointer_expression "*psVar14" * identifier)) ;) (expression_statement "psVar14 = psVar14 + 4;" (assignment_expression "psVar14 = psVar14 + 4" identifier = (binary_expression "psVar14 + 4" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar18 = (uint)sVar2;" (assignment_expression "uVar18 = (uint)sVar2" identifier = (cast_expression "(uint)sVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })) (expression_statement "local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);" (assignment_expression "local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08)" identifier = (pointer_expression "*(char **)(puVar22 + iVar6 * 8 + 0x4f08)" * (cast_expression "(char **)(puVar22 + iVar6 * 8 + 0x4f08)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar22 + iVar6 * 8 + 0x4f08)" ( (binary_expression "puVar22 + iVar6 * 8 + 0x4f08" (binary_expression "puVar22 + iVar6 * 8" identifier + (binary_expression "iVar6 * 8" identifier * number_literal)) + number_literal) ))))) ;) (labeled_statement "LAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" statement_identifier : (expression_statement "uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;)) (if_statement "if (uVar18 == 0xffffffff) break;" if (parenthesized_expression "(uVar18 == 0xffffffff)" ( (binary_expression "uVar18 == 0xffffffff" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar18 & 0x80) != 0) goto LAB_00248c70;" if (parenthesized_expression "((uVar18 & 0x80) != 0)" ( (binary_expression "(uVar18 & 0x80) != 0" (parenthesized_expression "(uVar18 & 0x80)" ( (binary_expression "uVar18 & 0x80" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00248c70;" goto statement_identifier ;)) (expression_statement "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;" if (parenthesized_expression "((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0))" ( (binary_expression "(uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)" (parenthesized_expression "(uVar11 == 0xffffffff)" ( (binary_expression "uVar11 == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)" ( (comma_expression "uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0" (assignment_expression "uVar11 = uVar18 << 8 | uVar11" identifier = (binary_expression "uVar18 << 8 | uVar11" (binary_expression "uVar18 << 8" identifier << number_literal) | identifier)) , (binary_expression "(int)uVar11 < 0" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);" (assignment_expression "puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11 + 0x1000,1)" ( (binary_expression "uVar11 + 0x1000" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;" if (parenthesized_expression "(puVar12 == (undefined1 *)0x0)" ( (binary_expression "puVar12 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00248c70;" goto statement_identifier ;)) (expression_statement "puVar19 = puVar12;" (assignment_expression "puVar19 = puVar12" identifier = identifier) ;) (if_statement "if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }" { (expression_statement "puVar23 = puVar12;" (assignment_expression "puVar23 = puVar12" identifier = identifier) ;) (do_statement "do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);" do (compound_statement "{\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00248b50;" goto statement_identifier ;) })) (expression_statement "*puVar23 = (char)iVar6;" (assignment_expression "*puVar23 = (char)iVar6" (pointer_expression "*puVar23" * identifier) = (cast_expression "(char)iVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar23 = puVar23 + 1;" (assignment_expression "puVar23 = puVar23 + 1" identifier = (binary_expression "puVar23 + 1" identifier + number_literal)) ;) (expression_statement "puVar19 = puVar12 + uVar11;" (assignment_expression "puVar19 = puVar12 + uVar11" identifier = (binary_expression "puVar12 + uVar11" identifier + identifier)) ;) }) while (parenthesized_expression "(puVar12 + uVar11 != puVar23)" ( (binary_expression "puVar12 + uVar11 != puVar23" (binary_expression "puVar12 + uVar11" identifier + identifier) != identifier) )) ;) })) (expression_statement "*puVar19 = 0;" (assignment_expression "*puVar19 = 0" (pointer_expression "*puVar19" * identifier) = number_literal) ;) (if_statement "if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" if (parenthesized_expression "(*local_104c == '\0')" ( (binary_expression "*local_104c == '\0'" (pointer_expression "*local_104c" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }" { (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10)" ( identifier , number_literal , (binary_expression "puVar4 + -0x7c64" identifier + number_literal) , (binary_expression "uVar9 & 0xff" identifier & number_literal) , identifier ))) ;) }) (else_clause "else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" else (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" { (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c)" ( identifier , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70" identifier + number_literal) , (binary_expression "uVar9 & 0xff" identifier & number_literal) , identifier , identifier ))) ;) }))) (expression_statement "local_1044 = local_1044 + 1;" (assignment_expression "local_1044 = local_1044 + 1" identifier = (binary_expression "local_1044 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);" (call_expression "(*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c)" (parenthesized_expression "(*(code *)PTR_WriteBlobString_003a95a8)" ( (pointer_expression "*(code *)PTR_WriteBlobString_003a95a8" * (cast_expression "(code *)PTR_WriteBlobString_003a95a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,auStack_102c)" ( identifier , identifier ))) ;) (expression_statement "(*pcVar8)(param_2,puVar12,uVar11);" (call_expression "(*pcVar8)(param_2,puVar12,uVar11)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(param_2,puVar12,uVar11)" ( identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) goto LAB_00248b50;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00248b50;" goto statement_identifier ;)) (if_statement "if (iVar6 != 0x1c) break;" if (parenthesized_expression "(iVar6 != 0x1c)" ( (binary_expression "iVar6 != 0x1c" identifier != number_literal) )) (break_statement "break;" break ;)) })) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" identifier = number_literal) ;) }))) (labeled_statement "LAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" statement_identifier : (if_statement "if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" if (parenthesized_expression "(local_2c == *(undefined4 **)puVar5)" ( (binary_expression "local_2c == *(undefined4 **)puVar5" identifier == (pointer_expression "*(undefined4 **)puVar5" * (cast_expression "(undefined4 **)puVar5" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return local_1044;\n  }" { (return_statement "return local_1044;" return identifier ;) }))) (expression_statement "puVar15 = local_2c;" (assignment_expression "puVar15 = local_2c" identifier = identifier) ;) (expression_statement "puVar22 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar22 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pbVar20 = (byte *)*puVar15;" (assignment_expression "pbVar20 = (byte *)*puVar15" identifier = (cast_expression "(byte *)*puVar15" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar15" * identifier))) ;) (if_statement "if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }" if (parenthesized_expression "((*pbVar20 == 0x1c) && (pbVar20[1] == 2))" ( (binary_expression "(*pbVar20 == 0x1c) && (pbVar20[1] == 2)" (parenthesized_expression "(*pbVar20 == 0x1c)" ( (binary_expression "*pbVar20 == 0x1c" (pointer_expression "*pbVar20" * identifier) == number_literal) )) && (parenthesized_expression "(pbVar20[1] == 2)" ( (binary_expression "pbVar20[1] == 2" (subscript_expression "pbVar20[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    return local_1044;\n  }" { (return_statement "return local_1044;" return identifier ;) })) (if_statement "if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }" if (parenthesized_expression "(0xb < local_1044)" ( (binary_expression "0xb < local_1044" number_literal < identifier) )) (compound_statement "{\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }" { (expression_statement "iVar6 = *(int *)(puVar22 + 0x15fc54);" (assignment_expression "iVar6 = *(int *)(puVar22 + 0x15fc54)" identifier = (pointer_expression "*(int *)(puVar22 + 0x15fc54)" * (cast_expression "(int *)(puVar22 + 0x15fc54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + 0x15fc54)" ( (binary_expression "puVar22 + 0x15fc54" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = local_1044;" (assignment_expression "uVar9 = local_1044" identifier = identifier) ;) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }" { (expression_statement "iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);" (assignment_expression "iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4)" identifier = (call_expression "(**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4)" (parenthesized_expression "(**(code **)(puVar22 + 0x160180))" ( (pointer_expression "**(code **)(puVar22 + 0x160180)" * (pointer_expression "*(code **)(puVar22 + 0x160180)" * (cast_expression "(code **)(puVar22 + 0x160180)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar22 + 0x160180)" ( (binary_expression "puVar22 + 0x160180" identifier + number_literal) ))))) )) (argument_list "(pbVar21,iVar6 + 0x4840,4)" ( identifier , (binary_expression "iVar6 + 0x4840" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar13 != 0) break;" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = pbVar21[6] | 1;" (assignment_expression "uVar10 = pbVar21[6] | 1" identifier = (binary_expression "pbVar21[6] | 1" (subscript_expression "pbVar21[6]" identifier [ number_literal ]) | number_literal)) ;) (expression_statement "uVar18 = (uVar9 - 7) - uVar10;" (assignment_expression "uVar18 = (uVar9 - 7) - uVar10" identifier = (binary_expression "(uVar9 - 7) - uVar10" (parenthesized_expression "(uVar9 - 7)" ( (binary_expression "uVar9 - 7" identifier - number_literal) )) - identifier)) ;) (expression_statement "uVar11 = uVar18 - 4;" (assignment_expression "uVar11 = uVar18 - 4" identifier = (binary_expression "uVar18 - 4" identifier - number_literal)) ;) (if_statement "if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;" if (parenthesized_expression "((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4))" ( (binary_expression "(uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)" (parenthesized_expression "(uVar9 - 7 <= uVar10)" ( (binary_expression "uVar9 - 7 <= uVar10" (binary_expression "uVar9 - 7" identifier - number_literal) <= identifier) )) || (parenthesized_expression "(puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)" ( (comma_expression "puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4" (assignment_expression "puVar16 = (uint *)(pbVar21 + uVar10 + 7)" identifier = (cast_expression "(uint *)(pbVar21 + uVar10 + 7)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar21 + uVar10 + 7)" ( (binary_expression "pbVar21 + uVar10 + 7" (binary_expression "pbVar21 + uVar10" identifier + identifier) + number_literal) )))) , (binary_expression "uVar18 < 4" identifier < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = *puVar16;" (assignment_expression "uVar10 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (if_statement "if (uVar11 < uVar10) break;" if (parenthesized_expression "(uVar11 < uVar10)" ( (binary_expression "uVar11 < uVar10" identifier < identifier) )) (break_statement "break;" break ;)) (if_statement "if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }" if (parenthesized_expression "(*(short *)(pbVar21 + 4) == 0x404)" ( (binary_expression "*(short *)(pbVar21 + 4) == 0x404" (pointer_expression "*(short *)(pbVar21 + 4)" * (cast_expression "(short *)(pbVar21 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar21 + 4)" ( (binary_expression "pbVar21 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }" { (expression_statement "*puVar15 = puVar16 + 1;" (assignment_expression "*puVar15 = puVar16 + 1" (pointer_expression "*puVar15" * identifier) = (binary_expression "puVar16 + 1" identifier + number_literal)) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }" if (parenthesized_expression "((uVar10 & 1) != 0)" ( (binary_expression "(uVar10 & 1) != 0" (parenthesized_expression "(uVar10 & 1)" ( (binary_expression "uVar10 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar10 = uVar10 + 1;\n      }" { (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar9 = uVar11 - uVar10;" (assignment_expression "uVar9 = uVar11 - uVar10" identifier = (binary_expression "uVar11 - uVar10" identifier - identifier)) ;) (expression_statement "pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);" (assignment_expression "pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10)" identifier = (cast_expression "(byte *)((int)(puVar16 + 1) + uVar10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(puVar16 + 1) + uVar10)" ( (binary_expression "(int)(puVar16 + 1) + uVar10" (cast_expression "(int)(puVar16 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar16 + 1)" ( (binary_expression "puVar16 + 1" identifier + number_literal) ))) + identifier) )))) ;) (if_statement "if (uVar9 < 0xc) break;" if (parenthesized_expression "(uVar9 < 0xc)" ( (binary_expression "uVar9 < 0xc" identifier < number_literal) )) (break_statement "break;" break ;)) })) })) (labeled_statement "LAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" statement_identifier : (if_statement "if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" if (parenthesized_expression "(local_1044 != 0)" ( (binary_expression "local_1044 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" { (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" identifier = (pointer_expression "*pbVar20" * identifier)) ;) (expression_statement "uVar9 = local_1044 - 1;" (assignment_expression "uVar9 = local_1044 - 1" identifier = (binary_expression "local_1044 - 1" identifier - number_literal)) ;) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (if_statement "if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }" if (parenthesized_expression "(local_1044 - 1 != 0)" ( (binary_expression "local_1044 - 1 != 0" (binary_expression "local_1044 - 1" identifier - number_literal) != number_literal) )) (compound_statement "{\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }" { (while_statement "while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c)" ( (comma_expression "uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c" (assignment_expression "uVar10 = uVar9" identifier = identifier) , (comma_expression "pbVar20 = pbVar21 + 1, bVar1 != 0x1c" (assignment_expression "pbVar20 = pbVar21 + 1" identifier = (binary_expression "pbVar21 + 1" identifier + number_literal)) , (binary_expression "bVar1 != 0x1c" identifier != number_literal))) )) (compound_statement "{\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" identifier = (pointer_expression "*pbVar20" * identifier)) ;) (expression_statement "uVar9 = uVar10 - 1;" (assignment_expression "uVar9 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (expression_statement "local_1044 = uVar10;" (assignment_expression "local_1044 = uVar10" identifier = identifier) ;) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (if_statement "if (uVar10 - 1 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(uVar10 - 1 == 0)" ( (binary_expression "uVar10 - 1 == 0" (binary_expression "uVar10 - 1" identifier - number_literal) == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*puVar15 = pbVar21;" (assignment_expression "*puVar15 = pbVar21" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "bVar1 = *pbVar21;" (assignment_expression "bVar1 = *pbVar21" identifier = (pointer_expression "*pbVar21" * identifier)) ;) (if_statement "if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }" if (parenthesized_expression "(local_1044 - 2 != 0)" ( (binary_expression "local_1044 - 2 != 0" (binary_expression "local_1044 - 2" identifier - number_literal) != number_literal) )) (compound_statement "{\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "uVar18 = 0;" (assignment_expression "uVar18 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = local_1044 - 2;" (assignment_expression "uVar9 = local_1044 - 2" identifier = (binary_expression "local_1044 - 2" identifier - number_literal)) ;) (do_statement "do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );" do (compound_statement "{\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        }" { (expression_statement "local_1044 = uVar10 - 2;" (assignment_expression "local_1044 = uVar10 - 2" identifier = (binary_expression "uVar10 - 2" identifier - number_literal)) ;) (if_statement "if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" if (parenthesized_expression "(bVar1 == 0x1c)" ( (binary_expression "bVar1 == 0x1c" identifier == number_literal) )) (compound_statement "{\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }" { (if_statement "if (local_1044 == 0) {\n              return uVar18 + 1;\n            }" if (parenthesized_expression "(local_1044 == 0)" ( (binary_expression "local_1044 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar18 + 1;\n            }" { (return_statement "return uVar18 + 1;" return (binary_expression "uVar18 + 1" identifier + number_literal) ;) })) (if_statement "if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }" if (parenthesized_expression "((uVar18 + 1 == 1) && (pbVar21[1] != 2))" ( (binary_expression "(uVar18 + 1 == 1) && (pbVar21[1] != 2)" (parenthesized_expression "(uVar18 + 1 == 1)" ( (binary_expression "uVar18 + 1 == 1" (binary_expression "uVar18 + 1" identifier + number_literal) == number_literal) )) && (parenthesized_expression "(pbVar21[1] != 2)" ( (binary_expression "pbVar21[1] != 2" (subscript_expression "pbVar21[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }" { (expression_statement "pbVar20 = pbVar21 + 2;" (assignment_expression "pbVar20 = pbVar21 + 2" identifier = (binary_expression "pbVar21 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_00248da0;" goto statement_identifier ;) })) (expression_statement "local_1044 = uVar10 - 3;" (assignment_expression "local_1044 = uVar10 - 3" identifier = (binary_expression "uVar10 - 3" identifier - number_literal)) ;) (expression_statement "pbVar20 = pbVar21 + 3;" (assignment_expression "pbVar20 = pbVar21 + 3" identifier = (binary_expression "pbVar21 + 3" identifier + number_literal)) ;) (if_statement "if (local_1044 == 0) {\n              return uVar18 + 2;\n            }" if (parenthesized_expression "(local_1044 == 0)" ( (binary_expression "local_1044 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar18 + 2;\n            }" { (return_statement "return uVar18 + 2;" return (binary_expression "uVar18 + 2" identifier + number_literal) ;) })) (if_statement "if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;" if (parenthesized_expression "((uVar18 + 2 == 2) && (pbVar21[2] != 0))" ( (binary_expression "(uVar18 + 2 == 2) && (pbVar21[2] != 0)" (parenthesized_expression "(uVar18 + 2 == 2)" ( (binary_expression "uVar18 + 2 == 2" (binary_expression "uVar18 + 2" identifier + number_literal) == number_literal) )) && (parenthesized_expression "(pbVar21[2] != 0)" ( (binary_expression "pbVar21[2] != 0" (subscript_expression "pbVar21[2]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_00248da0;" goto statement_identifier ;)) (expression_statement "uVar9 = uVar10 - 4;" (assignment_expression "uVar9 = uVar10 - 4" identifier = (binary_expression "uVar10 - 4" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n              return uVar18 + 3;\n            }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar18 + 3;\n            }" { (return_statement "return uVar18 + 3;" return (binary_expression "uVar18 + 3" identifier + number_literal) ;) })) (expression_statement "uVar11 = uVar18 + 4;" (assignment_expression "uVar11 = uVar18 + 4" identifier = (binary_expression "uVar18 + 4" identifier + number_literal)) ;) (if_statement "if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" if (parenthesized_expression "((char)pbVar21[3] < '\0')" ( (binary_expression "(char)pbVar21[3] < '\0'" (cast_expression "(char)pbVar21[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar21[3]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }" { (expression_statement "uVar17 = (uint)pbVar21[4];" (assignment_expression "uVar17 = (uint)pbVar21[4]" identifier = (cast_expression "(uint)pbVar21[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar21[4]" identifier [ number_literal ]))) ;) (expression_statement "pbVar20 = pbVar21 + 5;" (assignment_expression "pbVar20 = pbVar21 + 5" identifier = (binary_expression "pbVar21 + 5" identifier + number_literal)) ;) (for_statement "for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }" for ( (assignment_expression "uVar10 = uVar10 - 5" identifier = (binary_expression "uVar10 - 5" identifier - number_literal)) ; (binary_expression "uVar10 != 0" identifier != number_literal) ; (assignment_expression "uVar10 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ) (compound_statement "{\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }" { (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = uVar9 < uVar17;" (assignment_expression "bVar3 = uVar9 < uVar17" identifier = (binary_expression "uVar9 < uVar17" identifier < identifier)) ;) (if_statement "if (uVar18 + 8 == uVar11) goto LAB_00248ef8;" if (parenthesized_expression "(uVar18 + 8 == uVar11)" ( (binary_expression "uVar18 + 8 == uVar11" (binary_expression "uVar18 + 8" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_00248ef8;" goto statement_identifier ;)) (expression_statement "uVar17 = (uint)*pbVar20 | uVar17 << 8;" (assignment_expression "uVar17 = (uint)*pbVar20 | uVar17 << 8" identifier = (binary_expression "(uint)*pbVar20 | uVar17 << 8" (binary_expression "(uint)*pbVar20" (parenthesized_expression "(uint)" ( identifier )) * identifier) | (binary_expression "uVar17 << 8" identifier << number_literal))) ;) (expression_statement "uVar9 = uVar10;" (assignment_expression "uVar9 = uVar10" identifier = identifier) ;) (expression_statement "pbVar20 = pbVar20 + 1;" (assignment_expression "pbVar20 = pbVar20 + 1" identifier = (binary_expression "pbVar20 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) }) (else_clause "else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" else (compound_statement "{\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" { (expression_statement "uVar10 = uVar10 - 5;" (assignment_expression "uVar10 = uVar10 - 5" identifier = (binary_expression "uVar10 - 5" identifier - number_literal)) ;) (expression_statement "pbVar20 = pbVar21 + 5;" (assignment_expression "pbVar20 = pbVar21 + 5" identifier = (binary_expression "pbVar21 + 5" identifier + number_literal)) ;) (expression_statement "uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);" (assignment_expression "uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4])" identifier = (cast_expression "(uint)CONCAT11(pbVar21[3],pbVar21[4])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(pbVar21[3],pbVar21[4])" identifier (argument_list "(pbVar21[3],pbVar21[4])" ( (subscript_expression "pbVar21[3]" identifier [ number_literal ]) , (subscript_expression "pbVar21[4]" identifier [ number_literal ]) ))))) ;) (if_statement "if (uVar10 == 0) {\n                return uVar11;\n              }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n                return uVar11;\n              }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "uVar11 = uVar18 + 5;" (assignment_expression "uVar11 = uVar18 + 5" identifier = (binary_expression "uVar18 + 5" identifier + number_literal)) ;) }))) (expression_statement "bVar3 = uVar9 < uVar17;" (assignment_expression "bVar3 = uVar9 < uVar17" identifier = (binary_expression "uVar9 < uVar17" identifier < identifier)) ;) (labeled_statement "LAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }" statement_identifier : (if_statement "if (bVar3) {\n              return uVar11;\n            }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n              return uVar11;\n            }" { (return_statement "return uVar11;" return identifier ;) }))) (expression_statement "uVar9 = uVar10 - uVar17;" (assignment_expression "uVar9 = uVar10 - uVar17" identifier = (binary_expression "uVar10 - uVar17" identifier - identifier)) ;) (if_statement "if (uVar9 == 0) {\n              return uVar11;\n            }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar11;\n            }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "uVar18 = uVar11 + uVar17;" (assignment_expression "uVar18 = uVar11 + uVar17" identifier = (binary_expression "uVar11 + uVar17" identifier + identifier)) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "pbVar21 = pbVar20 + uVar17;" (assignment_expression "pbVar21 = pbVar20 + uVar17" identifier = (binary_expression "pbVar20 + uVar17" identifier + identifier)) ;) }) (else_clause "else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" else (compound_statement "{\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" { (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (if_statement "if (bVar3) {\n              return uVar18;\n            }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n              return uVar18;\n            }" { (return_statement "return uVar18;" return identifier ;) })) }))) (expression_statement "uVar11 = uVar9 - 1;" (assignment_expression "uVar11 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "bVar1 = *pbVar21;" (assignment_expression "bVar1 = *pbVar21" identifier = (pointer_expression "*pbVar21" * identifier)) ;) (expression_statement "pbVar20 = pbVar21 + 1;" (assignment_expression "pbVar20 = pbVar21 + 1" identifier = (binary_expression "pbVar21 + 1" identifier + number_literal)) ;) (expression_statement "uVar10 = uVar9;" (assignment_expression "uVar10 = uVar9" identifier = identifier) ;) (expression_statement "uVar9 = uVar11;" (assignment_expression "uVar9 = uVar11" identifier = identifier) ;) (if_statement "if (uVar11 == 0) {\n            return uVar18;\n          }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            return uVar18;\n          }" { (return_statement "return uVar18;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nint formatIPTC(Image *ifile,Image *ofile)\n\n{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  char *pcVar8;\n  code *pcVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  undefined1 *puVar13;\n  int iVar14;\n  short *psVar15;\n  uint *puVar16;\n  uint uVar17;\n  undefined1 *puVar18;\n  byte *pbVar19;\n  byte *pbVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  char *local_104c;\n  uint local_1044;\n  char temp [4096];\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  puVar6 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar21 = PTR_MagickImageList_3__magick_276__003a8948;\n  if (iVar7 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar7 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (puVar6 == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar21 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar19 = (byte *)*puVar6;\n  if ((*pbVar19 == 0x1c) && (pbVar19[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar7 = *(int *)(puVar21 + 0x15fc54);\n    uVar10 = local_1044;\n    pbVar20 = pbVar19;\n    while( true ) {\n      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);\n      if (iVar14 != 0) break;\n      uVar11 = pbVar20[6] | 1;\n      uVar17 = (uVar10 - 7) - uVar11;\n      uVar12 = uVar17 - 4;\n      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;\n      uVar11 = *puVar16;\n      if (uVar12 < uVar11) break;\n      if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }\n      if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }\n      uVar10 = uVar12 - uVar11;\n      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);\n      if (uVar10 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar19;\n    uVar10 = local_1044 - 1;\n    pbVar20 = pbVar19;\n    if (local_1044 - 1 != 0) {\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}\n\n" comment comment comment comment (function_definition "int formatIPTC(Image *ifile,Image *ofile)\n\n{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  char *pcVar8;\n  code *pcVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  undefined1 *puVar13;\n  int iVar14;\n  short *psVar15;\n  uint *puVar16;\n  uint uVar17;\n  undefined1 *puVar18;\n  byte *pbVar19;\n  byte *pbVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  char *local_104c;\n  uint local_1044;\n  char temp [4096];\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  puVar6 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar21 = PTR_MagickImageList_3__magick_276__003a8948;\n  if (iVar7 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar7 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (puVar6 == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar21 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar19 = (byte *)*puVar6;\n  if ((*pbVar19 == 0x1c) && (pbVar19[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar7 = *(int *)(puVar21 + 0x15fc54);\n    uVar10 = local_1044;\n    pbVar20 = pbVar19;\n    while( true ) {\n      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);\n      if (iVar14 != 0) break;\n      uVar11 = pbVar20[6] | 1;\n      uVar17 = (uVar10 - 7) - uVar11;\n      uVar12 = uVar17 - 4;\n      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;\n      uVar11 = *puVar16;\n      if (uVar12 < uVar11) break;\n      if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }\n      if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }\n      uVar10 = uVar12 - uVar11;\n      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);\n      if (uVar10 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar19;\n    uVar10 = local_1044 - 1;\n    pbVar20 = pbVar19;\n    if (local_1044 - 1 != 0) {\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "formatIPTC(Image *ifile,Image *ofile)" identifier (parameter_list "(Image *ifile,Image *ofile)" ( (parameter_declaration "Image *ifile" type_identifier (pointer_declarator "*ifile" * identifier)) , (parameter_declaration "Image *ofile" type_identifier (pointer_declarator "*ofile" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  char *pcVar8;\n  code *pcVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  undefined1 *puVar13;\n  int iVar14;\n  short *psVar15;\n  uint *puVar16;\n  uint uVar17;\n  undefined1 *puVar18;\n  byte *pbVar19;\n  byte *pbVar20;\n  undefined *puVar21;\n  undefined1 *puVar22;\n  char *local_104c;\n  uint local_1044;\n  char temp [4096];\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  puVar6 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar21 = PTR_MagickImageList_3__magick_276__003a8948;\n  if (iVar7 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar7 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (puVar6 == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar21 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar19 = (byte *)*puVar6;\n  if ((*pbVar19 == 0x1c) && (pbVar19[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar7 = *(int *)(puVar21 + 0x15fc54);\n    uVar10 = local_1044;\n    pbVar20 = pbVar19;\n    while( true ) {\n      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);\n      if (iVar14 != 0) break;\n      uVar11 = pbVar20[6] | 1;\n      uVar17 = (uVar10 - 7) - uVar11;\n      uVar12 = uVar17 - 4;\n      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;\n      uVar11 = *puVar16;\n      if (uVar12 < uVar11) break;\n      if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }\n      if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }\n      uVar10 = uVar12 - uVar11;\n      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);\n      if (uVar10 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar19;\n    uVar10 = local_1044 - 1;\n    pbVar20 = pbVar19;\n    if (local_1044 - 1 != 0) {\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "short sVar2;" (sized_type_specifier "short" short) identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "undefined1 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "short *psVar15;" (sized_type_specifier "short" short) (pointer_declarator "*psVar15" * identifier) ;) (declaration "uint *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "undefined1 *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "byte *pbVar19;" type_identifier (pointer_declarator "*pbVar19" * identifier) ;) (declaration "byte *pbVar20;" type_identifier (pointer_declarator "*pbVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined1 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "char *local_104c;" primitive_type (pointer_declarator "*local_104c" * identifier) ;) (declaration "uint local_1044;" type_identifier identifier ;) (declaration "char temp [4096];" primitive_type (array_declarator "temp [4096]" identifier [ number_literal ]) ;) (expression_statement "puVar5 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar5 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "puVar6 = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar6 = *(undefined4 **)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)();" (assignment_expression "iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)()" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)()" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (expression_statement "puVar21 = PTR_MagickImageList_3__magick_276__003a8948;" (assignment_expression "puVar21 = PTR_MagickImageList_3__magick_276__003a8948" identifier = identifier) ;) (if_statement "if (iVar7 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar7 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_00248c70:\n    local_1044 = 0;\n  }" { (labeled_statement "LAB_00248c70:\n    local_1044 = 0;" statement_identifier : (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if (iVar7 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" else (compound_statement "{\n    if (iVar7 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" { (if_statement "if (iVar7 != 0x1c) {\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }" if (parenthesized_expression "(iVar7 != 0x1c)" ( (binary_expression "iVar7 != 0x1c" identifier != number_literal) )) (compound_statement "{\n      do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );\n    }" { (do_statement "do {\n                    /* WARNING: Do nothing block with infinite loop */\n      } while( true );" do (compound_statement "{\n                    /* WARNING: Do nothing block with infinite loop */\n      }" { comment }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" identifier = number_literal) ;) (expression_statement "pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688;" (assignment_expression "pcVar8 = PTR_s_t_to_left_003a88e4 + -0x3688" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" identifier + number_literal)) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c)" identifier = (cast_expression "(code *)(PTR_LAB_003a8bd8 + -0x7e8c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a8bd8 + -0x7e8c)" ( (binary_expression "PTR_LAB_003a8bd8 + -0x7e8c" identifier + number_literal) )))) ;) (while_statement "while ((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))) {\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }" while (parenthesized_expression "((uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff)))" ( (parenthesized_expression "(uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff))" ( (comma_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff)" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ifile)" ( identifier )))) , (binary_expression "uVar10 != 0xffffffff &&\n           (uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff)" (binary_expression "uVar10 != 0xffffffff" identifier != number_literal) && (parenthesized_expression "(uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff)" ( (comma_expression "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile), uVar11 != 0xffffffff" (assignment_expression "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ifile)" ( identifier )))) , (binary_expression "uVar11 != 0xffffffff" identifier != number_literal)) )))) )) )) (compound_statement "{\n      uVar11 = uVar11 & 0xff;\n      psVar15 = (short *)(puVar21 + 0x4f0c);\n      uVar17 = 5;\n      iVar7 = 0;\n      while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (uVar17 == 0xffffffff) break;\n      if ((uVar17 & 0x80) != 0) goto LAB_00248c70;\n      uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;\n      puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);\n      if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar18 = puVar13;\n      if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }\n      *puVar18 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);\n      (*pcVar9)(ofile,puVar13,uVar12);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n      iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n      if (iVar7 == -1) goto LAB_00248b50;\n      if (iVar7 != 0x1c) break;\n    }" { (expression_statement "uVar11 = uVar11 & 0xff;" (assignment_expression "uVar11 = uVar11 & 0xff" identifier = (binary_expression "uVar11 & 0xff" identifier & number_literal)) ;) (expression_statement "psVar15 = (short *)(puVar21 + 0x4f0c);" (assignment_expression "psVar15 = (short *)(puVar21 + 0x4f0c)" identifier = (cast_expression "(short *)(puVar21 + 0x4f0c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar21 + 0x4f0c)" ( (binary_expression "puVar21 + 0x4f0c" identifier + number_literal) )))) ;) (expression_statement "uVar17 = 5;" (assignment_expression "uVar17 = 5" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (while_statement "while (uVar17 != uVar11) {\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }" while (parenthesized_expression "(uVar17 != uVar11)" ( (binary_expression "uVar17 != uVar11" identifier != identifier) )) (compound_statement "{\n        local_104c = pcVar8;\n        if (iVar7 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar15;\n        psVar15 = psVar15 + 4;\n        iVar7 = iVar7 + 1;\n        uVar17 = (uint)sVar2;\n      }" { (expression_statement "local_104c = pcVar8;" (assignment_expression "local_104c = pcVar8" identifier = identifier) ;) (if_statement "if (iVar7 + 1 == 0x36) goto LAB_00248a9c;" if (parenthesized_expression "(iVar7 + 1 == 0x36)" ( (binary_expression "iVar7 + 1 == 0x36" (binary_expression "iVar7 + 1" identifier + number_literal) == number_literal) )) (goto_statement "goto LAB_00248a9c;" goto statement_identifier ;)) (expression_statement "sVar2 = *psVar15;" (assignment_expression "sVar2 = *psVar15" identifier = (pointer_expression "*psVar15" * identifier)) ;) (expression_statement "psVar15 = psVar15 + 4;" (assignment_expression "psVar15 = psVar15 + 4" identifier = (binary_expression "psVar15 + 4" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = (uint)sVar2;" (assignment_expression "uVar17 = (uint)sVar2" identifier = (cast_expression "(uint)sVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })) (expression_statement "local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08);" (assignment_expression "local_104c = *(char **)(puVar21 + iVar7 * 8 + 0x4f08)" identifier = (pointer_expression "*(char **)(puVar21 + iVar7 * 8 + 0x4f08)" * (cast_expression "(char **)(puVar21 + iVar7 * 8 + 0x4f08)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + iVar7 * 8 + 0x4f08)" ( (binary_expression "puVar21 + iVar7 * 8 + 0x4f08" (binary_expression "puVar21 + iVar7 * 8" identifier + (binary_expression "iVar7 * 8" identifier * number_literal)) + number_literal) ))))) ;) (labeled_statement "LAB_00248a9c:\n      uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);" statement_identifier : (expression_statement "uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);" (assignment_expression "uVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ifile)" ( identifier )))) ;)) (if_statement "if (uVar17 == 0xffffffff) break;" if (parenthesized_expression "(uVar17 == 0xffffffff)" ( (binary_expression "uVar17 == 0xffffffff" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar17 & 0x80) != 0) goto LAB_00248c70;" if (parenthesized_expression "((uVar17 & 0x80) != 0)" ( (binary_expression "(uVar17 & 0x80) != 0" (parenthesized_expression "(uVar17 & 0x80)" ( (binary_expression "uVar17 & 0x80" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00248c70;" goto statement_identifier ;)) (expression_statement "uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);" (assignment_expression "uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ifile)" ( identifier )))) ;) (if_statement "if ((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)) break;" if (parenthesized_expression "((uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0))" ( (binary_expression "(uVar12 == 0xffffffff) || (uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)" (parenthesized_expression "(uVar12 == 0xffffffff)" ( (binary_expression "uVar12 == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0)" ( (comma_expression "uVar12 = uVar17 << 8 | uVar12, (int)uVar12 < 0" (assignment_expression "uVar12 = uVar17 << 8 | uVar12" identifier = (binary_expression "uVar17 << 8 | uVar12" (binary_expression "uVar17 << 8" identifier << number_literal) | identifier)) , (binary_expression "(int)uVar12 < 0" (cast_expression "(int)uVar12" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1);" (assignment_expression "puVar13 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar12 + 0x1000,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12 + 0x1000,1)" ( (binary_expression "uVar12 + 0x1000" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (puVar13 == (undefined1 *)0x0) goto LAB_00248c70;" if (parenthesized_expression "(puVar13 == (undefined1 *)0x0)" ( (binary_expression "puVar13 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00248c70;" goto statement_identifier ;)) (expression_statement "puVar18 = puVar13;" (assignment_expression "puVar18 = puVar13" identifier = identifier) ;) (if_statement "if (uVar12 != 0) {\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }" if (parenthesized_expression "(uVar12 != 0)" ( (binary_expression "uVar12 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar22 = puVar13;\n        do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);\n      }" { (expression_statement "puVar22 = puVar13;" (assignment_expression "puVar22 = puVar13" identifier = identifier) ;) (do_statement "do {\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        } while (puVar13 + uVar12 != puVar22);" do (compound_statement "{\n          iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);\n          if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar22 = (char)iVar7;\n          puVar22 = puVar22 + 1;\n          puVar18 = puVar13 + uVar12;\n        }" { (expression_statement "iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);" (assignment_expression "iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ifile)" ( identifier )))) ;) (if_statement "if (iVar7 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13)" ( identifier ))) ;) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00248b50;" goto statement_identifier ;) })) (expression_statement "*puVar22 = (char)iVar7;" (assignment_expression "*puVar22 = (char)iVar7" (pointer_expression "*puVar22" * identifier) = (cast_expression "(char)iVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar22 = puVar22 + 1;" (assignment_expression "puVar22 = puVar22 + 1" identifier = (binary_expression "puVar22 + 1" identifier + number_literal)) ;) (expression_statement "puVar18 = puVar13 + uVar12;" (assignment_expression "puVar18 = puVar13 + uVar12" identifier = (binary_expression "puVar13 + uVar12" identifier + identifier)) ;) }) while (parenthesized_expression "(puVar13 + uVar12 != puVar22)" ( (binary_expression "puVar13 + uVar12 != puVar22" (binary_expression "puVar13 + uVar12" identifier + identifier) != identifier) )) ;) })) (expression_statement "*puVar18 = 0;" (assignment_expression "*puVar18 = 0" (pointer_expression "*puVar18" * identifier) = number_literal) ;) (if_statement "if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }" if (parenthesized_expression "(*local_104c == '\0')" ( (binary_expression "*local_104c == '\0'" (pointer_expression "*local_104c" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);\n      }" { (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(temp,0x1000,puVar4 + -0x7c64,uVar10 & 0xff,uVar11)" ( identifier , number_literal , (binary_expression "puVar4 + -0x7c64" identifier + number_literal) , (binary_expression "uVar10 & 0xff" identifier & number_literal) , identifier ))) ;) }) (else_clause "else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }" else (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);\n      }" { (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(temp,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar10 & 0xff,uVar11,local_104c)" ( identifier , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70" identifier + number_literal) , (binary_expression "uVar10 & 0xff" identifier & number_literal) , identifier , identifier ))) ;) }))) (expression_statement "local_1044 = local_1044 + 1;" (assignment_expression "local_1044 = local_1044 + 1" identifier = (binary_expression "local_1044 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp);" (call_expression "(*(code *)PTR_WriteBlobString_003a95a8)(ofile,temp)" (parenthesized_expression "(*(code *)PTR_WriteBlobString_003a95a8)" ( (pointer_expression "*(code *)PTR_WriteBlobString_003a95a8" * (cast_expression "(code *)PTR_WriteBlobString_003a95a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ofile,temp)" ( identifier , identifier ))) ;) (expression_statement "(*pcVar9)(ofile,puVar13,uVar12);" (call_expression "(*pcVar9)(ofile,puVar13,uVar12)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(ofile,puVar13,uVar12)" ( identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar13)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13)" ( identifier ))) ;) (expression_statement "iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile);" (assignment_expression "iVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(ifile)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ifile)" ( identifier )))) ;) (if_statement "if (iVar7 == -1) goto LAB_00248b50;" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00248b50;" goto statement_identifier ;)) (if_statement "if (iVar7 != 0x1c) break;" if (parenthesized_expression "(iVar7 != 0x1c)" ( (binary_expression "iVar7 != 0x1c" identifier != number_literal) )) (break_statement "break;" break ;)) })) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" identifier = number_literal) ;) }))) (labeled_statement "LAB_00248b50:\n  if (puVar6 == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" statement_identifier : (if_statement "if (puVar6 == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" if (parenthesized_expression "(puVar6 == *(undefined4 **)puVar5)" ( (binary_expression "puVar6 == *(undefined4 **)puVar5" identifier == (pointer_expression "*(undefined4 **)puVar5" * (cast_expression "(undefined4 **)puVar5" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return local_1044;\n  }" { (return_statement "return local_1044;" return identifier ;) }))) (expression_statement "puVar21 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar21 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pbVar19 = (byte *)*puVar6;" (assignment_expression "pbVar19 = (byte *)*puVar6" identifier = (cast_expression "(byte *)*puVar6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (if_statement "if ((*pbVar19 == 0x1c) && (pbVar19[1] == 2)) {\n    return local_1044;\n  }" if (parenthesized_expression "((*pbVar19 == 0x1c) && (pbVar19[1] == 2))" ( (binary_expression "(*pbVar19 == 0x1c) && (pbVar19[1] == 2)" (parenthesized_expression "(*pbVar19 == 0x1c)" ( (binary_expression "*pbVar19 == 0x1c" (pointer_expression "*pbVar19" * identifier) == number_literal) )) && (parenthesized_expression "(pbVar19[1] == 2)" ( (binary_expression "pbVar19[1] == 2" (subscript_expression "pbVar19[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    return local_1044;\n  }" { (return_statement "return local_1044;" return identifier ;) })) (if_statement "if (0xb < local_1044) {\n    iVar7 = *(int *)(puVar21 + 0x15fc54);\n    uVar10 = local_1044;\n    pbVar20 = pbVar19;\n    while( true ) {\n      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);\n      if (iVar14 != 0) break;\n      uVar11 = pbVar20[6] | 1;\n      uVar17 = (uVar10 - 7) - uVar11;\n      uVar12 = uVar17 - 4;\n      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;\n      uVar11 = *puVar16;\n      if (uVar12 < uVar11) break;\n      if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }\n      if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }\n      uVar10 = uVar12 - uVar11;\n      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);\n      if (uVar10 < 0xc) break;\n    }\n  }" if (parenthesized_expression "(0xb < local_1044)" ( (binary_expression "0xb < local_1044" number_literal < identifier) )) (compound_statement "{\n    iVar7 = *(int *)(puVar21 + 0x15fc54);\n    uVar10 = local_1044;\n    pbVar20 = pbVar19;\n    while( true ) {\n      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);\n      if (iVar14 != 0) break;\n      uVar11 = pbVar20[6] | 1;\n      uVar17 = (uVar10 - 7) - uVar11;\n      uVar12 = uVar17 - 4;\n      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;\n      uVar11 = *puVar16;\n      if (uVar12 < uVar11) break;\n      if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }\n      if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }\n      uVar10 = uVar12 - uVar11;\n      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);\n      if (uVar10 < 0xc) break;\n    }\n  }" { (expression_statement "iVar7 = *(int *)(puVar21 + 0x15fc54);" (assignment_expression "iVar7 = *(int *)(puVar21 + 0x15fc54)" identifier = (pointer_expression "*(int *)(puVar21 + 0x15fc54)" * (cast_expression "(int *)(puVar21 + 0x15fc54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar21 + 0x15fc54)" ( (binary_expression "puVar21 + 0x15fc54" identifier + number_literal) ))))) ;) (expression_statement "uVar10 = local_1044;" (assignment_expression "uVar10 = local_1044" identifier = identifier) ;) (expression_statement "pbVar20 = pbVar19;" (assignment_expression "pbVar20 = pbVar19" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);\n      if (iVar14 != 0) break;\n      uVar11 = pbVar20[6] | 1;\n      uVar17 = (uVar10 - 7) - uVar11;\n      uVar12 = uVar17 - 4;\n      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;\n      uVar11 = *puVar16;\n      if (uVar12 < uVar11) break;\n      if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }\n      if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }\n      uVar10 = uVar12 - uVar11;\n      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);\n      if (uVar10 < 0xc) break;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);\n      if (iVar14 != 0) break;\n      uVar11 = pbVar20[6] | 1;\n      uVar17 = (uVar10 - 7) - uVar11;\n      uVar12 = uVar17 - 4;\n      if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;\n      uVar11 = *puVar16;\n      if (uVar12 < uVar11) break;\n      if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }\n      if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }\n      uVar10 = uVar12 - uVar11;\n      pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);\n      if (uVar10 < 0xc) break;\n    }" { (expression_statement "iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4);" (assignment_expression "iVar14 = (**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4)" identifier = (call_expression "(**(code **)(puVar21 + 0x160180))(pbVar20,iVar7 + 0x4840,4)" (parenthesized_expression "(**(code **)(puVar21 + 0x160180))" ( (pointer_expression "**(code **)(puVar21 + 0x160180)" * (pointer_expression "*(code **)(puVar21 + 0x160180)" * (cast_expression "(code **)(puVar21 + 0x160180)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x160180)" ( (binary_expression "puVar21 + 0x160180" identifier + number_literal) ))))) )) (argument_list "(pbVar20,iVar7 + 0x4840,4)" ( identifier , (binary_expression "iVar7 + 0x4840" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar14 != 0) break;" if (parenthesized_expression "(iVar14 != 0)" ( (binary_expression "iVar14 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar11 = pbVar20[6] | 1;" (assignment_expression "uVar11 = pbVar20[6] | 1" identifier = (binary_expression "pbVar20[6] | 1" (subscript_expression "pbVar20[6]" identifier [ number_literal ]) | number_literal)) ;) (expression_statement "uVar17 = (uVar10 - 7) - uVar11;" (assignment_expression "uVar17 = (uVar10 - 7) - uVar11" identifier = (binary_expression "(uVar10 - 7) - uVar11" (parenthesized_expression "(uVar10 - 7)" ( (binary_expression "uVar10 - 7" identifier - number_literal) )) - identifier)) ;) (expression_statement "uVar12 = uVar17 - 4;" (assignment_expression "uVar12 = uVar17 - 4" identifier = (binary_expression "uVar17 - 4" identifier - number_literal)) ;) (if_statement "if ((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)) break;" if (parenthesized_expression "((uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4))" ( (binary_expression "(uVar10 - 7 <= uVar11) || (puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)" (parenthesized_expression "(uVar10 - 7 <= uVar11)" ( (binary_expression "uVar10 - 7 <= uVar11" (binary_expression "uVar10 - 7" identifier - number_literal) <= identifier) )) || (parenthesized_expression "(puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4)" ( (comma_expression "puVar16 = (uint *)(pbVar20 + uVar11 + 7), uVar17 < 4" (assignment_expression "puVar16 = (uint *)(pbVar20 + uVar11 + 7)" identifier = (cast_expression "(uint *)(pbVar20 + uVar11 + 7)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar20 + uVar11 + 7)" ( (binary_expression "pbVar20 + uVar11 + 7" (binary_expression "pbVar20 + uVar11" identifier + identifier) + number_literal) )))) , (binary_expression "uVar17 < 4" identifier < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar11 = *puVar16;" (assignment_expression "uVar11 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (if_statement "if (uVar12 < uVar11) break;" if (parenthesized_expression "(uVar12 < uVar11)" ( (binary_expression "uVar12 < uVar11" identifier < identifier) )) (break_statement "break;" break ;)) (if_statement "if (*(short *)(pbVar20 + 4) == 0x404) {\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }" if (parenthesized_expression "(*(short *)(pbVar20 + 4) == 0x404)" ( (binary_expression "*(short *)(pbVar20 + 4) == 0x404" (pointer_expression "*(short *)(pbVar20 + 4)" * (cast_expression "(short *)(pbVar20 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar20 + 4)" ( (binary_expression "pbVar20 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        *puVar6 = puVar16 + 1;\n        return uVar11;\n      }" { (expression_statement "*puVar6 = puVar16 + 1;" (assignment_expression "*puVar6 = puVar16 + 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "puVar16 + 1" identifier + number_literal)) ;) (return_statement "return uVar11;" return identifier ;) })) (if_statement "if ((uVar11 & 1) != 0) {\n        uVar11 = uVar11 + 1;\n      }" if (parenthesized_expression "((uVar11 & 1) != 0)" ( (binary_expression "(uVar11 & 1) != 0" (parenthesized_expression "(uVar11 & 1)" ( (binary_expression "uVar11 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar11 = uVar11 + 1;\n      }" { (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar10 = uVar12 - uVar11;" (assignment_expression "uVar10 = uVar12 - uVar11" identifier = (binary_expression "uVar12 - uVar11" identifier - identifier)) ;) (expression_statement "pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11);" (assignment_expression "pbVar20 = (byte *)((int)(puVar16 + 1) + uVar11)" identifier = (cast_expression "(byte *)((int)(puVar16 + 1) + uVar11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(puVar16 + 1) + uVar11)" ( (binary_expression "(int)(puVar16 + 1) + uVar11" (cast_expression "(int)(puVar16 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar16 + 1)" ( (binary_expression "puVar16 + 1" identifier + number_literal) ))) + identifier) )))) ;) (if_statement "if (uVar10 < 0xc) break;" if (parenthesized_expression "(uVar10 < 0xc)" ( (binary_expression "uVar10 < 0xc" identifier < number_literal) )) (break_statement "break;" break ;)) })) })) (labeled_statement "LAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar19;\n    uVar10 = local_1044 - 1;\n    pbVar20 = pbVar19;\n    if (local_1044 - 1 != 0) {\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }\n  }" statement_identifier : (if_statement "if (local_1044 != 0) {\n    bVar1 = *pbVar19;\n    uVar10 = local_1044 - 1;\n    pbVar20 = pbVar19;\n    if (local_1044 - 1 != 0) {\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }\n  }" if (parenthesized_expression "(local_1044 != 0)" ( (binary_expression "local_1044 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar1 = *pbVar19;\n    uVar10 = local_1044 - 1;\n    pbVar20 = pbVar19;\n    if (local_1044 - 1 != 0) {\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }\n  }" { (expression_statement "bVar1 = *pbVar19;" (assignment_expression "bVar1 = *pbVar19" identifier = (pointer_expression "*pbVar19" * identifier)) ;) (expression_statement "uVar10 = local_1044 - 1;" (assignment_expression "uVar10 = local_1044 - 1" identifier = (binary_expression "local_1044 - 1" identifier - number_literal)) ;) (expression_statement "pbVar20 = pbVar19;" (assignment_expression "pbVar20 = pbVar19" identifier = identifier) ;) (if_statement "if (local_1044 - 1 != 0) {\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }" if (parenthesized_expression "(local_1044 - 1 != 0)" ( (binary_expression "local_1044 - 1 != 0" (binary_expression "local_1044 - 1" identifier - number_literal) != number_literal) )) (compound_statement "{\n      while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar6 = pbVar20;\n      bVar1 = *pbVar20;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }\n    }" { (while_statement "while (uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c)" ( (comma_expression "uVar11 = uVar10, pbVar19 = pbVar20 + 1, bVar1 != 0x1c" (assignment_expression "uVar11 = uVar10" identifier = identifier) , (comma_expression "pbVar19 = pbVar20 + 1, bVar1 != 0x1c" (assignment_expression "pbVar19 = pbVar20 + 1" identifier = (binary_expression "pbVar20 + 1" identifier + number_literal)) , (binary_expression "bVar1 != 0x1c" identifier != number_literal))) )) (compound_statement "{\n        bVar1 = *pbVar19;\n        uVar10 = uVar11 - 1;\n        local_1044 = uVar11;\n        pbVar20 = pbVar19;\n        if (uVar11 - 1 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "bVar1 = *pbVar19;" (assignment_expression "bVar1 = *pbVar19" identifier = (pointer_expression "*pbVar19" * identifier)) ;) (expression_statement "uVar10 = uVar11 - 1;" (assignment_expression "uVar10 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (expression_statement "local_1044 = uVar11;" (assignment_expression "local_1044 = uVar11" identifier = identifier) ;) (expression_statement "pbVar20 = pbVar19;" (assignment_expression "pbVar20 = pbVar19" identifier = identifier) ;) (if_statement "if (uVar11 - 1 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(uVar11 - 1 == 0)" ( (binary_expression "uVar11 - 1 == 0" (binary_expression "uVar11 - 1" identifier - number_literal) == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*puVar6 = pbVar20;" (assignment_expression "*puVar6 = pbVar20" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" identifier = (pointer_expression "*pbVar20" * identifier)) ;) (if_statement "if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }" if (parenthesized_expression "(local_1044 - 2 != 0)" ( (binary_expression "local_1044 - 2 != 0" (binary_expression "local_1044 - 2" identifier - number_literal) != number_literal) )) (compound_statement "{\n        bVar3 = false;\n        iVar7 = 0;\n        uVar10 = local_1044 - 2;\n        do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );\n      }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = local_1044 - 2;" (assignment_expression "uVar10 = local_1044 - 2" identifier = (binary_expression "local_1044 - 2" identifier - number_literal)) ;) (do_statement "do {\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        } while( true );" do (compound_statement "{\n          local_1044 = uVar11 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }\n          uVar17 = uVar10 - 1;\n          bVar1 = *pbVar20;\n          pbVar19 = pbVar20 + 1;\n          uVar11 = uVar10;\n          uVar10 = uVar17;\n          if (uVar17 == 0) {\n            return iVar7;\n          }\n        }" { (expression_statement "local_1044 = uVar11 - 2;" (assignment_expression "local_1044 = uVar11 - 2" identifier = (binary_expression "uVar11 - 2" identifier - number_literal)) ;) (if_statement "if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }\n          else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }" if (parenthesized_expression "(bVar1 == 0x1c)" ( (binary_expression "bVar1 == 0x1c" identifier == number_literal) )) (compound_statement "{\n            if (local_1044 == 0) {\n              return iVar7 + 1;\n            }\n            if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar11 - 3;\n            pbVar19 = pbVar20 + 3;\n            if (local_1044 == 0) {\n              return iVar7 + 2;\n            }\n            if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;\n            uVar10 = uVar11 - 4;\n            if (uVar10 == 0) {\n              return iVar7 + 3;\n            }\n            iVar14 = iVar7 + 4;\n            if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }\n            bVar3 = uVar10 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }\n            uVar10 = uVar11 - uVar17;\n            if (uVar10 == 0) {\n              return iVar14;\n            }\n            iVar7 = iVar14 + uVar17;\n            bVar3 = true;\n            pbVar20 = pbVar19 + uVar17;\n          }" { (if_statement "if (local_1044 == 0) {\n              return iVar7 + 1;\n            }" if (parenthesized_expression "(local_1044 == 0)" ( (binary_expression "local_1044 == 0" identifier == number_literal) )) (compound_statement "{\n              return iVar7 + 1;\n            }" { (return_statement "return iVar7 + 1;" return (binary_expression "iVar7 + 1" identifier + number_literal) ;) })) (if_statement "if ((iVar7 + 1 == 1) && (pbVar20[1] != 2)) {\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }" if (parenthesized_expression "((iVar7 + 1 == 1) && (pbVar20[1] != 2))" ( (binary_expression "(iVar7 + 1 == 1) && (pbVar20[1] != 2)" (parenthesized_expression "(iVar7 + 1 == 1)" ( (binary_expression "iVar7 + 1 == 1" (binary_expression "iVar7 + 1" identifier + number_literal) == number_literal) )) && (parenthesized_expression "(pbVar20[1] != 2)" ( (binary_expression "pbVar20[1] != 2" (subscript_expression "pbVar20[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n              pbVar19 = pbVar20 + 2;\n              goto LAB_00248da0;\n            }" { (expression_statement "pbVar19 = pbVar20 + 2;" (assignment_expression "pbVar19 = pbVar20 + 2" identifier = (binary_expression "pbVar20 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_00248da0;" goto statement_identifier ;) })) (expression_statement "local_1044 = uVar11 - 3;" (assignment_expression "local_1044 = uVar11 - 3" identifier = (binary_expression "uVar11 - 3" identifier - number_literal)) ;) (expression_statement "pbVar19 = pbVar20 + 3;" (assignment_expression "pbVar19 = pbVar20 + 3" identifier = (binary_expression "pbVar20 + 3" identifier + number_literal)) ;) (if_statement "if (local_1044 == 0) {\n              return iVar7 + 2;\n            }" if (parenthesized_expression "(local_1044 == 0)" ( (binary_expression "local_1044 == 0" identifier == number_literal) )) (compound_statement "{\n              return iVar7 + 2;\n            }" { (return_statement "return iVar7 + 2;" return (binary_expression "iVar7 + 2" identifier + number_literal) ;) })) (if_statement "if ((iVar7 + 2 == 2) && (pbVar20[2] != 0)) goto LAB_00248da0;" if (parenthesized_expression "((iVar7 + 2 == 2) && (pbVar20[2] != 0))" ( (binary_expression "(iVar7 + 2 == 2) && (pbVar20[2] != 0)" (parenthesized_expression "(iVar7 + 2 == 2)" ( (binary_expression "iVar7 + 2 == 2" (binary_expression "iVar7 + 2" identifier + number_literal) == number_literal) )) && (parenthesized_expression "(pbVar20[2] != 0)" ( (binary_expression "pbVar20[2] != 0" (subscript_expression "pbVar20[2]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_00248da0;" goto statement_identifier ;)) (expression_statement "uVar10 = uVar11 - 4;" (assignment_expression "uVar10 = uVar11 - 4" identifier = (binary_expression "uVar11 - 4" identifier - number_literal)) ;) (if_statement "if (uVar10 == 0) {\n              return iVar7 + 3;\n            }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n              return iVar7 + 3;\n            }" { (return_statement "return iVar7 + 3;" return (binary_expression "iVar7 + 3" identifier + number_literal) ;) })) (expression_statement "iVar14 = iVar7 + 4;" (assignment_expression "iVar14 = iVar7 + 4" identifier = (binary_expression "iVar7 + 4" identifier + number_literal)) ;) (if_statement "if ((char)pbVar20[3] < '\0') {\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }\n            else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }" if (parenthesized_expression "((char)pbVar20[3] < '\0')" ( (binary_expression "(char)pbVar20[3] < '\0'" (cast_expression "(char)pbVar20[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar20[3]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              uVar17 = (uint)pbVar20[4];\n              pbVar19 = pbVar20 + 5;\n              for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }\n              uVar10 = 1;\n            }" { (expression_statement "uVar17 = (uint)pbVar20[4];" (assignment_expression "uVar17 = (uint)pbVar20[4]" identifier = (cast_expression "(uint)pbVar20[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar20[4]" identifier [ number_literal ]))) ;) (expression_statement "pbVar19 = pbVar20 + 5;" (assignment_expression "pbVar19 = pbVar20 + 5" identifier = (binary_expression "pbVar20 + 5" identifier + number_literal)) ;) (for_statement "for (uVar11 = uVar11 - 5; uVar11 != 0; uVar11 = uVar11 - 1) {\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }" for ( (assignment_expression "uVar11 = uVar11 - 5" identifier = (binary_expression "uVar11 - 5" identifier - number_literal)) ; (binary_expression "uVar11 != 0" identifier != number_literal) ; (assignment_expression "uVar11 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ) (compound_statement "{\n                iVar14 = iVar14 + 1;\n                bVar3 = uVar10 < uVar17;\n                if (iVar7 + 8 == iVar14) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar19 | uVar17 << 8;\n                uVar10 = uVar11;\n                pbVar19 = pbVar19 + 1;\n              }" { (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = uVar10 < uVar17;" (assignment_expression "bVar3 = uVar10 < uVar17" identifier = (binary_expression "uVar10 < uVar17" identifier < identifier)) ;) (if_statement "if (iVar7 + 8 == iVar14) goto LAB_00248ef8;" if (parenthesized_expression "(iVar7 + 8 == iVar14)" ( (binary_expression "iVar7 + 8 == iVar14" (binary_expression "iVar7 + 8" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_00248ef8;" goto statement_identifier ;)) (expression_statement "uVar17 = (uint)*pbVar19 | uVar17 << 8;" (assignment_expression "uVar17 = (uint)*pbVar19 | uVar17 << 8" identifier = (binary_expression "(uint)*pbVar19 | uVar17 << 8" (binary_expression "(uint)*pbVar19" (parenthesized_expression "(uint)" ( identifier )) * identifier) | (binary_expression "uVar17 << 8" identifier << number_literal))) ;) (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" identifier = identifier) ;) (expression_statement "pbVar19 = pbVar19 + 1;" (assignment_expression "pbVar19 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) }) (else_clause "else {\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }" else (compound_statement "{\n              uVar11 = uVar11 - 5;\n              pbVar19 = pbVar20 + 5;\n              uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);\n              if (uVar11 == 0) {\n                return iVar14;\n              }\n              iVar14 = iVar7 + 5;\n            }" { (expression_statement "uVar11 = uVar11 - 5;" (assignment_expression "uVar11 = uVar11 - 5" identifier = (binary_expression "uVar11 - 5" identifier - number_literal)) ;) (expression_statement "pbVar19 = pbVar20 + 5;" (assignment_expression "pbVar19 = pbVar20 + 5" identifier = (binary_expression "pbVar20 + 5" identifier + number_literal)) ;) (expression_statement "uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4]);" (assignment_expression "uVar17 = (uint)CONCAT11(pbVar20[3],pbVar20[4])" identifier = (cast_expression "(uint)CONCAT11(pbVar20[3],pbVar20[4])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(pbVar20[3],pbVar20[4])" identifier (argument_list "(pbVar20[3],pbVar20[4])" ( (subscript_expression "pbVar20[3]" identifier [ number_literal ]) , (subscript_expression "pbVar20[4]" identifier [ number_literal ]) ))))) ;) (if_statement "if (uVar11 == 0) {\n                return iVar14;\n              }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n                return iVar14;\n              }" { (return_statement "return iVar14;" return identifier ;) })) (expression_statement "iVar14 = iVar7 + 5;" (assignment_expression "iVar14 = iVar7 + 5" identifier = (binary_expression "iVar7 + 5" identifier + number_literal)) ;) }))) (expression_statement "bVar3 = uVar10 < uVar17;" (assignment_expression "bVar3 = uVar10 < uVar17" identifier = (binary_expression "uVar10 < uVar17" identifier < identifier)) ;) (labeled_statement "LAB_00248ef8:\n            if (bVar3) {\n              return iVar14;\n            }" statement_identifier : (if_statement "if (bVar3) {\n              return iVar14;\n            }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n              return iVar14;\n            }" { (return_statement "return iVar14;" return identifier ;) }))) (expression_statement "uVar10 = uVar11 - uVar17;" (assignment_expression "uVar10 = uVar11 - uVar17" identifier = (binary_expression "uVar11 - uVar17" identifier - identifier)) ;) (if_statement "if (uVar10 == 0) {\n              return iVar14;\n            }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n              return iVar14;\n            }" { (return_statement "return iVar14;" return identifier ;) })) (expression_statement "iVar7 = iVar14 + uVar17;" (assignment_expression "iVar7 = iVar14 + uVar17" identifier = (binary_expression "iVar14 + uVar17" identifier + identifier)) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "pbVar20 = pbVar19 + uVar17;" (assignment_expression "pbVar20 = pbVar19 + uVar17" identifier = (binary_expression "pbVar19 + uVar17" identifier + identifier)) ;) }) (else_clause "else {\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }" else (compound_statement "{\n            pbVar20 = pbVar19;\n            if (bVar3) {\n              return iVar7;\n            }\n          }" { (expression_statement "pbVar20 = pbVar19;" (assignment_expression "pbVar20 = pbVar19" identifier = identifier) ;) (if_statement "if (bVar3) {\n              return iVar7;\n            }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n              return iVar7;\n            }" { (return_statement "return iVar7;" return identifier ;) })) }))) (expression_statement "uVar17 = uVar10 - 1;" (assignment_expression "uVar17 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" identifier = (pointer_expression "*pbVar20" * identifier)) ;) (expression_statement "pbVar19 = pbVar20 + 1;" (assignment_expression "pbVar19 = pbVar20 + 1" identifier = (binary_expression "pbVar20 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = uVar10;" (assignment_expression "uVar11 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = uVar17;" (assignment_expression "uVar10 = uVar17" identifier = identifier) ;) (if_statement "if (uVar17 == 0) {\n            return iVar7;\n          }" if (parenthesized_expression "(uVar17 == 0)" ( (binary_expression "uVar17 == 0" identifier == number_literal) )) (compound_statement "{\n            return iVar7;\n          }" { (return_statement "return iVar7;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "uint FUN_00248970(undefined4 param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "uint FUN_00248970(undefined4 param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00248970(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "short sVar2;" (sized_type_specifier "short" short) identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "short *psVar14;" (sized_type_specifier "short" short) (pointer_declarator "*psVar14" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "undefined1 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "byte *pbVar20;" type_identifier (pointer_declarator "*pbVar20" * identifier) ;) (declaration "byte *pbVar21;" type_identifier (pointer_declarator "*pbVar21" * identifier) ;) (declaration "undefined *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "undefined1 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "char *local_104c;" primitive_type (pointer_declarator "*local_104c" * identifier) ;) (declaration "uint local_1044;" type_identifier identifier ;) (declaration "undefined1 auStack_102c [4096];" type_identifier (array_declarator "auStack_102c [4096]" identifier [ number_literal ]) ;) (declaration "undefined4 *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar5 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)()" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)()" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (expression_statement "puVar22 = PTR_DAT_003a8948;" (assignment_expression "puVar22 = PTR_DAT_003a8948" identifier = identifier) ;) (if_statement "if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_00248c70:\n    local_1044 = 0;\n  }" { (labeled_statement "LAB_00248c70:\n    local_1044 = 0;" statement_identifier : (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" else (compound_statement "{\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" { (if_statement "if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }" if (parenthesized_expression "(iVar6 != 0x1c)" ( (binary_expression "iVar6 != 0x1c" identifier != number_literal) )) (compound_statement "{\n      do {\n                    \n      } while( true );\n    }" { (do_statement "do {\n                    \n      } while( true );" do (compound_statement "{\n                    \n      }" { }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" identifier = number_literal) ;) (expression_statement "pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;" (assignment_expression "pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" identifier + number_literal)) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c)" identifier = (cast_expression "(code *)(PTR_LAB_003a8bd8 + -0x7e8c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a8bd8 + -0x7e8c)" ( (binary_expression "PTR_LAB_003a8bd8 + -0x7e8c" identifier + number_literal) )))) ;) (while_statement "while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }" while (parenthesized_expression "((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)))" ( (parenthesized_expression "(uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))" ( (comma_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" (assignment_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" (binary_expression "uVar9 != 0xffffffff" identifier != number_literal) && (parenthesized_expression "(uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" ( (comma_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "uVar10 != 0xffffffff" identifier != number_literal)) )))) )) )) (compound_statement "{\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }" { (expression_statement "uVar10 = uVar10 & 0xff;" (assignment_expression "uVar10 = uVar10 & 0xff" identifier = (binary_expression "uVar10 & 0xff" identifier & number_literal)) ;) (expression_statement "psVar14 = (short *)(puVar22 + 0x4f0c);" (assignment_expression "psVar14 = (short *)(puVar22 + 0x4f0c)" identifier = (cast_expression "(short *)(puVar22 + 0x4f0c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + 0x4f0c)" ( (binary_expression "puVar22 + 0x4f0c" identifier + number_literal) )))) ;) (expression_statement "uVar18 = 5;" (assignment_expression "uVar18 = 5" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (while_statement "while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }" while (parenthesized_expression "(uVar18 != uVar10)" ( (binary_expression "uVar18 != uVar10" identifier != identifier) )) (compound_statement "{\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }" { (expression_statement "local_104c = pcVar7;" (assignment_expression "local_104c = pcVar7" identifier = identifier) ;) (if_statement "if (iVar6 + 1 == 0x36) goto LAB_00248a9c;" if (parenthesized_expression "(iVar6 + 1 == 0x36)" ( (binary_expression "iVar6 + 1 == 0x36" (binary_expression "iVar6 + 1" identifier + number_literal) == number_literal) )) (goto_statement "goto LAB_00248a9c;" goto statement_identifier ;)) (expression_statement "sVar2 = *psVar14;" (assignment_expression "sVar2 = *psVar14" identifier = (pointer_expression "*psVar14" * identifier)) ;) (expression_statement "psVar14 = psVar14 + 4;" (assignment_expression "psVar14 = psVar14 + 4" identifier = (binary_expression "psVar14 + 4" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar18 = (uint)sVar2;" (assignment_expression "uVar18 = (uint)sVar2" identifier = (cast_expression "(uint)sVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })) (expression_statement "local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);" (assignment_expression "local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08)" identifier = (pointer_expression "*(char **)(puVar22 + iVar6 * 8 + 0x4f08)" * (cast_expression "(char **)(puVar22 + iVar6 * 8 + 0x4f08)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar22 + iVar6 * 8 + 0x4f08)" ( (binary_expression "puVar22 + iVar6 * 8 + 0x4f08" (binary_expression "puVar22 + iVar6 * 8" identifier + (binary_expression "iVar6 * 8" identifier * number_literal)) + number_literal) ))))) ;) (labeled_statement "LAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" statement_identifier : (expression_statement "uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;)) (if_statement "if (uVar18 == 0xffffffff) break;" if (parenthesized_expression "(uVar18 == 0xffffffff)" ( (binary_expression "uVar18 == 0xffffffff" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar18 & 0x80) != 0) goto LAB_00248c70;" if (parenthesized_expression "((uVar18 & 0x80) != 0)" ( (binary_expression "(uVar18 & 0x80) != 0" (parenthesized_expression "(uVar18 & 0x80)" ( (binary_expression "uVar18 & 0x80" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00248c70;" goto statement_identifier ;)) (expression_statement "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;" if (parenthesized_expression "((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0))" ( (binary_expression "(uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)" (parenthesized_expression "(uVar11 == 0xffffffff)" ( (binary_expression "uVar11 == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)" ( (comma_expression "uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0" (assignment_expression "uVar11 = uVar18 << 8 | uVar11" identifier = (binary_expression "uVar18 << 8 | uVar11" (binary_expression "uVar18 << 8" identifier << number_literal) | identifier)) , (binary_expression "(int)uVar11 < 0" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);" (assignment_expression "puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11 + 0x1000,1)" ( (binary_expression "uVar11 + 0x1000" identifier + number_literal) , number_literal ))))) ;) (if_statement "if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;" if (parenthesized_expression "(puVar12 == (undefined1 *)0x0)" ( (binary_expression "puVar12 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00248c70;" goto statement_identifier ;)) (expression_statement "puVar19 = puVar12;" (assignment_expression "puVar19 = puVar12" identifier = identifier) ;) (if_statement "if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }" { (expression_statement "puVar23 = puVar12;" (assignment_expression "puVar23 = puVar12" identifier = identifier) ;) (do_statement "do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);" do (compound_statement "{\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00248b50;" goto statement_identifier ;) })) (expression_statement "*puVar23 = (char)iVar6;" (assignment_expression "*puVar23 = (char)iVar6" (pointer_expression "*puVar23" * identifier) = (cast_expression "(char)iVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar23 = puVar23 + 1;" (assignment_expression "puVar23 = puVar23 + 1" identifier = (binary_expression "puVar23 + 1" identifier + number_literal)) ;) (expression_statement "puVar19 = puVar12 + uVar11;" (assignment_expression "puVar19 = puVar12 + uVar11" identifier = (binary_expression "puVar12 + uVar11" identifier + identifier)) ;) }) while (parenthesized_expression "(puVar12 + uVar11 != puVar23)" ( (binary_expression "puVar12 + uVar11 != puVar23" (binary_expression "puVar12 + uVar11" identifier + identifier) != identifier) )) ;) })) (expression_statement "*puVar19 = 0;" (assignment_expression "*puVar19 = 0" (pointer_expression "*puVar19" * identifier) = number_literal) ;) (if_statement "if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" if (parenthesized_expression "(*local_104c == '\0')" ( (binary_expression "*local_104c == '\0'" (pointer_expression "*local_104c" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }" { (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10)" ( identifier , number_literal , (binary_expression "puVar4 + -0x7c64" identifier + number_literal) , (binary_expression "uVar9 & 0xff" identifier & number_literal) , identifier ))) ;) }) (else_clause "else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" else (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" { (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c)" ( identifier , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70" identifier + number_literal) , (binary_expression "uVar9 & 0xff" identifier & number_literal) , identifier , identifier ))) ;) }))) (expression_statement "local_1044 = local_1044 + 1;" (assignment_expression "local_1044 = local_1044 + 1" identifier = (binary_expression "local_1044 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);" (call_expression "(*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c)" (parenthesized_expression "(*(code *)PTR_WriteBlobString_003a95a8)" ( (pointer_expression "*(code *)PTR_WriteBlobString_003a95a8" * (cast_expression "(code *)PTR_WriteBlobString_003a95a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,auStack_102c)" ( identifier , identifier ))) ;) (expression_statement "(*pcVar8)(param_2,puVar12,uVar11);" (call_expression "(*pcVar8)(param_2,puVar12,uVar11)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(param_2,puVar12,uVar11)" ( identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" ( (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" * (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" ( (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" * (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) goto LAB_00248b50;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00248b50;" goto statement_identifier ;)) (if_statement "if (iVar6 != 0x1c) break;" if (parenthesized_expression "(iVar6 != 0x1c)" ( (binary_expression "iVar6 != 0x1c" identifier != number_literal) )) (break_statement "break;" break ;)) })) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" identifier = number_literal) ;) }))) (labeled_statement "LAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" statement_identifier : (if_statement "if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" if (parenthesized_expression "(local_2c == *(undefined4 **)puVar5)" ( (binary_expression "local_2c == *(undefined4 **)puVar5" identifier == (pointer_expression "*(undefined4 **)puVar5" * (cast_expression "(undefined4 **)puVar5" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return local_1044;\n  }" { (return_statement "return local_1044;" return identifier ;) }))) (expression_statement "puVar15 = local_2c;" (assignment_expression "puVar15 = local_2c" identifier = identifier) ;) (expression_statement "puVar22 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar22 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pbVar20 = (byte *)*puVar15;" (assignment_expression "pbVar20 = (byte *)*puVar15" identifier = (cast_expression "(byte *)*puVar15" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar15" * identifier))) ;) (if_statement "if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }" if (parenthesized_expression "((*pbVar20 == 0x1c) && (pbVar20[1] == 2))" ( (binary_expression "(*pbVar20 == 0x1c) && (pbVar20[1] == 2)" (parenthesized_expression "(*pbVar20 == 0x1c)" ( (binary_expression "*pbVar20 == 0x1c" (pointer_expression "*pbVar20" * identifier) == number_literal) )) && (parenthesized_expression "(pbVar20[1] == 2)" ( (binary_expression "pbVar20[1] == 2" (subscript_expression "pbVar20[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    return local_1044;\n  }" { (return_statement "return local_1044;" return identifier ;) })) (if_statement "if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }" if (parenthesized_expression "(0xb < local_1044)" ( (binary_expression "0xb < local_1044" number_literal < identifier) )) (compound_statement "{\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }" { (expression_statement "iVar6 = *(int *)(puVar22 + 0x15fc54);" (assignment_expression "iVar6 = *(int *)(puVar22 + 0x15fc54)" identifier = (pointer_expression "*(int *)(puVar22 + 0x15fc54)" * (cast_expression "(int *)(puVar22 + 0x15fc54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar22 + 0x15fc54)" ( (binary_expression "puVar22 + 0x15fc54" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = local_1044;" (assignment_expression "uVar9 = local_1044" identifier = identifier) ;) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }" { (expression_statement "iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);" (assignment_expression "iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4)" identifier = (call_expression "(**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4)" (parenthesized_expression "(**(code **)(puVar22 + 0x160180))" ( (pointer_expression "**(code **)(puVar22 + 0x160180)" * (pointer_expression "*(code **)(puVar22 + 0x160180)" * (cast_expression "(code **)(puVar22 + 0x160180)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar22 + 0x160180)" ( (binary_expression "puVar22 + 0x160180" identifier + number_literal) ))))) )) (argument_list "(pbVar21,iVar6 + 0x4840,4)" ( identifier , (binary_expression "iVar6 + 0x4840" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar13 != 0) break;" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = pbVar21[6] | 1;" (assignment_expression "uVar10 = pbVar21[6] | 1" identifier = (binary_expression "pbVar21[6] | 1" (subscript_expression "pbVar21[6]" identifier [ number_literal ]) | number_literal)) ;) (expression_statement "uVar18 = (uVar9 - 7) - uVar10;" (assignment_expression "uVar18 = (uVar9 - 7) - uVar10" identifier = (binary_expression "(uVar9 - 7) - uVar10" (parenthesized_expression "(uVar9 - 7)" ( (binary_expression "uVar9 - 7" identifier - number_literal) )) - identifier)) ;) (expression_statement "uVar11 = uVar18 - 4;" (assignment_expression "uVar11 = uVar18 - 4" identifier = (binary_expression "uVar18 - 4" identifier - number_literal)) ;) (if_statement "if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;" if (parenthesized_expression "((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4))" ( (binary_expression "(uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)" (parenthesized_expression "(uVar9 - 7 <= uVar10)" ( (binary_expression "uVar9 - 7 <= uVar10" (binary_expression "uVar9 - 7" identifier - number_literal) <= identifier) )) || (parenthesized_expression "(puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)" ( (comma_expression "puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4" (assignment_expression "puVar16 = (uint *)(pbVar21 + uVar10 + 7)" identifier = (cast_expression "(uint *)(pbVar21 + uVar10 + 7)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar21 + uVar10 + 7)" ( (binary_expression "pbVar21 + uVar10 + 7" (binary_expression "pbVar21 + uVar10" identifier + identifier) + number_literal) )))) , (binary_expression "uVar18 < 4" identifier < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = *puVar16;" (assignment_expression "uVar10 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (if_statement "if (uVar11 < uVar10) break;" if (parenthesized_expression "(uVar11 < uVar10)" ( (binary_expression "uVar11 < uVar10" identifier < identifier) )) (break_statement "break;" break ;)) (if_statement "if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }" if (parenthesized_expression "(*(short *)(pbVar21 + 4) == 0x404)" ( (binary_expression "*(short *)(pbVar21 + 4) == 0x404" (pointer_expression "*(short *)(pbVar21 + 4)" * (cast_expression "(short *)(pbVar21 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar21 + 4)" ( (binary_expression "pbVar21 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }" { (expression_statement "*puVar15 = puVar16 + 1;" (assignment_expression "*puVar15 = puVar16 + 1" (pointer_expression "*puVar15" * identifier) = (binary_expression "puVar16 + 1" identifier + number_literal)) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }" if (parenthesized_expression "((uVar10 & 1) != 0)" ( (binary_expression "(uVar10 & 1) != 0" (parenthesized_expression "(uVar10 & 1)" ( (binary_expression "uVar10 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar10 = uVar10 + 1;\n      }" { (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar9 = uVar11 - uVar10;" (assignment_expression "uVar9 = uVar11 - uVar10" identifier = (binary_expression "uVar11 - uVar10" identifier - identifier)) ;) (expression_statement "pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);" (assignment_expression "pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10)" identifier = (cast_expression "(byte *)((int)(puVar16 + 1) + uVar10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(puVar16 + 1) + uVar10)" ( (binary_expression "(int)(puVar16 + 1) + uVar10" (cast_expression "(int)(puVar16 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar16 + 1)" ( (binary_expression "puVar16 + 1" identifier + number_literal) ))) + identifier) )))) ;) (if_statement "if (uVar9 < 0xc) break;" if (parenthesized_expression "(uVar9 < 0xc)" ( (binary_expression "uVar9 < 0xc" identifier < number_literal) )) (break_statement "break;" break ;)) })) })) (labeled_statement "LAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" statement_identifier : (if_statement "if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" if (parenthesized_expression "(local_1044 != 0)" ( (binary_expression "local_1044 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" { (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" identifier = (pointer_expression "*pbVar20" * identifier)) ;) (expression_statement "uVar9 = local_1044 - 1;" (assignment_expression "uVar9 = local_1044 - 1" identifier = (binary_expression "local_1044 - 1" identifier - number_literal)) ;) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (if_statement "if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }" if (parenthesized_expression "(local_1044 - 1 != 0)" ( (binary_expression "local_1044 - 1 != 0" (binary_expression "local_1044 - 1" identifier - number_literal) != number_literal) )) (compound_statement "{\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }" { (while_statement "while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c)" ( (comma_expression "uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c" (assignment_expression "uVar10 = uVar9" identifier = identifier) , (comma_expression "pbVar20 = pbVar21 + 1, bVar1 != 0x1c" (assignment_expression "pbVar20 = pbVar21 + 1" identifier = (binary_expression "pbVar21 + 1" identifier + number_literal)) , (binary_expression "bVar1 != 0x1c" identifier != number_literal))) )) (compound_statement "{\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" identifier = (pointer_expression "*pbVar20" * identifier)) ;) (expression_statement "uVar9 = uVar10 - 1;" (assignment_expression "uVar9 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (expression_statement "local_1044 = uVar10;" (assignment_expression "local_1044 = uVar10" identifier = identifier) ;) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (if_statement "if (uVar10 - 1 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(uVar10 - 1 == 0)" ( (binary_expression "uVar10 - 1 == 0" (binary_expression "uVar10 - 1" identifier - number_literal) == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*puVar15 = pbVar21;" (assignment_expression "*puVar15 = pbVar21" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "bVar1 = *pbVar21;" (assignment_expression "bVar1 = *pbVar21" identifier = (pointer_expression "*pbVar21" * identifier)) ;) (if_statement "if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }" if (parenthesized_expression "(local_1044 - 2 != 0)" ( (binary_expression "local_1044 - 2 != 0" (binary_expression "local_1044 - 2" identifier - number_literal) != number_literal) )) (compound_statement "{\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "uVar18 = 0;" (assignment_expression "uVar18 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = local_1044 - 2;" (assignment_expression "uVar9 = local_1044 - 2" identifier = (binary_expression "local_1044 - 2" identifier - number_literal)) ;) (do_statement "do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );" do (compound_statement "{\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        }" { (expression_statement "local_1044 = uVar10 - 2;" (assignment_expression "local_1044 = uVar10 - 2" identifier = (binary_expression "uVar10 - 2" identifier - number_literal)) ;) (if_statement "if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" if (parenthesized_expression "(bVar1 == 0x1c)" ( (binary_expression "bVar1 == 0x1c" identifier == number_literal) )) (compound_statement "{\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }" { (if_statement "if (local_1044 == 0) {\n              return uVar18 + 1;\n            }" if (parenthesized_expression "(local_1044 == 0)" ( (binary_expression "local_1044 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar18 + 1;\n            }" { (return_statement "return uVar18 + 1;" return (binary_expression "uVar18 + 1" identifier + number_literal) ;) })) (if_statement "if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }" if (parenthesized_expression "((uVar18 + 1 == 1) && (pbVar21[1] != 2))" ( (binary_expression "(uVar18 + 1 == 1) && (pbVar21[1] != 2)" (parenthesized_expression "(uVar18 + 1 == 1)" ( (binary_expression "uVar18 + 1 == 1" (binary_expression "uVar18 + 1" identifier + number_literal) == number_literal) )) && (parenthesized_expression "(pbVar21[1] != 2)" ( (binary_expression "pbVar21[1] != 2" (subscript_expression "pbVar21[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }" { (expression_statement "pbVar20 = pbVar21 + 2;" (assignment_expression "pbVar20 = pbVar21 + 2" identifier = (binary_expression "pbVar21 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_00248da0;" goto statement_identifier ;) })) (expression_statement "local_1044 = uVar10 - 3;" (assignment_expression "local_1044 = uVar10 - 3" identifier = (binary_expression "uVar10 - 3" identifier - number_literal)) ;) (expression_statement "pbVar20 = pbVar21 + 3;" (assignment_expression "pbVar20 = pbVar21 + 3" identifier = (binary_expression "pbVar21 + 3" identifier + number_literal)) ;) (if_statement "if (local_1044 == 0) {\n              return uVar18 + 2;\n            }" if (parenthesized_expression "(local_1044 == 0)" ( (binary_expression "local_1044 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar18 + 2;\n            }" { (return_statement "return uVar18 + 2;" return (binary_expression "uVar18 + 2" identifier + number_literal) ;) })) (if_statement "if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;" if (parenthesized_expression "((uVar18 + 2 == 2) && (pbVar21[2] != 0))" ( (binary_expression "(uVar18 + 2 == 2) && (pbVar21[2] != 0)" (parenthesized_expression "(uVar18 + 2 == 2)" ( (binary_expression "uVar18 + 2 == 2" (binary_expression "uVar18 + 2" identifier + number_literal) == number_literal) )) && (parenthesized_expression "(pbVar21[2] != 0)" ( (binary_expression "pbVar21[2] != 0" (subscript_expression "pbVar21[2]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_00248da0;" goto statement_identifier ;)) (expression_statement "uVar9 = uVar10 - 4;" (assignment_expression "uVar9 = uVar10 - 4" identifier = (binary_expression "uVar10 - 4" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n              return uVar18 + 3;\n            }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar18 + 3;\n            }" { (return_statement "return uVar18 + 3;" return (binary_expression "uVar18 + 3" identifier + number_literal) ;) })) (expression_statement "uVar11 = uVar18 + 4;" (assignment_expression "uVar11 = uVar18 + 4" identifier = (binary_expression "uVar18 + 4" identifier + number_literal)) ;) (if_statement "if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" if (parenthesized_expression "((char)pbVar21[3] < '\0')" ( (binary_expression "(char)pbVar21[3] < '\0'" (cast_expression "(char)pbVar21[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar21[3]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }" { (expression_statement "uVar17 = (uint)pbVar21[4];" (assignment_expression "uVar17 = (uint)pbVar21[4]" identifier = (cast_expression "(uint)pbVar21[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar21[4]" identifier [ number_literal ]))) ;) (expression_statement "pbVar20 = pbVar21 + 5;" (assignment_expression "pbVar20 = pbVar21 + 5" identifier = (binary_expression "pbVar21 + 5" identifier + number_literal)) ;) (for_statement "for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }" for ( (assignment_expression "uVar10 = uVar10 - 5" identifier = (binary_expression "uVar10 - 5" identifier - number_literal)) ; (binary_expression "uVar10 != 0" identifier != number_literal) ; (assignment_expression "uVar10 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ) (compound_statement "{\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }" { (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = uVar9 < uVar17;" (assignment_expression "bVar3 = uVar9 < uVar17" identifier = (binary_expression "uVar9 < uVar17" identifier < identifier)) ;) (if_statement "if (uVar18 + 8 == uVar11) goto LAB_00248ef8;" if (parenthesized_expression "(uVar18 + 8 == uVar11)" ( (binary_expression "uVar18 + 8 == uVar11" (binary_expression "uVar18 + 8" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_00248ef8;" goto statement_identifier ;)) (expression_statement "uVar17 = (uint)*pbVar20 | uVar17 << 8;" (assignment_expression "uVar17 = (uint)*pbVar20 | uVar17 << 8" identifier = (binary_expression "(uint)*pbVar20 | uVar17 << 8" (binary_expression "(uint)*pbVar20" (parenthesized_expression "(uint)" ( identifier )) * identifier) | (binary_expression "uVar17 << 8" identifier << number_literal))) ;) (expression_statement "uVar9 = uVar10;" (assignment_expression "uVar9 = uVar10" identifier = identifier) ;) (expression_statement "pbVar20 = pbVar20 + 1;" (assignment_expression "pbVar20 = pbVar20 + 1" identifier = (binary_expression "pbVar20 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) }) (else_clause "else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" else (compound_statement "{\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" { (expression_statement "uVar10 = uVar10 - 5;" (assignment_expression "uVar10 = uVar10 - 5" identifier = (binary_expression "uVar10 - 5" identifier - number_literal)) ;) (expression_statement "pbVar20 = pbVar21 + 5;" (assignment_expression "pbVar20 = pbVar21 + 5" identifier = (binary_expression "pbVar21 + 5" identifier + number_literal)) ;) (expression_statement "uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);" (assignment_expression "uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4])" identifier = (cast_expression "(uint)CONCAT11(pbVar21[3],pbVar21[4])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(pbVar21[3],pbVar21[4])" identifier (argument_list "(pbVar21[3],pbVar21[4])" ( (subscript_expression "pbVar21[3]" identifier [ number_literal ]) , (subscript_expression "pbVar21[4]" identifier [ number_literal ]) ))))) ;) (if_statement "if (uVar10 == 0) {\n                return uVar11;\n              }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n                return uVar11;\n              }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "uVar11 = uVar18 + 5;" (assignment_expression "uVar11 = uVar18 + 5" identifier = (binary_expression "uVar18 + 5" identifier + number_literal)) ;) }))) (expression_statement "bVar3 = uVar9 < uVar17;" (assignment_expression "bVar3 = uVar9 < uVar17" identifier = (binary_expression "uVar9 < uVar17" identifier < identifier)) ;) (labeled_statement "LAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }" statement_identifier : (if_statement "if (bVar3) {\n              return uVar11;\n            }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n              return uVar11;\n            }" { (return_statement "return uVar11;" return identifier ;) }))) (expression_statement "uVar9 = uVar10 - uVar17;" (assignment_expression "uVar9 = uVar10 - uVar17" identifier = (binary_expression "uVar10 - uVar17" identifier - identifier)) ;) (if_statement "if (uVar9 == 0) {\n              return uVar11;\n            }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar11;\n            }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "uVar18 = uVar11 + uVar17;" (assignment_expression "uVar18 = uVar11 + uVar17" identifier = (binary_expression "uVar11 + uVar17" identifier + identifier)) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "pbVar21 = pbVar20 + uVar17;" (assignment_expression "pbVar21 = pbVar20 + uVar17" identifier = (binary_expression "pbVar20 + uVar17" identifier + identifier)) ;) }) (else_clause "else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" else (compound_statement "{\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" { (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" identifier = identifier) ;) (if_statement "if (bVar3) {\n              return uVar18;\n            }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n              return uVar18;\n            }" { (return_statement "return uVar18;" return identifier ;) })) }))) (expression_statement "uVar11 = uVar9 - 1;" (assignment_expression "uVar11 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "bVar1 = *pbVar21;" (assignment_expression "bVar1 = *pbVar21" identifier = (pointer_expression "*pbVar21" * identifier)) ;) (expression_statement "pbVar20 = pbVar21 + 1;" (assignment_expression "pbVar20 = pbVar21 + 1" identifier = (binary_expression "pbVar21 + 1" identifier + number_literal)) ;) (expression_statement "uVar10 = uVar9;" (assignment_expression "uVar10 = uVar9" identifier = identifier) ;) (expression_statement "uVar9 = uVar11;" (assignment_expression "uVar9 = uVar11" identifier = identifier) ;) (if_statement "if (uVar11 == 0) {\n            return uVar18;\n          }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            return uVar18;\n          }" { (return_statement "return uVar18;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) )))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | IDENT)) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT)) ))) )) (break_statement break ;)) (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 ( (binary_expression IDENT + LIT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT & LIT) , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT & LIT) , IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) <= IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) , (binary_expression IDENT < LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) })) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression IDENT - LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (return_statement return IDENT ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) }) while (parenthesized_expression ( BOOL )) ;) })) })) }))) (return_statement return LIT ;) })))
(function_definition "uint FUN_00248970(undefined4 param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" (type_identifier "uint") (function_declarator "FUN_00248970(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00248970") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  short sVar2;\n  bool bVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *pcVar7;\n  code *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  short *psVar14;\n  undefined4 *puVar15;\n  uint *puVar16;\n  uint uVar17;\n  uint uVar18;\n  undefined1 *puVar19;\n  byte *pbVar20;\n  byte *pbVar21;\n  undefined *puVar22;\n  undefined1 *puVar23;\n  char *local_104c;\n  uint local_1044;\n  undefined1 auStack_102c [4096];\n  undefined4 *local_2c;\n  \n  puVar5 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();\n  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n  puVar22 = PTR_DAT_003a8948;\n  if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }\nLAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }\n  puVar15 = local_2c;\n  puVar22 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  pbVar20 = (byte *)*puVar15;\n  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }\n  if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }\nLAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "short sVar2;" (sized_type_specifier "short" (short "short")) (identifier "sVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "code *pcVar8;" (type_identifier "code") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "undefined1 *puVar12;" (type_identifier "undefined1") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "short *psVar14;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar14" (* "*") (identifier "psVar14")) (; ";")) (declaration "undefined4 *puVar15;" (type_identifier "undefined4") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "uint *puVar16;" (type_identifier "uint") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "uint uVar17;" (type_identifier "uint") (identifier "uVar17") (; ";")) (declaration "uint uVar18;" (type_identifier "uint") (identifier "uVar18") (; ";")) (declaration "undefined1 *puVar19;" (type_identifier "undefined1") (pointer_declarator "*puVar19" (* "*") (identifier "puVar19")) (; ";")) (declaration "byte *pbVar20;" (type_identifier "byte") (pointer_declarator "*pbVar20" (* "*") (identifier "pbVar20")) (; ";")) (declaration "byte *pbVar21;" (type_identifier "byte") (pointer_declarator "*pbVar21" (* "*") (identifier "pbVar21")) (; ";")) (declaration "undefined *puVar22;" (type_identifier "undefined") (pointer_declarator "*puVar22" (* "*") (identifier "puVar22")) (; ";")) (declaration "undefined1 *puVar23;" (type_identifier "undefined1") (pointer_declarator "*puVar23" (* "*") (identifier "puVar23")) (; ";")) (declaration "char *local_104c;" (primitive_type "char") (pointer_declarator "*local_104c" (* "*") (identifier "local_104c")) (; ";")) (declaration "uint local_1044;" (type_identifier "uint") (identifier "local_1044") (; ";")) (declaration "undefined1 auStack_102c [4096];" (type_identifier "undefined1") (array_declarator "auStack_102c [4096]" (identifier "auStack_102c") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "undefined4 *local_2c;" (type_identifier "undefined4") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "puVar5 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar5 = PTR___stack_chk_guard_003a9230" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230" (identifier "local_2c") (= "=") (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" (* "*") (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_003a9230")))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)()" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)()" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" (* "*") (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobByte_003a97f0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" (identifier "puVar4") (= "=") (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c")) (; ";")) (expression_statement "puVar22 = PTR_DAT_003a8948;" (assignment_expression "puVar22 = PTR_DAT_003a8948" (identifier "puVar22") (= "=") (identifier "PTR_DAT_003a8948")) (; ";")) (if_statement "if (iVar6 == -1) {\nLAB_00248c70:\n    local_1044 = 0;\n  }\n  else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\nLAB_00248c70:\n    local_1044 = 0;\n  }" ({ "{") (labeled_statement "LAB_00248c70:\n    local_1044 = 0;" (statement_identifier "LAB_00248c70") (: ":") (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" (identifier "local_1044") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" (else "else") (compound_statement "{\n    if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }\n    local_1044 = 0;\n    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;\n    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);\n    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }\n    local_1044 = 0xffffffff;\n  }" ({ "{") (if_statement "if (iVar6 != 0x1c) {\n      do {\n                    \n      } while( true );\n    }" (if "if") (parenthesized_expression "(iVar6 != 0x1c)" (( "(") (binary_expression "iVar6 != 0x1c" (identifier "iVar6") (!= "!=") (number_literal "0x1c")) () ")")) (compound_statement "{\n      do {\n                    \n      } while( true );\n    }" ({ "{") (do_statement "do {\n                    \n      } while( true );" (do "do") (compound_statement "{\n                    \n      }" ({ "{") (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "local_1044 = 0;" (assignment_expression "local_1044 = 0" (identifier "local_1044") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;" (assignment_expression "pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688" (identifier "pcVar7") (= "=") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x3688"))) (; ";")) (expression_statement "pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c)" (identifier "pcVar8") (= "=") (cast_expression "(code *)(PTR_LAB_003a8bd8 + -0x7e8c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a8bd8 + -0x7e8c)" (( "(") (binary_expression "PTR_LAB_003a8bd8 + -0x7e8c" (identifier "PTR_LAB_003a8bd8") (+ "+") (number_literal "-0x7e8c")) () ")")))) (; ";")) (while_statement "while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }" (while "while") (parenthesized_expression "((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)))" (( "(") (parenthesized_expression "(uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))" (( "(") (comma_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" (assignment_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (identifier "uVar9") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" (* "*") (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobByte_003a97f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "uVar9 != 0xffffffff &&\n           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" (binary_expression "uVar9 != 0xffffffff" (identifier "uVar9") (!= "!=") (number_literal "0xffffffff")) (&& "&&") (parenthesized_expression "(uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff)" (( "(") (comma_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" (* "*") (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobByte_003a97f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "uVar10 != 0xffffffff" (identifier "uVar10") (!= "!=") (number_literal "0xffffffff"))) () ")")))) () ")")) () ")")) (compound_statement "{\n      uVar10 = uVar10 & 0xff;\n      psVar14 = (short *)(puVar22 + 0x4f0c);\n      uVar18 = 5;\n      iVar6 = 0;\n      while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }\n      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);\nLAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (uVar18 == 0xffffffff) break;\n      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;\n      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;\n      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);\n      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;\n      puVar19 = puVar12;\n      if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }\n      *puVar19 = 0;\n      if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }\n      local_1044 = local_1044 + 1;\n      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);\n      (*pcVar8)(param_2,puVar12,uVar11);\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n      if (iVar6 == -1) goto LAB_00248b50;\n      if (iVar6 != 0x1c) break;\n    }" ({ "{") (expression_statement "uVar10 = uVar10 & 0xff;" (assignment_expression "uVar10 = uVar10 & 0xff" (identifier "uVar10") (= "=") (binary_expression "uVar10 & 0xff" (identifier "uVar10") (& "&") (number_literal "0xff"))) (; ";")) (expression_statement "psVar14 = (short *)(puVar22 + 0x4f0c);" (assignment_expression "psVar14 = (short *)(puVar22 + 0x4f0c)" (identifier "psVar14") (= "=") (cast_expression "(short *)(puVar22 + 0x4f0c)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar22 + 0x4f0c)" (( "(") (binary_expression "puVar22 + 0x4f0c" (identifier "puVar22") (+ "+") (number_literal "0x4f0c")) () ")")))) (; ";")) (expression_statement "uVar18 = 5;" (assignment_expression "uVar18 = 5" (identifier "uVar18") (= "=") (number_literal "5")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (while_statement "while (uVar18 != uVar10) {\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }" (while "while") (parenthesized_expression "(uVar18 != uVar10)" (( "(") (binary_expression "uVar18 != uVar10" (identifier "uVar18") (!= "!=") (identifier "uVar10")) () ")")) (compound_statement "{\n        local_104c = pcVar7;\n        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;\n        sVar2 = *psVar14;\n        psVar14 = psVar14 + 4;\n        iVar6 = iVar6 + 1;\n        uVar18 = (uint)sVar2;\n      }" ({ "{") (expression_statement "local_104c = pcVar7;" (assignment_expression "local_104c = pcVar7" (identifier "local_104c") (= "=") (identifier "pcVar7")) (; ";")) (if_statement "if (iVar6 + 1 == 0x36) goto LAB_00248a9c;" (if "if") (parenthesized_expression "(iVar6 + 1 == 0x36)" (( "(") (binary_expression "iVar6 + 1 == 0x36" (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1")) (== "==") (number_literal "0x36")) () ")")) (goto_statement "goto LAB_00248a9c;" (goto "goto") (statement_identifier "LAB_00248a9c") (; ";"))) (expression_statement "sVar2 = *psVar14;" (assignment_expression "sVar2 = *psVar14" (identifier "sVar2") (= "=") (pointer_expression "*psVar14" (* "*") (identifier "psVar14"))) (; ";")) (expression_statement "psVar14 = psVar14 + 4;" (assignment_expression "psVar14 = psVar14 + 4" (identifier "psVar14") (= "=") (binary_expression "psVar14 + 4" (identifier "psVar14") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar18 = (uint)sVar2;" (assignment_expression "uVar18 = (uint)sVar2" (identifier "uVar18") (= "=") (cast_expression "(uint)sVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "sVar2"))) (; ";")) (} "}"))) (expression_statement "local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);" (assignment_expression "local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08)" (identifier "local_104c") (= "=") (pointer_expression "*(char **)(puVar22 + iVar6 * 8 + 0x4f08)" (* "*") (cast_expression "(char **)(puVar22 + iVar6 * 8 + 0x4f08)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar22 + iVar6 * 8 + 0x4f08)" (( "(") (binary_expression "puVar22 + iVar6 * 8 + 0x4f08" (binary_expression "puVar22 + iVar6 * 8" (identifier "puVar22") (+ "+") (binary_expression "iVar6 * 8" (identifier "iVar6") (* "*") (number_literal "8"))) (+ "+") (number_literal "0x4f08")) () ")"))))) (; ";")) (labeled_statement "LAB_00248a9c:\n      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (statement_identifier "LAB_00248a9c") (: ":") (expression_statement "uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (identifier "uVar18") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" (* "*") (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobByte_003a97f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";"))) (if_statement "if (uVar18 == 0xffffffff) break;" (if "if") (parenthesized_expression "(uVar18 == 0xffffffff)" (( "(") (binary_expression "uVar18 == 0xffffffff" (identifier "uVar18") (== "==") (number_literal "0xffffffff")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((uVar18 & 0x80) != 0) goto LAB_00248c70;" (if "if") (parenthesized_expression "((uVar18 & 0x80) != 0)" (( "(") (binary_expression "(uVar18 & 0x80) != 0" (parenthesized_expression "(uVar18 & 0x80)" (( "(") (binary_expression "uVar18 & 0x80" (identifier "uVar18") (& "&") (number_literal "0x80")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00248c70;" (goto "goto") (statement_identifier "LAB_00248c70") (; ";"))) (expression_statement "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" (* "*") (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobByte_003a97f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;" (if "if") (parenthesized_expression "((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0))" (( "(") (binary_expression "(uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)" (parenthesized_expression "(uVar11 == 0xffffffff)" (( "(") (binary_expression "uVar11 == 0xffffffff" (identifier "uVar11") (== "==") (number_literal "0xffffffff")) () ")")) (|| "||") (parenthesized_expression "(uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)" (( "(") (comma_expression "uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0" (assignment_expression "uVar11 = uVar18 << 8 | uVar11" (identifier "uVar11") (= "=") (binary_expression "uVar18 << 8 | uVar11" (binary_expression "uVar18 << 8" (identifier "uVar18") (<< "<<") (number_literal "8")) (| "|") (identifier "uVar11"))) (, ",") (binary_expression "(int)uVar11 < 0" (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11")) (< "<") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);" (assignment_expression "puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" (identifier "puVar12") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" (( "(") (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" (* "*") (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireQuantumMemory_003a950c"))) () ")")) (argument_list "(uVar11 + 0x1000,1)" (( "(") (binary_expression "uVar11 + 0x1000" (identifier "uVar11") (+ "+") (number_literal "0x1000")) (, ",") (number_literal "1") () ")"))))) (; ";")) (if_statement "if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;" (if "if") (parenthesized_expression "(puVar12 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar12 == (undefined1 *)0x0" (identifier "puVar12") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00248c70;" (goto "goto") (statement_identifier "LAB_00248c70") (; ";"))) (expression_statement "puVar19 = puVar12;" (assignment_expression "puVar19 = puVar12" (identifier "puVar19") (= "=") (identifier "puVar12")) (; ";")) (if_statement "if (uVar11 != 0) {\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar23 = puVar12;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);\n      }" ({ "{") (expression_statement "puVar23 = puVar12;" (assignment_expression "puVar23 = puVar12" (identifier "puVar23") (= "=") (identifier "puVar12")) (; ";")) (do_statement "do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        } while (puVar12 + uVar11 != puVar23);" (do "do") (compound_statement "{\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);\n          if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }\n          *puVar23 = (char)iVar6;\n          puVar23 = puVar23 + 1;\n          puVar19 = puVar12 + uVar11;\n        }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" (* "*") (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobByte_003a97f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar6 == -1) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);\n            local_1044 = 0xffffffff;\n            goto LAB_00248b50;\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" (( "(") (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" (* "*") (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishMagickMemory_003a8fc0"))) () ")")) (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" (identifier "local_1044") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_00248b50;" (goto "goto") (statement_identifier "LAB_00248b50") (; ";")) (} "}"))) (expression_statement "*puVar23 = (char)iVar6;" (assignment_expression "*puVar23 = (char)iVar6" (pointer_expression "*puVar23" (* "*") (identifier "puVar23")) (= "=") (cast_expression "(char)iVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar6"))) (; ";")) (expression_statement "puVar23 = puVar23 + 1;" (assignment_expression "puVar23 = puVar23 + 1" (identifier "puVar23") (= "=") (binary_expression "puVar23 + 1" (identifier "puVar23") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar19 = puVar12 + uVar11;" (assignment_expression "puVar19 = puVar12 + uVar11" (identifier "puVar19") (= "=") (binary_expression "puVar12 + uVar11" (identifier "puVar12") (+ "+") (identifier "uVar11"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar12 + uVar11 != puVar23)" (( "(") (binary_expression "puVar12 + uVar11 != puVar23" (binary_expression "puVar12 + uVar11" (identifier "puVar12") (+ "+") (identifier "uVar11")) (!= "!=") (identifier "puVar23")) () ")")) (; ";")) (} "}"))) (expression_statement "*puVar19 = 0;" (assignment_expression "*puVar19 = 0" (pointer_expression "*puVar19" (* "*") (identifier "puVar19")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*local_104c == '\0') {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }\n      else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" (if "if") (parenthesized_expression "(*local_104c == '\0')" (( "(") (binary_expression "*local_104c == '\0'" (pointer_expression "*local_104c" (* "*") (identifier "local_104c")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);\n      }" ({ "{") (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_003a8d7c"))) () ")")) (argument_list "(auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10)" (( "(") (identifier "auStack_102c") (, ",") (number_literal "0x1000") (, ",") (binary_expression "puVar4 + -0x7c64" (identifier "puVar4") (+ "+") (number_literal "-0x7c64")) (, ",") (binary_expression "uVar9 & 0xff" (identifier "uVar9") (& "&") (number_literal "0xff")) (, ",") (identifier "uVar10") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);\n      }" ({ "{") (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_003a8d7c"))) () ")")) (argument_list "(auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,\n                   uVar9 & 0xff,uVar10,local_104c)" (( "(") (identifier "auStack_102c") (, ",") (number_literal "0x1000") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x7c70")) (, ",") (binary_expression "uVar9 & 0xff" (identifier "uVar9") (& "&") (number_literal "0xff")) (, ",") (identifier "uVar10") (, ",") (identifier "local_104c") () ")"))) (; ";")) (} "}")))) (expression_statement "local_1044 = local_1044 + 1;" (assignment_expression "local_1044 = local_1044 + 1" (identifier "local_1044") (= "=") (binary_expression "local_1044 + 1" (identifier "local_1044") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);" (call_expression "(*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c)" (parenthesized_expression "(*(code *)PTR_WriteBlobString_003a95a8)" (( "(") (pointer_expression "*(code *)PTR_WriteBlobString_003a95a8" (* "*") (cast_expression "(code *)PTR_WriteBlobString_003a95a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_WriteBlobString_003a95a8"))) () ")")) (argument_list "(param_2,auStack_102c)" (( "(") (identifier "param_2") (, ",") (identifier "auStack_102c") () ")"))) (; ";")) (expression_statement "(*pcVar8)(param_2,puVar12,uVar11);" (call_expression "(*pcVar8)(param_2,puVar12,uVar11)" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "(param_2,puVar12,uVar11)" (( "(") (identifier "param_2") (, ",") (identifier "puVar12") (, ",") (identifier "uVar11") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)" (( "(") (pointer_expression "*(code *)PTR_RelinquishMagickMemory_003a8fc0" (* "*") (cast_expression "(code *)PTR_RelinquishMagickMemory_003a8fc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishMagickMemory_003a8fc0"))) () ")")) (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(param_1)" (parenthesized_expression "(*(code *)PTR_ReadBlobByte_003a97f0)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobByte_003a97f0" (* "*") (cast_expression "(code *)PTR_ReadBlobByte_003a97f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobByte_003a97f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar6 == -1) goto LAB_00248b50;" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00248b50;" (goto "goto") (statement_identifier "LAB_00248b50") (; ";"))) (if_statement "if (iVar6 != 0x1c) break;" (if "if") (parenthesized_expression "(iVar6 != 0x1c)" (( "(") (binary_expression "iVar6 != 0x1c" (identifier "iVar6") (!= "!=") (number_literal "0x1c")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (expression_statement "local_1044 = 0xffffffff;" (assignment_expression "local_1044 = 0xffffffff" (identifier "local_1044") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (labeled_statement "LAB_00248b50:\n  if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" (statement_identifier "LAB_00248b50") (: ":") (if_statement "if (local_2c == *(undefined4 **)puVar5) {\n    return local_1044;\n  }" (if "if") (parenthesized_expression "(local_2c == *(undefined4 **)puVar5)" (( "(") (binary_expression "local_2c == *(undefined4 **)puVar5" (identifier "local_2c") (== "==") (pointer_expression "*(undefined4 **)puVar5" (* "*") (cast_expression "(undefined4 **)puVar5" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar5")))) () ")")) (compound_statement "{\n    return local_1044;\n  }" ({ "{") (return_statement "return local_1044;" (return "return") (identifier "local_1044") (; ";")) (} "}")))) (expression_statement "puVar15 = local_2c;" (assignment_expression "puVar15 = local_2c" (identifier "puVar15") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar22 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar22 = PTR___stack_chk_fail_003a9064" (identifier "puVar22") (= "=") (identifier "PTR___stack_chk_fail_003a9064")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_003a9064" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_003a9064"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pbVar20 = (byte *)*puVar15;" (assignment_expression "pbVar20 = (byte *)*puVar15" (identifier "pbVar20") (= "=") (cast_expression "(byte *)*puVar15" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar15" (* "*") (identifier "puVar15")))) (; ";")) (if_statement "if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {\n    return local_1044;\n  }" (if "if") (parenthesized_expression "((*pbVar20 == 0x1c) && (pbVar20[1] == 2))" (( "(") (binary_expression "(*pbVar20 == 0x1c) && (pbVar20[1] == 2)" (parenthesized_expression "(*pbVar20 == 0x1c)" (( "(") (binary_expression "*pbVar20 == 0x1c" (pointer_expression "*pbVar20" (* "*") (identifier "pbVar20")) (== "==") (number_literal "0x1c")) () ")")) (&& "&&") (parenthesized_expression "(pbVar20[1] == 2)" (( "(") (binary_expression "pbVar20[1] == 2" (subscript_expression "pbVar20[1]" (identifier "pbVar20") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    return local_1044;\n  }" ({ "{") (return_statement "return local_1044;" (return "return") (identifier "local_1044") (; ";")) (} "}"))) (if_statement "if (0xb < local_1044) {\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }" (if "if") (parenthesized_expression "(0xb < local_1044)" (( "(") (binary_expression "0xb < local_1044" (number_literal "0xb") (< "<") (identifier "local_1044")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(puVar22 + 0x15fc54);\n    uVar9 = local_1044;\n    pbVar21 = pbVar20;\n    while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(puVar22 + 0x15fc54);" (assignment_expression "iVar6 = *(int *)(puVar22 + 0x15fc54)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar22 + 0x15fc54)" (* "*") (cast_expression "(int *)(puVar22 + 0x15fc54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar22 + 0x15fc54)" (( "(") (binary_expression "puVar22 + 0x15fc54" (identifier "puVar22") (+ "+") (number_literal "0x15fc54")) () ")"))))) (; ";")) (expression_statement "uVar9 = local_1044;" (assignment_expression "uVar9 = local_1044" (identifier "uVar9") (= "=") (identifier "local_1044")) (; ";")) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" (identifier "pbVar21") (= "=") (identifier "pbVar20")) (; ";")) (while_statement "while( true ) {\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);\n      if (iVar13 != 0) break;\n      uVar10 = pbVar21[6] | 1;\n      uVar18 = (uVar9 - 7) - uVar10;\n      uVar11 = uVar18 - 4;\n      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;\n      uVar10 = *puVar16;\n      if (uVar11 < uVar10) break;\n      if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }\n      if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }\n      uVar9 = uVar11 - uVar10;\n      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);\n      if (uVar9 < 0xc) break;\n    }" ({ "{") (expression_statement "iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);" (assignment_expression "iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4)" (identifier "iVar13") (= "=") (call_expression "(**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4)" (parenthesized_expression "(**(code **)(puVar22 + 0x160180))" (( "(") (pointer_expression "**(code **)(puVar22 + 0x160180)" (* "*") (pointer_expression "*(code **)(puVar22 + 0x160180)" (* "*") (cast_expression "(code **)(puVar22 + 0x160180)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar22 + 0x160180)" (( "(") (binary_expression "puVar22 + 0x160180" (identifier "puVar22") (+ "+") (number_literal "0x160180")) () ")"))))) () ")")) (argument_list "(pbVar21,iVar6 + 0x4840,4)" (( "(") (identifier "pbVar21") (, ",") (binary_expression "iVar6 + 0x4840" (identifier "iVar6") (+ "+") (number_literal "0x4840")) (, ",") (number_literal "4") () ")")))) (; ";")) (if_statement "if (iVar13 != 0) break;" (if "if") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar10 = pbVar21[6] | 1;" (assignment_expression "uVar10 = pbVar21[6] | 1" (identifier "uVar10") (= "=") (binary_expression "pbVar21[6] | 1" (subscript_expression "pbVar21[6]" (identifier "pbVar21") ([ "[") (number_literal "6") (] "]")) (| "|") (number_literal "1"))) (; ";")) (expression_statement "uVar18 = (uVar9 - 7) - uVar10;" (assignment_expression "uVar18 = (uVar9 - 7) - uVar10" (identifier "uVar18") (= "=") (binary_expression "(uVar9 - 7) - uVar10" (parenthesized_expression "(uVar9 - 7)" (( "(") (binary_expression "uVar9 - 7" (identifier "uVar9") (- "-") (number_literal "7")) () ")")) (- "-") (identifier "uVar10"))) (; ";")) (expression_statement "uVar11 = uVar18 - 4;" (assignment_expression "uVar11 = uVar18 - 4" (identifier "uVar11") (= "=") (binary_expression "uVar18 - 4" (identifier "uVar18") (- "-") (number_literal "4"))) (; ";")) (if_statement "if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;" (if "if") (parenthesized_expression "((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4))" (( "(") (binary_expression "(uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)" (parenthesized_expression "(uVar9 - 7 <= uVar10)" (( "(") (binary_expression "uVar9 - 7 <= uVar10" (binary_expression "uVar9 - 7" (identifier "uVar9") (- "-") (number_literal "7")) (<= "<=") (identifier "uVar10")) () ")")) (|| "||") (parenthesized_expression "(puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)" (( "(") (comma_expression "puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4" (assignment_expression "puVar16 = (uint *)(pbVar21 + uVar10 + 7)" (identifier "puVar16") (= "=") (cast_expression "(uint *)(pbVar21 + uVar10 + 7)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar21 + uVar10 + 7)" (( "(") (binary_expression "pbVar21 + uVar10 + 7" (binary_expression "pbVar21 + uVar10" (identifier "pbVar21") (+ "+") (identifier "uVar10")) (+ "+") (number_literal "7")) () ")")))) (, ",") (binary_expression "uVar18 < 4" (identifier "uVar18") (< "<") (number_literal "4"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar10 = *puVar16;" (assignment_expression "uVar10 = *puVar16" (identifier "uVar10") (= "=") (pointer_expression "*puVar16" (* "*") (identifier "puVar16"))) (; ";")) (if_statement "if (uVar11 < uVar10) break;" (if "if") (parenthesized_expression "(uVar11 < uVar10)" (( "(") (binary_expression "uVar11 < uVar10" (identifier "uVar11") (< "<") (identifier "uVar10")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (*(short *)(pbVar21 + 4) == 0x404) {\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }" (if "if") (parenthesized_expression "(*(short *)(pbVar21 + 4) == 0x404)" (( "(") (binary_expression "*(short *)(pbVar21 + 4) == 0x404" (pointer_expression "*(short *)(pbVar21 + 4)" (* "*") (cast_expression "(short *)(pbVar21 + 4)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar21 + 4)" (( "(") (binary_expression "pbVar21 + 4" (identifier "pbVar21") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0x404")) () ")")) (compound_statement "{\n        *puVar15 = puVar16 + 1;\n        return uVar10;\n      }" ({ "{") (expression_statement "*puVar15 = puVar16 + 1;" (assignment_expression "*puVar15 = puVar16 + 1" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (binary_expression "puVar16 + 1" (identifier "puVar16") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (if_statement "if ((uVar10 & 1) != 0) {\n        uVar10 = uVar10 + 1;\n      }" (if "if") (parenthesized_expression "((uVar10 & 1) != 0)" (( "(") (binary_expression "(uVar10 & 1) != 0" (parenthesized_expression "(uVar10 & 1)" (( "(") (binary_expression "uVar10 & 1" (identifier "uVar10") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = uVar10 + 1;\n      }" ({ "{") (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" (identifier "uVar10") (= "=") (binary_expression "uVar10 + 1" (identifier "uVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar9 = uVar11 - uVar10;" (assignment_expression "uVar9 = uVar11 - uVar10" (identifier "uVar9") (= "=") (binary_expression "uVar11 - uVar10" (identifier "uVar11") (- "-") (identifier "uVar10"))) (; ";")) (expression_statement "pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);" (assignment_expression "pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10)" (identifier "pbVar21") (= "=") (cast_expression "(byte *)((int)(puVar16 + 1) + uVar10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)(puVar16 + 1) + uVar10)" (( "(") (binary_expression "(int)(puVar16 + 1) + uVar10" (cast_expression "(int)(puVar16 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar16 + 1)" (( "(") (binary_expression "puVar16 + 1" (identifier "puVar16") (+ "+") (number_literal "1")) () ")"))) (+ "+") (identifier "uVar10")) () ")")))) (; ";")) (if_statement "if (uVar9 < 0xc) break;" (if "if") (parenthesized_expression "(uVar9 < 0xc)" (( "(") (binary_expression "uVar9 < 0xc" (identifier "uVar9") (< "<") (number_literal "0xc")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00248da0:\n  if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" (statement_identifier "LAB_00248da0") (: ":") (if_statement "if (local_1044 != 0) {\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" (if "if") (parenthesized_expression "(local_1044 != 0)" (( "(") (binary_expression "local_1044 != 0" (identifier "local_1044") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    bVar1 = *pbVar20;\n    uVar9 = local_1044 - 1;\n    pbVar21 = pbVar20;\n    if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }\n  }" ({ "{") (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" (identifier "bVar1") (= "=") (pointer_expression "*pbVar20" (* "*") (identifier "pbVar20"))) (; ";")) (expression_statement "uVar9 = local_1044 - 1;" (assignment_expression "uVar9 = local_1044 - 1" (identifier "uVar9") (= "=") (binary_expression "local_1044 - 1" (identifier "local_1044") (- "-") (number_literal "1"))) (; ";")) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" (identifier "pbVar21") (= "=") (identifier "pbVar20")) (; ";")) (if_statement "if (local_1044 - 1 != 0) {\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }" (if "if") (parenthesized_expression "(local_1044 - 1 != 0)" (( "(") (binary_expression "local_1044 - 1 != 0" (binary_expression "local_1044 - 1" (identifier "local_1044") (- "-") (number_literal "1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }\n      *puVar15 = pbVar21;\n      bVar1 = *pbVar21;\n      if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }\n    }" ({ "{") (while_statement "while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }" (while "while") (parenthesized_expression "(uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c)" (( "(") (comma_expression "uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c" (assignment_expression "uVar10 = uVar9" (identifier "uVar10") (= "=") (identifier "uVar9")) (, ",") (comma_expression "pbVar20 = pbVar21 + 1, bVar1 != 0x1c" (assignment_expression "pbVar20 = pbVar21 + 1" (identifier "pbVar20") (= "=") (binary_expression "pbVar21 + 1" (identifier "pbVar21") (+ "+") (number_literal "1"))) (, ",") (binary_expression "bVar1 != 0x1c" (identifier "bVar1") (!= "!=") (number_literal "0x1c")))) () ")")) (compound_statement "{\n        bVar1 = *pbVar20;\n        uVar9 = uVar10 - 1;\n        local_1044 = uVar10;\n        pbVar21 = pbVar20;\n        if (uVar10 - 1 == 0) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "bVar1 = *pbVar20;" (assignment_expression "bVar1 = *pbVar20" (identifier "bVar1") (= "=") (pointer_expression "*pbVar20" (* "*") (identifier "pbVar20"))) (; ";")) (expression_statement "uVar9 = uVar10 - 1;" (assignment_expression "uVar9 = uVar10 - 1" (identifier "uVar9") (= "=") (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1"))) (; ";")) (expression_statement "local_1044 = uVar10;" (assignment_expression "local_1044 = uVar10" (identifier "local_1044") (= "=") (identifier "uVar10")) (; ";")) (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" (identifier "pbVar21") (= "=") (identifier "pbVar20")) (; ";")) (if_statement "if (uVar10 - 1 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(uVar10 - 1 == 0)" (( "(") (binary_expression "uVar10 - 1 == 0" (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "*puVar15 = pbVar21;" (assignment_expression "*puVar15 = pbVar21" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "pbVar21")) (; ";")) (expression_statement "bVar1 = *pbVar21;" (assignment_expression "bVar1 = *pbVar21" (identifier "bVar1") (= "=") (pointer_expression "*pbVar21" (* "*") (identifier "pbVar21"))) (; ";")) (if_statement "if (local_1044 - 2 != 0) {\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }" (if "if") (parenthesized_expression "(local_1044 - 2 != 0)" (( "(") (binary_expression "local_1044 - 2 != 0" (binary_expression "local_1044 - 2" (identifier "local_1044") (- "-") (number_literal "2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        bVar3 = false;\n        uVar18 = 0;\n        uVar9 = local_1044 - 2;\n        do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );\n      }" ({ "{") (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (expression_statement "uVar18 = 0;" (assignment_expression "uVar18 = 0" (identifier "uVar18") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar9 = local_1044 - 2;" (assignment_expression "uVar9 = local_1044 - 2" (identifier "uVar9") (= "=") (binary_expression "local_1044 - 2" (identifier "local_1044") (- "-") (number_literal "2"))) (; ";")) (do_statement "do {\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        } while( true );" (do "do") (compound_statement "{\n          local_1044 = uVar10 - 2;\n          if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }\n          uVar11 = uVar9 - 1;\n          bVar1 = *pbVar21;\n          pbVar20 = pbVar21 + 1;\n          uVar10 = uVar9;\n          uVar9 = uVar11;\n          if (uVar11 == 0) {\n            return uVar18;\n          }\n        }" ({ "{") (expression_statement "local_1044 = uVar10 - 2;" (assignment_expression "local_1044 = uVar10 - 2" (identifier "local_1044") (= "=") (binary_expression "uVar10 - 2" (identifier "uVar10") (- "-") (number_literal "2"))) (; ";")) (if_statement "if (bVar1 == 0x1c) {\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }\n          else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" (if "if") (parenthesized_expression "(bVar1 == 0x1c)" (( "(") (binary_expression "bVar1 == 0x1c" (identifier "bVar1") (== "==") (number_literal "0x1c")) () ")")) (compound_statement "{\n            if (local_1044 == 0) {\n              return uVar18 + 1;\n            }\n            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }\n            local_1044 = uVar10 - 3;\n            pbVar20 = pbVar21 + 3;\n            if (local_1044 == 0) {\n              return uVar18 + 2;\n            }\n            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;\n            uVar9 = uVar10 - 4;\n            if (uVar9 == 0) {\n              return uVar18 + 3;\n            }\n            uVar11 = uVar18 + 4;\n            if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }\n            bVar3 = uVar9 < uVar17;\nLAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }\n            uVar9 = uVar10 - uVar17;\n            if (uVar9 == 0) {\n              return uVar11;\n            }\n            uVar18 = uVar11 + uVar17;\n            bVar3 = true;\n            pbVar21 = pbVar20 + uVar17;\n          }" ({ "{") (if_statement "if (local_1044 == 0) {\n              return uVar18 + 1;\n            }" (if "if") (parenthesized_expression "(local_1044 == 0)" (( "(") (binary_expression "local_1044 == 0" (identifier "local_1044") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return uVar18 + 1;\n            }" ({ "{") (return_statement "return uVar18 + 1;" (return "return") (binary_expression "uVar18 + 1" (identifier "uVar18") (+ "+") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }" (if "if") (parenthesized_expression "((uVar18 + 1 == 1) && (pbVar21[1] != 2))" (( "(") (binary_expression "(uVar18 + 1 == 1) && (pbVar21[1] != 2)" (parenthesized_expression "(uVar18 + 1 == 1)" (( "(") (binary_expression "uVar18 + 1 == 1" (binary_expression "uVar18 + 1" (identifier "uVar18") (+ "+") (number_literal "1")) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(pbVar21[1] != 2)" (( "(") (binary_expression "pbVar21[1] != 2" (subscript_expression "pbVar21[1]" (identifier "pbVar21") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n              pbVar20 = pbVar21 + 2;\n              goto LAB_00248da0;\n            }" ({ "{") (expression_statement "pbVar20 = pbVar21 + 2;" (assignment_expression "pbVar20 = pbVar21 + 2" (identifier "pbVar20") (= "=") (binary_expression "pbVar21 + 2" (identifier "pbVar21") (+ "+") (number_literal "2"))) (; ";")) (goto_statement "goto LAB_00248da0;" (goto "goto") (statement_identifier "LAB_00248da0") (; ";")) (} "}"))) (expression_statement "local_1044 = uVar10 - 3;" (assignment_expression "local_1044 = uVar10 - 3" (identifier "local_1044") (= "=") (binary_expression "uVar10 - 3" (identifier "uVar10") (- "-") (number_literal "3"))) (; ";")) (expression_statement "pbVar20 = pbVar21 + 3;" (assignment_expression "pbVar20 = pbVar21 + 3" (identifier "pbVar20") (= "=") (binary_expression "pbVar21 + 3" (identifier "pbVar21") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (local_1044 == 0) {\n              return uVar18 + 2;\n            }" (if "if") (parenthesized_expression "(local_1044 == 0)" (( "(") (binary_expression "local_1044 == 0" (identifier "local_1044") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return uVar18 + 2;\n            }" ({ "{") (return_statement "return uVar18 + 2;" (return "return") (binary_expression "uVar18 + 2" (identifier "uVar18") (+ "+") (number_literal "2")) (; ";")) (} "}"))) (if_statement "if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;" (if "if") (parenthesized_expression "((uVar18 + 2 == 2) && (pbVar21[2] != 0))" (( "(") (binary_expression "(uVar18 + 2 == 2) && (pbVar21[2] != 0)" (parenthesized_expression "(uVar18 + 2 == 2)" (( "(") (binary_expression "uVar18 + 2 == 2" (binary_expression "uVar18 + 2" (identifier "uVar18") (+ "+") (number_literal "2")) (== "==") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(pbVar21[2] != 0)" (( "(") (binary_expression "pbVar21[2] != 0" (subscript_expression "pbVar21[2]" (identifier "pbVar21") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00248da0;" (goto "goto") (statement_identifier "LAB_00248da0") (; ";"))) (expression_statement "uVar9 = uVar10 - 4;" (assignment_expression "uVar9 = uVar10 - 4" (identifier "uVar9") (= "=") (binary_expression "uVar10 - 4" (identifier "uVar10") (- "-") (number_literal "4"))) (; ";")) (if_statement "if (uVar9 == 0) {\n              return uVar18 + 3;\n            }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return uVar18 + 3;\n            }" ({ "{") (return_statement "return uVar18 + 3;" (return "return") (binary_expression "uVar18 + 3" (identifier "uVar18") (+ "+") (number_literal "3")) (; ";")) (} "}"))) (expression_statement "uVar11 = uVar18 + 4;" (assignment_expression "uVar11 = uVar18 + 4" (identifier "uVar11") (= "=") (binary_expression "uVar18 + 4" (identifier "uVar18") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if ((char)pbVar21[3] < '\0') {\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }\n            else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" (if "if") (parenthesized_expression "((char)pbVar21[3] < '\0')" (( "(") (binary_expression "(char)pbVar21[3] < '\0'" (cast_expression "(char)pbVar21[3]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar21[3]" (identifier "pbVar21") ([ "[") (number_literal "3") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n              uVar17 = (uint)pbVar21[4];\n              pbVar20 = pbVar21 + 5;\n              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }\n              uVar9 = 1;\n            }" ({ "{") (expression_statement "uVar17 = (uint)pbVar21[4];" (assignment_expression "uVar17 = (uint)pbVar21[4]" (identifier "uVar17") (= "=") (cast_expression "(uint)pbVar21[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar21[4]" (identifier "pbVar21") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "pbVar20 = pbVar21 + 5;" (assignment_expression "pbVar20 = pbVar21 + 5" (identifier "pbVar20") (= "=") (binary_expression "pbVar21 + 5" (identifier "pbVar21") (+ "+") (number_literal "5"))) (; ";")) (for_statement "for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }" (for "for") (( "(") (assignment_expression "uVar10 = uVar10 - 5" (identifier "uVar10") (= "=") (binary_expression "uVar10 - 5" (identifier "uVar10") (- "-") (number_literal "5"))) (; ";") (binary_expression "uVar10 != 0" (identifier "uVar10") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar10 = uVar10 - 1" (identifier "uVar10") (= "=") (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n                uVar11 = uVar11 + 1;\n                bVar3 = uVar9 < uVar17;\n                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;\n                uVar17 = (uint)*pbVar20 | uVar17 << 8;\n                uVar9 = uVar10;\n                pbVar20 = pbVar20 + 1;\n              }" ({ "{") (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar3 = uVar9 < uVar17;" (assignment_expression "bVar3 = uVar9 < uVar17" (identifier "bVar3") (= "=") (binary_expression "uVar9 < uVar17" (identifier "uVar9") (< "<") (identifier "uVar17"))) (; ";")) (if_statement "if (uVar18 + 8 == uVar11) goto LAB_00248ef8;" (if "if") (parenthesized_expression "(uVar18 + 8 == uVar11)" (( "(") (binary_expression "uVar18 + 8 == uVar11" (binary_expression "uVar18 + 8" (identifier "uVar18") (+ "+") (number_literal "8")) (== "==") (identifier "uVar11")) () ")")) (goto_statement "goto LAB_00248ef8;" (goto "goto") (statement_identifier "LAB_00248ef8") (; ";"))) (expression_statement "uVar17 = (uint)*pbVar20 | uVar17 << 8;" (assignment_expression "uVar17 = (uint)*pbVar20 | uVar17 << 8" (identifier "uVar17") (= "=") (binary_expression "(uint)*pbVar20 | uVar17 << 8" (binary_expression "(uint)*pbVar20" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar20")) (| "|") (binary_expression "uVar17 << 8" (identifier "uVar17") (<< "<<") (number_literal "8")))) (; ";")) (expression_statement "uVar9 = uVar10;" (assignment_expression "uVar9 = uVar10" (identifier "uVar9") (= "=") (identifier "uVar10")) (; ";")) (expression_statement "pbVar20 = pbVar20 + 1;" (assignment_expression "pbVar20 = pbVar20 + 1" (identifier "pbVar20") (= "=") (binary_expression "pbVar20 + 1" (identifier "pbVar20") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" (identifier "uVar9") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" (else "else") (compound_statement "{\n              uVar10 = uVar10 - 5;\n              pbVar20 = pbVar21 + 5;\n              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);\n              if (uVar10 == 0) {\n                return uVar11;\n              }\n              uVar11 = uVar18 + 5;\n            }" ({ "{") (expression_statement "uVar10 = uVar10 - 5;" (assignment_expression "uVar10 = uVar10 - 5" (identifier "uVar10") (= "=") (binary_expression "uVar10 - 5" (identifier "uVar10") (- "-") (number_literal "5"))) (; ";")) (expression_statement "pbVar20 = pbVar21 + 5;" (assignment_expression "pbVar20 = pbVar21 + 5" (identifier "pbVar20") (= "=") (binary_expression "pbVar21 + 5" (identifier "pbVar21") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);" (assignment_expression "uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4])" (identifier "uVar17") (= "=") (cast_expression "(uint)CONCAT11(pbVar21[3],pbVar21[4])" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(pbVar21[3],pbVar21[4])" (identifier "CONCAT11") (argument_list "(pbVar21[3],pbVar21[4])" (( "(") (subscript_expression "pbVar21[3]" (identifier "pbVar21") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "pbVar21[4]" (identifier "pbVar21") ([ "[") (number_literal "4") (] "]")) () ")"))))) (; ";")) (if_statement "if (uVar10 == 0) {\n                return uVar11;\n              }" (if "if") (parenthesized_expression "(uVar10 == 0)" (( "(") (binary_expression "uVar10 == 0" (identifier "uVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                return uVar11;\n              }" ({ "{") (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}"))) (expression_statement "uVar11 = uVar18 + 5;" (assignment_expression "uVar11 = uVar18 + 5" (identifier "uVar11") (= "=") (binary_expression "uVar18 + 5" (identifier "uVar18") (+ "+") (number_literal "5"))) (; ";")) (} "}")))) (expression_statement "bVar3 = uVar9 < uVar17;" (assignment_expression "bVar3 = uVar9 < uVar17" (identifier "bVar3") (= "=") (binary_expression "uVar9 < uVar17" (identifier "uVar9") (< "<") (identifier "uVar17"))) (; ";")) (labeled_statement "LAB_00248ef8:\n            if (bVar3) {\n              return uVar11;\n            }" (statement_identifier "LAB_00248ef8") (: ":") (if_statement "if (bVar3) {\n              return uVar11;\n            }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\n              return uVar11;\n            }" ({ "{") (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}")))) (expression_statement "uVar9 = uVar10 - uVar17;" (assignment_expression "uVar9 = uVar10 - uVar17" (identifier "uVar9") (= "=") (binary_expression "uVar10 - uVar17" (identifier "uVar10") (- "-") (identifier "uVar17"))) (; ";")) (if_statement "if (uVar9 == 0) {\n              return uVar11;\n            }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return uVar11;\n            }" ({ "{") (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}"))) (expression_statement "uVar18 = uVar11 + uVar17;" (assignment_expression "uVar18 = uVar11 + uVar17" (identifier "uVar18") (= "=") (binary_expression "uVar11 + uVar17" (identifier "uVar11") (+ "+") (identifier "uVar17"))) (; ";")) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (expression_statement "pbVar21 = pbVar20 + uVar17;" (assignment_expression "pbVar21 = pbVar20 + uVar17" (identifier "pbVar21") (= "=") (binary_expression "pbVar20 + uVar17" (identifier "pbVar20") (+ "+") (identifier "uVar17"))) (; ";")) (} "}")) (else_clause "else {\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" (else "else") (compound_statement "{\n            pbVar21 = pbVar20;\n            if (bVar3) {\n              return uVar18;\n            }\n          }" ({ "{") (expression_statement "pbVar21 = pbVar20;" (assignment_expression "pbVar21 = pbVar20" (identifier "pbVar21") (= "=") (identifier "pbVar20")) (; ";")) (if_statement "if (bVar3) {\n              return uVar18;\n            }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\n              return uVar18;\n            }" ({ "{") (return_statement "return uVar18;" (return "return") (identifier "uVar18") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar11 = uVar9 - 1;" (assignment_expression "uVar11 = uVar9 - 1" (identifier "uVar11") (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *pbVar21;" (assignment_expression "bVar1 = *pbVar21" (identifier "bVar1") (= "=") (pointer_expression "*pbVar21" (* "*") (identifier "pbVar21"))) (; ";")) (expression_statement "pbVar20 = pbVar21 + 1;" (assignment_expression "pbVar20 = pbVar21 + 1" (identifier "pbVar20") (= "=") (binary_expression "pbVar21 + 1" (identifier "pbVar21") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar10 = uVar9;" (assignment_expression "uVar10 = uVar9" (identifier "uVar10") (= "=") (identifier "uVar9")) (; ";")) (expression_statement "uVar9 = uVar11;" (assignment_expression "uVar9 = uVar11" (identifier "uVar9") (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (uVar11 == 0) {\n            return uVar18;\n          }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return uVar18;\n          }" ({ "{") (return_statement "return uVar18;" (return "return") (identifier "uVar18") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (} "}"))) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement) condition: (parenthesized_expression (true))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (while_statement condition: (parenthesized_expression (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (identifier) right: (number_literal)))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) 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: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (true))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (return_statement (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier))))) condition: (parenthesized_expression (true)))))))))) (return_statement (number_literal)))))

uint MASKED(undefined4 param_1,undefined4 param_2)

{
  byte bVar1;
  short sVar2;
  bool bVar3;
  undefined *puVar4;
  undefined *puVar5;
  int iVar6;
  char *pcVar7;
  code *pcVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  undefined1 *puVar12;
  int iVar13;
  short *psVar14;
  undefined4 *puVar15;
  uint *puVar16;
  uint uVar17;
  uint uVar18;
  undefined1 *puVar19;
  byte *pbVar20;
  byte *pbVar21;
  undefined *puVar22;
  undefined1 *puVar23;
  char *local_104c;
  uint local_1044;
  undefined1 auStack_102c [4096];
  undefined4 *local_2c;
  
  puVar5 = PTR___stack_chk_guard_003a9230;
  local_2c = *(undefined4 **)PTR___stack_chk_guard_003a9230;
  iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)();
  puVar4 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
  puVar22 = PTR_DAT_003a8948;
  if (iVar6 == -1) {
LAB_00248c70:
    local_1044 = 0;
  }
  else {
    if (iVar6 != 0x1c) {
      do {
                    /* WARNING: Do nothing block with infinite loop */
      } while( true );
    }
    local_1044 = 0;
    pcVar7 = PTR_s_t_to_left_003a88e4 + -0x3688;
    pcVar8 = (code *)(PTR_LAB_003a8bd8 + -0x7e8c);
    while ((uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar9 != 0xffffffff &&
           (uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1), uVar10 != 0xffffffff))) {
      uVar10 = uVar10 & 0xff;
      psVar14 = (short *)(puVar22 + 0x4f0c);
      uVar18 = 5;
      iVar6 = 0;
      while (uVar18 != uVar10) {
        local_104c = pcVar7;
        if (iVar6 + 1 == 0x36) goto LAB_00248a9c;
        sVar2 = *psVar14;
        psVar14 = psVar14 + 4;
        iVar6 = iVar6 + 1;
        uVar18 = (uint)sVar2;
      }
      local_104c = *(char **)(puVar22 + iVar6 * 8 + 0x4f08);
LAB_00248a9c:
      uVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
      if (uVar18 == 0xffffffff) break;
      if ((uVar18 & 0x80) != 0) goto LAB_00248c70;
      uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
      if ((uVar11 == 0xffffffff) || (uVar11 = uVar18 << 8 | uVar11, (int)uVar11 < 0)) break;
      puVar12 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar11 + 0x1000,1);
      if (puVar12 == (undefined1 *)0x0) goto LAB_00248c70;
      puVar19 = puVar12;
      if (uVar11 != 0) {
        puVar23 = puVar12;
        do {
          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
          if (iVar6 == -1) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);
            local_1044 = 0xffffffff;
            goto LAB_00248b50;
          }
          *puVar23 = (char)iVar6;
          puVar23 = puVar23 + 1;
          puVar19 = puVar12 + uVar11;
        } while (puVar12 + uVar11 != puVar23);
      }
      *puVar19 = 0;
      if (*local_104c == '\0') {
        (*(code *)PTR_FormatLocaleString_003a8d7c)
                  (auStack_102c,0x1000,puVar4 + -0x7c64,uVar9 & 0xff,uVar10);
      }
      else {
        (*(code *)PTR_FormatLocaleString_003a8d7c)
                  (auStack_102c,0x1000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x7c70,
                   uVar9 & 0xff,uVar10,local_104c);
      }
      local_1044 = local_1044 + 1;
      (*(code *)PTR_WriteBlobString_003a95a8)(param_2,auStack_102c);
      (*pcVar8)(param_2,puVar12,uVar11);
      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar12);
      iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(param_1);
      if (iVar6 == -1) goto LAB_00248b50;
      if (iVar6 != 0x1c) break;
    }
    local_1044 = 0xffffffff;
  }
LAB_00248b50:
  if (local_2c == *(undefined4 **)puVar5) {
    return local_1044;
  }
  puVar15 = local_2c;
  puVar22 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  pbVar20 = (byte *)*puVar15;
  if ((*pbVar20 == 0x1c) && (pbVar20[1] == 2)) {
    return local_1044;
  }
  if (0xb < local_1044) {
    iVar6 = *(int *)(puVar22 + 0x15fc54);
    uVar9 = local_1044;
    pbVar21 = pbVar20;
    while( true ) {
      iVar13 = (**(code **)(puVar22 + 0x160180))(pbVar21,iVar6 + 0x4840,4);
      if (iVar13 != 0) break;
      uVar10 = pbVar21[6] | 1;
      uVar18 = (uVar9 - 7) - uVar10;
      uVar11 = uVar18 - 4;
      if ((uVar9 - 7 <= uVar10) || (puVar16 = (uint *)(pbVar21 + uVar10 + 7), uVar18 < 4)) break;
      uVar10 = *puVar16;
      if (uVar11 < uVar10) break;
      if (*(short *)(pbVar21 + 4) == 0x404) {
        *puVar15 = puVar16 + 1;
        return uVar10;
      }
      if ((uVar10 & 1) != 0) {
        uVar10 = uVar10 + 1;
      }
      uVar9 = uVar11 - uVar10;
      pbVar21 = (byte *)((int)(puVar16 + 1) + uVar10);
      if (uVar9 < 0xc) break;
    }
  }
LAB_00248da0:
  if (local_1044 != 0) {
    bVar1 = *pbVar20;
    uVar9 = local_1044 - 1;
    pbVar21 = pbVar20;
    if (local_1044 - 1 != 0) {
      while (uVar10 = uVar9, pbVar20 = pbVar21 + 1, bVar1 != 0x1c) {
        bVar1 = *pbVar20;
        uVar9 = uVar10 - 1;
        local_1044 = uVar10;
        pbVar21 = pbVar20;
        if (uVar10 - 1 == 0) {
          return 0;
        }
      }
      *puVar15 = pbVar21;
      bVar1 = *pbVar21;
      if (local_1044 - 2 != 0) {
        bVar3 = false;
        uVar18 = 0;
        uVar9 = local_1044 - 2;
        do {
          local_1044 = uVar10 - 2;
          if (bVar1 == 0x1c) {
            if (local_1044 == 0) {
              return uVar18 + 1;
            }
            if ((uVar18 + 1 == 1) && (pbVar21[1] != 2)) {
              pbVar20 = pbVar21 + 2;
              goto LAB_00248da0;
            }
            local_1044 = uVar10 - 3;
            pbVar20 = pbVar21 + 3;
            if (local_1044 == 0) {
              return uVar18 + 2;
            }
            if ((uVar18 + 2 == 2) && (pbVar21[2] != 0)) goto LAB_00248da0;
            uVar9 = uVar10 - 4;
            if (uVar9 == 0) {
              return uVar18 + 3;
            }
            uVar11 = uVar18 + 4;
            if ((char)pbVar21[3] < '\0') {
              uVar17 = (uint)pbVar21[4];
              pbVar20 = pbVar21 + 5;
              for (uVar10 = uVar10 - 5; uVar10 != 0; uVar10 = uVar10 - 1) {
                uVar11 = uVar11 + 1;
                bVar3 = uVar9 < uVar17;
                if (uVar18 + 8 == uVar11) goto LAB_00248ef8;
                uVar17 = (uint)*pbVar20 | uVar17 << 8;
                uVar9 = uVar10;
                pbVar20 = pbVar20 + 1;
              }
              uVar9 = 1;
            }
            else {
              uVar10 = uVar10 - 5;
              pbVar20 = pbVar21 + 5;
              uVar17 = (uint)CONCAT11(pbVar21[3],pbVar21[4]);
              if (uVar10 == 0) {
                return uVar11;
              }
              uVar11 = uVar18 + 5;
            }
            bVar3 = uVar9 < uVar17;
LAB_00248ef8:
            if (bVar3) {
              return uVar11;
            }
            uVar9 = uVar10 - uVar17;
            if (uVar9 == 0) {
              return uVar11;
            }
            uVar18 = uVar11 + uVar17;
            bVar3 = true;
            pbVar21 = pbVar20 + uVar17;
          }
          else {
            pbVar21 = pbVar20;
            if (bVar3) {
              return uVar18;
            }
          }
          uVar11 = uVar9 - 1;
          bVar1 = *pbVar21;
          pbVar20 = pbVar21 + 1;
          uVar10 = uVar9;
          uVar9 = uVar11;
          if (uVar11 == 0) {
            return uVar18;
          }
        } while( true );
      }
    }
  }
  return 0;
}

